New submission from Pablo Galindo Salgado <pablog...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue44938>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to