[New-bugs-announce] [issue42937] (IPv4 dummy address) considered globally reachable

CDirkx report at bugs.python.org
Fri Jan 15 18:00:38 EST 2021

New submission from CDirkx <christiaan at dirkx.email>:

Currently the method `ipaddress.is_global` returns true for the IPv4 address This was correct when `is_global` was initially implemented, but in 2015 got designated as the "IPv4 dummy address" and not globally reachable, see the IANA special purpose address registry: https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml.

The correct behaviour now, according to the documentation of `is_global` which refers to the IANA registry, would be to return false for

messages: 385127
nosy: cdirkx
priority: normal
severity: normal
status: open
title: (IPv4 dummy address) considered globally reachable
type: behavior
versions: Python 3.9

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list