Message76288
About Python3, os.popen() is more than two times faster (0.20 sec vs
0.50 sec) than subprocess.Popen()! It's amazing because popen() opens
the standard output as unicode file whereas Popen() creates a binary
file! Another funny thing: os.popen() calls subprocess.Popen() :-) The
difference is just this instruction:
stdout = io.TextIOWrapper(stdout) |
|
Date |
User |
Action |
Args |
2008-11-24 00:59:19 | vstinner | set | recipients:
+ vstinner, skip.montanaro, georg.brandl, giampaolo.rodola, LambertDW, wplappert, sameerd, bgh |
2008-11-24 00:59:17 | vstinner | set | messageid: <1227488357.87.0.501494241414.issue4194@psf.upfronthosting.co.za> |
2008-11-24 00:59:16 | vstinner | link | issue4194 messages |
2008-11-24 00:59:15 | vstinner | create | |
|