summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-08-10 13:47:23 (GMT)
committerGitHub <noreply@github.com>2021-08-10 13:47:23 (GMT)
commitd86bbe3cff0abefc13e5462cca1fb3344d4a5b52 (patch)
tree8190c898580634deb56b37b4de7107d191b10422 /Misc
parent52d481f15c953e06155e65ca823c8f6cae7a6b65 (diff)
downloadcpython-d86bbe3cff0abefc13e5462cca1fb3344d4a5b52.zip
cpython-d86bbe3cff0abefc13e5462cca1fb3344d4a5b52.tar.gz
cpython-d86bbe3cff0abefc13e5462cca1fb3344d4a5b52.tar.bz2
bpo-25782: avoid hang in PyErr_SetObject when current exception has a cycle in its context chain (GH-27626)
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>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2021-08-07-21-39-19.bpo-25782.B22lMx.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-08-07-21-39-19.bpo-25782.B22lMx.rst b/Misc/NEWS.d/next/Core and Builtins/2021-08-07-21-39-19.bpo-25782.B22lMx.rst
new file mode 100644
index 0000000..1c52059
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2021-08-07-21-39-19.bpo-25782.B22lMx.rst
@@ -0,0 +1 @@
+Fix bug where ``PyErr_SetObject`` hangs when the current exception has a cycle in its context chain. \ No newline at end of file