STINNER Victor added the comment:

> I'm okay with leaving the other unguarded set_result() call unchanged, but 
> I'm also okay with putting "if not self.waiter.cancelled():" around it.

While playing with asyncio to try to inject errors on this code path, I found 
even more severe issues: see the issue #23173 which proposes to fix them.

----------

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

Reply via email to