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

Antoine Pitrou report at bugs.python.org
Mon Jun 8 18:17:55 CEST 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

For some reason only LC_CTYPE is affected:

>>> locale.getlocale(locale.LC_CTYPE)
('fr_FR', 'UTF8')
>>> locale.getlocale(locale.LC_MESSAGES)
(None, None)
>>> locale.getlocale(locale.LC_TIME)
(None, None)
>>> locale.getlocale(locale.LC_NUMERIC)
(None, None)
>>> locale.getlocale(locale.LC_COLLATE)
(None, None)

----------
nosy: +pitrou

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


More information about the Python-bugs-list mailing list