[issue3021] Lexical exception handlers

Antoine Pitrou report at bugs.python.org
Sun Jun 1 22:03:48 CEST 2008

New submission from Antoine Pitrou <pitrou at free.fr>:

This patch implements the proposal outlined on the py3k mailing-list
here: http://mail.python.org/pipermail/python-3000/2008-May/013740.html

It solves both #2507 and #2833, and even improves re-raising semantics
in several cases (see the test cases which were added to test_raise.py).

Anothing thing worth noting is that f_exc_* fields are not accessible
from Python code anymore, because their semantics is an implementation
detail and shouldn't be relied upon.

components: Interpreter Core
files: exc_stacking.patch
keywords: patch
messages: 67598
nosy: pitrou
severity: normal
status: open
title: Lexical exception handlers
type: behavior
versions: Python 3.0
Added file: http://bugs.python.org/file10495/exc_stacking.patch

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list