[New-bugs-announce] [issue44938] Expose PyErr_ChainExceptions in the stable API

Pablo Galindo Salgado report at bugs.python.org
Tue Aug 17 13:44:23 EDT 2021


New submission from Pablo Galindo Salgado <pablogsal at gmail.com>:

Currently, exception chaining in the C-API must be done by hand. This is a painstaking process that involves several steps and is very easy to do incorrectly.

We currently have a private function: _PyErr_ChainExceptions that does this job. Given that exception chaining is a very fundamental operation, this functionality must be exposed in the stable C-API

----------
messages: 399777
nosy: pablogsal
priority: normal
severity: normal
status: open
title: Expose PyErr_ChainExceptions in the stable API

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44938>
_______________________________________


More information about the New-bugs-announce mailing list