[issue11619] On Windows, don't encode filenames in the import machinery
STINNER Victor
report at bugs.python.org
Wed Apr 20 03:43:41 CEST 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
> c) parse_source_module()
> => covered by the issue #10785.
Issue #10785 didn't change parse_source_module(): it does still encode the filename.
We need Unicode version of PyParser_ASTFromFile() and PyAST_Compile(): a new version of these functions accepting a filename as a Unicode string.
For PyParser_ASTFromFile(): #10785 prepared the work.
For PyAST_Compile(): struct compiler stores the filename as a byte string, the filename should be stored as Unicode.
----------
resolution: fixed ->
status: closed -> open
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11619>
_______________________________________
More information about the Python-bugs-list
mailing list