View | Details | Raw Unified | Return to bug 268502
Collapse All | Expand All

(-)lang/python311/Makefile (+1 lines)
Lines 1-5 Link Here
1
PORTNAME=	python
1
PORTNAME=	python
2
DISTVERSION=	${PYTHON_DISTVERSION}
2
DISTVERSION=	${PYTHON_DISTVERSION}
3
PORTREVISION=	1
3
CATEGORIES=	lang python
4
CATEGORIES=	lang python
4
MASTER_SITES=	PYTHON/ftp/python/${DISTVERSION:C/[a-z].*//}
5
MASTER_SITES=	PYTHON/ftp/python/${DISTVERSION:C/[a-z].*//}
5
PKGNAMESUFFIX=	${PYTHON_SUFFIX}
6
PKGNAMESUFFIX=	${PYTHON_SUFFIX}
(-)lang/python311/files/patch-GH-100133 (+24 lines)
Added Link Here
1
commit ae8520c70992710903819f24dbce4e7dd05d7ea8
2
Author: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
3
Date:   Wed Dec 21 02:24:19 2022 -0800
4
5
    GH-100133: fix `asyncio` subprocess losing `stderr` and `stdout` output (GH-100154)
6
    
7
    (cherry picked from commit a7715ccfba5b86ab09f86ec56ac3755c93b46b48)
8
    
9
    Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
10
11
diff --git Lib/asyncio/base_subprocess.py Lib/asyncio/base_subprocess.py
12
index e15bb4141f..4c9b0dd565 100644
13
--- Lib/asyncio/base_subprocess.py
14
+++ Lib/asyncio/base_subprocess.py
15
@@ -215,9 +215,6 @@ def _process_exited(self, returncode):
16
             # object. On Python 3.6, it is required to avoid a ResourceWarning.
17
             self._proc.returncode = returncode
18
         self._call(self._protocol.process_exited)
19
-        for p in self._pipes.values():
20
-            if p is not None:
21
-                p.pipe.close()
22
 
23
         self._try_finish()
24
 

Return to bug 268502