[Python-Dev] Return error codes from getaddrinfo.