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
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com