diff options
author | Brandt Bucher <brandtbucher@microsoft.com> | 2023-05-12 22:23:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-12 22:23:13 (GMT) |
commit | 1eb950ca55b3e0b6524b3f03b0b519723916eca2 (patch) | |
tree | 05e29e59c4ba754e255f063eb47e42a9d6f9cce4 /Python/ceval_macros.h | |
parent | a10b026f0fdceac42c4b928917894d77da996555 (diff) | |
download | cpython-1eb950ca55b3e0b6524b3f03b0b519723916eca2.zip cpython-1eb950ca55b3e0b6524b3f03b0b519723916eca2.tar.gz cpython-1eb950ca55b3e0b6524b3f03b0b519723916eca2.tar.bz2 |
GH-104405: Add missing PEP 523 checks (GH-104406)
Diffstat (limited to 'Python/ceval_macros.h')
-rw-r--r-- | Python/ceval_macros.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/ceval_macros.h b/Python/ceval_macros.h index f5515d0..e92ff0b 100644 --- a/Python/ceval_macros.h +++ b/Python/ceval_macros.h @@ -105,6 +105,7 @@ #define DISPATCH_INLINED(NEW_FRAME) \ do { \ + assert(tstate->interp->eval_frame == NULL); \ _PyFrame_SetStackPointer(frame, stack_pointer); \ frame->prev_instr = next_instr - 1; \ (NEW_FRAME)->previous = frame; \ |