Martin v. Löwis <mar...@v.loewis.de> added the comment: > But I am curious about your thoughts about the _parse_localename() > method being called from setlocale() raising a ValueError, whereas a > setlocale(LC_CTYPE, "") should not fail at all, which it currently does > if the locale in the environment is not valid.
I fail to see how this is related to this issue. In the OP's report, the exception was locale.Error, not ValueError, and _parse_localename isn't ever being called from setlocale() - why do you think it is being called? AFAICT, the only callers of _parse_localename are getlocale and getdefaultlocale (which, IMO, should both be deprecated). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1443504> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com