Message369657
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). |
|
Date |
User |
Action |
Args |
2020-05-22 22:04:09 | chris.jerdonek | set | recipients:
+ chris.jerdonek, ncoghlan, pitrou, vstinner, eric.snow, serhiy.storchaka |
2020-05-22 22:04:09 | chris.jerdonek | set | messageid: <1590185049.83.0.934501782287.issue23188@roundup.psfhosted.org> |
2020-05-22 22:04:09 | chris.jerdonek | link | issue23188 messages |
2020-05-22 22:04:09 | chris.jerdonek | create | |
|