]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-87729: add LOAD_SUPER_ATTR to 3.12 What's New (GH-105125) (#105143)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 31 May 2023 13:47:03 +0000 (06:47 -0700)
committerGitHub <noreply@github.com>
Wed, 31 May 2023 13:47:03 +0000 (07:47 -0600)
Doc/whatsnew/3.12.rst

index c54c5d32ca06bf5174b904a096d0dcd590664be1..b496da30c73fc4ac554a618177169e445a89ca3c 100644 (file)
@@ -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
 ========================
@@ -920,6 +924,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
 ===============