]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-103968: PyType_FromMetaclass: Allow metaclasses with tp_new=NULL (GH-105386...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 12 Jun 2023 16:24:21 +0000 (09:24 -0700)
committerGitHub <noreply@github.com>
Mon, 12 Jun 2023 16:24:21 +0000 (16:24 +0000)
commit2eed1f5868b1c54a5314b64c38010258d27658da
tree7b85f4a2893518bf280c6df8aaea366d7ecdf2d3
parent9e3e5d533efe154d0df15b2f666fcf88a936d745
[3.12] gh-103968: PyType_FromMetaclass: Allow metaclasses with tp_new=NULL (GH-105386) (GH-105697)

gh-103968: PyType_FromMetaclass: Allow metaclasses with tp_new=NULL (GH-105386)
(cherry picked from commit 2b90796be6959d5ef46b38c434a514fce25be971)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Doc/c-api/type.rst
Lib/test/test_capi/test_misc.py
Misc/NEWS.d/next/C API/2023-06-06-14-14-41.gh-issue-103968.BTO6II.rst [new file with mode: 0644]
Modules/_testcapi/heaptype.c
Objects/typeobject.c