[issue1609] test_re.py fails
Guido van Rossum
report at bugs.python.org
Thu Dec 20 00:52:39 CET 2007
Guido van Rossum added the comment:
> print u"\u0069".upper()
> should give \u0130 (LATIN CAPITAL LETTER I WITH DOT ABOVE)
> print u"\u0049".lower()
> should give \u0131 (LATIN SMALL LETTER DOTLESS I)
> These transformations work fine with python2.5 when
> --with-wctype-functions is used.
I think that is rather a bug in the wctype functions. Those are ASCII
letters 'i' and 'I' and their upper/lower versions are fixed by the
Unicode standard to be the corresponding ASCII letters ('I' and 'i').
The Unicode case conversions are not affected by locale.
Tracker <report at bugs.python.org>
More information about the Python-bugs-list