]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-28577: Special case added to IP v4 and v6 hosts for /32 and /128 networks (GH...
authorPete Wicken <2273100+JamoBox@users.noreply.github.com>
Mon, 9 Mar 2020 22:33:45 +0000 (22:33 +0000)
committerGitHub <noreply@github.com>
Mon, 9 Mar 2020 22:33:45 +0000 (15:33 -0700)
commit8e9c47a947954c997d4b725f4551d50a1d896722
tree72a0d1e8aaf5962503c008323ce8ada7f037e8eb
parent9229eeee105f19705f72e553cf066751ac47c7b7
bpo-28577: Special case added to IP v4 and v6 hosts for /32 and /128 networks (GH-18757)

The `.hosts()` method now returns the single address present in a /32 or /128 network.
Doc/library/ipaddress.rst
Lib/ipaddress.py
Lib/test/test_ipaddress.py
Misc/ACKS
Misc/NEWS.d/next/Library/2020-03-02-23-52-38.bpo-28577.EK91ae.rst [new file with mode: 0644]