[Python-checkins] python/dist/src/Python ceval.c,2.347,2.348 compile.c,2.272,2.273 sysmodule.c,2.112,2.113

Neal Norwitz neal@metaslash.com
Thu, 06 Feb 2003 16:21:13 -0500


> + #ifdef CALL_PROFILE
> + #define PCALL_NUM 11
> + #define PCALL_POP 10

> + PyObject *
> + PyEval_GetCallStats(PyObject *self)
> + {
> + 	return Py_BuildValue("iiiiiiiiii", 
> + 			     pcall[0], pcall[1], pcall[2], pcall[3],
> + 			     pcall[4], pcall[5], pcall[6], pcall[7],
> + 			     pcall[8], pcall[9]);
> + }

Shouldn't there be another i and pcall[10]?
sysmodule also documented 11 calls.

Neal