[Python-Dev] __del__ unexpectedly being called twice
Terry Reedy
tjreedy at udel.edu
Fri Aug 18 13:52:40 CEST 2006
"Duncan Booth" <duncan.booth at suttoncourtenay.org.uk> wrote in message
news:n2m-g.Xns9823615FCACE1duncanrcpcouk at 127.0.0.1...
> There's a thread on comp.lang.python at the moment under the subject "It
> is
> __del__ calling twice for some instances?" which seems to show that when
> releasing a long chain of old-style classes every 50th approximately has
> its finaliser called twice. I've verified that this happens on both
> Python
> 1.4 and 1.5.
Should we assume you meant 2.4 and 2.5?
More information about the Python-Dev
mailing list