Title: IpRangeList contains duplicates · Issue #20 · bd808/python-iptools · GitHub
Open Graph Title: IpRangeList contains duplicates · Issue #20 · bd808/python-iptools
X Title: IpRangeList contains duplicates · Issue #20 · bd808/python-iptools
Description: 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
Open Graph Description: 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
X Description: 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...
Opengraph URL: https://github.com/bd808/python-iptools/issues/20
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IpRangeList contains duplicates","articleBody":"I did not expect this behavior.\r\n```python\r\n\u003e\u003e\u003e list(iptools.IpRangeList('2.2.2.3/32', ('2.2.2.2', '2.2.2.5')))\r\n['2.2.2.3', '2.2.2.2', '2.2.2.3', '2.2.2.4', '2.2.2.5']\r\n```\r\n\r\nYes, I know ```set``` exists","author":{"url":"https://github.com/yhvh","@type":"Person","name":"yhvh"},"datePublished":"2017-03-15T16:46:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/20/python-iptools/issues/20"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:67f34988-f491-d370-fb5f-7748cc0a3533 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E5EA:13E0B6:4EAF6DC:69F27C9:696E0420 |
| html-safe-nonce | 4b0629a53f33488c5153a9c9e4c4ef176df0b7cdcf3577393da214ee6142314e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUVBOjEzRTBCNjo0RUFGNkRDOjY5RjI3Qzk6Njk2RTA0MjAiLCJ2aXNpdG9yX2lkIjoiMjEzNDQyMzU1NjE2NDgxMzg1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b8412c1a0e47d5f28da585cfc96ccc4464d57724b534c5dd659e194b9b1dbe0c |
| hovercard-subject-tag | issue:214453868 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/bd808/python-iptools/20/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4ffa5ec78bef0289bd720498c9372519a1d11490f101eb716725253f051d42a4/bd808/python-iptools/issues/20 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4ffa5ec78bef0289bd720498c9372519a1d11490f101eb716725253f051d42a4/bd808/python-iptools/issues/20 |
| og:image:alt | 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 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yhvh |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b5131b207ddd175abf059a848d5f4302ec0606b02211b989013be49cf08593e |
| turbo-cache-control | no-preview |
| go-import | github.com/bd808/python-iptools git https://github.com/bd808/python-iptools.git |
| octolytics-dimension-user_id | 6469 |
| octolytics-dimension-user_login | bd808 |
| octolytics-dimension-repository_id | 4294228 |
| octolytics-dimension-repository_nwo | bd808/python-iptools |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 4294228 |
| octolytics-dimension-repository_network_root_nwo | bd808/python-iptools |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f8590a63bfc8093b241930ca57d536c9a50f9680 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width