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:
parent
794b483d0d
commit
8dc19f672b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user