Serhiy Storchaka added the comment:
I don't see any changes in tempfile.py. If the path-like protocol already is
supported for the dir argument, no change in the documentation is needed.
tempfile.mkdtemp(dir=pathlike.Path(''), pre=b'', suf=b'') should raise a
TypeError, but add also tests for path-like objects returning bytes path.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue29447>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com