diff options
author | Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> | 2022-12-21 09:50:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-21 09:50:26 (GMT) |
commit | a7715ccfba5b86ab09f86ec56ac3755c93b46b48 (patch) | |
tree | 6143a51f88f39cad5a4f22314ef45a474e5fb4b8 /Lib/asyncio | |
parent | 4994f2488f8a436ebda3510c779cbfe292bb21a0 (diff) | |
download | cpython-a7715ccfba5b86ab09f86ec56ac3755c93b46b48.zip cpython-a7715ccfba5b86ab09f86ec56ac3755c93b46b48.tar.gz cpython-a7715ccfba5b86ab09f86ec56ac3755c93b46b48.tar.bz2 |
GH-100133: fix `asyncio` subprocess losing `stderr` and `stdout` output (#100154)
Diffstat (limited to 'Lib/asyncio')
-rw-r--r-- | Lib/asyncio/base_subprocess.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/asyncio/base_subprocess.py b/Lib/asyncio/base_subprocess.py index e15bb41..4c9b0dd 100644 --- a/Lib/asyncio/base_subprocess.py +++ b/Lib/asyncio/base_subprocess.py @@ -215,9 +215,6 @@ class BaseSubprocessTransport(transports.SubprocessTransport): # object. On Python 3.6, it is required to avoid a ResourceWarning. self._proc.returncode = returncode self._call(self._protocol.process_exited) - for p in self._pipes.values(): - if p is not None: - p.pipe.close() self._try_finish() |