commit | 6fa84bd12c4b83bee6a41b989363230d5c03b96c | [log] [tgz] |
---|---|---|
author | Inada Naoki <songofacandy@gmail.com> | Tue Apr 16 08:32:28 2019 +0900 |
committer | GitHub <noreply@github.com> | Tue Apr 16 08:32:28 2019 +0900 |
tree | 846220dfd35742385323c4dc2742edc3b6ed7a29 | |
parent | 74125a60b7a477451ff2b8385bfbce3fdaee8dbc [diff] |
bpo-27860: ipaddress: fix Interface missed some attributes (GH-12836) IPv4Interface and IPv6Interface did not has netmask and hostmask attributes when its argument is bytes or int. This commit extracts method for constructors of Network and Interface, and ensure Interface class always provides them.