mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
[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 commite0a41a5dd1
. * Revert "gh-124309: Modernize the `staggered_race` implementation to support eager task factories (GH-124390)" This reverts commitde929f353c
. (cherry picked from commit133e929a79
) Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
This commit is contained in:
parent
ffc6a10149
commit
3b5bc8d228
5 changed files with 64 additions and 123 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue