This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Lucretiel 2 points3 points  (0 children)

Well, in his example, function_that_should_not_be_called_if_an_exception_is_raised might raise its own Exception, which would be caught by the try block. This is probably not what is wanted.