FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-120924: Simplify consumers by adding `asyncio.Queue.iter()` and `asyncio.Queue.iter_nowait()` by nineteendo · Pull Request #120927 · python/cpython · GitHub

Repository navigation

Closed
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
e9c1a3e
Add `asyncio.Queue.__aiter__()`
nineteendo Jun 14, 2024
3cd59ee
Reduce diff
nineteendo Jun 14, 2024
16fc429
Add test
nineteendo Jun 14, 2024
f13ddb3
Simplify code
nineteendo Jun 14, 2024
afd7ad4
Add to `__all__`
nineteendo Jun 14, 2024
214548c
📜🤖 Added by blurb_it.
blurb-it[bot] Jun 14, 2024
9824b63
Simplify example
nineteendo Jun 14, 2024
6358b8e
Fix indentation
nineteendo Jun 14, 2024
316b800
Improve order
nineteendo Jun 14, 2024
92f3295
Test `StopAsyncIteration`
nineteendo Jun 14, 2024
a18767d
Document `AsyncQueueIterator`
nineteendo Jun 14, 2024
320691c
Apply suggestions from code review
nineteendo Jun 15, 2024
f43bdb1
Unpack for loop
nineteendo Jun 15, 2024
4ca4a93
Insert newline
nineteendo Jun 15, 2024
fffacb2
Simplify example
nineteendo Jun 15, 2024
92d7b16
Indent correctly
nineteendo Jun 15, 2024
ce23fce
Document `__aiter__()`
nineteendo Jun 15, 2024
640d2a8
Fix indent attempt 1
nineteendo Jun 15, 2024
6c9aa6d
Make `AsyncQueueIterator` private
nineteendo Jun 18, 2024
e6a5849
Use term
nineteendo Jun 18, 2024
583f642
Re-order
nineteendo Jun 18, 2024
1b6e781
Remove comment
nineteendo Jun 18, 2024
2d5998a
Update whatsnew
nineteendo Jun 19, 2024
841d50c
Update blurb
nineteendo Jun 19, 2024
d624bea
Apply suggestions from code review
nineteendo Jun 19, 2024
0a8a72b
Update Doc/library/asyncio-queue.rst
nineteendo Jun 19, 2024
b3199df
Rename 2024-06-14-10-30-43.gh-issue-119154.1MHWA-.rst to 2024-06-14-1…
nineteendo Jun 19, 2024
d71eb91
Make queue a private attribute
nineteendo Jun 19, 2024
23e37f4
Clarify behaviour
nineteendo Jun 20, 2024
3bb4e65
Fix grammar
nineteendo Jun 20, 2024
ba8b134
Explicit method
nineteendo Jun 23, 2024
5d6681a
Fix lint
nineteendo Jun 23, 2024
823389f
Don't use multiple threads
nineteendo Jun 23, 2024
104423a
Add docstrings
nineteendo Jun 23, 2024
d3e06d4
Revert newline
nineteendo Jun 23, 2024
f5aeeac
Delete Misc/NEWS.d/next/Library/2024-06-14-10-30-43.gh-issue-119154.1…
nineteendo Jun 23, 2024
fb98fa6
Update whatsnew
nineteendo Jun 23, 2024
a56505d
Fix typo
nineteendo Jun 23, 2024
6f146f5
📜🤖 Added by blurb_it.
blurb-it[bot] Jun 23, 2024
0bbcfdd
Update whatsnew
nineteendo Jun 23, 2024
81da0e6
Update 3.14.rst
nineteendo Jun 24, 2024
461d1e1
Delete Misc/NEWS.d/next/Library/2024-06-23-20-31-59.gh-issue-120924.2…
nineteendo Jun 24, 2024
File filter

Filter by extension

Filter by extension .py  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
Prev Previous commit
Next Next commit
Add to __all__
  • Loading branch information
nineteendo committed Jun 14, 2024
commit afd7ad4a0ea2d3535946ba775d3fc2cb0cf04629
1 change: 1 addition & 0 deletions Lib/asyncio/queues.py
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
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
'QueueFull',
'QueueEmpty',
'QueueShutDown',
'AsyncQueueIterator',
)

import collections
Expand Down

Back | FazBrowse Home | New Git URL