[Python-Dev] PEP 3144 review.

Antoine Pitrou solipsis at pitrou.net
Mon Sep 28 22:11:56 CEST 2009


> Unfortunately, that would mean that we should provide two comparison
> operations, and have neither available as == (unless one is more clearly
> right than the other, which I'm skeptical about).

That's probably why some people have argued to have two separate classes for the
case of "networks" with significant lower bits.

(by "lower bits" I mean bits which would be zeroed when ANDing with the netmask)




More information about the Python-Dev mailing list