-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
Cancellation leaks out of asyncio.TaskGroup on 3.12 when using eager tasks #128588
Labels
Comments
graingert
added
type-bug
An unexpected behavior, bug, or error
3.12
bugs and security fixes
labels
Jan 7, 2025
I think related to #116720 but a lot easier to trigger by accident. |
This seems fixed on main. Perhaps we missed backporting a fix for it? |
I believe it was intentionally not backported because the conditions to trigger it were thought to be a bit complex and it needed a change to how Task.cancel worked (re unsetting must_cancel) |
cc @gvanrossum |
graingert
added a commit
to graingert/cpython
that referenced
this issue
Jan 20, 2025
…t missed and introduced incorrect cancellations
graingert
added a commit
to graingert/cpython
that referenced
this issue
Jan 20, 2025
…t missed and introduced incorrect cancellations
kumaraditya303
added a commit
that referenced
this issue
Jan 20, 2025
… introduced incorrect cancellations (#129063) Co-authored-by: Kumar Aditya <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jan 20, 2025
…t missed and introduced incorrect cancellations (pythonGH-129063) (cherry picked from commit ed6934e) Co-authored-by: Thomas Grainger <[email protected]> Co-authored-by: Kumar Aditya <[email protected]>
kumaraditya303
added a commit
that referenced
this issue
Jan 20, 2025
…sed and introduced incorrect cancellations (GH-129063) (#129089) gh-128588: gh-128550: remove eager tasks optimization that missed and introduced incorrect cancellations (GH-129063) (cherry picked from commit ed6934e) Co-authored-by: Thomas Grainger <[email protected]> Co-authored-by: Kumar Aditya <[email protected]>
graingert
added a commit
to graingert/cpython
that referenced
this issue
Jan 20, 2025
…t missed and introduced incorrect cancellations (python#129063) Co-authored-by: Kumar Aditya <[email protected]>
kumaraditya303
added a commit
that referenced
this issue
Jan 21, 2025
…er tasks optimization that missed and introduced incorrect cancellations (#129063) (#128586) Co-authored-by: Kumar Aditya <[email protected]>
srinivasreddy
pushed a commit
to srinivasreddy/cpython
that referenced
this issue
Jan 21, 2025
…t missed and introduced incorrect cancellations (python#129063) Co-authored-by: Kumar Aditya <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug report
Bug description:
results in:
CPython versions tested on:
3.12
Operating systems tested on:
Linux
Linked PRs
The text was updated successfully, but these errors were encountered: