[3.9] bpo-25782: avoid hang in PyErr_SetObject when current exception has a cycle in its context chain (GH-27626) by miss-islington · Pull Request #27707 · python/cpython

@iritkatriel @miss-islington

… cycle in its context chain (pythonGH-27626)

Co-authored-by: Dennis Sweeney 36520290+sweeneyde@users.noreply.github.com
(cherry picked from commit d5c2174)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>

@1st1 1st1 mentioned this pull request

Apr 11, 2023