gh-107526: Revert "gh-100357: Convert several functions in bltinsmodule to AC"#107542
gh-107526: Revert "gh-100357: Convert several functions in bltinsmodule to AC"#107542JelleZijlstra merged 6 commits intopython:mainfrom
Conversation
…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.
This should use _PyEval_GetFrameLocals (I think that's what's causing the test failures; maybe there's similar issues in dir() and locals()).
|
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. |
Uh oh!
There was an error while loading. Please reload this page.