-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-122420: Fix accounting for immortal interned strings in refleak.py #122421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-122420: Fix accounting for immortal interned strings in refleak.py #122421
Conversation
…leak.py The `_PyUnicode_Intern*` functions already adjust the total refcount, so we don't want to readjust it in refleak.py.
!buildbot nogil refleak |
🤖 New build scheduled with the buildbot fleet by @colesbury for commit bbc1ddf 🤖 The command will test the builders whose names match following regular expression: The builders matched are:
|
!buildbot AMD64 RHEL8 Refleaks |
🤖 New build scheduled with the buildbot fleet by @colesbury for commit bbc1ddf 🤖 The command will test the builders whose names match following regular expression: The builders matched are:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the catch!
Thanks @colesbury for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
…eak.py (pythonGH-122421) The `_PyUnicode_Intern*` functions already adjust the total refcount, so we don't want to readjust it in refleak.py. (cherry picked from commit ac8da34) Co-authored-by: Sam Gross <[email protected]>
GH-122430 is a backport of this pull request to the 3.13 branch. |
…leak.py (GH-122421) (GH-122430) The `_PyUnicode_Intern*` functions already adjust the total refcount, so we don't want to readjust it in refleak.py. (cherry picked from commit ac8da34) Co-authored-by: Sam Gross <[email protected]>
The
_PyUnicode_Intern*
functions already adjust the total refcount, so we don't want to readjust it in refleak.py.test_intern
intest_sys
leaks negative references in free-threaded build #122420