[issue46824] use AI_NUMERICHOST | AI_NUMERICSERV to skip getaddrinfo thread in asyncio

Thomas Grainger report at bugs.python.org
Tue Feb 22 05:53:58 EST 2022


Thomas Grainger <tagrain at gmail.com> added the comment:

hello, it's actually a bit of a round about context, but it was brought up on a tornado issue where I was attempting to port the asyncio optimization to tornado: https://github.com/tornadoweb/tornado/issues/3113#issuecomment-1041019287

I think it would be better to use this AI_NUMERICHOST | AI_NUMERICSERV optimization from trio everywhere instead

----------

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


More information about the Python-bugs-list mailing list