Well, this might be the best way, but my special case is programming a
GUI. And a (child) window receives a close event and wants to destroy
itself. The main window (parent) will never notice that (or its lots of
code and not very nice....). So that is the case and there is no way
that the parent deletes the child.

By the way, I am aware of the fact that I'm just deleting a reference.
But on deleting the last reference (and that's what I wanna do here)
the object will be destroyed........

chris

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

Reply via email to