diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-12-21 10:24:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-21 10:24:19 (GMT) |
commit | ae8520c70992710903819f24dbce4e7dd05d7ea8 (patch) | |
tree | a5f2c0f104947b9d49fe9992e19739327aacef30 /Lib/asyncio/base_subprocess.py | |
parent | bed1d141a95e8d69f522e6f4e46e0647c68a2460 (diff) | |
download | cpython-ae8520c70992710903819f24dbce4e7dd05d7ea8.zip cpython-ae8520c70992710903819f24dbce4e7dd05d7ea8.tar.gz cpython-ae8520c70992710903819f24dbce4e7dd05d7ea8.tar.bz2 |
GH-100133: fix `asyncio` subprocess losing `stderr` and `stdout` output (GH-100154)
(cherry picked from commit a7715ccfba5b86ab09f86ec56ac3755c93b46b48)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Diffstat (limited to 'Lib/asyncio/base_subprocess.py')
-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() |