[3.13] gh-122420: Fix accounting for immortal interned strings in ref… · python/cpython@a2c36dd · GitHub
Skip to content

Commit a2c36dd

Browse files
[3.13] gh-122420: Fix accounting for immortal interned strings in refleak.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 <colesbury@gmail.com>
1 parent ae1bdca commit a2c36dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/libregrtest/refleak.py

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)