commit | ce6a070414ed1e1374d1e6212bfbff61b6d5d755 | [log] [tgz] |
---|---|---|
author | Zackery Spytz <zspytz@gmail.com> | Sun Aug 25 03:44:09 2019 -0600 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Sun Aug 25 12:44:09 2019 +0300 |
tree | 55f9d0c54b98ad3c95e78a235668f6dbc314087b | |
parent | 8371799e300475c8f9f967e900816218d3500e5d [diff] [blame] |
bpo-34880: Add the LOAD_ASSERTION_ERROR opcode. (GH-15073) Fix assert statement misbehavior if AssertionError is shadowed.
diff --git a/Include/opcode.h b/Include/opcode.h index 2a29e97..95d5601 100644 --- a/Include/opcode.h +++ b/Include/opcode.h
@@ -53,6 +53,7 @@ #define LOAD_BUILD_CLASS 71 #define YIELD_FROM 72 #define GET_AWAITABLE 73 +#define LOAD_ASSERTION_ERROR 74 #define INPLACE_LSHIFT 75 #define INPLACE_RSHIFT 76 #define INPLACE_AND 77