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-February/032786.html below:

[Python-Dev] Acquire/release functionality (Was: Extended Function syntax)

[Python-Dev] Acquire/release functionality (Was: Extended Function syntax) [Python-Dev] Acquire/release functionality (Was: Extended Function syntax)Bernhard Herzog bh@intevation.de
03 Feb 2003 12:52:17 +0100
Alex Martelli <aleax@aleax.it> writes:

> > the exception should be propogated. The problem is that I'm not sure
> > what is the best way for an __except__ method to signal that it caught
> > the exception.
> 
> Maybe the return value of __except__ should be evaluated in a boolean
> context encoding this?  False -> exception not caught, True -> caught ...  

__except__ could just reraise the exception if it doesn't handle it.
This behavior would be similar to that of a normal except clause.

   Bernhard

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



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