mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
Issue #11459: A bufsize
value of 0 in subprocess.Popen() really creates
unbuffered pipes, such that select() works properly on them.
This commit is contained in:
commit
1679f4daa1
6 changed files with 24 additions and 5 deletions
|
@ -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.
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue