Message369482
I don't think that would be a real solution because it looks like that would cause the while loop always to loop at most once (which would defeat its purpose) -- because the loop ends with "o = context":
while ((context = PyException_GetContext(o))) {
Py_DECREF(context);
if (context == value) {
PyException_SetContext(o, NULL);
break;
}
o = context;
} |
|
Date |
User |
Action |
Args |
2020-05-21 00:06:14 | chris.jerdonek | set | recipients:
+ chris.jerdonek, asvetlov, yselivanov, eamanu, BTaskaya, aeros, carltongibson, felixxm |
2020-05-21 00:06:14 | chris.jerdonek | set | messageid: <1590019574.47.0.315053171517.issue40696@roundup.psfhosted.org> |
2020-05-21 00:06:14 | chris.jerdonek | link | issue40696 messages |
2020-05-21 00:06:14 | chris.jerdonek | create | |
|