Cameron Walsh wrote: > Woah, that actually works? Having the "finally" after the "return"? > That could make some things easier, and some things harder...
The whole point of having a clean-up handler is to make sure it runs no
matter what:
When a return, break or continue statement is executed in the
try suite of a try-finally statement, the finally clause is also
executed "on the way out".
http://pyref.infogami.com/try
</F>
--
http://mail.python.org/mailman/listinfo/python-list
