[issue42130] AsyncIO's wait_for can hide cancellation in a rare race condition

Chris Jerdonek report at bugs.python.org
Sat Oct 24 17:18:28 EDT 2020


Chris Jerdonek <chris.jerdonek at gmail.com> added the comment:

It looks like issue 37658 might be the relevant change rather.

Here is the new logic it introduced: https://github.com/python/cpython/blob/db455296be5f792b8c12b7cd7f3962b52e4f44ee/Lib/asyncio/tasks.py#L483-L488

(via https://github.com/python/cpython/pull/21894 )

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42130>
_______________________________________


More information about the Python-bugs-list mailing list