[Python-Dev] PEP 3144 review.

Stephen J. Turnbull stephen at xemacs.org
Sat Oct 3 07:37:55 CEST 2009


Nick Coghlan writes:

 > However, while I'd still be a little happier if the .ip attribute
 > went away all together and another means was found to conveniently
 > associate an IPAddress and an IPNetwork, keeping it doesn't bother
 > me anywhere near as much as having network equivalence defined in
 > terms of something other than the network ID and the netmask.

s/equivalence/equality/

There are several notions of equivalence in play, and all can be
implemented as methods.  The question is which one is going to be "==".


More information about the Python-Dev mailing list