Socket bug (maybe)

Gordon McMillan gmcm at hypernet.com
Wed May 24 09:26:21 EDT 2000


Ryan Dhuse <dhuserya at msu.edu> wrote:

>I realize the socket documentation says that '' represents localhost, 
but I
>would prefer if '' was equivalent to 'localhost' in all respects.

Where does it say that?

It seems to be the equivalent of gethostname().

>Should this be reported as a bug??

It's a doc bug if it says that; but I don't find any mention of it in the 
lib docs.

- Gordon




More information about the Python-list mailing list