summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2023-05-31 02:19:04 (GMT)
committerGitHub <noreply@github.com>2023-05-31 02:19:04 (GMT)
commit7fbac51baf64498e467e0a4a35a74b8a83d50630 (patch)
treebde1ceae62b03545eaee4be22ecb8130633fc6e9 /Doc
parent7be667dfafa2465df6342d72dca9c1f82dd830d0 (diff)
downloadcpython-7fbac51baf64498e467e0a4a35a74b8a83d50630.zip
cpython-7fbac51baf64498e467e0a4a35a74b8a83d50630.tar.gz
cpython-7fbac51baf64498e467e0a4a35a74b8a83d50630.tar.bz2
gh-87729: add LOAD_SUPER_ATTR to 3.12 What's New (#105125)
Diffstat (limited to 'Doc')
-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 f23a733..8a319ed 100644
--- a/Doc/whatsnew/3.12.rst
+++ b/Doc/whatsnew/3.12.rst
@@ -899,6 +899,10 @@ Optimizations
the :mod:`tokenize` module. (Contributed by Marta Gómez Macías and Pablo Galindo
in :gh:`102856`.)
+* Speed up :func:`super` method calls and attribute loads via the
+ new :opcode:`LOAD_SUPER_ATTR` instruction. (Contributed by Carl Meyer and
+ Vladimir Matveev in :gh:`103497`.)
+
CPython bytecode changes
========================
@@ -917,6 +921,9 @@ CPython bytecode changes
:opcode:`LOAD_LOCALS` plus :opcode:`LOAD_FROM_DICT_OR_DEREF`. (Contributed
by Jelle Zijlstra in :gh:`103764`.)
+* Add the :opcode:`LOAD_SUPER_ATTR` instruction. (Contributed by Carl Meyer and
+ Vladimir Matveev in :gh:`103497`.)
+
Demos and Tools
===============