This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ammar2
Recipients ammar2, pascalhofmann
Date 2019-11-05.05:06:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
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.
History
Date User Action Args
2019-11-05 05:06:19ammar2setrecipients: + ammar2, pascalhofmann
2019-11-05 05:06:19ammar2setmessageid: <[email protected]>
2019-11-05 05:06:19ammar2linkissue38655 messages
2019-11-05 05:06:19ammar2create