Closed GoogleCodeExporter closed 9 years ago
I believe ip[1:-2] should get you [IPv4('172.16.1.1/32') ...
IPv4('172.16.1.253/32')]
http://codereview.appspot.com/11870/show
Original comment by pmo...@google.com
on 6 Jan 2009 at 5:10
to quote GvR.
"If the value returned might be too long to be comfortably stored in a
list, you probably shouldn't support slice syntax at all."
the problem is mostly when dealing with ipv6, eg,
ipaddr.IPNetwork('::1/64')[:-1]
takes a _long_ time to return.
Original comment by pmo...@google.com
on 30 Aug 2009 at 1:02
Original issue reported on code.google.com by
pnas...@gmail.com
on 3 Jan 2009 at 5:54