On Sat, Mar 27, 2010 at 8:57 AM, Edward K. Ream <[email protected]> wrote:

> I'm sure there is a good reason for this behavior, but it took a long
> time to track it down.  Maybe I'll remember this gotcha now...

The reason isn't an implementation problem, it's a logical problem.
If I return from a 'finally' clause, I am stating my desire not to
have the exception re-raised.  Put another way, Python can only do one
thing: return a value or raise an exception: it can't do both.

EKR

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to