New submission from Junyeong Jeong :
Hi
The python document says that asyncio.Queue is FIFO queue. But it is not true
when the queue is full and multi tasks are putting items into it
simultaneously. I know the document does not explicitly mention that
asyncio.Queue is multi producer queue, but
Junyeong Jeong added the comment:
> The items that haven't finished the put aren't actually "in" the queue yet,
> so I don't see how non-FIFO order of insertion violates any FIFO guarantees
> for the contents of the queue; until the items are actually &quo
Junyeong Jeong added the comment:
Thanks for having an interest in this issue.
I thought asyncio.Queue guarantees the order of items as .put called after I
read the code. But it does not.
I attach poc code here.
In my machine, this program prints this message and exits.
$ python poc