summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/C API
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2023-08-10 15:55:47 (GMT)
committerGitHub <noreply@github.com>2023-08-10 15:55:47 (GMT)
commit16dcce21768ba381996a88ac8c255bf1490b3680 (patch)
treeb3a2fb78427046927e4180f2b21c81d2b2b29301 /Misc/NEWS.d/next/C API
parente4275f4df36a7cdd58cd4daa7d65b1947a2593d3 (diff)
downloadcpython-16dcce21768ba381996a88ac8c255bf1490b3680.zip
cpython-16dcce21768ba381996a88ac8c255bf1490b3680.tar.gz
cpython-16dcce21768ba381996a88ac8c255bf1490b3680.tar.bz2
gh-107810: Improve DeprecationWarning for metaclasses with custom tp_new (GH-107834)
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Diffstat (limited to 'Misc/NEWS.d/next/C API')
-rw-r--r--Misc/NEWS.d/next/C API/2023-08-10-11-12-25.gh-issue-107810.oJ40Qx.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2023-08-10-11-12-25.gh-issue-107810.oJ40Qx.rst b/Misc/NEWS.d/next/C API/2023-08-10-11-12-25.gh-issue-107810.oJ40Qx.rst
new file mode 100644
index 0000000..c8a1f6d
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2023-08-10-11-12-25.gh-issue-107810.oJ40Qx.rst
@@ -0,0 +1 @@
+Improve :exc:`DeprecationWarning` for uses of :c:type:`PyType_Spec` with metaclasses that have custom ``tp_new``.