python-iptools
python-iptools copied to clipboard
IpRangeList contains duplicates
I did not expect this behavior.
>>> list(iptools.IpRangeList('2.2.2.3/32', ('2.2.2.2', '2.2.2.5')))
['2.2.2.3', '2.2.2.2', '2.2.2.3', '2.2.2.4', '2.2.2.5']
Yes, I know set
exists