[Python-3000] PEP: Eliminate del (original) (raw)

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: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/519621

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".

Antoine.



More information about the Python-3000 mailing list