summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2024-06-02 07:27:20 (GMT)
committerGitHub <noreply@github.com>2024-06-02 07:27:20 (GMT)
commit4aed319a8eb63b205d6007c36713cacdbf1ce8a3 (patch)
tree1e45e41c909d712679b11a8b1efc969991d25935 /Doc
parentfd6cd621e0cce6ba2e737103d2a62b5ade90f41f (diff)
downloadcpython-4aed319a8eb63b205d6007c36713cacdbf1ce8a3.zip
cpython-4aed319a8eb63b205d6007c36713cacdbf1ce8a3.tar.gz
cpython-4aed319a8eb63b205d6007c36713cacdbf1ce8a3.tar.bz2
gh-119775: Remove ability to create immutable types with mutable bases (#119776)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.14.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst
index d443cf9..45ffb28 100644
--- a/Doc/whatsnew/3.14.rst
+++ b/Doc/whatsnew/3.14.rst
@@ -258,3 +258,5 @@ Deprecated
Removed
-------
+* Creating :c:data:`immutable types <Py_TPFLAGS_IMMUTABLETYPE>` with mutable
+ bases was deprecated since 3.12 and now raises a :exc:`TypeError`.