Skip to content

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

Merged
vstinner merged 1 commit into
python:3.14from
miss-islington:backport-54ca559-3.14
Jun 3, 2025
Merged

[3.14] gh-134248 test_getallocatedblocks pre-check to ignore immortalized strings (GH-134871)#135095
vstinner merged 1 commit into
python:3.14from
miss-islington:backport-54ca559-3.14

Conversation

@miss-islington

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

Copy link
Copy Markdown
Contributor

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>
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