We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad102f4 commit 87f391fCopy full SHA for 87f391f
1 file changed
Lib/multiprocessing/popen_forkserver.py
@@ -65,7 +65,7 @@ def poll(self, flag=os.WNOHANG):
65
from multiprocessing.connection import wait
66
timeout = 0 if flag == os.WNOHANG else None
67
if not wait([self.sentinel], timeout):
68
- return None
+ return self.returncode
69
70
with self._lock:
71
if self.returncode is None:
0 commit comments