Martin v. Löwis added the comment:

The data returned is not bogus; this is the correct result. If the system's 
getaddrinfo returns an unsupported address family, Python returns a bytes 
object (the system's sockaddr buffer) to the application. This should be 
documented, though (either in the introduction to the socket module, or 
specifically for getaddrinfo).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16208>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to