Logging in __del__()
Robert Rawlins
robert.rawlins at thinkbluemedia.co.uk
Wed Jul 16 07:38:50 EDT 2008
Hi Vinay,
> Python uses reference counting with a cycle detector, but the
> detector's behaviour is different if there are finalizers (__del__) -
> see
>
> http://www.python.org/doc/ext/refcounts.html
>
Thank you for the link, that certainly explains a great deal.
So, am I right to assume that python will still handle its garbage disposal
if I implement __del__(), it just handles circular references in a slightly
different way, but to the same effect. Right?
Cheers,
Robert
More information about the Python-list
mailing list