-
-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
gh-124309: fix staggered race on eager tasks #124847
base: main
Are you sure you want to change the base?
gh-124309: fix staggered race on eager tasks #124847
Conversation
Co-Authored-By: Peter Bierma <zintensitydev@gmail.com>
…ing work on child tasks
I'm marking this as |
Hopefully you will test with a range of aiohttp versions -- the previous version of this PR seemed to work on some but not on others. |
Yeah, that's the idea. We might not even need this PR if their new implementation turns out to work perfectly. |
Don't we still need to do something to make eager tasks work? Or does that problem only occur in combination with aiohttp? Presumably there's at least one previous aiohttp version where the current main (or 3.12) branch doesn't work with aiohttp (or I don't understand the issue). |
Our implementation (on main and 3.12) doesn't work with eager task factories, and most aiohttp versions (apart from the latest, IIUC, because they made their own) rely on our implementation. |
So we definitely have to change something right? |
Yup, I'm just cautious because I don't want to break prior aiohttp versions on accident. |
Co-Authored-By: Peter Bierma zintensitydev@gmail.com