[issue9425] Rewrite import machinery to work with unicode paths

STINNER Victor report at bugs.python.org
Sat Aug 14 19:13:43 CEST 2010


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

zipimport_read_directory.patch: patch for read_directory() function of the zipimport module to support unencodable filenames. This patch requires #9599 (PySys_FormatStderr). The patch changes the encoding of the name: decode name byte string using the file system encoding (and the PEP 383 on POSIX) instead of the utf-8 in strict mode.

----------
Added file: http://bugs.python.org/file18527/zipimport_read_directory.patch

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


More information about the Python-bugs-list mailing list