[issue6710] hotshot stats load causes TypeError when multiple files are loaded
Ezio Melotti ezio.melo...@gmail.com added the comment: This is a duplicate of #7372. -- resolution: - duplicate stage: test needed - committed/rejected status: open - closed superseder: - Regression in pstats ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6710 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6710] hotshot stats load causes TypeError when multiple files are loaded
Changes by Alexandre Vassalotti alexan...@peadrop.com: -- nosy: +alexandre.vassalotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6710 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6710] hotshot stats load causes TypeError when multiple files are loaded
Ezio Melotti ezio.melo...@gmail.com added the comment: The change that causes this problem has been introduced in r60149 to fix #1269. -- nosy: +ezio.melotti, georg.brandl, therve priority: - normal stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6710 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6710] hotshot stats load causes TypeError when multiple files are loaded
New submission from Jim Fulton j...@zope.com: 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 -- components: Library (Lib) files: hotshotbug.py messages: 91619 nosy: j1m severity: normal status: open title: hotshot stats load causes TypeError when multiple files are loaded type: behavior versions: Python 2.6 Added file: http://bugs.python.org/file14734/hotshotbug.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6710 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6710] hotshot stats load causes TypeError when multiple files are loaded
Jim Fulton j...@zope.com added the comment: Fred might be interested. :) -- nosy: +fdrake ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6710 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com