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
1 changed files with 0 additions and 1 deletions

View File

@ -356,7 +356,6 @@ get_inprogress_dict(void)
} }
inprogress = PyDict_GetItem(tstate_dict, _PyCompareState_Key); inprogress = PyDict_GetItem(tstate_dict, _PyCompareState_Key);
if (inprogress == NULL) { if (inprogress == NULL) {
PyErr_Clear();
inprogress = PyDict_New(); inprogress = PyDict_New();
if (inprogress == NULL) if (inprogress == NULL)
return NULL; return NULL;