STINNER Victor <victor.stin...@haypocalc.com> added the comment:

nullimporter_unicode.patch: patch NullImporter_init():
 - use GetFileAttributesW() instead of GetFileAttributesA() for the Windows 
version to be fully Unicode compliant
 - use "O&" format with PyUnicode_FSConverter instead of "es" with 
Py_FileSystemDefaultEncoding to accept also bytes filenames and support str 
with surrogates (PEP 383)

----------
Added file: http://bugs.python.org/file18434/nullimporter_unicode.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

Reply via email to