diff options
Diffstat (limited to 'Lib/subprocess.py')
-rw-r--r-- | Lib/subprocess.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/subprocess.py b/Lib/subprocess.py index 051f2d4..1ae7426 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py @@ -465,6 +465,8 @@ class Popen(object): _cleanup() self._child_created = False + if bufsize is None: + bufsize = 0 # Restore default if not isinstance(bufsize, int): raise TypeError("bufsize must be an integer") |