-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-135450: Remove assertion in _PyCode_CheckNoExternalState
#135466
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-135450: Remove assertion in _PyCode_CheckNoExternalState
#135466
Conversation
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
@ZeroIntensity, FYI, I held off on merging this as I figured you could do it. 😄 |
@vstinner has control over my green button at the moment 😄. I think he wants me to merge some more trivial changes to help me adjust before merging things like this. |
Thanks @ZeroIntensity for the PR, and @ericsnowcurrently for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
…ythongh-135466) The assertion reflected a misunderstanding of situations where "hidden" variables might exist, namely generator expressions and comprehensions. (cherry picked from commit 15f2bac) Co-authored-by: Peter Bierma <[email protected]>
GH-135694 is a backport of this pull request to the 3.14 branch. |
…h-135694) The assertion reflected a misunderstanding of situations where "hidden" variables might exist, namely generator expressions and comprehensions. (cherry picked from commit 15f2bac, AKA gh-135466) Co-authored-by: Peter Bierma <[email protected]>
skip news
because_interpreters
isn't public.