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

victor.stinner at gmail.com victor.stinner at gmail.com
Thu Oct 13 08:28:30 EDT 2016


http://bugs.python.org/review/22635/diff/18850/Doc/library/subprocess.rst
File Doc/library/subprocess.rst (right):

http://bugs.python.org/review/22635/diff/18850/Doc/library/subprocess.rst#newcode1165
Doc/library/subprocess.rst:1165: Return ``(status, output)`` of
executing *cmd* in a shell.
The documentation is wrong: it now returns (exitcode, output), not
(status, output).

http://bugs.python.org/review/22635/diff/18850/Doc/library/subprocess.rst#newcode1187
Doc/library/subprocess.rst:1187: Now the return code matches the exit
value of subprocess.
Hum, it's not exactly that. I would say:

 The function now returns (exitcode, output) instead of (status,
output).

http://bugs.python.org/review/22635/


More information about the docs mailing list