https://github.com/python/cpython/commit/505e2a4a2dd692c1977c7968645beb922f2e36f3
commit: 505e2a4a2dd692c1977c7968645beb922f2e36f3
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: kumaraditya303 <[email protected]>
date: 2025-07-28T11:03:08Z
summary:

[3.13] gh-119711: describe `create_datagram_endpoint`'s behavior in asyncio 
when `local_addr` is `None` (GH-136913) (#137163)

gh-119711: describe `create_datagram_endpoint`'s behavior in asyncio when 
`local_addr` is `None` (GH-136913)
(cherry picked from commit 1481384141342479b3ba4b89f653b4e5bef0d272)

Co-authored-by: AN Long <[email protected]>

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

diff --git a/Doc/library/asyncio-eventloop.rst 
b/Doc/library/asyncio-eventloop.rst
index 20b1ccd105109e..d8dd03aba5c74a 100644
--- a/Doc/library/asyncio-eventloop.rst
+++ b/Doc/library/asyncio-eventloop.rst
@@ -595,6 +595,12 @@ Opening network connections
      to bind the socket locally.  The *local_host* and *local_port*
      are looked up using :meth:`getaddrinfo`.
 
+     .. note::
+
+        On Windows, when using the proactor event loop with 
``local_addr=None``,
+        an :exc:`OSError` with :attr:`!errno.WSAEINVAL` will be raised
+        when running it.
+
    * *remote_addr*, if given, is a ``(remote_host, remote_port)`` tuple used
      to connect the socket to a remote address.  The *remote_host* and
      *remote_port* are looked up using :meth:`getaddrinfo`.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to