Skip to content

[3.15] gh-142349: Fill gaps in lazy import documentation (GH-162386) - #162811

Merged
pablogsal merged 1 commit into
python:3.15from
pablogsal:backport-162386-to-3.15
Nov 28, 2026
Merged

pablogsal merged 1 commit into
python:3.15from
pablogsal:backport-162386-to-3.15

Conversation

@pablogsal

@pablogsal pablogsal commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Backport #162386 to 3.15. This documents when lazy imports resolve and how to control them at runtime. Argument Clinic regenerated the sysmodule header for 3.15.

(cherry picked from commit 9d66e0c)

Document when lazy imports resolve and how to control them at runtime. Update the AST, bytecode, and API documentation to match.

(cherry picked from commit 9d66e0c)
@read-the-docs-community

Copy link
Copy Markdown

@pablogsal
pablogsal merged commit 30a0b5f into python:3.15 Nov 28, 2026
62 of 66 checks passed
@pablogsal
pablogsal deleted the backport-162386-to-3.15 branch November 28, 2026 15:29
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news topic-lazy-imports

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant