Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
Closed
Description
Documentation
https://docs.python.org/3/library/multiprocessing.html#multiprocessing.Queue.empty
It should be added that in case of the given methodQueue.empty()
is called afterQueue.close()
it will raise `OSError("handle is closed")``
(A clear and concise description of the issue.)
Linked PRs
- gh-120012: clarify the behaviour of
multiprocessing.Queue.empty
on closed queues. #120102 - [3.13] gh-120012: clarify the behaviour of
multiprocessing.Queue.empty
on closed queues. (GH-120102) #120469 - [3.12] gh-120012: clarify the behaviour of
multiprocessing.Queue.empty
on closed queues. (GH-120102) #120470