question about the GC implementation

Francis Moreau francis.moro at
Mon Oct 5 10:05:19 CEST 2009

On Oct 3, 11:58 pm, ryles <ryle... at> wrote:
>     Only objects with GC_TENTATIVELY_UNREACHABLE still set are
>     candidates for collection.  If it's decided not to collect such an object
>     (e.g., it has a __del__ method), its gc_refs is restored to GC_REACHABLE
>     again.

Ok so it happens _only_ when the object has a __del__ method, right ?


More information about the Python-list mailing list