]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-1635741: Fix unicode_dealloc() for mortal interned string (GH-21270)
authorVictor Stinner <vstinner@python.org>
Fri, 3 Jul 2020 14:59:12 +0000 (16:59 +0200)
committerGitHub <noreply@github.com>
Fri, 3 Jul 2020 14:59:12 +0000 (16:59 +0200)
commit3549ca313a6103a3adb281ef3a849298b7d7f72c
tree55f5527d19bf723a8819ff3cb803a6f1829bab4e
parent91e1bc18bd467a13bceb62e16fbc435b33381c82
bpo-1635741: Fix unicode_dealloc() for mortal interned string (GH-21270)

When unicode_dealloc() is called on a mortal interned string, the
string reference counter is now reset at zero.
Objects/unicodeobject.c