[issue1443504] locale.getpreferredencoding() dies when setlocale fails

Jeroen Ruigrok van der Werven report at bugs.python.org
Thu Apr 30 21:44:34 CEST 2009


Jeroen Ruigrok van der Werven <asmodai at in-nomine.org> added the comment:

Shouldn't the fallback be to setlocale(LC_CTYPE, "C") instead of
silently passing, though?

----------
nosy: +asmodai

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1443504>
_______________________________________


More information about the Python-bugs-list mailing list