Bugs item #1542016, was opened at 2006-08-17 10:21
Message generated for change (Comment added) made by akuchling
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1542016&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Interpreter Core
Group: Python 2.5
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Santiago Gala (sgala)
>Assigned to: A.M. Kuchling (akuchling)
Summary: inconsistency in PCALL conditional code in ceval.c

Initial Comment:
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)
 {
-       return Py_BuildValue("iiiiiiiiii",
+       return Py_BuildValue("iiiiiiiiiii",
                             pcall[0], pcall[1],
pcall[2], pcall[3],
                             pcall[4], pcall[5],
pcall[6], pcall[7],
-                            pcall[8], pcall[9]);
+                            pcall[8], pcall[9],
pcall[10]);
 }
 #else
 #define PCALL(O)


----------------------------------------------------------------------

>Comment By: A.M. Kuchling (akuchling)
Date: 2006-10-27 09:36

Message:
Logged In: YES 
user_id=11375

Committed to the trunk in rev. 52469, to 25-maint in rev.
52470, and to 24-maint in rev. 52472.  Thanks for your bug
report!


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1542016&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to