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 0c50175..64d8a82 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -356,7 +356,6 @@
 	} 
 	inprogress = PyDict_GetItem(tstate_dict, _PyCompareState_Key); 
 	if (inprogress == NULL) {
-		PyErr_Clear();
 		inprogress = PyDict_New();
 		if (inprogress == NULL)
 			return NULL;