[issue14113] Failure in test_strptime on Windows
Stefan Krah
report at bugs.python.org
Mon Feb 27 10:01:39 CET 2012
Stefan Krah <stefan-usenet at bytereef.org> added the comment:
> ... it seems that getlocale() doesn't accept LC_ALL as its argument:
The current situation is not ideal. getlocale() is documented to fail
("category may be one of the LC_* values except LC_ALL"), but it only
fails if there's a semicolon in the locale name:
if category == LC_ALL and ';' in localename:
raise TypeError('category LC_ALL is not supported')
I'd prefer that getlocale(LC_ALL) fails consistently on all systems.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14113>
_______________________________________
More information about the Python-bugs-list
mailing list