Irit Katriel <iritkatr...@gmail.com> added the comment: Initially not, neither in python nor in the c api.
It would be nice to replace PyErr_Fetch/Restore by a version that takes just an exception but that’s a long deprecation. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45711> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com