[issue14113] Failure in test_strptime on Windows

Nadeem Vawda report at bugs.python.org
Sun Feb 26 23:48:37 CET 2012


Nadeem Vawda <nadeem.vawda at gmail.com> added the comment:

> Python provides locale.getlocale().

That was my initial thought too, but it seems that getlocale() doesn't
accept LC_ALL as its argument:

    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/usr/local/lib/python3.3/locale.py", line 523, in getlocale
        raise TypeError('category LC_ALL is not supported')
    TypeError: category LC_ALL is not supported

----------

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


More information about the Python-bugs-list mailing list