-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed
Labels
Description
Documentation
The documentation for the asyncio.Queue.shutdown method says (emphasis mine)
The queue can no longer grow. Future calls to put() raise QueueShutDown. Currently blocked callers of put() will be unblocked and will raise QueueShutDown in the formerly blocked thread.
I'm doubtful whether it should be talking about threads here and not about concepts from asyncio, Task possibly? I wonder whether that's a copy-paste-error from the queue.Queue documentation.
Cheers,
Damian
Linked PRs
- gh-142876: Remove reference to thread in documentation of
asyncio.Queue.shutdown. #142888 - [3.14] gh-142876: remove reference to thread in documentation of
asyncio.Queue.shutdown(GH-142888) #142891 - [3.13] gh-142876: remove reference to thread in documentation of
asyncio.Queue.shutdown(GH-142888) #142892
Metadata
Metadata
Assignees
Labels
Projects
Status
Done
Status
Todo