From: Armin Rigo Date: Tue, 28 Mar 2006 19:10:40 +0000 (+0000) Subject: answer a question from a comment X-Git-Tag: v2.5a0~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d34fa52a064c076afeeb3b1f775e7b333fb3b892;p=python answer a question from a comment --- diff --git a/Python/ceval.c b/Python/ceval.c index 99dfc2d3b4..cc1eb97fe0 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -3659,9 +3659,9 @@ call_function(PyObject ***pp_stack, int oparg Py_DECREF(func); } - /* Clear the stack of the function object and the arguments, - in case they weren't consumed already. - XXX(twouters) when are they not consumed already? + /* Clear the stack of the function object. Also removes + the arguments in case they weren't consumed already + (fast_function() and err_args() leave them on the stack). */ while ((*pp_stack) > pfunc) { w = EXT_POP(*pp_stack);