[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

Serhiy Storchaka report at bugs.python.org
Mon Feb 5 14:36:51 EST 2018


Serhiy Storchaka <storchaka+cpython at 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 <report at bugs.python.org>
<https://bugs.python.org/issue31961>
_______________________________________


More information about the Python-bugs-list mailing list