No destructor

Makhno mak at imakhno.freeserve.co.uk
Mon Aug 21 14:35:28 EDT 2000


>I'm fairly new to Python, so apologies if this has cropped up before.  As I
>understand it, there is no destructor/finalise in Python.  What was the
>reason behind this omission?

This is incorrect. There are destructors, Python would be useless as a
garbadge collecting extensible scripting language if it did not have them.

The method is called __del__








More information about the Python-list mailing list