Message7477

Author mahendar
Recipients mahendar
Date 2012-10-16.10:39:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350383962.74.0.776653096338.issue1976@psf.upfronthosting.co.za>
In-reply-to
Content
Hi,
Upon importing the socket module and trying to execute
socket.gethostbyname_ex(socket.getfqdn()), I'm getting the following error:
AttributeError: 'module' object has no attribute 'gethostbyname_ex'

The module does not seem to have this function, however the documentation has references to this function.
History
Date User Action Args
2012-10-16 10:39:22mahendarsetrecipients: + mahendar
2012-10-16 10:39:22mahendarsetmessageid: <1350383962.74.0.776653096338.issue1976@psf.upfronthosting.co.za>
2012-10-16 10:39:22mahendarlinkissue1976 messages
2012-10-16 10:39:22mahendarcreate