diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2024-06-02 07:27:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-02 07:27:20 (GMT) |
commit | 4aed319a8eb63b205d6007c36713cacdbf1ce8a3 (patch) | |
tree | 1e45e41c909d712679b11a8b1efc969991d25935 /Misc/NEWS.d/next/C API | |
parent | fd6cd621e0cce6ba2e737103d2a62b5ade90f41f (diff) | |
download | cpython-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 'Misc/NEWS.d/next/C API')
-rw-r--r-- | Misc/NEWS.d/next/C API/2024-05-30-12-51-21.gh-issue-119775.CBq9IG.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2024-05-30-12-51-21.gh-issue-119775.CBq9IG.rst b/Misc/NEWS.d/next/C API/2024-05-30-12-51-21.gh-issue-119775.CBq9IG.rst new file mode 100644 index 0000000..c342a38 --- /dev/null +++ b/Misc/NEWS.d/next/C API/2024-05-30-12-51-21.gh-issue-119775.CBq9IG.rst @@ -0,0 +1,2 @@ +Creating :c:data:`immutable types <Py_TPFLAGS_IMMUTABLETYPE>` with mutable +bases was deprecated since 3.12 and now raises a :exc:`TypeError`. |