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 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
Add create_connection(...all_errors=...)
  • Loading branch information
gvanrossum committed Oct 4, 2022
commit be10008cf22205b7e29768d4f404ccc76ac57cb4
3 changes: 3 additions & 0 deletions Doc/whatsnew/3.11.rst
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,9 @@ asyncio
:exc:`~asyncio.BrokenBarrierError` exception.
(Contributed by Yves Duprat and Andrew Svetlov in :gh:`87518`.)

* Add keyword argument ``all_errors`` to :func:`asyncio.loop.create_connection`
so that multiple connection errors can be raised as an :exc:`ExceptionGroup`.

* Added the :meth:`~asyncio.StreamWriter.start_tls` method for
upgrading existing stream-based connections to TLS.
(Contributed by Ian Good in :issue:`34975`.)
Expand Down
0