]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-25782: avoid hang in PyErr_SetObject when current exception has a cycle in its...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 10 Aug 2021 11:08:41 +0000 (04:08 -0700)
committerGitHub <noreply@github.com>
Tue, 10 Aug 2021 11:08:41 +0000 (13:08 +0200)
commit6f4cdeddb97532144f93ca37b8b21451f445c7bf
tree04f25eeb99d2c825e7a4a8a6b402988b71114016
parentc7dfbd2f413eb76cdbd44f44d698e9a399fdcbd5
bpo-25782: avoid hang in PyErr_SetObject when current exception has a cycle in its context chain (GH-27626) (GH-27707)

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

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Lib/test/test_exceptions.py
Misc/NEWS.d/next/Core and Builtins/2021-08-07-21-39-19.bpo-25782.B22lMx.rst [new file with mode: 0644]
Python/errors.c