]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-107810: Improve DeprecationWarning for metaclasses with custom tp_new ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 11 Aug 2023 14:12:50 +0000 (07:12 -0700)
committerGitHub <noreply@github.com>
Fri, 11 Aug 2023 14:12:50 +0000 (16:12 +0200)
commit431ce239d2a906ec4d9a27a83549258d7cef3701
tree9ad3ab3a7bd1f57494464f7e19a40adbf3f42d1e
parent585b4cc3bd57480f8bd04ddbc6f098e55d311582
[3.12] gh-107810: Improve DeprecationWarning for metaclasses with custom tp_new (GH-107834) (#107864)

gh-107810: Improve DeprecationWarning for metaclasses with custom tp_new (GH-107834)

(cherry picked from commit 16dcce21768ba381996a88ac8c255bf1490b3680)

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Lib/test/test_capi/test_misc.py
Misc/NEWS.d/next/C API/2023-08-10-11-12-25.gh-issue-107810.oJ40Qx.rst [new file with mode: 0644]
Objects/typeobject.c