]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] 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:46:33 +0000 (18:46 +0200)
committerGitHub <noreply@github.com>
Tue, 14 Jul 2026 16:46:33 +0000 (22:16 +0530)
commit496f40c8dd823fd2eaedffce6643a625e3d3091d
treee8e03c0b706ff607ea0a469b0570db65f2a65d81
parente2818a74c65f0937eec071ae3fc0032e59b80c09
[3.14] gh-151912: Fix segfault in `type()` with NULL `tp_new` metaclasses (GH-151916) (#153705)

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