[3.12] gh-124309: Revert eager task factory fix to prevent breaking downstream (GH-124810) (#124817)

gh-124309: Revert eager task factory fix to prevent breaking downstream (GH-124810)

* Revert "GH-124639: add back loop param to staggered_race (GH-124700)"

This reverts commit e0a41a5dd1.

* Revert "gh-124309: Modernize the `staggered_race` implementation to support eager task factories (GH-124390)"

This reverts commit de929f353c.
(cherry picked from commit 133e929a79)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
This commit is contained in:
Miss Islington (bot) 2024-10-01 03:55:03 +02:00 committed by GitHub
parent ffc6a10149
commit 3b5bc8d228
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 64 additions and 123 deletions

View file

@ -1110,7 +1110,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]