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
Documentation
The documentation for the
asyncio.Queue.shutdownmethod says (emphasis mine)I'm doubtful whether it should be talking about threads here and not about concepts from
asyncio,Taskpossibly? I wonder whether that's a copy-paste-error from thequeue.Queuedocumentation.Cheers,
Damian
Linked PRs
asyncio.Queue.shutdown. #142888asyncio.Queue.shutdown(GH-142888) #142891asyncio.Queue.shutdown(GH-142888) #142892