This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mbrierst
Recipients
Date 2003-03-07.04:05:09
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=670441

Yeah, this patched fixed it just fine.

As long as I've got you here, should
test_socket require the network resource
be enabled?  It only works for me when I'm
connected.

When not connected testHostnameRes fails because
getfqdn() returns my hostname, 'zazz', but
gethostbyaddr(ip) returns the hostname 'localhost'.
When I am connected getfqdn() also returns
'localhost' so there's no problem.  It could be
fixed for me by either requiring the network
resource or changing line 234 of test_socket from:
all_host_names = [hname] + aliases
to:
all_host_names = [hname, hostname] + aliases
Or maybe my machine's setup is just messed
up in which case I trust you won't worry about it.
History
Date User Action Args
2007-08-23 14:11:39adminlinkissue697556 messages
2007-08-23 14:11:39admincreate