This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author asvetlov
Recipients ajoino, alex.gronholm, asvetlov, chris.jerdonek, gvanrossum, iritkatriel, jab, njs, tinchester, yselivanov
Date 2022-02-17.22:20:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645136419.27.0.987701472751.issue46771@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2022-02-17 22:20:19asvetlovsetrecipients: + asvetlov, gvanrossum, njs, jab, alex.gronholm, chris.jerdonek, yselivanov, tinchester, iritkatriel, ajoino
2022-02-17 22:20:19asvetlovsetmessageid: <1645136419.27.0.987701472751.issue46771@roundup.psfhosted.org>
2022-02-17 22:20:19asvetlovlinkissue46771 messages
2022-02-17 22:20:19asvetlovcreate