[Python-Dev] _socket efficiencies ideas

Guido van Rossum guido@python.org
Wed, 09 Apr 2003 20:37:58 -0400


> Seems to me the basic problem is that we're representing
> to completely different things -- a DNS name and a raw
> IP address -- the same way, i.e. as a string.
> 
> A raw IP address should (at least optionally) be represented 
> by something different, such as a tuple of ints.

Why?  There's never any ambiguity about which kind is intended.

--Guido van Rossum (home page: http://www.python.org/~guido/)