Issue 1542016: inconsistency in PCALL conditional code in ceval.c (original) (raw)

While there are macros to profile PCALL_POP, the reporting of it via sys.callstats() is broken.

This patch solves it.

Index: Python/ceval.c

--- Python/ceval.c (revisión: 51339) +++ Python/ceval.c (copia de trabajo) @@ -186,10 +186,10 @@ PyObject * PyEval_GetCallStats(PyObject *self) {

pcall[2], pcall[3], pcall[4], pcall[5], pcall[6], pcall[7],

pcall[10]); } #else #define PCALL(O)