[issue40616] Add `asyncio.BufferQueue`

2020-09-14 Thread Serge Matveenko
Change by Serge Matveenko : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40616] Add `asyncio.BufferQueue`

2020-05-13 Thread Serge Matveenko
New submission from Serge Matveenko : It looks handy to be able to leverage `collections.deque` ability to be sized it `asyncio.Queue`. This could provide the ability to implement backpressure in the queue or just use it as a buffer in messaging systems. The implementation provided in the