-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-132775: Unrevert "Add _PyCode_VerifyStateless()" #133528
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-132775: Unrevert "Add _PyCode_VerifyStateless()" #133528
Conversation
…tateless() (pythongh-133221)" (python#133497)" This reverts commit 3c73cf5.
This reverts commit b943bb0.
!buildbot android |
🤖 New build scheduled with the buildbot fleet by @ericsnowcurrently for commit bcc081b 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F133528%2Fmerge The command will test the builders whose names match following regular expression: The builders matched are:
|
Include/internal/pycore_code.h
Outdated
* We consider stateless code to be "portable" if it does not return any | ||
* any object that holds a reference to any of the code's locals. Thus |
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.
typo: an extra "any".
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.
fixed
This reverts commit 3c73cf5 (gh-133497), which itself reverted the original commit d270bb5 (gh-133221).
We reverted the original change due to failing android tests. The checks in
_PyCode_CheckNoInternalState()
were too strict, so we've relaxed them.