Skip to content

Commit 85f9818

Browse files
authored
gh-97696: Move around and update the whatsnew entry for asyncio eager task factory (#104298)
1 parent 9196da4 commit 85f9818

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Doc/whatsnew/3.12.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,11 @@ asyncio
282282
writing to sockets and uses :meth:`~socket.socket.sendmsg` if the platform
283283
supports it. (Contributed by Kumar Aditya in :gh:`91166`.)
284284

285+
* Added :func:`asyncio.eager_task_factory` and :func:`asyncio.create_eager_task_factory`
286+
functions to allow opting an event loop in to eager task execution,
287+
making some use-cases 2x to 5x faster.
288+
(Contributed by Jacob Bower & Itamar O in :gh:`102853`, :gh:`104140`, and :gh:`104138`)
289+
285290
* On Linux, :mod:`asyncio` uses :class:`~asyncio.PidfdChildWatcher` by default
286291
if :func:`os.pidfd_open` is available and functional instead of
287292
:class:`~asyncio.ThreadedChildWatcher`.
@@ -644,11 +649,6 @@ Optimizations
644649
* Speed up :class:`asyncio.Task` creation by deferring expensive string formatting.
645650
(Contributed by Itamar O in :gh:`103793`.)
646651

647-
* Added :func:`asyncio.eager_task_factory` and :func:`asyncio.create_eager_task_factory`
648-
functions to allow opting an event loop in to eager task execution,
649-
speeding up some use-cases by up to 50%.
650-
(Contributed by Jacob Bower & Itamar O in :gh:`102853`)
651-
652652

653653
CPython bytecode changes
654654
========================

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy