diff options
author | Zackery Spytz <zspytz@gmail.com> | 2019-08-25 03:44:09 -0600 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2019-08-25 12:44:09 +0300 |
commit | ce6a070414ed1e1374d1e6212bfbff61b6d5d755 (patch) | |
tree | 55f9d0c54b98ad3c95e78a235668f6dbc314087b /Python/opcode_targets.h | |
parent | bpo-37905: Improve docs for NormalDist (GH-15486) (diff) | |
download | cpython-ce6a070414ed1e1374d1e6212bfbff61b6d5d755.tar.gz cpython-ce6a070414ed1e1374d1e6212bfbff61b6d5d755.tar.bz2 cpython-ce6a070414ed1e1374d1e6212bfbff61b6d5d755.zip |
bpo-34880: Add the LOAD_ASSERTION_ERROR opcode. (GH-15073)
Fix assert statement misbehavior if AssertionError is shadowed.
Diffstat (limited to 'Python/opcode_targets.h')
-rw-r--r-- | Python/opcode_targets.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/opcode_targets.h b/Python/opcode_targets.h index e82959be086..d39bad0bcd3 100644 --- a/Python/opcode_targets.h +++ b/Python/opcode_targets.h @@ -73,7 +73,7 @@ static void *opcode_targets[256] = { &&TARGET_LOAD_BUILD_CLASS, &&TARGET_YIELD_FROM, &&TARGET_GET_AWAITABLE, - &&_unknown_opcode, + &&TARGET_LOAD_ASSERTION_ERROR, &&TARGET_INPLACE_LSHIFT, &&TARGET_INPLACE_RSHIFT, &&TARGET_INPLACE_AND, |