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/2005-May/053780.html below:

[Python-Dev] PEP 343 - Abstract Block Redux

[Python-Dev] PEP 343 - Abstract Block Redux [Python-Dev] PEP 343 - Abstract Block ReduxNick Coghlan ncoghlan at gmail.com
Mon May 16 00:03:02 CEST 2005
Steven Bethard wrote:
> On 5/15/05, Nick Coghlan <ncoghlan at gmail.com> wrote:
> 
>>http://members.iinet.net.au/~ncoghlan/public/pep-3XX.html
> 
> 
>>From there I see the semantics:
> 
> VAR1 = stmt_enter() # Omit 'VAR1 =' if no 'as' clause
> exc = (None, None, None)
> try:
>     try:
>         BLOCK1
>     except:
>         exc = sys.exc_info()
> finally:
>     stmt_exit(*exc)
> 
> Don't you want a "raise" after the "exc = sys.exc_info()"?

Oops. . . yeah, that must have gotten lost somewhere along the way.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://boredomandlaziness.blogspot.com
More information about the Python-Dev mailing list

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