[issue1396258] KeyboardInterrupt prevents return to Windows console
Vernon Cole added the comment: A quick test on Vista shows that this problem is not present in Python 2.6 nor 3.0. -- ___ Python tracker <http://bugs.python.org/issue1396258> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6383] error in unicodedata.numeric(u"\u2187") and 2188
New submission from Vernon Cole : I am making a demo program, a class which is a subset of int, which implements a partial implementation of PEP313 (Roman numeral literals). I discover that my conversion routines fail for values > 5 due to an error in unicodedata for the two code points 2187 and 2188. The return value of unicodedata.numeric() for those two points should be 50,000.0 and 100,000.0 respectively. See the following console dump which includes code point 2181 which works correctly. - console dump follows - c:\BZR\roman>c:\python26\python.exe Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import unicodedata >>> unicodedata.name(u"\u2187") 'ROMAN NUMERAL FIFTY THOUSAND' >>> unicodedata.numeric(u"\u2187") Traceback (most recent call last): File "", line 1, in ValueError: not a numeric character >>> unicodedata.name(u"\u2188") 'ROMAN NUMERAL ONE HUNDRED THOUSAND' >>> unicodedata.numeric(u"\u2188") Traceback (most recent call last): File "", line 1, in ValueError: not a numeric character >>> unicodedata.name(u"\u2181") 'ROMAN NUMERAL FIVE THOUSAND' >>> unicodedata.numeric(u"\u2181") 5000.0 >>> -- components: Unicode messages: 89899 nosy: vernondcole severity: normal status: open title: error in unicodedata.numeric(u"\u2187") and 2188 type: behavior versions: Python 2.6 ___ Python tracker <http://bugs.python.org/issue6383> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6383] error in unicodedata.numeric(u"\u2187") and 2188
Vernon Cole added the comment: Wow! Quick response! My outstanding bug on IronPython has been hanging out there since August of last year. I don't really want to try compiling the standard library on my laptop, but I do want to fully test my code soon. What is the first place I can expect to see this in binary form? 3.2 alpha? -- Vernon On Tue, Jun 30, 2009 at 8:28 AM, Amaury Forgeot d'Arc < rep...@bugs.python.org> wrote: > > Amaury Forgeot d'Arc added the comment: > > Right. Actually unicodetype_db.h is the one included in unicodectype.c, > I moved my script into makeunicodedata.py. > > Here is a new patch. The code generated for _PyUnicode_ToNumeric is the > same as before (except for some tabs), see the old patch if you want to > check the actual changes in the function. > > -- > Added file: http://bugs.python.org/file14405/unicode-tonumeric-2.patch > > ___ > Python tracker > <http://bugs.python.org/issue6383> > ___ > -- Added file: http://bugs.python.org/file14409/unnamed ___ Python tracker <http://bugs.python.org/issue6383> ___Wow! Quick response! My outstanding bug on IronPython has been hanging out there since August of last year. Â I don't really want to try compiling the standard library on my laptop, but I do want to fully test my code soon. What is the first place I can expect to see this in binary form? 3.2 alpha? --VernonOn Tue, Jun 30, 2009 at 8:28 AM, Amaury Forgeot d'Arc <mailto:rep...@bugs.python.org";>rep...@bugs.python.org> wrote: Amaury Forgeot d'Arc <mailto:amaur...@gmail.com";>amaur...@gmail.com> added the comment: Right. Actually unicodetype_db.h is the one included in unicodectype.c, I moved my script into makeunicodedata.py. Here is a new patch. The code generated for _PyUnicode_ToNumeric is the same as before (except for some tabs), see the old patch if you want to check the actual changes in the function. -- Added file: http://bugs.python.org/file14405/unicode-tonumeric-2.patch"; target="_blank">http://bugs.python.org/file14405/unicode-tonumeric-2.patch ___ Python tracker <mailto:rep...@bugs.python.org";>rep...@bugs.python.org> <http://bugs.python.org/issue6383"; target="_blank">http://bugs.python.org/issue6383> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1571184] Generate numeric/space/linebreak from Unicode database.
Vernon Cole added the comment: Adding Python 2.6 to the list of affected versions - as that is where I found the bug reported in issue 6383 (now superseded by this one.) -- nosy: +vernondcole versions: +Python 2.6, Python 3.0 ___ Python tracker <http://bugs.python.org/issue1571184> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com