]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fixes issue #19929: Call os.read with 32768 within subprocess.Popen
authorGregory P. Smith <greg@krypto.org>
Sun, 8 Dec 2013 18:58:28 +0000 (10:58 -0800)
committerGregory P. Smith <greg@krypto.org>
Sun, 8 Dec 2013 18:58:28 +0000 (10:58 -0800)
commit7b83b186794cec6e5d12f43f9c1a6f20bfa4e932
tree646ac8ddc323f12a3c621d3afd4ace73e893e2cd
parentbd6932a576e643c8aad8c0b4a044655882ebb27d
parent589ecda56eb23937ba871734598cda8f11395389
Fixes issue #19929: Call os.read with 32768 within subprocess.Popen
communicate rather than 4096 for efficiency.  A microbenchmark shows
Linux and OS X both using ~50% less cpu time this way.
Lib/subprocess.py
Misc/NEWS