diff options
Diffstat (limited to 'Lib/subprocess.py')
-rw-r--r-- | Lib/subprocess.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/subprocess.py b/Lib/subprocess.py index 0fff36f..c015104 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py @@ -1419,9 +1419,6 @@ class Popen(object): child_exception_type = getattr( builtins, exception_name.decode('ascii'), SubprocessError) - for fd in (p2cwrite, c2pread, errread): - if fd != -1: - os.close(fd) err_msg = err_msg.decode(errors="surrogatepass") if issubclass(child_exception_type, OSError) and hex_errno: errno_num = int(hex_errno, 16) |