Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

I don't remember all details, here is what I have found.

Issue28230 and issue28231 -- the support of path-like object was added only for 
external names (paths of archives, paths of added files, paths for extraction), 
but not for internal names.

Issue29447 -- the initial idea was rejected, and it seems to me that the 
tempfile module doesn't need any changes. Path-like objects already are 
accepted for the dir argument, but they shouldn't be accepted for arguments 
like pre or suf which are not paths.

Issue29448 is only tangentially related. It's rejection is based on issue29447.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31961>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to