Jeff Epler <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]: 

> 
> Unless there's a cycle and GC gets involved, all there is to deleting
> *anything* in Python is correctly managing the refcount.  On the other
> hand, you can never free an object while it is still reachable.  Some
> local name "x" may never spontaneously lose the thing it refers to.

Thanks for the replies. I've solved it, it was a kind of cycle: When 
creating the instance it registered itself with my code, and was supposed 
to unregister itself when deleted, but since I kept a copy of the object in 
the program it never got unregistered, and thus never deleted...
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to