Content-Length: 283139 | pFad | https://github.com/python/cpython/issues/120012
BAmultithreading.Queue.empty() when the Queue is closed is not explained in the docs #120012Fetched URL: https://github.com/python/cpython/issues/120012
Alternative Proxies:
Documentation
https://docs.python.org/3/library/multiprocessing.html#multiprocessing.Queue.empty
It should be added that in case of the given method
Queue.empty()is called afterQueue.close()it will raise `OSError("handle is closed")``(A clear and concise description of the issue.)
Linked PRs
multiprocessing.Queue.emptyon closed queues. #120102multiprocessing.Queue.emptyon closed queues. (GH-120102) #120469multiprocessing.Queue.emptyon closed queues. (GH-120102) #120470