[issue10114] compile() doesn't support the PEP 383 (surrogates)

STINNER Victor report at bugs.python.org
Sat Oct 16 01:18:56 CEST 2010


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

Remove [compile_surrogates.patch] because it creates filenames unencode to the filesystem encoding. Eg. compile('', '\udcc3\udca9', 'exec').co_filename gives 'é' even if the filesystem encoding is 'ascii'.

----------

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


More information about the Python-bugs-list mailing list