[issue7372] Regression in pstats

2011-01-08 Thread Georg Brandl
Georg Brandl 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 ___ _

[issue7372] Regression in pstats

2011-01-08 Thread Doug Hellmann
Doug Hellmann 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? Thanks, Doug -- n

[issue7372] Regression in pstats

2010-08-02 Thread Georg Brandl
Georg Brandl added the comment: Fixed with your patch in r83531. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue7372] Regression in pstats

2010-01-26 Thread Jim Fulton
Jim Fulton added the comment: On Mon, Jan 25, 2010 at 7:35 PM, Ezio Melotti wrote: > > Ezio Melotti 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 i

[issue7372] Regression in pstats

2010-01-25 Thread Ezio Melotti
Ezio Melotti added the comment: I meant "See also #6710". -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue7372] Regression in pstats

2010-01-25 Thread Ezio Melotti
Ezio Melotti 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 a tuple, possibly wit

[issue7372] Regression in pstats

2009-11-23 Thread Alexander Belopolsky
Alexander Belopolsky 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 turning Profile.stats into a computed

[issue7372] Regression in pstats

2009-11-23 Thread Georg Brandl
Georg Brandl added the comment: Alexander, how hard would it be to change the profile output? -- ___ Python tracker ___ ___ Python-bug

[issue7372] Regression in pstats

2009-11-21 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- versions: +Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue7372] Regression in pstats

2009-11-20 Thread Alexander Belopolsky
Alexander Belopolsky 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 compatible output or not. --

[issue7372] Regression in pstats

2009-11-20 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : 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