Skip to content

Commit

Permalink
Update 2023-11-29-07-36-02.gh-issue-83055.Xd4kZv.rst
Browse files Browse the repository at this point in the history
Fix WARNING: Bullet list ends without a blank line; unexpected unindent.
  • Loading branch information
YvesDup authored Dec 22, 2023
1 parent b67de99 commit f0f05c6
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ Fix a bug on :class:`asyncio.Queue` to preserve the FIFO order when putting and
Currently, it is possible to put a new item when queue is not full and there are already waiters.
This fix will propose to check the dedicated *waiters* deques before input/output on queue.
When putting, if the queue is not full or if the *waiters* deque is not empty, we will have to:

+ in the :meth:`put`, append the task to the *waiters*,
+ in the :meth:`put_nowait`, raise a new exception.

+ in the :meth:`put`, append the task to the *waiters*,
+ in the :meth:`put_nowait`, raise a new exception.
The behavior of the get part should be identical.

0 comments on commit f0f05c6

Please sign in to comment.