[issue8857] socket.getaddrinfo needs tests

Giampaolo Rodola' report at bugs.python.org
Sat Aug 14 15:42:18 CEST 2010


Giampaolo Rodola' <g.rodola at gmail.com> added the comment:

I'm not sure whether it's a problem with my python installation but this is what I get on FreeBSD 7.0 with both python 2.7 and 3.2:


>>> import socket
>>> socket.getaddrinfo('localhost', 80)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
socket.gaierror: [Errno 9] servname not supported for ai_socktype
>>>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8857>
_______________________________________


More information about the Python-bugs-list mailing list