[issue1813] Codec lookup failing under turkish locale
Antoine Pitrou
report at bugs.python.org
Sat Feb 16 21:04:33 CET 2008
Antoine Pitrou added the comment:
Even if we don't fix all uses of (?to)(lower|upper) in the source tree,
I think it's important that codec and locale lookup work properly when
the current locale defines non-latin case folding for latin characters.
Here is a patch.
Perhaps also the str type should grow ascii_lower() and ascii_upper()
methods, since many cases of using lower() and upper() actually assume
ascii semantics (e.g. for parsing of HTTP or SMTP headers).
Added file: http://bugs.python.org/file9440/turklocale.patch
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1813>
__________________________________
More information about the Python-bugs-list
mailing list