IP("::/0") gives a netmask of rather then 0:0:0:0:0:0:0:0 #4

mdomsch opened this Issue Mar 24, 2011 · 3 comments


None yet
2 participants

mdomsch commented Mar 24, 2011

Reported by: Daniel Walsh 2011-03-24 16:23:48 EDT


Python 2.7.1 (r271:86832, Feb 9 2011, 17:56:14)
[GCC 4.6.0 20110205 (Red Hat 4.6.0-0.6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

from IPy import IP
print x.netmask()

rpm -q python-IPy

Reproduced with 0.74, git f6d35f3


vstinner commented Mar 24, 2011

Oh yes, it is a bug. It should be fixed by 4e79e3a: can you try with this version please? I can do a minor release if you would like to.

mdomsch commented Mar 24, 2011

Indeed, that fixes the problem. The reporter has worked around the bug in his own software, but a release would be welcome. Right now Fedora is at 0.70, and python 2.7.

@mdomsch mdomsch closed this Mar 24, 2011


vstinner commented Apr 12, 2011

Done: I released IPy 0.75.

steffann pushed a commit to steffann/python-ipy that referenced this issue Jan 12, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment