Skip to content

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

Merged
zooba merged 2 commits into
python:mainfrom
zooba:gh-155254
Aug 21, 2026
Merged

gh-155254: Avoid warning about missing stdlib when using _pth files#156015
zooba merged 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

@zooba
zooba merged commit f8c93d4 into python:main Aug 21, 2026
51 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @zooba for the PR 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Aug 21, 2026

Copy link
Copy Markdown

GH-156182 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 Aug 21, 2026
@zooba
zooba deleted the gh-155254 branch August 21, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants