Louie Lu added the comment:
Serhiy, though this no need to add versionchanged, should this need to explicit
note in doc, that tempfile support os.PathLike?
also, I didn't get "add also tests for path-like objects returning bytes path",
if `tempfile.mkdtemp(dir=pathlike.Path(''), pre=b'', suf=b'')` will raise
TypeError, then we don't need to deal with path-like objects returning bytes.
because tempfile._infer_return_type will treat path-like objects as str.
----------
_______________________________________
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