Message410932
I don't think you're supposed to close the queue more than once. The documentation can be improved on that. Currently the documentation of close is:
close()
Indicate that no more data will be put on this queue by the current process. The background thread will quit once it has flushed all buffered data to the pipe. This is called automatically when the queue is garbage collected.
https://docs.python.org/3/library/multiprocessing.html#multiprocessing.Queue.close
That could be read to imply to each process needs to indicate when it is done. |
|
Date |
User |
Action |
Args |
2022-01-19 10:16:13 | iritkatriel | set | recipients:
+ iritkatriel, docs@python, Samuel Grayson |
2022-01-19 10:16:13 | iritkatriel | set | messageid: <1642587373.23.0.891041575332.issue38561@roundup.psfhosted.org> |
2022-01-19 10:16:13 | iritkatriel | link | issue38561 messages |
2022-01-19 10:16:13 | iritkatriel | create | |
|