When using pstats constructor with multiple files, the add_callers method fails. Actually, add_callers need to add values of tuples, but it uses the "+" operator, that appends tuples. I submit the fix (pstats.py.fix file) and the old one (pstats.py.bug.2.5)
This bug should already be fixed in Python 2.6 and 2.7 (see #7372) and 2.5 now accepts only security fixes. I suggest you to upgrade to a newer version of Python. (BTW, thanks for the report and the patch, but it's usually better to avoid zip files and prefer plain diff files)
History
Date
User
Action
Args
2022-04-11 14:57:08
admin
set
github: 54631
2010-11-15 08:49:16
ezio.melotti
set
status: open -> closednosy: + ezio.melottimessages: + resolution: out of datestage: resolved