Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue11953

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Missing WSA* error codes
Type:enhancementStage:resolved
Components:Versions:Python 3.9, Python 3.8
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: steve.dowerNosy List: amaury.forgeotdarc, brian.curtin, loewis, pitrou, steve.dower, tim.golden
Priority:lowKeywords:patch

Created on2011-04-28 22:38 bypitrou, last changed2022-04-11 14:57 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 15004mergednsiregar,2019-07-29 14:42
PR 15741mergedsteve.dower,2019-09-09 09:18
Messages (4)
msg134725 -(view)Author: Antoine Pitrou (pitrou)*(Python committer)Date: 2011-04-28 22:38
Apparently not all Windows socket error codes (seehttp://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 (seehttp://www.python.org/dev/buildbot/all/builders/x86%20Windows7%203.x/builds/3001/steps/test/logs/stdio), which is:“WSANO_DATA11004Valid 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.
msg134727 -(view)Author: Antoine Pitrou (pitrou)*(Python committer)Date: 2011-04-28 22:47
Actually, it was raised by getaddrinfo(), so should perhaps belong in the socket module instead.
msg351372 -(view)Author: Steve Dower (steve.dower)*(Python committer)Date: 2019-09-09 09:15
New changeset71ea688d662a74ddf39a3874e06c73e58df55c02 by Steve Dower (Ngalim Siregar) in branch 'master':bpo-11953: Extend table of Windows WSA* error codes (GH-15004)https://github.com/python/cpython/commit/71ea688d662a74ddf39a3874e06c73e58df55c02
msg351414 -(view)Author: Steve Dower (steve.dower)*(Python committer)Date: 2019-09-09 10:36
New changeseteb02196bd95ea12fcccff3960f36601596811570 by Steve Dower in branch '3.8':bpo-11953: Extend table of Windows WSA* error codes (GH-15004)https://github.com/python/cpython/commit/eb02196bd95ea12fcccff3960f36601596811570
History
DateUserActionArgs
2022-04-11 14:57:16adminsetgithub: 56162
2019-09-09 10:36:23steve.dowersetstatus: open -> closed
assignee:steve.dower
stage: patch review -> resolved
resolution: fixed
versions: + Python 3.8, Python 3.9, - Python 3.3
2019-09-09 10:36:07steve.dowersetmessages: +msg351414
2019-09-09 09:18:03steve.dowersetpull_requests: +pull_request15395
2019-09-09 09:15:17steve.dowersetnosy: +steve.dower
messages: +msg351372
2019-07-29 18:27:53nanjekyejoannahsetnosy: -nanjekyejoannah
2019-07-29 14:42:12nsiregarsetkeywords: +patch
stage: patch review
pull_requests: +pull_request14770
2019-07-26 22:26:33nanjekyejoannahsetnosy: +nanjekyejoannah
2011-04-28 22:47:32pitrousetmessages: +msg134727
2011-04-28 22:39:24pitrousetnosy: +tim.golden,brian.curtin
2011-04-28 22:38:42pitroucreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp