Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-87729: add LOAD_SUPER_ATTR to 3.12 What's New (GH-105125)
(cherry picked from commit 7fbac51)

Co-authored-by: Carl Meyer <carl@oddbird.net>
  • Loading branch information
carljm authored and miss-islington committed May 31, 2023
commit b7c2029d8da5bd5876a6c6a1cb982cf88e1c1825
7 changes: 7 additions & 0 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
========================
Expand All @@ -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
===============

Expand Down