Skip to content

Commit 7c44c0b

Browse files
committed
Add an assertion.
1 parent a7cc3fe commit 7c44c0b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Python/pylifecycle.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2002,6 +2002,7 @@ resolve_final_tstate(_PyRuntimeState *runtime)
20022002

20032003
/* We might want to warn if main_tstate->current_frame != NULL. */
20042004

2005+
assert(main_tstate->interp == main_interp);
20052006
return main_tstate;
20062007
}
20072008

0 commit comments

Comments
 (0)