Message78112
| Author |
alexs |
| Recipients |
alexs, lemburg, loewis |
| Date |
2008年12月20日.16:19:12 |
| SpamBayes Score |
4.3091837e-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:14 | alexs | set | recipients:
+ alexs, lemburg, loewis |
| 2008年12月20日 16:19:14 | alexs | set | messageid: <1229789954.16.0.56126897745.issue4610@psf.upfronthosting.co.za> |
| 2008年12月20日 16:19:13 | alexs | link | issue4610 messages |
| 2008年12月20日 16:19:12 | alexs | create |
|