This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nikratio
Recipients nikratio
Date 2013-09-19.03:38:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I received a bugreport for a Python application that contains the following stacktrace:

>   File "/usr/lib/python3.3/http/", line 1057, in endheaders
>     self._send_output(message_body)
>   File "/usr/lib/python3.3/http/", line 902, in _send_output
>     self.send(msg)
>   File "/usr/lib/python3.3/http/", line 840, in send
>     self.connect()
>   File "/usr/lib/python3.3/http/", line 1194, in connect
>     self.timeout, self.source_address)
>   File "/usr/lib/python3.3/", line 417, in create_connection
>     for res in getaddrinfo(host, port, 0, SOCK_STREAM):
> OSError: [Errno 0] Error

My guess is that something went wrong with the name resolution, but it seems near impossible to handle this in the application because apparently the exception contains no machine usable useful informaton at all. 

It would be nice if whatever information Python used to determine that the getaddrinfo call failed could be included in the exception, so that it can be properly caught and handled.
Date User Action Args
2013-09-19 03:38:53nikratiosetrecipients: + nikratio
2013-09-19 03:38:52nikratiosetmessageid: <>
2013-09-19 03:38:52nikratiolinkissue19044 messages
2013-09-19 03:38:52nikratiocreate