[issue47029] Fix a BrokenPipeError when a multiprocessing.Queue is garbage collected
Géry
report at bugs.python.org
Wed Mar 16 12:27:25 EDT 2022
Géry <gery.ogam at gmail.com> added the comment:
I forgot to include the output of the above program:
```
Traceback (most recent call last):
File "/usr/local/Cellar/python at 3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/queues.py", line 251, in _feed
send_bytes(obj)
File "/usr/local/Cellar/python at 3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/connection.py", line 205, in send_bytes
self._send_bytes(m[offset:offset + size])
File "/usr/local/Cellar/python at 3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/connection.py", line 416, in _send_bytes
self._send(header + buf)
File "/usr/local/Cellar/python at 3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/connection.py", line 373, in _send
n = write(self._handle, buf)
BrokenPipeError: [Errno 32] Broken pipe
```
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47029>
_______________________________________
More information about the Python-bugs-list
mailing list