Repository navigation
Conversation
…ate networks IANA's IPv4 Special-Purpose Address Registry lists 192.88.99.2/32 (6a44-relay anycast address, RFC 6751) as not globally reachable. The row was added to the registry on 2025-06-26, after the IPv4 list was last updated in pythongh-113171.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
IANA's IPv4 Special-Purpose Address Registry lists
192.88.99.2/32(6a44-relay anycast address, RFC 6751) with Globally Reachable = False. The row was added to the registry on 2025-06-26, after the IPv4 list inipaddresswas last updated in gh-113171, soipaddress.ip_address('192.88.99.2').is_globalcurrently returnsTrue.This PR:
192.88.99.2/32to_IPv4Constants._private_networkstestReservedIpv4to checkis_globalandis_privatefor that addressThe rest of
192.88.99.0/24(deprecated 6to4 relay anycast, RFC 7526) is left unchanged, since its registry row has no Globally Reachable value.I prepared this change with the help of an AI assistant (Claude Code). I reproduced the bug on main myself. The full test suite passes except
test_compileall, which fails the same way on main without this change in my environment.🤖 Generated with Claude Code