Skip to content

gh-153058: Fix weakref proxy ref leak - #153059

Open
aisk wants to merge 4 commits into
python:mainfrom
aisk:fix-weakref-proxy-ref-leak
Open

gh-153058: Fix weakref proxy ref leak#153059
aisk wants to merge 4 commits into
python:mainfrom
aisk:fix-weakref-proxy-ref-leak

Conversation

@aisk

@aiskaisk commented Jul 5, 2026

Copy link
Copy Markdown
Member

@prakashsellathuraiprakashsellathurai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verified the changes locally with script https://gist.github.com/prakashsellathurai/ea7ba0ec8a5cf049881464d34de31411

binary +: leaked 3 refs (~0/call)
ternary pow: leaked 3 refs (~0/call)
compare ==: leaked 3 refs (~0/call)

Comment threadObjects/weakrefobject.c
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@aisk@sergey-miryanov@prakashsellathurai