summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorPetr Viktorin <encukou@gmail.com>2022-08-04 14:13:45 (GMT)
committerGitHub <noreply@github.com>2022-08-04 14:13:45 (GMT)
commita613fedd6e18e4ab382cf81ec767e1135fc949a7 (patch)
tree55b93ee54133040ea0a267d614e901fc669910a6 /Doc/whatsnew
parent000c3874bfa63507293c22249881f6cfc61af311 (diff)
downloadcpython-a613fedd6e18e4ab382cf81ec767e1135fc949a7.zip
cpython-a613fedd6e18e4ab382cf81ec767e1135fc949a7.tar.gz
cpython-a613fedd6e18e4ab382cf81ec767e1135fc949a7.tar.bz2
gh-95388: Deprecate creating immutable types with mutable bases (GH-95533)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.12.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index 67396f8..be05997 100644
--- a/Doc/whatsnew/3.12.rst
+++ b/Doc/whatsnew/3.12.rst
@@ -205,6 +205,10 @@ Pending Removal in Python 3.14
(Contributed by Jason R. Coombs and Hugo van Kemenade in :gh:`93963`.)
+* Creating :c:data:`immutable types <Py_TPFLAGS_IMMUTABLETYPE>` with mutable
+ bases using the C API.
+
+
Pending Removal in Future Versions
----------------------------------
@@ -458,6 +462,9 @@ Deprecated
:c:type:`PyConfig` instead.
(Contributed by Victor Stinner in :gh:`77782`.)
+* Creating :c:data:`immutable types <Py_TPFLAGS_IMMUTABLETYPE>` with mutable
+ bases is deprecated and will be disabled in Python 3.14.
+
Removed
-------