[issue7372] Regression in pstats

2011-01-08 Thread Doug Hellmann
Doug Hellmann doug.hellm...@gmail.com added the comment: I just ran into this problem with pstats under Python 2.7. The ticket is marked as fixed, but it looks like the change was only checked in under the py3k branch. What's the policy on fixing stuff like this for 2.7 patch releases?

[issue7372] Regression in pstats

2011-01-08 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: This change was backported to the 2.7 branch in r83533; it should therefore be in 2.7.1, but not 2.7. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7372

[issue7372] Regression in pstats

2010-08-02 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed with your patch in r83531. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7372 ___

[issue7372] Regression in pstats

2010-01-26 Thread Jim Fulton
Jim Fulton j...@zope.com added the comment: On Mon, Jan 25, 2010 at 7:35 PM, Ezio Melotti rep...@bugs.python.org wrote: Ezio Melotti ezio.melo...@gmail.com added the comment: See also #7372. AFAIU add_callers can receive either a tuple or an int (and this is what is not working now).

[issue7372] Regression in pstats

2010-01-25 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: See also #7372. AFAIU add_callers can receive either a tuple or an int (and this is what is not working now). When I looked at #7372 I wasn't able to find out why it might receive two different objects and not always the same (i.e. always

[issue7372] Regression in pstats

2010-01-25 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I meant See also #6710. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7372 ___ ___

[issue7372] Regression in pstats

2009-11-23 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Alexander, how hard would it be to change the profile output? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7372 ___

[issue7372] Regression in pstats

2009-11-23 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: It would be fairly easy to change format before dumping stats to disk, but unfortunately Profile does not encapsulate it's run-time data and changing its format would be a mess. Of course, one can hack around that by

[issue7372] Regression in pstats

2009-11-21 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- versions: +Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7372 ___

[issue7372] Regression in pstats

2009-11-20 Thread Alexander Belopolsky
New submission from Alexander Belopolsky belopol...@users.sourceforge.net: 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

[issue7372] Regression in pstats

2009-11-20 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: I am attaching a simple fix. The test for data format could be taken out of the loop, but it is probably not worth complicating the logic. In any case the real issue is whether profile and cProfile should produce