Message78112
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"? |
|
| Date |
User |
Action |
Args |
| 2008-12-20 16:19:14 | alexs | set | recipients:
+ alexs, lemburg, loewis |
| 2008-12-20 16:19:14 | alexs | set | messageid: <[email protected]> |
| 2008-12-20 16:19:13 | alexs | link | issue4610 messages |
| 2008-12-20 16:19:12 | alexs | create | |
|