[issue35246] asyncio.create_subprocess_exec doesn't accept pathlib.Path like subprocess does

Andrew Svetlov report at bugs.python.org
Tue May 28 08:46:04 EDT 2019


Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:

Aha, I see. You are right.
Let's drop checks for cmd/program/args types but left to subprocess do these checks.
This approach avoiding complex checking/converting logic in asyncio itself and reduces code duplication.

----------

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


More information about the Python-bugs-list mailing list