mirror of
https://github.com/python/cpython.git
synced 2026-05-06 20:51:17 -04:00
d7aace78e9
gh-140530: fix a reference leak in an error path for `raise exc from cause` (GH-140908)
Fix a reference leak in `raise E from T` when `T` is an exception
subtype for which `T.__new__` does not return an exception instance.
(cherry picked from commit 0c77e7c23b)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Miscellaneous source files for the main Python shared library