]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-97933: add LOAD_FAST_AND_CLEAR to 3.12 What's New bytecode section (#105126)
authorCarl Meyer <carl@oddbird.net>
Wed, 31 May 2023 02:19:25 +0000 (20:19 -0600)
committerGitHub <noreply@github.com>
Wed, 31 May 2023 02:19:25 +0000 (20:19 -0600)
Doc/whatsnew/3.12.rst

index 8a319ed439d6b9ad6ddd8c90f14d5092c48b1eee..2423672f75b3707228fecb30e1d0a1a71390d8ea 100644 (file)
@@ -915,6 +915,9 @@ CPython bytecode changes
 * Remove the :opcode:`!JUMP_IF_FALSE_OR_POP` and :opcode:`!JUMP_IF_TRUE_OR_POP`
   instructions. (Contributed by Irit Katriel in :gh:`102859`.)
 
+* Add the :opcode:`LOAD_FAST_AND_CLEAR` instruction as part of the
+  implementation of :pep:`709`. (Contributed by Carl Meyer in :gh:`101441`.)
+
 * Add the :opcode:`LOAD_FROM_DICT_OR_DEREF`, :opcode:`LOAD_FROM_DICT_OR_GLOBALS`,
   and :opcode:`LOAD_LOCALS` opcodes as part of the implementation of :pep:`695`.
   Remove the :opcode:`!LOAD_CLASSDEREF` opcode, which can be replaced with