bd808/python-iptools — pull request #1 by bd808 (2012-06-24 21:31:58+00:00)
Title: Feature/sequence refactor

Add more full featured `Sequence` support to IpRange:
* `__eq__()`
* `__hash__()`
* `index()`
* `__getitem__()`
* `count()`

Extension of `Sequence` needs to be conditional because python <2.6 doesn't have the abc base classes.

Changes allow using an IpRange in a wider variety of situations than the initial `for x in ...` use case.