Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

colesbury
Copy link
Contributor

@colesbury colesbury commented Jul 29, 2024

The _PyUnicode_Intern* functions already adjust the total refcount, so we don't want to readjust it in refleak.py.

…leak.py

The `_PyUnicode_Intern*` functions already adjust the total refcount, so
we don't want to readjust it in refleak.py.
@colesbury
Copy link
Contributor Author

!buildbot nogil refleak

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @colesbury for commit bbc1ddf 🤖

The command will test the builders whose names match following regular expression: nogil refleak

The builders matched are:

  • aarch64 Fedora Rawhide NoGIL refleaks PR
  • PPC64LE Fedora Rawhide NoGIL refleaks PR
  • AMD64 Ubuntu NoGIL Refleaks PR
  • AMD64 Fedora Rawhide NoGIL refleaks PR

@colesbury colesbury changed the title gh-122420: Fix accounting for immortal, interned strings in refleak.py gh-122420: Fix accounting for immortal interned strings in refleak.py Jul 29, 2024
@colesbury
Copy link
Contributor Author

!buildbot AMD64 RHEL8 Refleaks

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @colesbury for commit bbc1ddf 🤖

The command will test the builders whose names match following regular expression: AMD64 RHEL8 Refleaks

The builders matched are:

  • AMD64 RHEL8 Refleaks PR

Copy link
Member

@encukou encukou left a 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!

@miss-islington-app
Copy link

Thanks @colesbury for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 29, 2024
…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]>
@bedevere-app
Copy link

bedevere-app bot commented Jul 29, 2024

GH-122430 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jul 29, 2024
@colesbury colesbury deleted the gh-122420-intern-negative-refleak branch July 29, 2024 22:28
encukou pushed a commit that referenced this pull request Jul 30, 2024
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants