FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.15] gh-142349: Simplify lazy import resolution (GH-158282) by pablogsal · Pull Request #158569 · python/cpython · GitHub

Repository navigation

[3.15] gh-142349: Simplify lazy import resolution (GH-158282) - #158569

Merged
pablogsal merged 1 commit into
python:3.15from
pablogsal:backport-158282-3.15-land-20261001
Oct 1, 2026
Merged

pablogsal merged 1 commit into
python:3.15from
pablogsal:backport-158282-3.15-land-20261001

Conversation

pablogsal commented Oct 1, 2026 •
edited
Loading

Copy link
Copy Markdown
Member

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).

)

Backport the shared lazy import resolver to Python 3.15, regenerate
interpreter files, and update the ABI snapshot.

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

Copy link
Copy Markdown

pablogsal merged commit 021f634 into python:3.15 Oct 1, 2026
90 of 161 checks passed
pablogsal deleted the backport-158282-3.15-land-20261001 branch October 1, 2026 16:56
Kronuz added a commit to Kronuz/cpython that referenced this pull request Oct 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-blocker skip news type-feature A feature request or enhancement

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL