-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
gh-137026: Add an explainer guide for asyncio #137215
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
Changes from 1 commit
Commits
Show all changes
116 commits
Select commit
Hold shift + click to select a range
05b35b0
- Add an explainer guide (aka HOWTO, not how-to) for asyncio.
anordin95 446534c
Fix linter errors.
anordin95 176096d
- Enforce max line length of roughly 79 chars.
anordin95 b745f88
Add reference to subinterpreters.
anordin95 0f2b8db
- Significantly reduce article size. Remove both example sections & "…
anordin95 27d1dcd
Align section-header lengths with section names.
anordin95 3852bb1
- Remove reference to deleted section.
anordin95 8bf6d2c
- Fix a variety of rote style guide items like title-alignment, use o…
anordin95 397df8f
- One last title alignment.
anordin95 84aedf7
- Style nit.
anordin95 3d3e12c
- Rework a variety of I statements.
anordin95 a5fdd0e
Lint fix.
anordin95 b1aef5c
- Firm up commentary on yield from in corotuines.
anordin95 64a12b4
Update language comparing await and yield from.
anordin95 0fffd4b
- Remove await-ing Tasks and futures section
anordin95 bfd1212
Update Doc/howto/a-conceptual-overview-of-asyncio.rst
anordin95 c946563
Update Doc/howto/a-conceptual-overview-of-asyncio.rst
anordin95 3fc668c
- Address comments related to style & writing flow.
anordin95 ebfe542
per-thread event loop note.
anordin95 3978837
Add section describing coroutines roots in generators.
anordin95 0dd99eb
Phrasing tweak.
anordin95 ff804fe
Use asyncio.create_task instead of asyncio.Task
anordin95 00a1a68
Update Doc/howto/a-conceptual-overview-of-asyncio.rst
anordin95 e982f9c
Update Doc/howto/a-conceptual-overview-of-asyncio.rst
anordin95 a033876
small phrasing.
anordin95 dbbc0ab
Update Doc/howto/a-conceptual-overview-of-asyncio.rst
anordin95 af9ba25
phrasing nit.
anordin95 34f3335
style nits
anordin95 dca3d38
Update Doc/howto/a-conceptual-overview-of-asyncio.rst
anordin95 db4ac35
phrasing nit
anordin95 bb8d018
Fix misnaming of async generator.
anordin95 5fdd4e9
phrasing nits.
anordin95 fe3c732
Update Doc/howto/a-conceptual-overview-of-asyncio.rst
anordin95 1abe9a1
Update Doc/howto/a-conceptual-overview-of-asyncio.rst
anordin95 eadc0fb
consistent spacing
anordin95 1f7323d
Update Doc/howto/a-conceptual-overview-of-asyncio.rst
anordin95 99ac489
phrasing nits
anordin95 feb8634
Update Doc/howto/a-conceptual-overview-of-asyncio.rst
anordin95 49e9c65
Update Doc/howto/a-conceptual-overview-of-asyncio.rst
anordin95 daba131
Update Doc/howto/a-conceptual-overview-of-asyncio.rst
anordin95 c31f3c5
Update Doc/howto/a-conceptual-overview-of-asyncio.rst
anordin95 6756257
add conclusion
anordin95 a730bd3
nits
anordin95 8fca2e3
- Variety of style & grammar improvements thanks to ZeroIntensity's c…
anordin95 776daeb
- Make all directives start with a 3 space indent. Then 4 thereafter.
anordin95 0b795a2
- Use :linenos: instead of manually writing the line numbers.
anordin95 d10eeec
- Fix label typo for article.
anordin95 b2e90f3
fix label link.
anordin95 9e07a36
Apply suggestions from code review
anordin95 d12b29f
- introduce async-sleep name
anordin95 86039b7
Phrasing
anordin95 e5fafc4
nit
anordin95 1dc6e51
ungendered octopus
anordin95 3c0b0a4
teammates
anordin95 0f3931c
jobs
anordin95 82a1967
rework fella to penguin
anordin95 9fa9fca
- remove byline; add seealso
anordin95 9ff73dc
Change ref from asyncio to use seealso block.
anordin95 be9629d
Remove typehints. Fix indentation in one code example.
anordin95 f7dbaa6
Slight rephrase for clarity.
anordin95 689d517
Make references point to asyncio. Wrap some long lines.
anordin95 9da27dd
- Variety of style/phrasing improvements based on PR feedback.
anordin95 3c0c11c
phrasing.
anordin95 671cc80
phrasing nit.
anordin95 2a96782
Apply suggestions from code review
anordin95 def6157
Update Doc/howto/a-conceptual-overview-of-asyncio.rst
anordin95 a84827b
nit
anordin95 01710e2
Apply suggestions from code review
anordin95 b5f56f3
fix backticks.
anordin95 3344574
nits
anordin95 1ed21c0
nit
anordin95 b574f72
add section on asyncio.run
anordin95 0fbd5b1
title change under the hood.
anordin95 27785f3
modify task coro example.
anordin95 a75b55b
howtos article link.
anordin95 53ac647
prefer await without backticks.
anordin95 7b5ff84
phrasing tweak.
anordin95 a8030d6
Rework phrasing around how await tasks pauses and returns control in …
anordin95 b4d087a
move code block to beforfe explanation in coroutine under the hood.
anordin95 9e5aaf6
phrasing.
anordin95 55a268c
link to yield from.
anordin95 43c1c96
style nits
anordin95 1f8f863
nit
anordin95 ef71d25
- Modify language re: event-loop cycling endlessly.
anordin95 4796f85
- Add a note about debug=True on asyncio.run to await coro section.
anordin95 1000ace
clarity nit
anordin95 e649c07
- Add two other references in seealso block.
anordin95 d619868
nit
anordin95 52a90c0
Language simplification
anordin95 08d4eec
Apply suggestions from code review
anordin95 1934aad
nit
anordin95 7a4eebe
grammar fix.
anordin95 a2fd17a
fix
anordin95 c944ff1
worker bees
anordin95 27c026b
rework event loop paragraph to significantly deemphasize queues
anordin95 0527218
remove all references to queue besides the initial analogy.
anordin95 8adebdc
add note about garbage collection of tasks
anordin95 1422011
add practical note re: garbage collection
anordin95 a8fa7f6
phrasing nits
anordin95 9d3828d
re arrange note on task gc.
anordin95 ee5c4de
line wrap nit
anordin95 9f7d93f
Update Doc/howto/a-conceptual-overview-of-asyncio.rst
anordin95 a25b270
link to debug mode docs.
anordin95 7211ef2
readd part2 prefix.
anordin95 4f625b8
simplify title.
anordin95 673a9f9
fix titles. tihnk I messed this up earlier.
anordin95 270ee6e
avoid idiom in title.
anordin95 e025747
fix titles once agian.
anordin95 15aa0c5
Apply suggestions from code review
anordin95 5b3b697
rework task gc example.
anordin95 585521e
phrasing tweak.
anordin95 6530adc
tewak.
anordin95 ac87e24
nit
anordin95 7e48175
nit
anordin95 f881bfd
nit
anordin95 2227e4b
nit
anordin95 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
avoid idiom in title.
- Loading branch information
commit 270ee6e896e9de538e091750b54edeb429f020c9
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.