[Python-Dev] logging module broken because of locale (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Tue Jul 18 19:54:28 CEST 2006
- Previous message: [Python-Dev] logging module broken because of locale
- Next message: [Python-Dev] logging module broken because of locale
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Mihai Ibanescu wrote:
To follow up on my own email: it looks like, even though in some locale "INFO".lower() != "info"
u"INFO".lower() == "info" (at least in the Turkish locale). Is that guaranteed, at least for now (for the current versions of python)?
It's guaranteed for now; unicode.lower is not locale-aware.
Regards, Martin
- Previous message: [Python-Dev] logging module broken because of locale
- Next message: [Python-Dev] logging module broken because of locale
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]