Message212849
"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::') |
|
Date |
User |
Action |
Args |
2014-03-06 22:33:01 | vstinner | set | recipients:
+ vstinner, r.david.murray, wt |
2014-03-06 22:33:01 | vstinner | set | messageid: <1394145181.48.0.0975458543575.issue20860@psf.upfronthosting.co.za> |
2014-03-06 22:33:01 | vstinner | link | issue20860 messages |
2014-03-06 22:33:01 | vstinner | create | |
|