[Python-bugs-list] [ python-Bugs-814602 ]
socket.gethostbyaddr('www.google.com')
SourceForge.net
noreply at sourceforge.net
Sat Oct 4 04:52:12 EDT 2003
Bugs item #814602, was opened at 2003-09-29 20:09
Message generated for change (Comment added) made by spikeee
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=814602&group_id=5470
Category: Python Library
Group: Python 2.3
Status: Closed
Resolution: Invalid
Priority: 5
Submitted By: Gerd Schulz (spikeee)
Assigned to: Nobody/Anonymous (nobody)
Summary: socket.gethostbyaddr('www.google.com')
Initial Comment:
Results in error!
----------------------------------------------------------------------
>Comment By: Gerd Schulz (spikeee)
Date: 2003-10-04 10:52
Message:
Logged In: YES
user_id=687873
Maybe it is not intended, but for all other domains I tested, it
worked:
>>> socket.gethostbyaddr('www.sf.net')
('sourceforge.net', ['203.250.35.66.in-addr.arpa'],
['66.35.250.203'])
So that's some kind of inconsistence.
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2003-10-04 10:03
Message:
Logged In: YES
user_id=21627
Of course it results in an error! 'www.google.com' is not an
IP number. Use socket.gethostbyname to resolve host names.
Closing as invalid.
----------------------------------------------------------------------
Comment By: Anthony Baxter (anthonybaxter)
Date: 2003-10-01 16:44
Message:
Logged In: YES
user_id=29957
What platform? What compiler? What exact version of Python?
What was the error?
Does the same code work under an earlier version of Python?
If so, which version?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=814602&group_id=5470
More information about the Python-bugs-list
mailing list