]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-151912: Fix segfault in `type()` with NULL `tp_new` metaclasses (GH-151916...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 14 Jul 2026 16:52:23 +0000 (18:52 +0200)
committerGitHub <noreply@github.com>
Tue, 14 Jul 2026 16:52:23 +0000 (16:52 +0000)
commitedbc1fe09f046ccbe885051d93cf65d253ba0867
tree2f19f39a2b3c953cdaf141a60cddb9dfd6da8b22
parent9465c849d9f33a9bdda413bf813e8abc7881b006
[3.15] gh-151912: Fix segfault in `type()` with NULL `tp_new` metaclasses (GH-151916) (#153707)

gh-151912: Fix segfault in `type()` with NULL `tp_new` metaclasses (GH-151916)
(cherry picked from commit f160f16373f9ea3f636bc5cd6fb4be7e150bb27f)

Co-authored-by: Santhosh .I 🦇 <santhoshilaiyaraja2006@gmail.com>
Lib/test/test_descr.py
Misc/NEWS.d/next/Core_and_Builtins/2026-06-22-14-48-22.gh-issue-151912.YcxfnU.rst [new file with mode: 0644]
Objects/typeobject.c