This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients Ilya.Kulakov, eric.smith
Date 2017-03-23.23:43:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1490312593.61.0.586021991058.issue29890@psf.upfronthosting.co.za>
In-reply-to
Content
This should be easy enough to fix, at least in IPv4Interface.__init__. It needs to copy some of IPv4Network.__init__, dealing with address[1] and calling _make_netmask(). Currently, it just calls int(address[1]).

I haven't looked at IPv6Interface.

Tests are also needed, of course.
History
Date User Action Args
2017-03-23 23:43:13eric.smithsetrecipients: + eric.smith, Ilya.Kulakov
2017-03-23 23:43:13eric.smithsetmessageid: <1490312593.61.0.586021991058.issue29890@psf.upfronthosting.co.za>
2017-03-23 23:43:13eric.smithlinkissue29890 messages
2017-03-23 23:43:13eric.smithcreate