]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-120012: clarify the behaviour of `multiprocessing.Queue.empty` on closed queues...
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Thu, 13 Jun 2024 19:03:01 +0000 (21:03 +0200)
committerGitHub <noreply@github.com>
Thu, 13 Jun 2024 19:03:01 +0000 (19:03 +0000)
commita3711afefa7a520b3de01be3b2367cb830d1fc84
treea8105b15d3d57bd1cc9e30f312c07c820fc31ef3
parent6674c63dc7bb175acc997ddcb799e8dbbafd2968
gh-120012: clarify the behaviour of `multiprocessing.Queue.empty` on closed queues. (GH-120102)

* improve doc for `multiprocessing.Queue.empty`
* add tests for checking emptiness of queues

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Doc/library/multiprocessing.rst
Lib/test/_test_multiprocessing.py
Misc/NEWS.d/next/Documentation/2024-06-05-12-36-18.gh-issue-120012.f14DbQ.rst [new file with mode: 0644]