From 8dc19f672b38b8ad404ad08ea3cb1eb457b2b74c Mon Sep 17 00:00:00 2001 From: Vladimir Marangozov Date: Wed, 12 Jul 2000 23:39:38 +0000 Subject: Propagate the current exception in get_inprogress_dict() -- it doesn't need to be cleared. --- Objects/object.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Objects/object.c b/Objects/object.c index 0c50175..64d8a82 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -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; -- cgit v0.12