[issue29890] Constructor of ipaddress.IPv*Interface does not follow documentation
Eric V. Smith
report at bugs.python.org
Thu Mar 23 19:43:13 EDT 2017
Eric V. Smith added the comment:
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.
----------
keywords: +easy
nosy: +eric.smith
stage: -> needs patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29890>
_______________________________________
More information about the Python-bugs-list
mailing list