Nick Coghlan added the comment: I think this is an area where ipaddress just inherited ipaddr's behaviour without challenging it.
As Peter isn't currently particularly active, and I stepped back from ipaddress maintenance some time ago (since I don't work heavily enough with raw IP addresses to have the right design instincts to arbitrate edge cases like this), I'd suggest raising both this and #27683 on python-dev, pointing out that we used to have the "/31" special case (treating it the same as "/30") and inadvertently lost it in some other refactoring, but have never special cased "/32". ---------- nosy: +pmoody _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28577> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com