[issue9425] Rewrite import machinery to work with unicode paths

STINNER Victor report at bugs.python.org
Wed Sep 29 18:42:22 CEST 2010


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

r85115 closes #9630: an important patch for #9425, redecode all filenames when setting the filesystem encoding.

Next tasks (maybe not in this order):
 - merge getpath.c
 - redecode argv[0] used by PySys_SetArgvEx() to feed sys.path (encode argv[0] with the locale encoding and then decode it using the filesystem encoding): it is required if PYTHONFSENCODING environment variable is used
 - merge import.c (in small patchs if it's possible)
 - and other things that I forgot

----------

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


More information about the Python-bugs-list mailing list