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

Rémy Hubscher [:natim] report at bugs.python.org
Thu Oct 18 06:04:25 EDT 2018


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

> List of strings works on both my local Linux box and CPython test suite.

Indeed that's why I posted this bug report, in my opinion it should work only with bytes string.

> Can you elaborate? On which OS? What is your error message? Can you paste a traceback?

If you try to send a UTF-8 string on a linux box for instance, you might get a UnicodeEncodeError.

Let me try to provide you with a script to reproduce this error.

----------

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


More information about the Python-bugs-list mailing list