-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
[3.12] gh-119897: Revert buggy optimization which was removed in 3.13 #120467
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
Conversation
…he generator is closed (python#118451)" This reverts commit 238efbe.
…GH-111069) (python#115818)" This reverts commit eb4774d.
Thanks for doing this! |
Is it worth adding a test for issue described in #119897? |
Does this need a news item? |
I'll add that in a separate PR to main. |
No, none of this stuff was in the news. |
Actually I'll add it here and then another PR for main and 3.13. |
…20658) (cherry picked from commit 73dc1c6) Co-authored-by: Irit Katriel <[email protected]> pythongh-120467: Add test for lambda generator invocation
) pythongh-120467: Add test for lambda generator invocation
) pythongh-120467: Add test for lambda generator invocation
) pythongh-120467: Add test for lambda generator invocation
Fixes #120467.
Reverts #111069 and the followup #111459.
python: Objects/genobject.c:400: gen_close: Assertion
exception_handler_depth > 0' failed.` #119897