[Python-checkins] r43407 - python/trunk/Python/ceval.c

armin.rigo python-checkins at python.org
Tue Mar 28 21:10:41 CEST 2006


Author: armin.rigo
Date: Tue Mar 28 21:10:40 2006
New Revision: 43407

Modified:
   python/trunk/Python/ceval.c
Log:
answer a question from a comment


Modified: python/trunk/Python/ceval.c
==============================================================================
--- python/trunk/Python/ceval.c	(original)
+++ python/trunk/Python/ceval.c	Tue Mar 28 21:10:40 2006
@@ -3659,9 +3659,9 @@
 		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);


More information about the Python-checkins mailing list