]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46417: Fix _PyStaticType_Dealloc() (GH-30810)
authorVictor Stinner <vstinner@python.org>
Sat, 22 Jan 2022 23:32:05 +0000 (00:32 +0100)
committerGitHub <noreply@github.com>
Sat, 22 Jan 2022 23:32:05 +0000 (00:32 +0100)
commita1444f43584af0f7a0af72aa06ba0a86ae5a87a2
tree467ee01b8a6dcb346c90d83f8319f4453d532aff
parent12f4ac3bc848244242d6b8a7ee158b985fd64744
bpo-46417: Fix _PyStaticType_Dealloc() (GH-30810)

_PyStaticType_Dealloc() now only calls PyObject_ClearWeakRefs()
if the call is not going to fail.
Objects/typeobject.c