STINNER Victor <victor.stin...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue9425> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com