[issue4194] default subprocess.Popen buffer size
Shashwat Anand
report at bugs.python.org
Sun Feb 7 00:20:36 CET 2010
Shashwat Anand <anand.shashwat at gmail.com> added the comment:
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.
----------
nosy: +l0nwlf
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4194>
_______________________________________
More information about the Python-bugs-list
mailing list