[Python-Dev] PEP 3144 review.
Nick Coghlan
ncoghlan at gmail.com
Sat Oct 3 11:40:19 CEST 2009
Stephen J. Turnbull wrote:
> 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 "==".
I have just enough pure math in my educational background to think of
'equality' as the 'default equivalence class', but yes, the meaning of
"==" is exactly what I was referring to.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
---------------------------------------------------------------
More information about the Python-Dev
mailing list