From: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Date: Mon, 2 Jun 2025 10:44:39 +0000 (+0200) Subject: [3.13] gh-122153: indicate that Windows does not support `socket.{send,recv}_fds... X-Git-Tag: v3.13.4~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=11f7270e8f2f1ac28a478e9b0758ec4d50d232ff;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-122153: indicate that Windows does not support `socket.{send,recv}_fds` (GH-134960) (#135017) This amends commit e3b6ff19aaa318a813130ba9ad2ab0a332f27feb. (cherry picked from commit 128195e12eb6d5b9542558453df7045dd7aa1e15) Co-authored-by: GalaxySnail --- diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index 9df9326c0b95..e5a2815d12f5 100644 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -1380,7 +1380,7 @@ The :mod:`socket` module also offers various network-related services: The *fds* parameter is a sequence of file descriptors. Consult :meth:`~socket.sendmsg` for the documentation of these parameters. - .. availability:: Unix, Windows, not WASI. + .. availability:: Unix, not WASI. Unix platforms supporting :meth:`~socket.sendmsg` and :const:`SCM_RIGHTS` mechanism. @@ -1394,9 +1394,9 @@ The :mod:`socket` module also offers various network-related services: Return ``(msg, list(fds), flags, addr)``. Consult :meth:`~socket.recvmsg` for the documentation of these parameters. - .. availability:: Unix, Windows, not WASI. + .. availability:: Unix, not WASI. - Unix platforms supporting :meth:`~socket.sendmsg` + Unix platforms supporting :meth:`~socket.recvmsg` and :const:`SCM_RIGHTS` mechanism. .. versionadded:: 3.9