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 vstinner
Recipients Aaron.Sherman, giampaolo.rodola, gregory.p.smith, neologix, pitrou, vstinner
Date 2011-03-02.13:00:47
SpamBayes Score 0.002936644
Marked as misclassified No
Message-id <1299070848.82.0.768547963896.issue11314@psf.upfronthosting.co.za>
In-reply-to
Content
> os.popen is 41% is slower than subprocess: I suppose that it 
> is the usage of stdout=PIPE (creation of the pipe) which make 
> it slower

Oh no, it's because os.popen() calls subprocess.Popen() with shell=True: the overhead is the shell. Nothing wrong here.
History
Date User Action Args
2011-03-02 13:00:48vstinnersetrecipients: + vstinner, gregory.p.smith, pitrou, giampaolo.rodola, neologix, Aaron.Sherman
2011-03-02 13:00:48vstinnersetmessageid: <1299070848.82.0.768547963896.issue11314@psf.upfronthosting.co.za>
2011-03-02 13:00:47vstinnerlinkissue11314 messages
2011-03-02 13:00:47vstinnercreate