Holger Joukl wrote:

> Anyway: Is relying on __del__ getting called immediately when the refcount
> drops to 0 a no-no?

yes, but more importantly, relying on the refcount dropping to 0 when 
something goes out of scope is a major no-no.

> If so should that maybe be prominently stated in the docs?

is it perhaps the color that made you miss the big bold boxes in the 
documentation?

     http://docs.python.org/ref/customization.html#l2h-177

</F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to