8000 GH-95913: Update what's new in 3.11 for asyncio by gvanrossum · Pull Request #97806 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

GH-95913: Update 8000 what's new in 3.11 for asyncio #97806

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Oct 4, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixes from Kumar
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
  • Loading branch information
gvanrossum and kumaraditya303 authored Oct 4, 2022
commit a2b292f8653ec19152dce76d6859aa30ec41417b
10 changes: 5 additions & 5 deletions Doc/whatsnew/3.11.rst
Original file line number Diff line number Diff line change
Expand Up @@ -536,11 +536,11 @@ asyncio
an :ref:`asynchronous context manager <async-context-managers>`
holding a group of tasks that will wait for all of them upon exit.
For new code this is recommended over using
:class:`~asyncio.create_task` and :func:`~asyncio.gather` directly.
:func:`~asyncio.create_task` and :func:`~asyncio.gather` directly.
(Contributed by Yury Seliganov and others in :gh:`90908`.)

* Added :func:`~asyncio.timeout`, an asynchronous context manager for
setting a timeout on asynchronous operations For new code this is
setting a timeout on asynchronous operations. For new code this is
recommended over using :func:`~asyncio.wait_for` directly.
(Contributed by Andrew Svetlov in :gh:`90927`.)

Expand All @@ -558,9 +558,9 @@ asyncio
(Contributed by Ian Good in :issue:`34975`.)

* Added raw datagram socket functions to the event loop:
:meth:`~asyncio.AbstractEventLoop.sock_sendto`,
:meth:`~asyncio.AbstractEventLoop.sock_recvfrom` and
:meth:`~asyncio.AbstractEventLoop.sock_recvfrom_into`.
:meth:`~asyncio.loop.sock_sendto`,
:meth:`~asyncio.loop.sock_recvfrom` and
:meth:`~asyncio.loop.sock_recvfrom_into`.
These have implementations in :class:`~asyncio.SelectorEventLoop` and
:class:`~asyncio.ProactorEventLoop`.
(Contributed by Alex Grönholm in :issue:`46805`.)
Expand Down
0