Message369514
Also, I just want to point out one thing about _PyErr_SetObject(). I believe it can detect cycles of arbitrary length (which is what the while loop is for). It's just that it can only detect cycles that involve the first node. So for things to fail with _PyErr_SetObject(), someone would need to mess with exceptions further down the chain. So I *think* hangs should be pretty unlikely with the narrower fix. |
|
Date |
User |
Action |
Args |
2020-05-21 09:49:08 | chris.jerdonek | set | recipients:
+ chris.jerdonek, asvetlov, yselivanov, eamanu, BTaskaya, aeros, carltongibson, felixxm |
2020-05-21 09:49:08 | chris.jerdonek | set | messageid: <1590054548.72.0.882704540888.issue40696@roundup.psfhosted.org> |
2020-05-21 09:49:08 | chris.jerdonek | link | issue40696 messages |
2020-05-21 09:49:08 | chris.jerdonek | create | |
|