[issue40696] "await" hangs in Python3.9.0b1.
Chris Jerdonek
report at bugs.python.org
Wed May 20 20:06:14 EDT 2020
Chris Jerdonek <chris.jerdonek at gmail.com> added the comment:
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;
}
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40696>
_______________________________________
More information about the Python-bugs-list
mailing list