New submission from Mikael Ryding:
I found this in the netaddr module when I was trying to get the CIDR from a
number of ip/netmask combinations. The expected cidr in the example below
should be: 192.1.0.0/23.
>>> ip = netaddr.IPNetwork("192.1.1.128", "255.255.254.0")
>>> ip.netmask
IPAddress(
R. David Murray added the comment:
Netaddr is not an stdlib module. Please report the bug to the netaddr
maintainers.
--
nosy: +r.david.murray
resolution: -> invalid
stage: -> committed/rejected
status: open -> closed
versions: +3rd party -Python 2.7