[Python-Dev] PEP 3144 review. (original) (raw)

Stephen J. Turnbull stephen at xemacs.org
Wed Sep 30 05:17:49 CEST 2009


Greg Ewing writes:

Peter Moody wrote:

I've mentioned at least once (and others have mentioned as well) that it's very common, when describing the ip address/prefix of a NIC to write, "192.168.1.100/24"

Yes, but if you want to retain all of that information, the object you have isn't just a "network", it's more like "network plus the address of its interface". So some people think that using the name "IPNetwork" for this object is confusing.

Especially since to my mind networks don't have interfaces. Hosts have interfaces. "IPInterface", anyone? ... no, let's not go there, stick a fork in it, it's done.



More information about the Python-Dev mailing list