]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-122420: Fix accounting for immortal interned strings in refleak.py (GH-122421)
authorSam Gross <colesbury@gmail.com>
Mon, 29 Jul 2024 22:15:03 +0000 (18:15 -0400)
committerGitHub <noreply@github.com>
Mon, 29 Jul 2024 22:15:03 +0000 (00:15 +0200)
commitac8da34621a574cd5773217404757a294025ba49
treeeae3607c94d4514807eea0c1ef3d83bf9c4c54af
parent7797182b78baf78f64fe16f436aa2279cf6afc23
gh-122420: Fix accounting for immortal interned strings in refleak.py (GH-122421)

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