消息 [369657]
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). |
|
| 日期 |
用户 |
动作 |
参数 |
| 2020-05-22 22:04:09 | chris.jerdonek | 修改 | recipients:
+ chris.jerdonek, ncoghlan, pitrou, vstinner, eric.snow, serhiy.storchaka |
| 2020-05-22 22:04:09 | chris.jerdonek | 修改 | messageid: <1590185049.83.0.934501782287.issue23188@roundup.psfhosted.org> |
| 2020-05-22 22:04:09 | chris.jerdonek | 链接 | issue23188 messages |
| 2020-05-22 22:04:09 | chris.jerdonek | 创建 | |
|