Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 789c082

Browse files
author
Anselm Kruis
committed
Stackless issue #254: fix WITH_CLEANUP_START
Fix the problem introduced by the previous merge of 520b7ae (bpo-17611).
1 parent 1738169 commit 789c082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/ceval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3257,7 +3257,7 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
32573257
slp_continue_slp_eval_frame_with_cleanup:
32583258
/* Initialize variables */
32593259
exc = TOP();
3260-
if (PyLong_Check(exc))
3260+
if (exc == NULL)
32613261
exc = Py_None;
32623262
res = retval;
32633263
retval = NULL;

0 commit comments

Comments
 (0)