Re: Semantics of propagated exceptions

2006-08-01 Thread Thomas Lotze
Sorry for not answering such a long time. It's because my question originated from a discussion within our company which moved out of focus shortly after I posted, and over waiting for some response from them before replying here, I forgot about it. Steve Holden wrote: - f might catch E

Re: Semantics of propagated exceptions

2006-07-21 Thread Lawrence D'Oliveiro
In message [EMAIL PROTECTED], Thomas Lotze wrote: Suppose you have a function f which, as part of its protocol, raises some standard exception E under certain, well-defined circumstances. Suppose further that f calls other functions which may also raise E. How to best distinguish whether an

Re: Semantics of propagated exceptions

2006-07-21 Thread Steve Holden
Thomas Lotze wrote: Hi, I wonder how to solve the following problem the most pythonic way: Suppose you have a function f which, as part of its protocol, raises some standard exception E under certain, well-defined circumstances. Suppose further that f calls other functions which may also

Re: Semantics of propagated exceptions

2006-07-21 Thread Marc 'BlackJack' Rintsch
In [EMAIL PROTECTED], Thomas Lotze wrote: I wonder how to solve the following problem the most pythonic way: Suppose you have a function f which, as part of its protocol, raises some standard exception E under certain, well-defined circumstances. Suppose further that f calls other functions

Re: Semantics of propagated exceptions

2006-07-21 Thread Michael J. Fromberger
In article [EMAIL PROTECTED], Thomas Lotze [EMAIL PROTECTED] wrote: Suppose you have a function f which, as part of its protocol, raises some standard exception E under certain, well-defined circumstances. Suppose further that f calls other functions which may also raise E. How to best