0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00

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

need to be cleared.
This commit is contained in:
Vladimir Marangozov 2000-07-12 23:39:38 +00:00
parent 794b483d0d
commit 8dc19f672b

View File

@ -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;