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/2004-June/045657.html below:

[Python-Dev] Re-raise in absence of an "active" exception

[Python-Dev] Re-raise in absence of an "active" exception [Python-Dev] Re-raise in absence of an "active" exceptionArmin Rigo arigo at tunes.org
Sun Jun 27 07:39:10 EDT 2004
Hello,

Sorry, I only replied to the SF tracker.  The language specs are vague but a
very precise explanation for the "currently active exception" is given in the
library reference for sys.get_info().  The language spec can be made precise
just by copying or pointing to that text.

In other words, if we make explicit the implicit assumption that a bare
'raise' is indeed intended equivalent to

   exc, val, tb = sys.exc_info()
   raise exc, val, tb

then the docs are already precise enough and CPython really implements that.


A bientôt,

Armin.

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