mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00: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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue