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 Wicken
Recipients Wicken, ammar2, pascalhofmann
Date 2019-11-05.16:01:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1572969714.45.0.965975763162.issue38655@roundup.psfhosted.org>
In-reply-to
Content
Looks like this happens because the is_private method that gets called is from _BaseNetwork, which checks if the network address '0.0.0.0' and the broadcast address '255.255.255.255' are both private, which they are as 0.0.0.0 falls into 0.0.0.0/8.

I think for this to get it right, you would have to change the is_private check for networks to iterate over each possible subnet and check if that is in the private networks list. This takes an unfeasibly long time.

So, we would probably have to add special cases for these networks, unless people have better ideas.
History
Date User Action Args
2019-11-05 16:01:54Wickensetrecipients: + Wicken, ammar2, pascalhofmann
2019-11-05 16:01:54Wickensetmessageid: <1572969714.45.0.965975763162.issue38655@roundup.psfhosted.org>
2019-11-05 16:01:54Wickenlinkissue38655 messages
2019-11-05 16:01:54Wickencreate