[Python-Dev] Re: DEBUG_SAVEALL feature for gc not in 2.0b1?

Vladimir Marangozov Vladimir.Marangozov@inrialpes.fr
Fri, 1 Sep 2000 23:47:59 +0200 (CEST)


Neil Schemenauer wrote:
> 
> On Fri, Sep 01, 2000 at 11:08:14PM +0200, Vladimir Marangozov wrote:
> > Also, I support the idea of exporting the collected garbage for
> > debugging -- haven't looked at the patch though. Is it possible
> > to collect it subsequently?
> 
> No.  Once objects are in gc.garbage they are back under the users
> control.  How do you see things working otherwise?

By putting them in gc.collected_garbage. The next collect() should be
able to empty this list if the DEBUG_SAVEALL flag is not set. Do you
see any problems with this?

-- 
       Vladimir MARANGOZOV          | Vladimir.Marangozov@inrialpes.fr
http://sirac.inrialpes.fr/~marangoz | tel:(+33-4)76615277 fax:76615252