Content-Length: 264091 | pFad | http://github.com/python/cpython/issues/136752

04 IPv4 addresses in 0.0.0.0/8 should be marked reserved · Issue #136752 · python/cpython · GitHub
Skip to content

IPv4 addresses in 0.0.0.0/8 should be marked reserved #136752

@Dobatymo

Description

@Dobatymo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/python/cpython/issues/136752

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy