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)