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-101100: Silence Sphinx warnings whenntpath orposixpath are referenced#112833

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

Merged
AlexWaygood merged 1 commit intopython:mainfromAlexWaygood:os-path-nitpicks
Dec 7, 2023

Conversation

AlexWaygood
Copy link
Member

@AlexWaygoodAlexWaygood commentedDec 7, 2023
edited by github-actionsbot
Loading

ntpath andposixpath are undocumented modules, and I think they should stay undocumented. The vast majority of users won't need to worry about them; they're implementation details ofos.path.

This PR silences Sphinx warnings when these modules are referenced (because Sphinx cannot resolve the references) by adding them to thenitpick_ignore list inDoc/conf.py. Doing this allows us to removelibrary/os.path.rst from the.nitignore list of files.


📚 Documentation preview 📚:https://cpython-previews--112833.org.readthedocs.build/

Copy link
Contributor

@barneygalebarneygale left a comment

Choose a reason for hiding this comment

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

Lovely stuff!

@barneygale
Copy link
Contributor

You're going to hit a conflict on backport becausePurePath.pathmod is new in 3.13. Enjoy! :]

AlexWaygood reacted with eyes emoji

@AlexWaygoodAlexWaygood merged commit2c3906b intopython:mainDec 7, 2023
@AlexWaygoodAlexWaygood deleted the os-path-nitpicks branchDecember 7, 2023 20:57
@miss-islington-app
Copy link

Thanks@AlexWaygood for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Sorry,@AlexWaygood, I could not cleanly backport this to3.12 due to a conflict.
Please backport usingcherry_picker on command line.

cherry_picker 2c3906bc4b7ee62bf9d122a6fdd98b6ae330643f 3.12
AlexWaygood reacted with thumbs down emoji

@miss-islington-app
Copy link

Sorry,@AlexWaygood, I could not cleanly backport this to3.11 due to a conflict.
Please backport usingcherry_picker on command line.

cherry_picker 2c3906bc4b7ee62bf9d122a6fdd98b6ae330643f 3.11
AlexWaygood reacted with thumbs down emoji

@bedevere-app
Copy link

GH-112857 is a backport of this pull request to the3.12 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.12only security fixes labelDec 7, 2023
AlexWaygood added a commit to AlexWaygood/cpython that referenced this pull requestDec 7, 2023
@bedevere-app
Copy link

GH-112858 is a backport of this pull request to the3.11 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.11only security fixes labelDec 7, 2023
AlexWaygood added a commit to AlexWaygood/cpython that referenced this pull requestDec 7, 2023
AlexWaygood added a commit that referenced this pull requestDec 7, 2023
AlexWaygood added a commit that referenced this pull requestDec 7, 2023
aisk pushed a commit to aisk/cpython that referenced this pull requestFeb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull requestSep 2, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@barneygalebarneygalebarneygale approved these changes

@hugovkhugovkhugovk approved these changes

Assignees

@AlexWaygoodAlexWaygood

Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@AlexWaygood@barneygale@hugovk

[8]ページ先頭

©2009-2025 Movatter.jp