Skip to content

[3.15] gh-150042: queue.SimpleQueue.put: fix minor refleak. (GH-150043)#150127

Merged
encukou merged 1 commit into
python:3.15from
miss-islington:backport-79088e0-3.15
May 20, 2026
Merged

[3.15] gh-150042: queue.SimpleQueue.put: fix minor refleak. (GH-150043)#150127
encukou merged 1 commit into
python:3.15from
miss-islington:backport-79088e0-3.15

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented May 19, 2026

If queue.SimpleQueue.put can't handoff the item to a
waiting thread, and fails to allocate memory when adding
the item to a ringbuf, it would leak a reference. Fixed.
(cherry picked from commit 79088e0)

Co-authored-by: larryhastings larry@hastings.org

…150043)

If queue.SimpleQueue.put can't handoff the item to a
waiting thread, and fails to allocate memory when adding
the item to a ringbuf, it would leak a reference.  Fixed.
(cherry picked from commit 79088e0)

Co-authored-by: larryhastings <larry@hastings.org>
@encukou encukou merged commit d6dda0d into python:3.15 May 20, 2026
56 checks passed
@miss-islington miss-islington deleted the backport-79088e0-3.15 branch May 20, 2026 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants