This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chris.jerdonek
Recipients chris.jerdonek, eric.snow, ncoghlan, pitrou, serhiy.storchaka, vstinner
Date 2020-05-22.22:04:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590185049.83.0.934501782287.issue23188@roundup.psfhosted.org>
In-reply-to
Content
I just want to point out one difference between _PyErr_ChainExceptions and PyErr_SetObject that I encountered while working on this issue:
https://bugs.python.org/issue40696

While both functions set the context, only PyErr_SetObject does a check to prevent cycles from forming in the context chain (albeit an incomplete check, which can lead to hangs, which I mention in the issue linked above).
History
Date User Action Args
2020-05-22 22:04:09chris.jerdoneksetrecipients: + chris.jerdonek, ncoghlan, pitrou, vstinner, eric.snow, serhiy.storchaka
2020-05-22 22:04:09chris.jerdoneksetmessageid: <1590185049.83.0.934501782287.issue23188@roundup.psfhosted.org>
2020-05-22 22:04:09chris.jerdoneklinkissue23188 messages
2020-05-22 22:04:09chris.jerdonekcreate