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 vstinner
Recipients r.david.murray, vstinner, wt
Date 2014-03-06.22:33:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394145181.48.0.0975458543575.issue20860@psf.upfronthosting.co.za>
In-reply-to
Content
"It would be very useful to be able to not only iterate through subnets, but also index a subnet."

For your information, the IPy module supports that:

>>> tuple(IPy.IP('192.168.1.128/31'))
(IP('192.168.1.128'), IP('192.168.1.129'))
>>> IPy.IP('2000::/3')[2**120]
IP('2100::')
History
Date User Action Args
2014-03-06 22:33:01vstinnersetrecipients: + vstinner, r.david.murray, wt
2014-03-06 22:33:01vstinnersetmessageid: <1394145181.48.0.0975458543575.issue20860@psf.upfronthosting.co.za>
2014-03-06 22:33:01vstinnerlinkissue20860 messages
2014-03-06 22:33:01vstinnercreate