Skip to content

gh-142349: Fill gaps in lazy import documentation - #162386

Open
pablogsal wants to merge 1 commit into
python:mainfrom
pablogsal:docs/lazy-imports-audit-20261121
Open

pablogsal wants to merge 1 commit into
python:mainfrom
pablogsal:docs/lazy-imports-audit-20261121

Conversation

@pablogsal

@pablogsal pablogsal commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

The lazy import docs omit some resolution rules and runtime controls. This adds those details and corrects the AST, bytecode and API help.

PRs #161762 and #161716 cover __lazy_import__.

Related to #142349.

@read-the-docs-community

Copy link
Copy Markdown

@pablogsal
pablogsal requested review from encukou and hugovk November 21, 2026 13:28

Copy link
Copy Markdown
Member Author

CC @hugovk @encukou @AA-Turner

@pablogsal

Copy link
Copy Markdown
Member Author

I don't think there are more gaps in the docs after this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review docs Documentation in the Doc dir needs backport to 3.15 bugs and security fixes skip news topic-lazy-imports type-feature A feature request or enhancement

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant