Skip to content

Commit 5282295

Browse files
Add a TODO.
1 parent 3418d43 commit 5282295

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Python/pystate.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -866,6 +866,8 @@ _PyInterpreterState_DeleteExceptMain(_PyRuntimeState *runtime)
866866
continue;
867867
}
868868

869+
// XXX Won't this fail since PyInterpreterState_Clear() requires
870+
// the "current" tstate to be set?
869871
PyInterpreterState_Clear(interp); // XXX must activate?
870872
zapthreads(interp);
871873
if (interp->id_mutex != NULL) {

0 commit comments

Comments
 (0)