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

asvetlov webhook-mailer at python.org
Mon Mar 14 09:16:34 EDT 2022


https://github.com/python/cpython/commit/c6828408342cb1a2f8ba5038adccfbc1a95250cc
commit: c6828408342cb1a2f8ba5038adccfbc1a95250cc
branch: 3.10
author: Illia Volochii <illia.volochii at gmail.com>
committer: asvetlov <andrew.svetlov at gmail.com>
date: 2022年03月14日T15:16:29+02:00
summary:
[3.10] bpo-43215: Document Happy Eyeballs args of asyncio.open_connection (GH-24525) (GH-31869)
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 269c3dc80c471..3558277920c70 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, *, \
 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.
@@ -69,6 +70,9 @@ and work with streams:
 .. versionchanged:: 3.7
 Added the *ssl_handshake_timeout* parameter.
 
+ .. versionadded:: 3.8
+ Added *happy_eyeballs_delay* and *interleave* parameters.
+
 .. versionchanged:: 3.10
 Removed the *loop* parameter.
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /