[issue6203] 3.x locale does not default to C, contrary to the documentation and to 2.x behavior

Martin v. Löwis report at bugs.python.org
Tue Jun 9 09:10:26 CEST 2009


Martin v. Löwis <martin at v.loewis.de> added the comment:

To add a little bit more analysis: posix.device_encoding requires that
the LC_CTYPE is set. Setting it just in this function would not be
possible, as setlocale is not thread-safe.

So for 3.1, it seems that Python must set LC_CTYPE. If somebody can
propose a patch that avoids that for 3.2, I'd be certainly in favor.

----------
assignee: loewis -> 

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


More information about the Python-bugs-list mailing list