Skip to content

GH-90927: docs for asyncio.timeout and task cancellation #94794

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jul 15, 2022

Conversation

Tinche
Copy link
Contributor

@Tinche Tinche commented Jul 12, 2022

Add docs for asyncio.timeout, asyncio.timeout_at and a short section on asyncio cancellation.

Automerge-Triggered-By: GH:gvanrossum

@Tinche Tinche requested review from 1st1 and asvetlov as code owners July 12, 2022 23:01
@bedevere-bot bedevere-bot added awaiting review docs Documentation in the Doc dir labels Jul 12, 2022
@Tinche
Copy link
Contributor Author

Tinche commented Jul 12, 2022

@gvanrossum @CAM-Gerlach I have not yet had the chance to address all the feedback from the last PR, but here's the new one.

Tinche and others added 3 commits July 14, 2022 01:03
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
@Tinche
Copy link
Contributor Author

Tinche commented Jul 13, 2022

Ok, ready for some more review.

How do we feel about type hints in the API docs? I think they look nice.

Screenshot 2022-07-14 at 01 40 24

@gvanrossum
Copy link
Member

Yeah, annotations are fine here IMO.

Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I will merge the markup fix, wait for tests to pass, and merge it. Thank you so much for writing this.

@miss-islington
Copy link
Contributor

Sorry, I can't merge this PR. Reason: 4 of 7 required status checks are expected..

@gvanrossum gvanrossum merged commit 08f6897 into python:main Jul 15, 2022
@miss-islington
Copy link
Contributor

Thanks @Tinche for the PR, and @gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 15, 2022
…nGH-94794)

(cherry picked from commit 08f6897)

Co-authored-by: Tin Tvrtković <tinchester@gmail.com>
@bedevere-bot
Copy link

GH-94870 is a backport of this pull request to the 3.11 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Jul 15, 2022
miss-islington added a commit that referenced this pull request Jul 15, 2022
(cherry picked from commit 08f6897)

Co-authored-by: Tin Tvrtković <tinchester@gmail.com>
@gvanrossum gvanrossum changed the title GH-46771: docs for asyncio.timeout and task cancellation GH-90927: docs for asyncio.timeout and task cancellation Jul 15, 2022
@Tinche
Copy link
Contributor Author

Tinche commented Jul 15, 2022

Thanks for managing this @gvanrossum , it was my pleasure.

@Tinche Tinche deleted the tin/bpo-46771-docs-2 branch July 15, 2022 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants