Chris PeBenito added the comment:
That's unfortunate. The library provides factory functions so v4 and v6
addresses/networks are easily handled together, and yet it seems to have been
overlooked that you can do this:
ipaddress.ip_network('192.168.1.0/255.255.255.0')
but not this:
ipaddress.ip_network('ff00::/ff00::')
I'll open up another issue for the docs, as they are not simply unhelpful,
they're misleading, as the IPv6Network docs clearly say that you should be able
to use an expanded netmask.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue22800>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com