question about the GC implementation
Francis Moreau
francis.moro at gmail.com
Mon Oct 5 04:05:19 EDT 2009
On Oct 3, 11:58 pm, ryles <ryle... at gmail.com> 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 ?
Thanks
More information about the Python-list
mailing list