Author josh.r
Recipients josh.r
Date 2014-10-14.21:09:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
(U) The examples for the function still show the return code in the form os.popen would produce (a program exiting with status 1 would return 256 as the status), but the new code from #10197 makes the status 1, not 256.

(U) This is a breaking change for code relying on what was already a legacy interface. Either the docs should call out the change, or the code needs to restore the previous behavior.

(U) Ultra simple repro:

>>> subprocess.getstatusoutput('python -c "exit(1)"')
(256, '')
(1, '')
Date User Action Args
2014-10-14 21:09:18josh.rsetrecipients: + josh.r
2014-10-14 21:09:18josh.rsetmessageid: <>
2014-10-14 21:09:18josh.rlinkissue22635 messages
2014-10-14 21:09:17josh.rcreate