Andrew Svetlov <andrew.svet...@gmail.com> added the comment:

After TaskGroup merging, the second `cancel()` call returns `False` and doesn't 
initiate the actual cancellation if it was scheduled by the first `cancel()` 
call.

I believe it "fixes" async-timeout: the first canceller wins.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45098>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to