]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-135607: remove null checking of weakref list in dealloc of extension module...
authorVictor Stinner <vstinner@python.org>
Mon, 30 Jun 2025 13:59:22 +0000 (15:59 +0200)
committerGitHub <noreply@github.com>
Mon, 30 Jun 2025 13:59:22 +0000 (15:59 +0200)
commit32678477597a7b4d9cc739011a2be4551c757b83
tree7de9ffb059bfa582ba039d81906b84954494ce7d
parent729b6747e9552100c444c35a45a21de560400f87
[3.14] gh-135607: remove null checking of weakref list in dealloc of extension modules and objects (#135614) (#136119)

gh-135607: remove null checking of weakref list in dealloc of extension modules and objects (#135614)

(cherry picked from commit b1056c2a446b43452e457d5fd5f1bde66afd3883)

Co-authored-by: Xuanteng Huang <44627253+xuantengh@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@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