This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author alexs
Recipients alexs, lemburg, loewis
Date 2008-12-20.16:19:12
SpamBayes Score 4.30918e-09
Marked as misclassified No
Message-id <1229789954.16.0.56126897745.issue4610@psf.upfronthosting.co.za>
In-reply-to
Content
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"?
History
Date User Action Args
2008-12-20 16:19:14alexssetrecipients: + alexs, lemburg, loewis
2008-12-20 16:19:14alexssetmessageid: <1229789954.16.0.56126897745.issue4610@psf.upfronthosting.co.za>
2008-12-20 16:19:13alexslinkissue4610 messages
2008-12-20 16:19:12alexscreate