]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-135698: Fix Cross-interpreter Queue.full() With Negative/Default max_size (gh...
authorEric Snow <ericsnowcurrently@gmail.com>
Fri, 20 Jun 2025 20:26:32 +0000 (14:26 -0600)
committerGitHub <noreply@github.com>
Fri, 20 Jun 2025 20:26:32 +0000 (14:26 -0600)
commitc5ea8e8e8fc725f39ed23ff6259b3cc157a0785f
tree57e37d95dbbf12b7618c6b7af62297d31b8f9692
parenta8ec511900d0d84cffbb4ee6419c9a790d131129
gh-135698: Fix Cross-interpreter Queue.full() With Negative/Default max_size (gh-135724)

We weren't handling non-positive maxsize values (including the default) properly
in Queue.full().  This change fixes that and adjusts an associated assert.
Lib/test/test_interpreters/test_queues.py
Modules/_interpqueuesmodule.c