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

Use ipaddress to detect valid and invalid IPs #165

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

azmeuk
Copy link

@azmeuk azmeuk commented Sep 24, 2022

Fixes #164

This leads to a breaking change: well-formed but invalid IPv6 such as [0:0:0:0:0:0:0:1:1:1:1:1:1:1:1:9999999999999] now raise a ValueError. However one can argue that this is not exactly a behavior change but more a bugfix.

If you think the breaking change is too harsh, I can do another PR that would raise a deprecation warning when a well-formed invalid IPv6 is encountered, to be merged and released before this PR is merged and released.

What do you think?

@azmeuk
Copy link
Author

azmeuk commented Oct 5, 2023

Hi @gruns
Would you have hopefully some time to review this PR and #166 soon? 🙏
Thank you

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

Successfully merging this pull request may close these issues.

Use the ipaddress module to detect valid IPV6
1 participant