Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Closed

Conversation

@Muawiya-contact
Copy link

@Muawiya-contactMuawiya-contact commentedJan 30, 2026
edited by github-actionsbot
Loading

Description

This PR fixes the ambiguity in thesite module documentation regarding._pth files. As noted in issuegh-144329, the current text does not explicitly state that the underscore-prefixed.pth files are a feature exclusive to the Windows embeddable distribution.

Changes

  • Added a.. note:: block toDoc/library/site.rst explaining the Windows-only nature of._pth files.
  • Added a reference to thefinding_modules section for further technical context on isolated environments.

Verification

I have built the documentation locally usingmake 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/

htgoebel reacted with thumbs down emoji
@python-cla-bot
Copy link

python-cla-botbot commentedJan 30, 2026
edited
Loading

All commit authors signed the Contributor License Agreement.

CLA signed

@htgoebel
Copy link

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
Copy link
Member

Yeah, this is blatantly incorrect. The code for handling._pth is not OS-specific, so it'll work on all platforms.

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 reacted with thumbs up emoji

@Muawiya-contact
Copy link
Author

Acknowledged, leaving this PR as-is. Thank you for the feedback.

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

Reviewers

@FFY00FFY00Awaiting requested review from FFY00FFY00 is a code owner

Assignees

No one assigned

Labels

awaiting reviewdocsDocumentation in the Doc dirskip news

Projects

Status: Todo

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@Muawiya-contact@htgoebel@zooba@StanFromIreland

[8]ページ先頭

©2009-2026 Movatter.jp