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 mjpieters
Recipients CosmicKid, cdirkx, mjpieters
Date 2021-05-18.09:15:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This is related to #42937, the IPv4 private network list is not considering the whole of to be private.

RFC 5736 / 6890 reserved for special purposes (private networks) and to date a few subnets of that network have received assignments. The ipaddress modules should use that subnet for any `is_private` test, and not just the subnets of that network that have received specific assignments.

E.g. the list currently contains just and, but as this bug report points out, has since been added, as have and

The IPv6 implementation *does* cover the whole reserved subnet (although it also includes 2 specific registrations, see the aforementioned #42937), it is just IPv4 that is inconsistent and incomplete here.
Date User Action Args
2021-05-18 09:15:33mjpieterssetrecipients: + mjpieters, cdirkx, CosmicKid
2021-05-18 09:15:33mjpieterssetmessageid: <>
2021-05-18 09:15:33mjpieterslinkissue42937 messages
2021-05-18 09:15:33mjpieterscreate