Skip to content

gh-142349: Update lazy import comments in whatsnew - #158651

Merged
nedbat merged 2 commits into
python:mainfrom
Sacul0457:update-lazy-imports-docs
Oct 3, 2026
Merged

nedbat merged 2 commits into
python:mainfrom
Sacul0457:update-lazy-imports-docs

Conversation

@Sacul0457

@Sacul0457 Sacul0457 commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

The comment # json loads here can be misleading where people might think it refers to calling json.loads and not loading the module. (Initial Comment)
I've also updated the other comments so as avoid confusion between loaded and fully imported.

@Sacul0457
Sacul0457 requested a review from AA-Turner as a code owner October 3, 2026 14:51
@bedevere-app bedevere-app Bot added the type-feature A feature request or enhancement label Oct 3, 2026
@bedevere-app bedevere-app Bot added awaiting review docs Documentation in the Doc dir skip news labels Oct 3, 2026
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #34917246 | 📁 Comparing 7fe3744 against main (b42fdf6)

  🔍 Preview build  

1 file changed
± whatsnew/3.15.html

@nedbat
nedbat merged commit 9a15440 into python:main Oct 3, 2026
39 of 45 checks passed
@nedbat nedbat added the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Oct 3, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @Sacul0457 for the PR, and @nedbat for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@bedevere-app

bedevere-app Bot commented Oct 3, 2026

Copy link
Copy Markdown

GH-158652 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Oct 3, 2026
hugovk pushed a commit that referenced this pull request Oct 3, 2026
…#158652)

Co-authored-by: Sacul <183588943+Sacul0457@users.noreply.github.com>
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 issue skip news type-feature A feature request or enhancement

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants