summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/base_events.py
diff options
context:
space:
mode:
authorPeter Bierma <zintensitydev@gmail.com>2024-10-01 01:37:27 (GMT)
committerGitHub <noreply@github.com>2024-10-01 01:37:27 (GMT)
commit133e929a791d209b578b4822a7a07f4570b3803b (patch)
treede0a1d104737285e3a5709dd7e95dc603413ca11 /Lib/asyncio/base_events.py
parent7bdfabe2d1ec353ecdc75a5aec41cce83e572391 (diff)
downloadcpython-133e929a791d209b578b4822a7a07f4570b3803b.zip
cpython-133e929a791d209b578b4822a7a07f4570b3803b.tar.gz
cpython-133e929a791d209b578b4822a7a07f4570b3803b.tar.bz2
gh-124309: Revert eager task factory fix to prevent breaking downstream (#124810)
* Revert "GH-124639: add back loop param to staggered_race (#124700)" This reverts commit e0a41a5dd12cb6e9277b05abebac5c70be684dd7. * Revert "gh-124309: Modernize the `staggered_race` implementation to support eager task factories (#124390)" This reverts commit de929f353c413459834a2a37b2d9b0240673d874.
Diffstat (limited to 'Lib/asyncio/base_events.py')
-rw-r--r--Lib/asyncio/base_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py
index ffcc017..000647f 100644
--- a/Lib/asyncio/base_events.py
+++ b/Lib/asyncio/base_events.py
@@ -1144,7 +1144,7 @@ class BaseEventLoop(events.AbstractEventLoop):
(functools.partial(self._connect_sock,
exceptions, addrinfo, laddr_infos)
for addrinfo in infos),
- happy_eyeballs_delay)
+ happy_eyeballs_delay, loop=self)
if sock is None:
exceptions = [exc for sub in exceptions for exc in sub]