[Python-Dev] Where to put the interrupt module?

Bernhard Herzog bh@intevation.de
13 Jun 2003 15:29:23 +0200


Kevin Jacobs <jacobs@penguin.theopalgroup.com> writes:
> Why doesn't Python support the following fully general
> syntax for try-blocks:
> 
>   try:
>     foo()
>   except blah:
>     ...
>   except:
>     ...
>   else:
>     ...
>   finally:
>     ...

Will an exception, return, continue or break in an except: or else:
block cause the finally: block to run?

   Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Sketch                                 http://sketch.sourceforge.net/
MapIt!                                           http://www.mapit.de/