Message369482
| Author |
chris.jerdonek |
| Recipients |
BTaskaya, aeros, asvetlov, carltongibson, chris.jerdonek, eamanu, felixxm, yselivanov |
| Date |
2020年05月21日.00:06:14 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1590019574.47.0.315053171517.issue40696@roundup.psfhosted.org> |
| In-reply-to |
| Content |
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;
} |
|