summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2021-08-16 11:21:34 (GMT)
committerGitHub <noreply@github.com>2021-08-16 11:21:34 (GMT)
commit1a511dc92dd10ee8fc2e5da9f52f795924bdc89a (patch)
treec98500f27aebb8cb371389d767f8eecd4ab17d0c /Misc
parent62bc716fde20fcb7b47416c7959be9e66df93212 (diff)
downloadcpython-1a511dc92dd10ee8fc2e5da9f52f795924bdc89a.zip
cpython-1a511dc92dd10ee8fc2e5da9f52f795924bdc89a.tar.gz
cpython-1a511dc92dd10ee8fc2e5da9f52f795924bdc89a.tar.bz2
bpo-44914: Maintain invariants of type version tags. (GH-27773)
* Do not invalidate type versions unnecessarily.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2021-08-16-11-36-02.bpo-44914.6Lgrx3.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-08-16-11-36-02.bpo-44914.6Lgrx3.rst b/Misc/NEWS.d/next/Core and Builtins/2021-08-16-11-36-02.bpo-44914.6Lgrx3.rst
new file mode 100644
index 0000000..5e306ff
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2021-08-16-11-36-02.bpo-44914.6Lgrx3.rst
@@ -0,0 +1,5 @@
+Class version tags are no longer recycled.
+
+This means that a version tag serves as a unique identifier for the state of
+a class. We rely on this for effective specialization of the LOAD_ATTR and
+other instructions.