]> granicus.if.org Git - python/commit
bpo-27683: Fix a regression for host() of ipaddress network objects (GH-6016)
authorXiang Zhang <angwerzx@126.com>
Wed, 21 Mar 2018 00:25:13 +0000 (08:25 +0800)
committerGitHub <noreply@github.com>
Wed, 21 Mar 2018 00:25:13 +0000 (08:25 +0800)
commit10b134a07c898c2fbc5fd3582503680a54ed80a2
tree32ce163bf6c42d52dcbf62a6479de258c014ea04
parent5609b78392d59c7362ef8aa5c4a4529325f01f27
bpo-27683: Fix a regression for host() of ipaddress network objects (GH-6016)

The result of host() was not empty when the network is constructed by a tuple containing an
integer mask and only 1 bit left for addresses.
Doc/library/ipaddress.rst
Lib/ipaddress.py
Lib/test/test_ipaddress.py
Misc/NEWS.d/next/Library/2018-03-07-22-28-17.bpo-27683.572Rv4.rst [new file with mode: 0644]