]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-135607: remove null checking of weakref list in dealloc of extension modules and...
authorXuanteng Huang <44627253+xuantengh@users.noreply.github.com>
Mon, 30 Jun 2025 11:14:31 +0000 (19:14 +0800)
committerGitHub <noreply@github.com>
Mon, 30 Jun 2025 11:14:31 +0000 (11:14 +0000)
commitb1056c2a446b43452e457d5fd5f1bde66afd3883
tree63e7f915ab27bc8c9d3ffe07b96fcdef04cfda6b
parent0533c1faf27d1e50b062bb623dfad93288757f57
gh-135607: remove null checking of weakref list in dealloc of extension modules and objects (#135614)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Co-authored-by: Victor Stinner <vstinner@python.org>
32 files changed:
Include/internal/pycore_weakref.h
Misc/NEWS.d/next/Core_and_Builtins/2025-06-17-22-34-58.gh-issue-135607.ucsLVu.rst [new file with mode: 0644]
Modules/_collectionsmodule.c
Modules/_elementtree.c
Modules/_functoolsmodule.c
Modules/_io/bufferedio.c
Modules/_io/bytesio.c
Modules/_io/fileio.c
Modules/_io/iobase.c
Modules/_io/stringio.c
Modules/_io/textio.c
Modules/_io/winconsoleio.c
Modules/_queuemodule.c
Modules/_sqlite/blob.c
Modules/_sqlite/cursor.c
Modules/_sre/sre.c
Modules/_struct.c
Modules/_threadmodule.c
Modules/_zoneinfo.c
Modules/arraymodule.c
Modules/mmapmodule.c
Objects/classobject.c
Objects/codeobject.c
Objects/funcobject.c
Objects/genericaliasobject.c
Objects/genobject.c
Objects/methodobject.c
Objects/moduleobject.c
Objects/odictobject.c
Objects/picklebufobject.c
Objects/setobject.c
Objects/unionobject.c