New submission from Antoine Pitrou <pit...@free.fr>:

Apparently not all Windows socket error codes (see 
http://msdn.microsoft.com/en-us/library/ms740668%28v=vs.85%29.aspx) are mapped 
in the errno module.

For example, a buildbot recently got a 11004 error (see 
http://www.python.org/dev/buildbot/all/builders/x86%20Windows7%203.x/builds/3001/steps/test/logs/stdio),
 which is:

“WSANO_DATA
11004

Valid name, no data record of requested type.

    The requested name is valid and was found in the database, but it does not 
have the correct associated data being resolved for. The usual example for this 
is a host name-to-address translation attempt (using gethostbyname or 
WSAAsyncGetHostByName) which uses the DNS (Domain Name Server). An MX record is 
returned but no A record—indicating the host itself exists, but is not directly 
reachable.”


Not sure how this should be handled.

----------
messages: 134725
nosy: amaury.forgeotdarc, loewis, pitrou
priority: low
severity: normal
status: open
title: Missing WSA* error codes
type: feature request
versions: Python 3.3

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

Reply via email to