-
Notifications
You must be signed in to change notification settings - Fork 178
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
Gracefully handle ZEROFILL flag when given a IPv6 address #383
Comments
kennell
changed the title
Gracefully handle ZEROFILL flag when given a IPv6 addresse
Gracefully handle ZEROFILL flag when given a IPv6 address
May 12, 2024
Hi, thank you for reporting this and providing all the information. Definitely not intended and I'll fix it when I get to another round of patches (hopefully soon). |
Thank you for the swift reply; greatly appreciate your work on this package. |
jstasiak
added a commit
that referenced
this issue
May 20, 2024
Thank you for the kind words. The fix for this has been released in netaddr 1.3.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am in the process of upgrading netaddr from
0.10.1
to1.2.1
, my Python version is3.12.3
.In older versions the
netaddr.ZEROFILL
flag was ignored when a IPv6 address was given:In the current release it throws an ValueError:
Suggestion: ignore the
netaddr.ZEROFILL
flag when a IPv6 is given.The text was updated successfully, but these errors were encountered: