[issue14113] Failure in test_strptime on Windows

STINNER Victor report at bugs.python.org
Sun Feb 26 23:45:18 CET 2012


STINNER Victor <victor.stinner at gmail.com> added the comment:

>> Attached a fix that is tested on Windows.
>
> Patch looks good to me.

-            oldloc = locale.setlocale(locale.LC_ALL, '')
+            oldloc = locale.setlocale(locale.LC_ALL)

Python provides locale.getlocale().

----------

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


More information about the Python-bugs-list mailing list