[issue9922] subprocess.getstatusoutput can fail with utf8 UnicodeDecodeError
report at bugs.python.org
Thu Mar 3 16:48:50 CET 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
I think that it is now too late to change getstatusoutput() output type (str->bytes). I prefer Unicode and I think that most users will have to decode bytes to Unicode anyway. So the right solution is to be able to configure encoding and errors used by TextIOWrapper: see issue #6135.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list