STINNER Victor <vstin...@python.org> added the comment:

I wrote PR 25110 to simply skip the test if setlocale() fails. It fix the issue 
on Windows (I tested manually, see my comment on my PR), but it should also fix 
the issue on OpenBSD and any platform where getlocale() returns a locale not 
accepted by setlocale().

Again, don't ust getlocale(category) but setlocale(category, None).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37945>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to