This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Ben Kane
Recipients Ben Kane, abarry, docs@python, r.david.murray
Date 2016-05-31.04:01:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464667315.96.0.496402660975.issue27155@psf.upfronthosting.co.za>
In-reply-to
Content
https://docs.python.org/3/library/subprocess.html#subprocess.Popen.returncode

does mention the negativeness about returncode in conjunction with POSIX signals. It would be helpful to mention this Python-specific (I think) behavior in a comment. 
However, returncode can also be set by poll() and wait(), which can also return errors. In the more realistic example, I would appreciate code that handles those errors as well (a check for returncode > 0), or a comment detailing that other errors aren't handled. I copied that code into mine, and didn't consider those cases initially, because "realistic" was in the description.
History
Date User Action Args
2016-05-31 04:01:56Ben Kanesetrecipients: + Ben Kane, r.david.murray, docs@python, abarry
2016-05-31 04:01:55Ben Kanesetmessageid: <1464667315.96.0.496402660975.issue27155@psf.upfronthosting.co.za>
2016-05-31 04:01:55Ben Kanelinkissue27155 messages
2016-05-31 04:01:55Ben Kanecreate