From f0f05c6f81672e4c8bc31db70e0ddfed8487d525 Mon Sep 17 00:00:00 2001 From: Duprat Date: Fri, 22 Dec 2023 11:59:41 +0100 Subject: [PATCH] Update 2023-11-29-07-36-02.gh-issue-83055.Xd4kZv.rst Fix WARNING: Bullet list ends without a blank line; unexpected unindent. --- .../Library/2023-11-29-07-36-02.gh-issue-83055.Xd4kZv.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Misc/NEWS.d/next/Library/2023-11-29-07-36-02.gh-issue-83055.Xd4kZv.rst b/Misc/NEWS.d/next/Library/2023-11-29-07-36-02.gh-issue-83055.Xd4kZv.rst index 476363d5181522..8c45187fe735ca 100644 --- a/Misc/NEWS.d/next/Library/2023-11-29-07-36-02.gh-issue-83055.Xd4kZv.rst +++ b/Misc/NEWS.d/next/Library/2023-11-29-07-36-02.gh-issue-83055.Xd4kZv.rst @@ -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.