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

gh-142349: Update lazy imports C API and sys.flags documentation by brittanyrey · Pull Request #158966 · python/cpython · GitHub

Repository navigation

gh-142349: Update lazy imports C API and sys.flags documentation - #158966

Merged
DinoV merged 1 commit into
python:mainfrom
brittanyrey:b-lazy-imports-docs
Oct 21, 2026
Merged

DinoV merged 1 commit into
python:mainfrom
brittanyrey:b-lazy-imports-docs

Conversation

brittanyrey commented Oct 7, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

Replace the PyImport_SetLazyImportsMode() description, which is a duplicate of from PyImport_ImportModuleAttrString(), and document the sys.flags.lazy_imports attribute.

Replace the PyImport_SetLazyImportsMode() description, which was copied
from PyImport_ImportModuleAttrString(), and document the
sys.flags.lazy_imports attribute.

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #34994194 | 📁 Comparing 6fc7d09 against main (1610807)

  🔍 Preview build  

2 files changed
± c-api/import.html
± library/sys.html

Copy link
Copy Markdown
Contributor Author

Just came across a related PR: #155281

brittanyrey added the needs backport to 3.15 bugs and security fixes label Oct 13, 2026
brittanyrey requested a review from DinoV October 13, 2026 15:29

DinoV left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM!

DinoV merged commit 867d16e into python:main Oct 21, 2026
39 of 45 checks passed
github-project-automation Bot moved this from Todo to Done in Docs PRs Oct 21, 2026

Copy link
Copy Markdown

Thanks @brittanyrey for the PR, and @DinoV for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖

bedevere-app Bot commented Oct 21, 2026

Copy link
Copy Markdown

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

bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Oct 21, 2026
brittanyrey deleted the b-lazy-imports-docs branch October 22, 2026 16:02
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

docs Documentation in the Doc dir skip news type-feature A feature request or enhancement

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL