[issue21715] Chaining exceptions at C level

Serhiy Storchaka report at bugs.python.org
Wed Jun 11 08:15:47 CEST 2014


New submission from Serhiy Storchaka:

The proposed patch introduces new private function which chains previously fetched and current exceptions. This will help in correct implementing at C level an equivalent of following Python idioms:

    try:
        ...
    finally:
        ...

and

    try:
        ...
    except:
        ...
        raise

----------
components: Interpreter Core
messages: 220236
nosy: benjamin.peterson, pitrou, serhiy.storchaka, stutzbach
priority: normal
severity: normal
stage: patch review
status: open
title: Chaining exceptions at C level
type: enhancement
versions: Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21715>
_______________________________________


More information about the Python-bugs-list mailing list