From: Benjamin Peterson Date: Sat, 6 Feb 2010 19:40:18 +0000 (+0000) Subject: remove pointless error checking X-Git-Tag: v2.7a4~265 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee46101e68216863a210ec6d47d4b024d943e2b0;p=python remove pointless error checking --- diff --git a/Python/ceval.c b/Python/ceval.c index 0b8a377ee4..7c1f7816e8 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -3115,9 +3115,6 @@ PyEval_EvalCodeEx(PyCodeObject *co, PyObject *globals, PyObject *locals, else if (cmp < 0) goto fail; } - /* Check errors from Compare */ - if (PyErr_Occurred()) - goto fail; if (j >= co->co_argcount) { if (kwdict == NULL) { PyObject *kwd_str = kwd_as_string(keyword);