]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Propagate the current exception in get_inprogress_dict() -- it doesn't
authorVladimir Marangozov <vladimir.marangozov@t-online.de>
Wed, 12 Jul 2000 23:39:38 +0000 (23:39 +0000)
committerVladimir Marangozov <vladimir.marangozov@t-online.de>
Wed, 12 Jul 2000 23:39:38 +0000 (23:39 +0000)
need to be cleared.

Objects/object.c

index 0c5017546605b1ee05875da54cb4772ab6db3c8d..64d8a82ee13ae647c527ed2cdbb087de272df074 100644 (file)
@@ -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;