[issue5604] imp.find_module() mixes UTF8 and MBCS

Andrew Svetlov report at bugs.python.org
Mon Mar 30 21:48:46 CEST 2009


Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:

Problem fixed, patch attached
I inserted conversion path parameters to using Py_FileSystemDefaultEncoding for:

* load_module
* load_compiled
* load_dynamic
* load_source
* load_package

find_module is already has conversion.

----------
Added file: http://bugs.python.org/file13483/import.zip

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


More information about the Python-bugs-list mailing list