[New-bugs-announce] [issue34411] ProactorEventLoop should use implement GetAddrInfo, GetNameInfo

ysangkok+launchpad report at bugs.python.org
Wed Aug 15 11:56:16 EDT 2018


New submission from ysangkok+launchpad <ysangkok at gmail.com>:

Since socket.getaddrinfo and socket.getnameinfo take a lock on Windows, it would be nice to have their corresponding methods in asyncio.ProactorEventLoop use IOCP, so that they wouldn't block the whole event loop.

Overlapped I/O flags are available, so I am wondering how hard this would be: https://docs.microsoft.com/en-us/windows/desktop/api/ws2tcpip/nf-ws2tcpip-getaddrinfoexa

----------
components: asyncio
messages: 323572
nosy: asvetlov, ysangkok+launchpad, yselivanov
priority: normal
severity: normal
status: open
title: ProactorEventLoop should use implement GetAddrInfo, GetNameInfo
type: enhancement
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34411>
_______________________________________


More information about the New-bugs-announce mailing list