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 "==". _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com