SIGN IN SIGN UP

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.
I
Inada Naoki committed
6fa84bd12c4b83bee6a41b989363230d5c03b96c
Parent: 74125a6
Committed by GitHub <noreply@github.com> on 4/15/2019, 11:32:28 PM