-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dirstdlibPython modules in the Lib dirPython modules in the Lib dir
Description
Bug report
Bug description:
According to https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml
and https://en.wikipedia.org/wiki/Reserved_IP_addresses 0.0.0.0/8 and other ranges should be reserved.
ipaddress.IPv4Address("0.0.0.0").is_reserved
is False
however.
The definition in the Python docs is
is_reserved
True if the address is otherwise IETF reserved.
So I believe there are several ranges missing.
CPython versions tested on:
3.13
Operating systems tested on:
Windows
Linked PRs
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dirstdlibPython modules in the Lib dirPython modules in the Lib dir
Projects
Status
Todo