Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34k
gh-144329: Clarify that ._pth files are Windows-only in site module documentation#144335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
python-cla-botbot commentedJan 30, 2026 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
htgoebel commentedJan 30, 2026
This is AI garbage: 6 commits for adding a simple "Windows only". And adding a complete note-paragraph, where a simple "Windows only" would suffice. |
zooba commentedJan 30, 2026
Yeah, this is blatantly incorrect. The code for handling Let's give the PR creator a chance to admit they're human and close this themselves. If it's a fire-and-forget AI driven PR, then we won't feel so bad about just blocking the user for good. |
Muawiya-contact commentedJan 30, 2026
Acknowledged, leaving this PR as-is. Thank you for the feedback. |
Uh oh!
There was an error while loading.Please reload this page.
Description
This PR fixes the ambiguity in the
sitemodule documentation regarding._pthfiles. As noted in issuegh-144329, the current text does not explicitly state that the underscore-prefixed.pthfiles are a feature exclusive to the Windows embeddable distribution.Changes
.. note::block toDoc/library/site.rstexplaining the Windows-only nature of._pthfiles.finding_modulessection for further technical context on isolated environments.Verification
I have built the documentation locally using
make html(on Windows viamake.bat html) and confirmed the new note renders correctly and the cross-reference link is functional.📚 Documentation preview 📚:https://cpython-previews--144335.org.readthedocs.build/