diff options
author | Vladimir Marangozov <vladimir.marangozov@t-online.de> | 2000-07-12 23:39:38 (GMT) |
---|---|---|
committer | Vladimir Marangozov <vladimir.marangozov@t-online.de> | 2000-07-12 23:39:38 (GMT) |
commit | 8dc19f672b38b8ad404ad08ea3cb1eb457b2b74c (patch) | |
tree | 229b45213d5601c8eb60404ded7e1a519bb5892e /Objects | |
parent | 794b483d0dde74d960dfdeca38aeb75d3436bc71 (diff) | |
download | cpython-8dc19f672b38b8ad404ad08ea3cb1eb457b2b74c.zip cpython-8dc19f672b38b8ad404ad08ea3cb1eb457b2b74c.tar.gz cpython-8dc19f672b38b8ad404ad08ea3cb1eb457b2b74c.tar.bz2 |
Propagate the current exception in get_inprogress_dict() -- it doesn't
need to be cleared.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/object.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |