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

Aug. 9, 2017
2:21 a.m.
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@bugs.python.org> <http://bugs.python.org/issue22635> _______________________________________
2840
Age (days ago)
2840
Last active (days ago)
0 comments
1 participants
participants (1)
-
STINNER Victor