[Python-Dev] logging module broken because of locale
"Martin v. Löwis"
martin at v.loewis.de
Tue Jul 18 19:54:28 CEST 2006
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
More information about the Python-Dev
mailing list