Skip to content

Commit 832935a

Browse files
clear errors
1 parent 8f8a5a1 commit 832935a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Python/optimizer_analysis.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,8 @@ optimize_uops(
314314
}
315315

316316
if (_Py_uop_abstractcontext_init(ctx)) {
317+
assert(PyErr_Occurred());
318+
PyErr_Clear();
317319
return 0;
318320
}
319321

0 commit comments

Comments
 (0)