[issue24230] tempfile.mkdtemp() doesn't work with bytes paths

Matt Mackall report at bugs.python.org
Mon May 18 19:31:07 CEST 2015


Matt Mackall added the comment:

Another way of putting it is:

os.listdir(<bytes>) -> [<bytes>,...]
os.listdir(<unicode>) -> [<unicode>,...]

is the usual pattern, and tempfile isn't following it.

----------
nosy: +Matt.Mackall

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


More information about the Python-bugs-list mailing list