"defcon8" wrote:

>I can't remember the proposal number, but many of you reading will have
> probably read the features that will be added to python 2.5. The actual
> part I wanted to talk about was the finally part of try. Isn't it
> totally defeating a compiler's job by executing the finally part even
> if there is an error in the previous statements? Or have I understood
> something wrong?

sounds like you're confusing compilation and execution, and compilation errors
(syntax errors) with runtime errors (exceptions).

try-finally is a runtime thing, not a compile time thing.

</F> 



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to