Author eric.araujo
Recipients brian.curtin, eric.araujo, jldm, ned.deily, r.david.murray, vstinner
Date 2010-12-05.01:37:11
SpamBayes Score 2.78662e-06
Marked as misclassified No
Message-id <1291513035.48.0.403806040015.issue10197@psf.upfronthosting.co.za>
In-reply-to
Content
> The question that remains is, does removing the {} change the output
> obtained from a command sequence in any way?
{} are used to group output from the commands into one stream.  I believe the stdout and stderr arguments to Popen allow us to get compatible behavior.  Tests need to prove that, of course.

> Which makes me wonder if getoutput/getstatusoutput should just be
> documentationally deprecated instead.  (I never use them myself, FWIW)
They were relocated from the commands module, resulting in slightly overlapping functions that don’t share a naming patter: call, check_call, getoutput, getstatusoutput.
History
Date User Action Args
2010-12-05 01:37:15eric.araujosetrecipients: + eric.araujo, vstinner, ned.deily, r.david.murray, brian.curtin, jldm
2010-12-05 01:37:15eric.araujosetmessageid: <1291513035.48.0.403806040015.issue10197@psf.upfronthosting.co.za>
2010-12-05 01:37:11eric.araujolinkissue10197 messages
2010-12-05 01:37:11eric.araujocreate