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

Serhiy Storchaka report at bugs.python.org
Mon Feb 5 01:11:45 EST 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

The bug itself can be easily fixed. But I think this PR shouldn't be merged at first place. Not all functions should accept path-like objects for arbitrary arguments. Only if the argument semantically is a path, a path-like object should be accepted. Several similar propositions already were rejected for this reason.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31961>
_______________________________________


More information about the Python-bugs-list mailing list