diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-06-12 16:24:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-12 16:24:21 (GMT) |
commit | 2eed1f5868b1c54a5314b64c38010258d27658da (patch) | |
tree | 7b85f4a2893518bf280c6df8aaea366d7ecdf2d3 /Misc | |
parent | 9e3e5d533efe154d0df15b2f666fcf88a936d745 (diff) | |
download | cpython-2eed1f5868b1c54a5314b64c38010258d27658da.zip cpython-2eed1f5868b1c54a5314b64c38010258d27658da.tar.gz cpython-2eed1f5868b1c54a5314b64c38010258d27658da.tar.bz2 |
[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>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/C API/2023-06-06-14-14-41.gh-issue-103968.BTO6II.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2023-06-06-14-14-41.gh-issue-103968.BTO6II.rst b/Misc/NEWS.d/next/C API/2023-06-06-14-14-41.gh-issue-103968.BTO6II.rst new file mode 100644 index 0000000..b73103c --- /dev/null +++ b/Misc/NEWS.d/next/C API/2023-06-06-14-14-41.gh-issue-103968.BTO6II.rst @@ -0,0 +1,2 @@ +:c:func:`PyType_FromMetaclass` now allows metaclasses with ``tp_new`` +set to ``NULL``. |