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

Stephane Ruchet report at bugs.python.org
Mon Nov 15 09:42:30 CET 2010


New submission from Stephane Ruchet <sruchet at parkeon.com>:

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)

----------
components: Library (Lib)
files: pstats.zip
messages: 121216
nosy: sruchet
priority: normal
severity: normal
status: open
title: pstats.py : error when loading multiple stats files
type: behavior
versions: Python 2.5
Added file: http://bugs.python.org/file19611/pstats.zip

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10422>
_______________________________________


More information about the Python-bugs-list mailing list