[issue6135] subprocess seems to use local encoding and give no choice
Steve Dower
report at bugs.python.org
Mon Sep 5 19:26:53 EDT 2016
Steve Dower added the comment:
I'll prepare a patch for the following:
* add encoding and errors parameters to subprocess functions
* add 'oem' encoding to make it easy to choose (but don't try and guess when it is used)
EITHER
* allow string or 2-tuple (stdin, stdout/err) or 3-tuple (stdin, stdout, stderr) for both encoding and errors
OR
* only allow single specified encoding/errors
* add stdin_opener/stdout_opener/stderr_opener parameters to produce the text-based reader
Any thoughts?
----------
assignee: -> steve.dower
nosy: +steve.dower
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6135>
_______________________________________
More information about the Python-bugs-list
mailing list