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 l0nwlf
Recipients LambertDW, bgh, georg.brandl, giampaolo.rodola, gregory.p.smith, guettli, l0nwlf, pitrou, sameerd, skip.montanaro, vstinner, wplappert
Date 2010-02-06.23:20:35
SpamBayes Score 0.0253834
Marked as misclassified No
Message-id <1265498436.71.0.18475859402.issue4194@psf.upfronthosting.co.za>
In-reply-to
Content
Tested it on mac OSX (Snow leopard)

Shashwat-Anands-MacBook-Pro:Desktop l0nwlf$ python2.5 popentest.py 
time with os.popen :  0.0342061519623
time with subprocess.Popen :  0.0421631336212
Shashwat-Anands-MacBook-Pro:Desktop l0nwlf$ python2.6 --version
Python 2.6.1
Shashwat-Anands-MacBook-Pro:Desktop l0nwlf$ python2.6 popentest.py 
time with os.popen :  0.0282561779022
time with subprocess.Popen :  0.0366630554199


Python 2.5.4s os.popen was faster than subprocess.Popen, the same being the case with Python 2.6.1 I do not think it is a mac issue.
History
Date User Action Args
2010-02-06 23:20:37l0nwlfsetrecipients: + l0nwlf, skip.montanaro, georg.brandl, gregory.p.smith, guettli, pitrou, vstinner, giampaolo.rodola, LambertDW, wplappert, sameerd, bgh
2010-02-06 23:20:36l0nwlfsetmessageid: <1265498436.71.0.18475859402.issue4194@psf.upfronthosting.co.za>
2010-02-06 23:20:35l0nwlflinkissue4194 messages
2010-02-06 23:20:35l0nwlfcreate