Message299970
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. |
|
Date |
User |
Action |
Args |
2017-08-09 05:05:04 | gregory.p.smith | set | recipients:
+ gregory.p.smith, ncoghlan, vstinner, tim.golden, Arfrever, r.david.murray, docs@python, acassaigne, josh.r |
2017-08-09 05:05:04 | gregory.p.smith | set | messageid: <1502255104.52.0.641545383871.issue22635@psf.upfronthosting.co.za> |
2017-08-09 05:05:04 | gregory.p.smith | link | issue22635 messages |
2017-08-09 05:05:04 | gregory.p.smith | create | |
|