GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||
GeezerVison is showing github.com — ipaddress: Two more IPv6 ranges (RFC 9602, 9780) missing from _private_networks · Issue #151749 · python/cpython Open Labels stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DescriptionBug reportBug description:DescriptionThis is a peer issue to gh-151049 / PR 151050, which is addressing RFC 9665 ranges. In this case, we similarly have the following examples return
Both blocks are registered by IANA with Globally Reachable = False. The companion IANA registrationThe IANA IPv6 Special-Purpose Address Registry lists both blocks as Globally Reachable = False:
Registry: https://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml Both were added after the table was last revised: RFC 9602 (Segment Routing over IPv6 SIDs) registered 5f00::/16 in 2024, and RFC 9780 registered the 100:0:0:1::/64 Dummy IPv6 Prefix. Note that 100:0:0:1::/64 is disjoint from the already-listed 100::/64 (RFC 6666 Discard-Only), so the existing 100::/64 entry does not cover it. The bug
This is the same class as gh-124217 (which added ReproduceOn current main: >>> import ipaddress >>> ipaddress.ip_address('5f00::1').is_global True # expected: False (RFC 9602, IANA GR=False) >>> ipaddress.ip_address('5f00::1').is_private False # expected: True >>> ipaddress.ip_address('100:0:0:1::1').is_global True # expected: False (RFC 9780, IANA GR=False) >>> ipaddress.ip_address('100:0:0:1::1').is_private False # expected: True >>> ipaddress.ip_address('3fff::1').is_global # already-fixed sibling, correct False >>> ipaddress.ip_address('100::1').is_global # adjacent in-table block, correct False FixAdd the two blocks to IPv6Network('5f00::/16'), # RFC 9602 (SRv6 SIDs) IPv6Network('100:0:0:1::/64'), # RFC 9780 (Dummy IPv6 Prefix) and extend CPython versions tested on:3.15, CPython main branch Operating systems tested on:Linux Linked PRsActivity
MetadataMetadataAssigneesLabelsstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error Projects
MilestoneRelationshipsDevelopmentIssue actions | ||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |