[Python-Dev] Re: atexit missing an unregister method

Nick Jacobson nicksjacobson at hotmail.com
Tue Apr 26 22:50:28 CEST 2005


Raymond Hettinger wrote:

<< Will mull it over for a while.  My first impression is that try/finally
is a better tool for the scenario you outlined.  >>


You're right.  try/finally takes care of my sample scenario.  There may 
still be a case to be made for atexit.unregister(), though.

--Nick Jacobson

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement



More information about the Python-Dev mailing list