]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-135607: remove null checking of weakref list in dealloc of extension module...
authorVictor Stinner <vstinner@python.org>
Tue, 1 Jul 2025 09:26:52 +0000 (11:26 +0200)
committerGitHub <noreply@github.com>
Tue, 1 Jul 2025 09:26:52 +0000 (11:26 +0200)
commite3a277c8d8aab08177fc548fde53c671f994c31a
treec549772c4d3796e01136bcdccea324a1a9b8cfef
parent1e3466a1ae5bdcee42a3dfdbd8aaa17135a6ecc2
[3.13] gh-135607: remove null checking of weakref list in dealloc of extension modules and objects (#135614) (#136126)

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>
31 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