> In httplib.HTTP.connect a socket.error is raised when a non-numeric port is > given. Seems to me this is more correctly a ValueError. Hmm... It explicitly catches the ValueError and raises socket.error. Why could it be doing this? (Also, it does the same thing elsewhere in the module.) -0 --Guido van Rossum (home page: http://www.python.org/~guido/)