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: github.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:336bcb36-e6a7-b56b-5a1c-6363d8b4c5f5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CE3E:D7F0F:2A92DA:3B532E:69694509 |
| html-safe-nonce | 7725b5e264756ac7907435fa7f43ddf4e2a41632e9646edb6cea8fafeea4f5c4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTNFOkQ3RjBGOjJBOTJEQTozQjUzMkU6Njk2OTQ1MDkiLCJ2aXNpdG9yX2lkIjoiNTgxNDMxNzU5MjI1MDc2MjUwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2d914a7502c73ef7cd58c52d317d958f72f3a44002739715d73bbd0f3777b1dc |
| 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 | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| 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 | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width