GeezerVison is showing github.com — [3.15] gh-142349: Simplify lazy import resolution (GH-158282) by pablogsal · Pull Request #158569 · python/cpython
Conversation
pablogsal
commented
Oct 1, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Backport #158282 (a6a63b6) to 3.15 so lazy import fixes use the same resolution code as main. The 3.15 conflicts are resolved, the interpreter files are regenerated, and the ABI snapshot is updated for the removed private helpers and the changed return type of _PyDict_LoadGlobalStackRef.
The debug build passes test_lazy_import, test_import, test_importlib, test_module, test_dict, test_capi, and test_sys (3,268 tests).
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
)
Backport the shared lazy import resolver to Python 3.15, regenerate
interpreter files, and update the ABI snapshot.
Co-authored-by: Petr Viktorin <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
This was referenced Oct 1, 2026
pablogsal
requested review from
DinoV,
FFY00,
Yhg1s,
ZeroIntensity,
brettcannon,
encukou,
ericsnowcurrently,
kumaraditya303,
markshannon,
methane,
ncoghlan and
warsaw
as code owners
October 1, 2026 16:25
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Kronuz
added a commit
to Kronuz/cpython
that referenced
this pull request
Oct 5, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|