]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-103968: Deprecate creating heap types whose metaclass has custom tp_new. (GH-103972)
authorPetr Viktorin <encukou@gmail.com>
Wed, 3 May 2023 13:17:14 +0000 (15:17 +0200)
committerGitHub <noreply@github.com>
Wed, 3 May 2023 13:17:14 +0000 (15:17 +0200)
commit524a7f77fd8244835e382f076dd4a76404580bb3
tree2c4cf20e01075972e4861d8cfc54ec5902af1233
parent423d7faeb37b6c13b3ebbf9255165fefc651983e
gh-103968: Deprecate creating heap types whose metaclass has custom tp_new. (GH-103972)

(That's a mouthful of an edge case!)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
Doc/c-api/type.rst
Doc/whatsnew/3.12.rst
Lib/test/test_capi/test_misc.py
Misc/NEWS.d/next/C API/2023-04-28-18-04-38.gh-issue-103968.EnVvOx.rst [new file with mode: 0644]
Modules/_testcapi/heaptype.c
Objects/typeobject.c