[Python-3000] PEP: Eliminate __del__

Antoine Pitrou antoine.pitrou at wengo.com
Mon May 7 17:27:41 CEST 2007

FWIW and in light of the thread on removing __del__ from the language, I
just posted Yet Another Recipe for automatic finalization:

It allows writing a finalizer as a single __finalize__ method, at the
cost of explicitly calling an enable_finalizer() method with the list of
attributes to keep alive on the "ghost object".


More information about the Python-3000 mailing list