Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IpRangeList contains duplicates #20

Open
yhvh opened this issue Mar 15, 2017 · 0 comments
Open

IpRangeList contains duplicates #20

yhvh opened this issue Mar 15, 2017 · 0 comments

Comments

@yhvh
Copy link

yhvh commented Mar 15, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant