Message6788

Author amak
Recipients amak, vleloup
Date 2012-03-05.22:38:31
SpamBayes Score 4.2780982e-07
Marked as misclassified No
Message-id <1330987111.55.0.0983367737804.issue1844@psf.upfronthosting.co.za>
In-reply-to
Content
The report is accurate: this is indeed a bug.

I will fix it shortly.

In the meantime, it is highly recommended to use the getaddrinfo function when getting IP addresses.

You would call it like this

>>> socket.getaddrinfo(socket.INADDR_ANY, 0, socket.AF_INET)
[(2, None, 0, '0.0.0.0', ('0.0.0.0', 0))]

The tuple at element 4 is the tuple you would pass to bind.
History
Date User Action Args
2012-03-05 22:38:31amaksetmessageid: <1330987111.55.0.0983367737804.issue1844@psf.upfronthosting.co.za>
2012-03-05 22:38:31amaksetrecipients: + amak, vleloup
2012-03-05 22:38:31amaklinkissue1844 messages
2012-03-05 22:38:31amakcreate