circular references?
dj trombley
badzen at yifan.net
Sat Dec 18 00:46:19 EST 1999
Just a minute ago, I wrote:
> (usually best done in the __del__ method)
This is erroneous. __del__ does not get called until the reference
count reaches zero.
What caused me to be confused was a practice I usually employ which
hides such references
in container objects, and itself be properly collected. In this case, I
use the __del__
method of the container object. Sorry for the confusion.
-dj
Dave Trombley
<badzen at yifan.net>
More information about the Python-list
mailing list