-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.13] gh-124309: Modernize the staggered_race
implementation to support eager task factories (GH-124390)
#124573
Conversation
…port eager task factories (pythonGH-124390) (cherry picked from commit de929f3) Co-authored-by: Peter Bierma <zintensitydev@gmail.com> Co-authored-by: Thomas Grainger <tagrain@gmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Carol Willing <carolcode@willingconsulting.com> Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Does this need to go into 3.13.0, or can it wait until 3.13.1? |
would be good to have in 3.13.0 as loop param is now added back. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, two optional nits.
I'll leave it to @Yhg1s to decide whether to include this in RC3.
Lib/asyncio/base_events.py
Outdated
happy_eyeballs_delay, loop=self) | ||
happy_eyeballs_delay) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to change this now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added it back but I don't think it's necessary, loop would be the running loop anyways at this point.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this in a state to go in now? (The branch needs updating, and I don't know if there's been any other work in main that should be reflected in this change.)
This original PR was reverted, and this backport is no longer needed |
(cherry picked from commit de929f3)
Co-authored-by: Peter Bierma zintensitydev@gmail.com
Co-authored-by: Thomas Grainger tagrain@gmail.com
Co-authored-by: Jelle Zijlstra jelle.zijlstra@gmail.com
Co-authored-by: Carol Willing carolcode@willingconsulting.com
Co-authored-by: Kumar Aditya kumaraditya@python.org