[issue29240] PEP 540: Add a new UTF-8 mode

STINNER Victor report at bugs.python.org
Thu Dec 21 18:11:01 EST 2017


STINNER Victor <victor.stinner at gmail.com> added the comment:

IHMO test_readline should be fixed by ignoring the UTF-8 mode in Py_EncodeLocale/Py_DecodeLocale, but only when called from the Python readline module. We need maybe new functions, something like: Py_EncodeCurrentLocale/Py_DecodeCurrentLocale.

I will work on a patch when I will be back from holiday. In the meanwhile, I skipped the test to repair FreeBSD 3.x buildbots.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue29240>
_______________________________________


More information about the Python-bugs-list mailing list