Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-131670: Fix crash inanext() when__anext__ is sync and raises#131682
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
picnixz left a comment
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.
One suggestion otherwise LGTM.
Misc/NEWS.d/next/Core_and_Builtins/2025-03-24-19-38-53.gh-issue-131670.IffOZj.rst OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
sobolevn commentedMar 24, 2025
This crash happens down to 3.11 :( |
929afd1 intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
…raises (pythonGH-131682)(cherry picked from commit929afd1)Co-authored-by: sobolevn <mail@sobolevn.me>Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
GH-131686 is a backport of this pull request to the3.13 branch. |
…raises (pythonGH-131682)(cherry picked from commit929afd1)Co-authored-by: sobolevn <mail@sobolevn.me>Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
GH-131687 is a backport of this pull request to the3.12 branch. |
…raises (python#131682)Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Uh oh!
There was an error while loading.Please reload this page.
anext(A(), default)crashes whenStopAsyncIterationis raised by a synchronous__anext__#131670