This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iritkatriel
Recipients Samuel Grayson, docs@python, iritkatriel
Date 2022-01-19.10:16:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642587373.23.0.891041575332.issue38561@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2022-01-19 10:16:13iritkatrielsetrecipients: + iritkatriel, docs@python, Samuel Grayson
2022-01-19 10:16:13iritkatrielsetmessageid: <1642587373.23.0.891041575332.issue38561@roundup.psfhosted.org>
2022-01-19 10:16:13iritkatriellinkissue38561 messages
2022-01-19 10:16:13iritkatrielcreate