diff options
author | Mark Shannon <mark@hotpy.org> | 2024-06-20 14:09:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-20 14:09:32 (GMT) |
commit | b8fd80f91b980598cb378dba224cdb595b132fb4 (patch) | |
tree | 0a6ad47a84ca82f94cefeb2a8a5f4d5edb654458 /Misc/NEWS.d/next | |
parent | d0a5e40f01c9e05100fb2548613805653fb71864 (diff) | |
download | cpython-b8fd80f91b980598cb378dba224cdb595b132fb4.zip cpython-b8fd80f91b980598cb378dba224cdb595b132fb4.tar.gz cpython-b8fd80f91b980598cb378dba224cdb595b132fb4.tar.bz2 |
[3.13] GH-119462: Enforce invariants of type versioning. Backport of GH-120731. (#120748)
* Remove uses of Py_TPFLAGS_VALID_VERSION_TAG
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2024-06-19-11-10-50.gh-issue-119462.DpcqSe.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2024-06-19-11-10-50.gh-issue-119462.DpcqSe.rst b/Misc/NEWS.d/next/Core and Builtins/2024-06-19-11-10-50.gh-issue-119462.DpcqSe.rst new file mode 100644 index 0000000..e07c2fd --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2024-06-19-11-10-50.gh-issue-119462.DpcqSe.rst @@ -0,0 +1,4 @@ +Make sure that invariants of type versioning are maintained: +* Superclasses always have their version number assigned before subclasses +* The version tag is always zero if the tag is not valid. +* The version tag is always non-zero if the tag is valid. |