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 belopolsky
Recipients belopolsky, georg.brandl, matthew.fremont, stromnov, therve
Date 2009-11-21.01:03:08
SpamBayes Score 2.5895636e-10
Marked as misclassified No
Message-id <1258765391.77.0.857956675588.issue7372@psf.upfronthosting.co.za>
In-reply-to
Content
Attached zip archive can be run directly to reproduce the bug:

$ ./python.exe bug.zip 
Traceback (most recent call last):
  File "/Users/sasha/Work/python-svn/trunk/Lib/runpy.py", line 162, in 
_run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/Users/sasha/Work/python-svn/trunk/Lib/runpy.py", line 72, in 
_run_code
    exec code in run_globals
  File "bug.zip/__main__.py", line 9, in <module>
  File "/Users/sasha/Work/python-svn/trunk/Lib/pstats.py", line 268, in 
strip_dirs
    (cc, nc, tt, ct, newcallers))
  File "/Users/sasha/Work/python-svn/trunk/Lib/pstats.py", line 516, in 
add_func_stats
    add_callers(t_callers, callers))
  File "/Users/sasha/Work/python-svn/trunk/Lib/pstats.py", line 526, in 
add_callers
    zip(caller, new_callers[func])])
TypeError: zip argument #1 must support iteration


This is a regression introduced by r60149 which fixed processing of 
cProfile data, but broke processing of profile.

It is fairly easy to fix this problem in pstats, but a better solution 
may be to make profile output compatible with cProfile.

See also issue1269 and issue1315 .
History
Date User Action Args
2009-11-21 01:03:12belopolskysetrecipients: + belopolsky, georg.brandl, therve, stromnov, matthew.fremont
2009-11-21 01:03:11belopolskysetmessageid: <1258765391.77.0.857956675588.issue7372@psf.upfronthosting.co.za>
2009-11-21 01:03:09belopolskylinkissue7372 messages
2009-11-21 01:03:08belopolskycreate