[issue10422] pstats.py : error when loading multiple stats files

2010-11-15 Thread Ezio Melotti
Ezio Melotti added the comment: 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 pl

[issue10422] pstats.py : error when loading multiple stats files

2010-11-15 Thread Stephane Ruchet
New submission from Stephane Ruchet : 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