[issue4610] Unicode case mappings are incorrect
Alex Stapleton
report at bugs.python.org
Sat Dec 20 17:19:14 CET 2008
Alex Stapleton <alexs at prol.etari.at> added the comment:
I am trying to get a PEP together for this. Does anyone have any thoughts
on how to handle comparison between unicode strings in a locale aware
situation?
Should __lt__ and __gt__ be specified as ignoring locale? In which case do
we need to add a new method for doing locale aware comparisons?
Should locale be a property of the string, an argument passed to
upper/lower/isupper/islower/swapcase/capitalize/sort or global state
(locale module...)?
Should doing a locale aware comparison of two strings with different
locales throw an exception?
Should locales be represented as objects or just a string like "en_GB"?
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4610>
_______________________________________
More information about the Python-bugs-list
mailing list