[issue35014] asyncio subprocess accepts string as parameter which lead to UnicodeEncodeError

Rémy Hubscher [:natim] report at bugs.python.org
Thu Oct 18 07:08:40 EDT 2018


Rémy Hubscher [:natim] <hubscher.remy at gmail.com> added the comment:

I believe Python 3.7 brings explicit unicode encoding/decoding.

If depending on the environment the create_subprocess_exec method can fail, I believe we should not try to encode the command lines attribute but rather enforce it to be bytes.

----------

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


More information about the Python-bugs-list mailing list