Message130006
I don't have a strong feeling about it but it seems to me that getstatusoutput is broken now so something should needs to be changed. If I understand your suggestion, adding a universal_newlines option to getstatusoutput similar to Popen, with a True (default) to return str False to return bytes, should provide an upwards compatible compromise. And whatever solution is adopted for Issue6135 should be able to be applied here as well.
On the other hand, getstatusoutput was a carryover from the commands module in Python 2 and I'm not sure why it was not just removed in Python 3 as it seems to duplicate what can be done with Popen. Perhaps it should just be deprecated and removed? |
|
Date |
User |
Action |
Args |
2011-03-03 22:08:15 | ned.deily | set | recipients:
+ ned.deily, gregory.p.smith, astrand, vstinner, debatem1 |
2011-03-03 22:08:15 | ned.deily | set | messageid: <1299190095.57.0.0944211831951.issue9922@psf.upfronthosting.co.za> |
2011-03-03 22:08:14 | ned.deily | link | issue9922 messages |
2011-03-03 22:08:14 | ned.deily | create | |
|