Message355998
The documentation for is_private notes:
Returns:
A boolean, True if the address is reserved per RFC 4193.
iana-ipv4-special-registry or iana-ipv6-special-registry.
If we take a look at the iana-ipv4-special-registry then 0.0.0.0/8 does show up there: https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml
While the name might be a misnomer, is_reserved instead of is_private might have been better, it does seem to conform to what the documentation says it will do. |
|
Date |
User |
Action |
Args |
2019-11-05 05:06:19 | ammar2 | set | recipients:
+ ammar2, pascalhofmann |
2019-11-05 05:06:19 | ammar2 | set | messageid: <1572930379.69.0.960445601499.issue38655@roundup.psfhosted.org> |
2019-11-05 05:06:19 | ammar2 | link | issue38655 messages |
2019-11-05 05:06:19 | ammar2 | create | |
|