This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author j1m
Recipients j1m
Date 2009-08-15.22:12:15
SpamBayes Score 1.4848675e-05
Marked as misclassified No
Message-id <1250374338.11.0.481034078931.issue6710@psf.upfronthosting.co.za>
In-reply-to
Content
I've attached a script that demonstrates the problem.  When run with
Python 2.5, it outputs statistics.  When run with Python 2.6.2 it
generates a TypeError:

python2.6 hotshotbug.py
Traceback (most recent call last):
  File "hotshotbug.py", line 5, in <module>
    stats.add(hotshot.stats.load('p2'))
  File "/usr/local/python/2.6/lib/python2.6/pstats.py", line 171, in add
    self.stats[func] = add_func_stats(old_func_stat, stat)
  File "/usr/local/python/2.6/lib/python2.6/pstats.py", line 516, in
add_func_stats
    add_callers(t_callers, callers))
  File "/usr/local/python/2.6/lib/python2.6/pstats.py", line 526, in
add_callers
    zip(caller, new_callers[func])])
TypeError: zip argument #1 must support iteration
History
Date User Action Args
2009-08-15 22:12:18j1msetrecipients: + j1m
2009-08-15 22:12:18j1msetmessageid: <1250374338.11.0.481034078931.issue6710@psf.upfronthosting.co.za>
2009-08-15 22:12:16j1mlinkissue6710 messages
2009-08-15 22:12:16j1mcreate