[issue42846] Using _multibytecodec module on Windows, test_threading/embed get failure

STINNER Victor report at bugs.python.org
Thu Jan 7 18:13:00 EST 2021


STINNER Victor <vstinner at python.org> added the comment:

Ah, if you don't want to change the ANSI code page to cp932 (Japanese language) just to reproduce the issue, you can just set the stdio encoding:
-----
C:\> set PYTHONIOENCODING=cp932
C:\> python t.py|more
sys.stdout.encoding='cp1250'

TypeError: codec is unexpected type
(...)
-----

----------

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


More information about the Python-bugs-list mailing list