Message95574
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 . |
|
Date |
User |
Action |
Args |
2009-11-21 01:03:12 | belopolsky | set | recipients:
+ belopolsky, georg.brandl, therve, stromnov, matthew.fremont |
2009-11-21 01:03:11 | belopolsky | set | messageid: <1258765391.77.0.857956675588.issue7372@psf.upfronthosting.co.za> |
2009-11-21 01:03:09 | belopolsky | link | issue7372 messages |
2009-11-21 01:03:08 | belopolsky | create | |
|