mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
bpo-34880: Add the LOAD_ASSERTION_ERROR opcode. (GH-15073)
Fix assert statement misbehavior if AssertionError is shadowed.
This commit is contained in:
parent
8371799e30
commit
ce6a070414
14 changed files with 2664 additions and 2627 deletions
1
Include/opcode.h
generated
1
Include/opcode.h
generated
|
@ -53,6 +53,7 @@ extern "C" {
|
|||
#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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue