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 <>
Python-bugs-list mailing list

Reply via email to