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 ned.deily
Recipients astrand, debatem1, gregory.p.smith, ned.deily, vstinner
Date 2011-03-03.22:08:14
SpamBayes Score 1.2479488e-08
Marked as misclassified No
Message-id <1299190095.57.0.0944211831951.issue9922@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2011-03-03 22:08:15ned.deilysetrecipients: + ned.deily, gregory.p.smith, astrand, vstinner, debatem1
2011-03-03 22:08:15ned.deilysetmessageid: <1299190095.57.0.0944211831951.issue9922@psf.upfronthosting.co.za>
2011-03-03 22:08:14ned.deilylinkissue9922 messages
2011-03-03 22:08:14ned.deilycreate