This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dragoljub
Recipients Dragoljub, cgohlke, vstinner, xtreak
Date 2018-11-13.17:31:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1542130292.91.0.788709270274.issue35195@psf.upfronthosting.co.za>
In-reply-to
Content
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'
History
Date User Action Args
2018-11-13 17:31:32Dragoljubsetrecipients: + Dragoljub, vstinner, cgohlke, xtreak
2018-11-13 17:31:32Dragoljubsetmessageid: <1542130292.91.0.788709270274.issue35195@psf.upfronthosting.co.za>
2018-11-13 17:31:32Dragoljublinkissue35195 messages
2018-11-13 17:31:32Dragoljubcreate