Message329854
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' |
|
Date |
User |
Action |
Args |
2018-11-13 17:31:32 | Dragoljub | set | recipients:
+ Dragoljub, vstinner, cgohlke, xtreak |
2018-11-13 17:31:32 | Dragoljub | set | messageid: <1542130292.91.0.788709270274.issue35195@psf.upfronthosting.co.za> |
2018-11-13 17:31:32 | Dragoljub | link | issue35195 messages |
2018-11-13 17:31:32 | Dragoljub | create | |
|