[issue23315] tempfile.mkdtemp fails with non-ascii paths on Python 2
Richard PALO
report at bugs.python.org
Sat Jan 2 02:58:22 EST 2016
Richard PALO added the comment:
If I also add .encode('utf-8') to filename on line 278, that seems gets over the pathname problem.
I guess it comes down to the fact that if sys.filesystemencoding() is utf-8, which in my case it is (on SunOS), I believe these conversion should be automatic.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23315>
_______________________________________
More information about the Python-bugs-list
mailing list