]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-135698: Fix Cross-interpreter Queue.full() With Negative/Default max_size...
authorEric Snow <ericsnowcurrently@gmail.com>
Mon, 23 Jun 2025 19:38:41 +0000 (13:38 -0600)
committerGitHub <noreply@github.com>
Mon, 23 Jun 2025 19:38:41 +0000 (19:38 +0000)
commit666795ae34ccb912127d47fd091dcf5513dff94c
tree63e2ced12a1b456c1e5eedecce137e4515ed5f6a
parent3e81d56a1bfd2cc0afc01f1d9c126d286c4943ec
[3.13] gh-135698: Fix Cross-interpreter Queue.full() With Negative/Default max_size (gh-135778)

We weren't handling non-positive maxsize values (including the default) properly
in Queue.full().  This change fixes that and adjusts an associated assert.

(cherry picked from commit c5ea8e8, AKA gh-135724)
Lib/test/test_interpreters/test_queues.py
Modules/_interpqueuesmodule.c