Skip to content

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

Merged
gvanrossum merged 10 commits into
python:mainfrom
Tinche:tin/bpo-46771-docs-2
Jul 15, 2022
Merged

gvanrossum merged 10 commits into
python:mainfrom
Tinche:tin/bpo-46771-docs-2

Conversation

@Tinche

@Tinche Tinche commented Jul 12, 2022 •

Copy link
Copy Markdown
Contributor

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

Tinche commented Jul 12, 2022

Copy link
Copy Markdown
Contributor Author

@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.

Comment thread Doc/library/asyncio-task.rst Resolved
Comment thread Doc/library/asyncio-task.rst Resolved
Comment thread Doc/library/asyncio-task.rst Resolved
Tinche and others added 3 commits July 14, 2022 01:03
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
@Tinche

Tinche commented Jul 13, 2022

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
Member

Yeah, annotations are fine here IMO.

@gvanrossum gvanrossum left a comment

Copy link
Copy Markdown
Member

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.

Comment thread Doc/library/asyncio-task.rst Resolved
@miss-islington

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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

Tinche commented Jul 15, 2022

Copy link
Copy Markdown
Contributor Author

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