We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 825aab9 commit b6dccf5Copy full SHA for b6dccf5
Python/pystate.c
@@ -586,7 +586,6 @@ PyThreadState_Clear(PyThreadState *tstate)
586
Py_CLEAR(tstate->exc_state.exc_traceback);
587
588
/* The stack of exception states should contain just this thread. */
589
- assert(tstate->exc_info->previous_item == NULL);
590
if (Py_VerboseFlag && tstate->exc_info != &tstate->exc_state) {
591
fprintf(stderr,
592
"PyThreadState_Clear: warning: thread still has a generator\n");
0 commit comments