summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/pystate.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index d276bfc..4534c47 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -586,7 +586,6 @@ PyThreadState_Clear(PyThreadState *tstate)
Py_CLEAR(tstate->exc_state.exc_traceback);
/* The stack of exception states should contain just this thread. */
- assert(tstate->exc_info->previous_item == NULL);
if (Py_VerboseFlag && tstate->exc_info != &tstate->exc_state) {
fprintf(stderr,
"PyThreadState_Clear: warning: thread still has a generator\n");