[New-bugs-announce] [issue11953] Missing WSA* error codes

Antoine Pitrou report at bugs.python.org
Fri Apr 29 00:38:50 CEST 2011


New submission from Antoine Pitrou <pitrou at 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 <report at bugs.python.org>
<http://bugs.python.org/issue11953>
_______________________________________


More information about the New-bugs-announce mailing list