[issue9425] Rewrite import machinery to work with unicode paths

STINNER Victor report at bugs.python.org
Sun Aug 8 14:49:39 CEST 2010


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

_Py_wchar2char.patch: create _Py_wchar2char() private function, and _wstat() and _wfopen() use it. _Py_wchar2char() function has been improved since the previous version posted to Rietveld: it now computes the exact length of the output buffer, instead of using wcslen(text)*10+1.

Alone, this patch isn't really useful, but it prepares the code for next patches.

----------
keywords: +patch
Added file: http://bugs.python.org/file18431/_Py_wchar2char.patch

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


More information about the Python-bugs-list mailing list