diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2022-04-01 12:59:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-01 12:59:38 (GMT) |
commit | 04e07c258f4f2ac85e25355242a113f98a706f04 (patch) | |
tree | 166df77e0d1e0bbaf6c4fcd8b1f3584010cf6c26 /Doc/whatsnew | |
parent | ae9de82e321581e1906c6ef2a7ad83ab30ae3325 (diff) | |
download | cpython-04e07c258f4f2ac85e25355242a113f98a706f04.zip cpython-04e07c258f4f2ac85e25355242a113f98a706f04.tar.gz cpython-04e07c258f4f2ac85e25355242a113f98a706f04.tar.bz2 |
bpo-47186: Replace JUMP_IF_NOT_EXC_MATCH by CHECK_EXC_MATCH + jump (GH-32231)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.11.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 1580867..dc2d4b0 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -520,7 +520,8 @@ CPython bytecode changes * Add :opcode:`POP_JUMP_IF_NOT_NONE` and :opcode:`POP_JUMP_IF_NONE` opcodes to speed up conditional jumps. -* :opcode:`JUMP_IF_NOT_EXC_MATCH` no longer pops the active exception. +* Replaced :opcode:`JUMP_IF_NOT_EXC_MATCH` by :opcode:`CHECK_EXC_MATCH` which + performs the check but does not jump. * Replaced :opcode:`JUMP_ABSOLUTE` by the relative :opcode:`JUMP_BACKWARD`. |