From: Vladimir Marangozov Date: Wed, 12 Jul 2000 23:39:38 +0000 (+0000) Subject: Propagate the current exception in get_inprogress_dict() -- it doesn't X-Git-Tag: v2.0b1~851 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8dc19f672b38b8ad404ad08ea3cb1eb457b2b74c;p=thirdparty%2FPython%2Fcpython.git Propagate the current exception in get_inprogress_dict() -- it doesn't need to be cleared. --- diff --git a/Objects/object.c b/Objects/object.c index 0c5017546605..64d8a82ee13a 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;