Georg Brandl added the comment:
Committed as r60149. Thanks for the patch!
--
resolution: - accepted
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1269
__
Changes by A.M. Kuchling:
--
keywords: +easy
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1269
__
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Georg Brandl:
--
assignee: - georg.brandl
nosy: +georg.brandl
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1269
__
___
Python-bugs-list mailing list
Thomas Herve added the comment:
Here's my patch against trunk, with one test. Please review!
--
versions: +Python 2.6
Added file: http://bugs.python.org/file8806/1269.diff
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1269
Thomas Herve added the comment:
1315 is a duplicate of this, and I end up with a very similar solution.
--
nosy: +therve
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1269
__
Matthew Fremont added the comment:
I hit the same issue, and I think the problem is that at line 515 in
pstats.py add_callers() the two stats instead of adding them
member-wise. As a result, each time add() is called, the number of stats
associated with each func grows by 4. Then, when
New submission from Andrew Stromnov:
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit
(Intel)] on win32
Type help, copyright, credits or license for more information.
import pstats
ps = pstats.Stats(profile.log)
ps.add(profile.log)
pstats.Stats instance at 0x01358BC0