[issue13207] os.path.expanduser breaks when using unicode character in the username

Santoso Wijaya report at bugs.python.org
Wed Oct 26 20:32:52 CEST 2011


Santoso Wijaya <santoso.wijaya at gmail.com> added the comment:

Unicode environment vars work properly in Python 3.x on Windows, too, because the convertenviron() function in posixmodule.c uses extern _wenviron PyUnicode_FromWideChar() in Python 3.x. In Python 2.7, convertenviron() uses extern environ and PyString_FromString*().

----------
nosy: +santa4nt

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


More information about the Python-bugs-list mailing list