gh-87729: add LOAD_SUPER_ATTR to 3.12 What's New (#105125)

This commit is contained in:
Carl Meyer 2023-05-30 20:19:04 -06:00 committed by GitHub
parent 7be667dfaf
commit 7fbac51baf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View 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
========================
@ -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
===============