Andrew Svetlov <andrew.svet...@gmail.com> added the comment: Hmm, I don't see an easy way to fix it. awaiting for cancelled task potentially can wait forever. Adding another timeout looks too confusing. Iterating over a couple of loop steps is not reliable: try/finally block in awaited task can perform async IO with unpredictable completion time.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32751> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com