[Python-Dev] Fwd: try...else

Guido van Rossum guido@digicool.com
Tue, 02 Jan 2001 10:07:06 -0500


> As a compromise, given that we're not going to take the time to be precise
> (well, I'm sure not ...):
> 
>     The optional \keyword{else} clause is executed if and
>     when control flows off the end of the \keyword{try}
>     clause.\foonote{In Python 2.0, control "flows off the
>     end" except in case of exception, or executing a
>     \keyword{return}, \keyword{continue} or \keyword{break}
>     statement.}
>     Exceptions in the \keyword{else} clause are not handled by
>     the preceding \keyword{except} clauses.
> 
> Now it's all of imprecise, almost precise, specific to Python 2.0, and
> robust against any future changes <wink>.

Sounds good to me.  The reference to 2.0 could be changed to
"Currently".

--Guido van Rossum (home page: http://www.python.org/~guido/)