Message98970
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. |
|
| Date |
User |
Action |
Args |
| 2010-02-06 23:20:37 | l0nwlf | set | recipients:
+ l0nwlf, skip.montanaro, georg.brandl, gregory.p.smith, guettli, pitrou, vstinner, giampaolo.rodola, LambertDW, wplappert, sameerd, bgh |
| 2010-02-06 23:20:36 | l0nwlf | set | messageid: <1265498436.71.0.18475859402.issue4194@psf.upfronthosting.co.za> |
| 2010-02-06 23:20:35 | l0nwlf | link | issue4194 messages |
| 2010-02-06 23:20:35 | l0nwlf | create | |
|