[docs] [issue22635] subprocess.getstatusoutput changed behavior in 3.4 (maybe 3.3.4?)

STINNER Victor report at bugs.python.org
Wed Aug 9 05:21:04 EDT 2017


STINNER Victor added the comment:

IMHO it's too late to change *again* subprocess.getstatusoutput() behaviour. Otherwise, it would mean that a complex test like "if not((3, 4) <= sys.version_info < (3, 7))" would be needed to workaround the bug... Whereas right now, basically we only have to check if we are running on Python 3 or not. (Python 3.0-3.3 is almost not used in the wild.)

Instead we should just *document* the behaviour change using ".. versionchanged:: 3.4" in Doc/library/subprocess.rst.

Any volunteer to do that?

----------

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


More information about the docs mailing list