]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-138253: Fix compatibility of sub-interpreters queues with queue.Queue (GH-138256)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 2 Sep 2025 05:59:20 +0000 (08:59 +0300)
committerGitHub <noreply@github.com>
Tue, 2 Sep 2025 05:59:20 +0000 (08:59 +0300)
commitcb18269e1ba6f8e49307cb4f74832ae04fd3b6d3
treef8288eb47d71212313d3833dbf5824f80b81a22b
parenta2ba0a7552580f616f74091f8976410f8a310313
gh-138253: Fix compatibility of sub-interpreters queues with queue.Queue (GH-138256)

Add the block parameter in the put() and get() methods of
the concurrent.interpreters queues for compatibility with the
queue.Queue interface.
Lib/concurrent/interpreters/_queues.py
Lib/test/test_interpreters/test_queues.py
Misc/NEWS.d/next/Library/2025-08-30-10-58-15.gh-issue-138253.9Ehj-N.rst [new file with mode: 0644]