__del__ methods

Jason Baker amnorvend at gmail.com
Fri Jul 18 14:31:20 EDT 2008


I have a class that I need to do some finalization on when it dies.  I
know I can use the __del__ method, but I seem to recall that it
impedes garbage collection.  Is this the case?

(keep in mind that my code aims to be compatible with python 2.3 to
python 2.5)



More information about the Python-list mailing list