[issue30647] CODESET error on AMD64 FreeBSD 10.x Shared 3.x caused by the PEP 538
Nick Coghlan
report at bugs.python.org
Thu Jun 29 10:52:41 EDT 2017
Nick Coghlan added the comment:
I was able to fix the test_readline failure by restoring the locale based on the environment settings with `setlocale(LC_CTYPE, "")` rather than the return value from a preceding call to `setlocale(LC_CTYPE, NULL)`.
That means we can leave the runtime coercion checks enabled on *BSD systems, and if/when any given BSD variant adds working Linux-style C.UTF-8 or OS-X-style UTF-8 locales, we'll automatically start using them.
----------
resolution: -> fixed
stage: -> resolved
status: open -> closed
type: -> behavior
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30647>
_______________________________________
More information about the Python-bugs-list
mailing list