On 07/26/10 18:15, Thomas Jollans wrote:
destructorhttp://docs.python.org/py3k/reference/datamodel.html#object.__del__
One small caveat -- IIRC, in Java/C++ the destructor is guaranteed to be called with a certain amount of context. I find Python's __del__ almost useless since things it may rely upon can arbitrarily be destroyed before the __del__ is called.
-tkc -- http://mail.python.org/mailman/listinfo/python-list