Commit 8dc19f67 authored by Vladimir Marangozov's avatar Vladimir Marangozov

Propagate the current exception in get_inprogress_dict() -- it doesn't

need to be cleared.
parent 794b483d
......@@ -356,7 +356,6 @@ get_inprogress_dict(void)
}
inprogress = PyDict_GetItem(tstate_dict, _PyCompareState_Key);
if (inprogress == NULL) {
PyErr_Clear();
inprogress = PyDict_New();
if (inprogress == NULL)
return NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment