diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-03-19 17:06:22 +0100 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-03-19 17:06:22 +0100 |
commit | 81fd953cefa09fed83179e1d7caaebac88424806 (patch) | |
tree | 3bb080d3a5f1ccffeca76ae4a7d568b2d35dad2a /Lib/platform.py | |
parent | fce6a7c4b3956c9fe03fe78f010d922b2e04f411 (diff) | |
parent | 875abc06304c6ce54629b26b4f2b5e1f98010b01 (diff) | |
download | cpython-81fd953cefa09fed83179e1d7caaebac88424806.tar.gz |
Issue #11459: A `bufsize` value of 0 in subprocess.Popen() really creates
unbuffered pipes, such that select() works properly on them.
Diffstat (limited to 'Lib/platform.py')
-rwxr-xr-x | Lib/platform.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/platform.py b/Lib/platform.py index fb65b4ba34..75bc5f3b97 100755 --- a/Lib/platform.py +++ b/Lib/platform.py @@ -357,7 +357,7 @@ def dist(distname='',version='',id='', supported_dists=supported_dists, full_distribution_name=0) -def popen(cmd, mode='r', bufsize=None): +def popen(cmd, mode='r', bufsize=-1): """ Portable popen() interface. """ |