Author gregory.p.smith
Recipients Arfrever, acassaigne, docs@python, gregory.p.smith, josh.r, ncoghlan, r.david.murray, tim.golden, vstinner
Date 2017-08-09.05:05:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1502255104.52.0.641545383871.issue22635@psf.upfronthosting.co.za>
In-reply-to
Content
If you want something API compatible that can be used in a Python 2 and 3 application that wants a getstatusoutput() API I think an appropriate place to put it would be to add a commands modules to https://pypi.python.org/pypi/past/ with a consistent getstatusoutput() API.  Either there or something in https://pypi.python.org/pypi/six/.

The inadvertent API difference between 2.7 commands.getstatusoutput() and 3.3.4 subprocess.getstatusoutput() is unfortunate but - I agree - too late to change.  Fixing the documentation to mention the discrepancy is the least worst option.
History
Date User Action Args
2017-08-09 05:05:04gregory.p.smithsetrecipients: + gregory.p.smith, ncoghlan, vstinner, tim.golden, Arfrever, r.david.murray, docs@python, acassaigne, josh.r
2017-08-09 05:05:04gregory.p.smithsetmessageid: <1502255104.52.0.641545383871.issue22635@psf.upfronthosting.co.za>
2017-08-09 05:05:04gregory.p.smithlinkissue22635 messages
2017-08-09 05:05:04gregory.p.smithcreate