Dragoljub <[email protected]> added the comment:
On Python 3.7.1 and Windows 10:
I attempted locale.setlocale(locale.LC_ALL, "POSIX") --> Errors Out
---------------------------------------------------------------------------
Error Traceback (most recent call last)
<ipython-input-8-f384c02ab238> in <module>
----> 1 locale.setlocale(locale.LC_ALL, "POSIX")
D:\Python37\lib\locale.py in setlocale(category, locale)
602 # convert to string
603 locale = normalize(_build_localename(locale))
--> 604 return _setlocale(category, locale)
605
606 def resetlocale(category=LC_ALL):
Error: unsupported locale setting
I was able to set the loacle to "C" but that does not improve the parsing
performance.
locale.setlocale(locale.LC_ALL, "C") --> returns 'C'
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue35195>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com