[issue6135] subprocess seems to use local 8-bit encoding and gives no choice

Amaury Forgeot d'Arc report at bugs.python.org
Fri Jun 12 20:10:23 CEST 2009


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

I propose to add two parameters (encoding, error) to the
subprocess.Popen function.
- python 2.x could build and return codecs.StreamReader objects
- python 3.x would just pass these parameters to io.TextIOWrapper

I'll try to come with a patch.

----------
nosy: +amaury.forgeotdarc
stage:  -> needs patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6135>
_______________________________________


More information about the Python-bugs-list mailing list