We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
IPv4 behaviour:
>>> netaddr.IPAddress('127.0.0.1').is_loopback() True >>> netaddr.IPNetwork('127.0.0.1/32').is_loopback() True
IPv6:
>>> netaddr.IPAddress('::1').is_loopback() True >>> netaddr.IPNetwork('::1/128').is_loopback() False
I would expect all of the examples above to return True. But as you can see netaddr.IPNetwork('::1/128').is_loopback() doesn't.
netaddr.IPNetwork('::1/128').is_loopback()
Tested on: 0.8.0
The text was updated successfully, but these errors were encountered:
Fix for is_loopback behaviour (issue: netaddr#222)
febe7f9
Fixed this in my local version and created a pull request: #223 If you agree with the fix please merge it :)
Sorry, something went wrong.
Fix for is_loopback behaviour (issue: #222) (#223)
606a44b
Was fixed with merge of #223
Released in version 0.9.0 today.
No branches or pull requests
IPv4 behaviour:
IPv6:
I would expect all of the examples above to return True.
But as you can see
netaddr.IPNetwork('::1/128').is_loopback()
doesn't.Tested on: 0.8.0
The text was updated successfully, but these errors were encountered: