Skip to content

[3.14] gh-134248 test_getallocatedblocks pre-check to ignore immortalized strings (GH-134871) #135095

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

Merged
merged 1 commit into from
Jun 3, 2025

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 3, 2025

When sanity checking against gettotalrefcount(), we exclude the blocks for
immortalized strings since their references are not tracked/reported. This
now matches refleak.py's book-keeping using the same functions.
(cherry picked from commit 54ca559)

Co-authored-by: tpburns trevorpburns@gmail.com

…zed strings (pythonGH-134871)

When sanity checking against gettotalrefcount(), we exclude the blocks for
immortalized strings since their references are not tracked/reported. This
now matches refleak.py's book-keeping using the same functions.
(cherry picked from commit 54ca559)

Co-authored-by: tpburns <trevorpburns@gmail.com>
@bedevere-app bedevere-app bot added awaiting review tests Tests in the Lib/test dir skip news labels Jun 3, 2025
@vstinner vstinner enabled auto-merge (squash) June 3, 2025 16:01
@vstinner vstinner merged commit 81999f1 into python:3.14 Jun 3, 2025
46 checks passed
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