This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pebenito
Recipients ncoghlan, pebenito, pitrou, pmoody
Date 2014-11-08.17:32:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1415467924.49.0.822525066783.issue22800@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-11-08 17:32:04pebenitosetrecipients: + pebenito, ncoghlan, pitrou, pmoody
2014-11-08 17:32:04pebenitosetmessageid: <1415467924.49.0.822525066783.issue22800@psf.upfronthosting.co.za>
2014-11-08 17:32:04pebenitolinkissue22800 messages
2014-11-08 17:32:04pebenitocreate