[issue2467] gc.DEBUG_STATS reports invalid "elapsed" times

2008-12-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed in r67832, thanks! -- nosy: +pitrou resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 2.7 -Python 2.5, Python 2.6 ___ Python tracker

[issue2467] gc.DEBUG_STATS reports invalid "elapsed" times

2008-03-24 Thread Neil Schemenauer
Neil Schemenauer <[EMAIL PROTECTED]> added the comment: The original code is pretty icky. I'm attaching a patch that improves it, IMO. Before the elapsed time was only shown if garbage was found. I think it should always be shown if DEBUG_STATS is set. -- nosy: +nas Added file: http:/

[issue2467] gc.DEBUG_STATS reports invalid "elapsed" times

2008-03-23 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone <[EMAIL PROTECTED]>: If gc.set_debug(gc.DEBUG_STATS) is enabled, collection will report elapsed time as it progresses through collection. However, the reporting code clobbers the value it uses to compute the elapsed time, so the value alternates between an