diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-05-31 13:47:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-31 13:47:03 (GMT) |
commit | 4f477c796cbd6db14fa102fecd5afc38a3604850 (patch) | |
tree | 47611c259727067036ba3af1904e95b071fed2b6 /Doc/whatsnew | |
parent | d3c21a9f3327d8bed58b47e6e5ada7c95b0a7bde (diff) | |
download | cpython-4f477c796cbd6db14fa102fecd5afc38a3604850.zip cpython-4f477c796cbd6db14fa102fecd5afc38a3604850.tar.gz cpython-4f477c796cbd6db14fa102fecd5afc38a3604850.tar.bz2 |
[3.12] gh-87729: add LOAD_SUPER_ATTR to 3.12 What's New (GH-105125) (#105143)
Diffstat (limited to 'Doc/whatsnew')
-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 c54c5d3..b496da3 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 ======================== @@ -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 =============== |