python terminology on classes
Tim Chase
python.list at tim.thechases.com
Mon Jul 26 19:31:29 EDT 2010
On 07/26/10 18:15, Thomas Jollans wrote:
>> destructor
>
> http://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
More information about the Python-list
mailing list