SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72140 0 27 Python

bpo-40696: Fix a hang that can arise after gen.throw() (GH-20287)

This updates _PyErr_ChainStackItem() to use _PyErr_SetObject()
instead of _PyErr_ChainExceptions(). This prevents a hang in
certain circumstances because _PyErr_SetObject() performs checks
to prevent cycles in the exception context chain while
_PyErr_ChainExceptions() doesn't.
C
Chris Jerdonek committed
7c30d12bd5359b0f66c4fbc98aa055398bcc8a7e
Parent: 909b571
Committed by GitHub <noreply@github.com> on 5/22/2020, 8:33:27 PM