diff options
author | Carl Meyer <carl@oddbird.net> | 2023-05-31 02:19:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-31 02:19:04 (GMT) |
commit | 7fbac51baf64498e467e0a4a35a74b8a83d50630 (patch) | |
tree | bde1ceae62b03545eaee4be22ecb8130633fc6e9 | |
parent | 7be667dfafa2465df6342d72dca9c1f82dd830d0 (diff) | |
download | cpython-7fbac51baf64498e467e0a4a35a74b8a83d50630.zip cpython-7fbac51baf64498e467e0a4a35a74b8a83d50630.tar.gz cpython-7fbac51baf64498e467e0a4a35a74b8a83d50630.tar.bz2 |
gh-87729: add LOAD_SUPER_ATTR to 3.12 What's New (#105125)
-rw-r--r-- | Doc/whatsnew/3.12.rst | 7 |
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 =============== |