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

The PR is pretty empty, it has a scaffolding for `asyncio.timeouts` module and 
its test only. I'll try to add something real tomorrow.

My plan is:
- solve 'easy' questions with Tin during PR's discussion/reviews
- make something that we are both agree on if it is possible at this stage. I'm 
optimistic, seems like we both are able to compromise (and have the experience 
to work together on pytest-asyncio project).
- raise a hard question loudly if discussion on GitHub will need more people 
(participation in early stages are welcome, sure).

> I think Andrew missed one case: in his second diagram, what if the explicit 
> cancel() happened *after* the timeout (but still in the same iteration)? 
> That's the case that makes me want to delete those two lines from 
> Task.cancel() (see my earlier message).

Please let me write a comprehensive answer (with a third diagram, I've found 
these simple pictures useful) tomorrow.

----------

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

Reply via email to