-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-107526: Revert "gh-100357: Convert several functions in bltinsmodule to AC" #107542
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
sobolevn
commented
Aug 1, 2023
•
edited by bedevere-bot
Loading
edited by bedevere-bot
- Issue: Help text of builtin functions – missing signatures #107526
…n bltinsmodule to AC"
Python/bltinmodule.c
Outdated
if (!PyArg_UnpackTuple(args, "vars", 0, 1, &v)) | ||
return NULL; | ||
if (v == NULL) { | ||
d = Py_XNewRef(PyEval_GetLocals()); |
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.
This should use _PyEval_GetFrameLocals
(I think that's what's causing the test failures; maybe there's similar issues in dir()
and locals()
).
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.
Thanks, I've missed it.
Thanks @sobolevn for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, @sobolevn and @JelleZijlstra, I could not cleanly backport this to |
@sobolevn could you make a 3.12 backport? |
He's working here! ignore it #108187 |
Triage: Is the 3.12 backport still needed? If not, let's remove the label. |
Yes, 3.12 backport is still needed. Working on it. |
…tions in bltinsmodule to AC" (pythonGH-107542)
GH-130371 is a backport of this pull request to the 3.12 branch. |