A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-June/036322.html below:

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

[Python-Dev] Where to put the interrupt module? [Python-Dev] Where to put the interrupt module?Kevin Jacobs jacobs@penguin.theopalgroup.com
Fri, 13 Jun 2003 09:33:31 -0400 (EDT)
On 13 Jun 2003, Bernhard Herzog wrote:
> 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?

I'd say yes, since my use-case is one that is rewritten with a try: finally:
block enclosing the try: except: else: block.

-Kevin

-- 
--
Kevin Jacobs
The OPAL Group - Enterprise Systems Architect
Voice: (216) 986-0710 x 19         E-mail: jacobs@theopalgroup.com
Fax:   (216) 986-0714              WWW:    http://www.theopalgroup.com




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4