Skip to content

gh-155254: Avoid warning about missing stdlib when using _pth files - #156015

Open
zooba wants to merge 2 commits into
python:mainfrom
zooba:gh-155254
Open

gh-155254: Avoid warning about missing stdlib when using _pth files#156015
zooba wants to merge 2 commits into
python:mainfrom
zooba:gh-155254

Conversation

@zooba

@zooba zooba commented Aug 18, 2026

Copy link
Copy Markdown
Member

@zooba
zooba requested a review from FFY00 as a code owner August 18, 2026 13:27
@zooba zooba added type-bug An unexpected behavior, bug, or error needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Aug 18, 2026

@chris-eibl chris-eibl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Based on the discussion on the issue this lgtm. Since only the second warn triggers in case of the Windows embedded packages, maybe the and not pth can be moved further down, but I trust your and @FFY00's expertise.

Either way, worth to extend the comment wrt pth?

@zooba

zooba commented Aug 18, 2026

Copy link
Copy Markdown
Member Author

Yeah, I updated the comment to show a bit more intent and avoid respecifying the logic.

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #34127253 | 📁 Comparing 191e278 against main (af49df9)

  🔍 Preview build  

2 files changed
± library/sys_path_init.html
± whatsnew/changelog.html

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

Labels

awaiting merge needs backport to 3.15 pre-release feature fixes, bugs and security fixes type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants