New submission from pascalhofmann :
ipaddress.ip_network('0.0.0.0/0').is_private returns True, even though
0.0.0.0/0 clearly is no private network.
--
components: Library (Lib)
messages: 355753
nosy: pascalhofmann
priority: normal
severity: normal
status:
pascalhofmann added the comment:
0.0.0.0/0 is a network with addresses from 0.0.0.0 to 255.255.255.255.
0.0.0.0/8 is a network with addresses from 0.0.0.0 to 0.255.255.255.
So 4278190080 out of 4294967296 addresses in 0.0.0.0/0 clearly are no private
addresses