Skip to content

Commit 4f477c7

Browse files
[3.12] gh-87729: add LOAD_SUPER_ATTR to 3.12 What's New (GH-105125) (#105143)
1 parent d3c21a9 commit 4f477c7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Doc/whatsnew/3.12.rst

+7
Original file line numberDiff line numberDiff line change
@@ -899,6 +899,10 @@ Optimizations
899899
the :mod:`tokenize` module. (Contributed by Marta Gómez Macías and Pablo Galindo
900900
in :gh:`102856`.)
901901

902+
* Speed up :func:`super` method calls and attribute loads via the
903+
new :opcode:`LOAD_SUPER_ATTR` instruction. (Contributed by Carl Meyer and
904+
Vladimir Matveev in :gh:`103497`.)
905+
902906

903907
CPython bytecode changes
904908
========================
@@ -920,6 +924,9 @@ CPython bytecode changes
920924
:opcode:`LOAD_LOCALS` plus :opcode:`LOAD_FROM_DICT_OR_DEREF`. (Contributed
921925
by Jelle Zijlstra in :gh:`103764`.)
922926

927+
* Add the :opcode:`LOAD_SUPER_ATTR` instruction. (Contributed by Carl Meyer and
928+
Vladimir Matveev in :gh:`103497`.)
929+
923930
Demos and Tools
924931
===============
925932

0 commit comments

Comments
 (0)