From 35f8f9c50d512d58944f04705eae736ab3b991ae Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 10 Oct 2024 10:58:32 -0500 Subject: [PATCH] fix merge --- aiohttp/connector.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/aiohttp/connector.py b/aiohttp/connector.py index 2833d0905c..163c0c57cb 100644 --- a/aiohttp/connector.py +++ b/aiohttp/connector.py @@ -938,16 +938,7 @@ async def _resolve_host( # the underlying lookup or else the cancel event will get broadcast to # all the waiters across all connections. # - loop = asyncio.get_running_loop() coro = self._resolve_host_with_throttle(key, host, port, futures, traces) - # - # If there is no resolution in progress, we need to start one. - # - # In this case we need to create a task to ensure that we can shield - # the task from cancellation as cancelling this lookup should not cancel - # the underlying lookup or else the cancel event will get broadcast to - # all the waiters across all connections. - # loop = asyncio.get_running_loop() if sys.version_info >= (3, 12): # Optimization for Python 3.12, try to send immediately