summaryrefslogtreecommitdiffstats
path: root/Doc/library/socket.rst
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2018-01-28 21:08:32 (GMT)
committerGitHub <noreply@github.com>2018-01-28 21:08:32 (GMT)
commit0ceb717689b04c0540d78c1ba93c0572c66c0994 (patch)
treee6efcf4720cbd563c3f7f537389165d05723d8a4 /Doc/library/socket.rst
parentf36ba12809d5db1b76464d8f1f04dad8d685ec78 (diff)
downloadcpython-0ceb717689b04c0540d78c1ba93c0572c66c0994.zip
cpython-0ceb717689b04c0540d78c1ba93c0572c66c0994.tar.gz
cpython-0ceb717689b04c0540d78c1ba93c0572c66c0994.tar.bz2
Revert "bpo-32221: makeipaddr(): remove interface part + speedup (GH-4724)" (#5394)
This reverts commit 47c0b1f7d4115e6f15e6776c1f91d28e7d96fe0c.
Diffstat (limited to 'Doc/library/socket.rst')
-rw-r--r--Doc/library/socket.rst15
1 files changed, 0 insertions, 15 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index 777710f..7edd4ba 100644
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -77,11 +77,6 @@ created. Socket addresses are represented as follows:
backward compatibility. Note, however, omission of *scopeid* can cause problems
in manipulating scoped IPv6 addresses.
- .. versionchanged:: 3.7
- For multicast addresses (with *scopeid* meaningful) *address* may not contain
- ``%scope`` (or ``zone id``) part. This information is superfluous and may
- be safely omitted (recommended).
-
- :const:`AF_NETLINK` sockets are represented as pairs ``(pid, groups)``.
- Linux-only support for TIPC is available using the :const:`AF_TIPC`
@@ -635,10 +630,6 @@ The :mod:`socket` module also offers various network-related services:
.. versionchanged:: 3.2
parameters can now be passed using keyword arguments.
- .. versionchanged:: 3.7
- for IPv6 multicast addresses, string representing an address will not
- contain ``%scope`` part.
-
.. function:: getfqdn([name])
Return a fully qualified domain name for *name*. If *name* is omitted or empty,
@@ -697,8 +688,6 @@ The :mod:`socket` module also offers various network-related services:
or numeric address representation in *host*. Similarly, *port* can contain a
string port name or a numeric port number.
- For IPv6 addresses, ``%scope`` is appended to the host part if *sockaddr*
- contains meaningful *scopeid*. Usually this happens for multicast addresses.
.. function:: getprotobyname(protocolname)
@@ -1189,10 +1178,6 @@ to sockets.
an exception, the method now retries the system call instead of raising
an :exc:`InterruptedError` exception (see :pep:`475` for the rationale).
- .. versionchanged:: 3.7
- For multicast IPv6 address, first item of *address* does not contain
- ``%scope`` part anymore. In order to get full IPv6 address use
- :func:`getnameinfo`.
.. method:: socket.recvmsg(bufsize[, ancbufsize[, flags]])