]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-27860: ipaddress: fix Interface constructor (GH-14200)
authorInada Naoki <songofacandy@gmail.com>
Wed, 19 Jun 2019 11:47:39 +0000 (20:47 +0900)
committerGitHub <noreply@github.com>
Wed, 19 Jun 2019 11:47:39 +0000 (20:47 +0900)
commitf532fe5583d29d21e12aa22d8fca13e3bca94fb3
tree5c589bafeeb3a99918e07c44cc4c448a4f7bb394
parentb2967436dbf80a70fcf69b9872dc0607be1e78ab
bpo-27860: ipaddress: fix Interface constructor (GH-14200)

Interface constructor is documented as accepts address same to Network,
but it didn't accept some form of the address.

This commit is backport of GH-12836 (commit 6fa84bd)
Lib/ipaddress.py
Lib/test/test_ipaddress.py
Misc/NEWS.d/next/Library/2019-06-18-21-25-23.bpo-27860.Mc4wtK.rst [new file with mode: 0644]