[Python-checkins] [3.9] bpo-43215: Document Happy Eyeballs args of asyncio.open_connection (GH-24525) (GH-31868)

asvetlov webhook-mailer at python.org
Mon Mar 14 09:15:56 EDT 2022


https://github.com/python/cpython/commit/649cc9d688f79765cf052429683b708678c26fbd
commit: 649cc9d688f79765cf052429683b708678c26fbd
branch: 3.9
author: Illia Volochii <illia.volochii at gmail.com>
committer: asvetlov <andrew.svetlov at gmail.com>
date: 2022-03-14T15:15:49+02:00
summary:

[3.9] bpo-43215: Document Happy Eyeballs args of asyncio.open_connection (GH-24525) (GH-31868)

Co-authored-by: Andrew Svetlov <andrew.svetlov at gmail.com>.
(cherry picked from commit 3543ddb4c4ebc26fb2d6c67a97e66f5267876f72)

Co-authored-by: Illia Volochii <illia.volochii at gmail.com>

files:
M Doc/library/asyncio-stream.rst

diff --git a/Doc/library/asyncio-stream.rst b/Doc/library/asyncio-stream.rst
index bf431cfb8a410..a960b26c8d800 100644
--- a/Doc/library/asyncio-stream.rst
+++ b/Doc/library/asyncio-stream.rst
@@ -51,7 +51,8 @@ and work with streams:
 .. coroutinefunction:: open_connection(host=None, port=None, *, \
                           loop=None, limit=None, ssl=None, family=0, \
                           proto=0, flags=0, sock=None, local_addr=None, \
-                          server_hostname=None, ssl_handshake_timeout=None)
+                          server_hostname=None, ssl_handshake_timeout=None, \
+                          happy_eyeballs_delay=None, interleave=None)
 
    Establish a network connection and return a pair of
    ``(reader, writer)`` objects.
@@ -73,6 +74,10 @@ and work with streams:
 
       The *ssl_handshake_timeout* parameter.
 
+   .. versionadded:: 3.8
+
+      Added *happy_eyeballs_delay* and *interleave* parameters.
+
 .. coroutinefunction:: start_server(client_connected_cb, host=None, \
                           port=None, *, loop=None, limit=None, \
                           family=socket.AF_UNSPEC, \



More information about the Python-checkins mailing list