[issue1616979] cp720 encoding map

Abdulmonem report at bugs.python.org
Sun Jul 12 10:15:15 CEST 2009


Abdulmonem <dubaisi3g at gmail.com> added the comment:

As a user I experienced this bug. With  python 3.1, the interpreter 
terminate with fatal error:
"Py_Initialize: can't initialize sys standard streams
LookupError: unknown encoding: cp720"

I think, this can be replicated by changing the active code page in the 
cmd session, before invoking the interpreter. The following command will 
do so:
> chcp 720

without the patch python would crash after this command.
I think testing the patch after this command is sufficient.

----------
nosy: +abu_mohammed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1616979>
_______________________________________


More information about the Python-bugs-list mailing list