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-140490: Document versionchanged for PurePath.stem in Python 3.14#144450

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

Open
kovan wants to merge1 commit intopython:main
base:main
Choose a base branch
Loading
fromkovan:gh-140490-pathlib-stem-versionchanged

Conversation

@kovan
Copy link

@kovankovan commentedFeb 3, 2026
edited by github-actionsbot
Loading

Summary

  • Addsversionchanged:: 3.14 note toPurePath.stem attribute documentation
  • Explains thatstem behavior changed because a single dot is now considered a valid suffix
  • Example:PurePosixPath('my/file.').stem previously returned'file.', now returns'file'

Thesuffix,suffixes, andwith_suffix docs already have this note, butstem was missing it.

Test plan

  • make check passed in Doc/ directory
  • Documentation builds correctly

🤖 Generated withClaude Code


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

@bedevere-app
Copy link

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phraseI have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@python-cla-bot
Copy link

python-cla-botbot commentedFeb 4, 2026
edited
Loading

All commit authors signed the Contributor License Agreement.

CLA signed

…3.14Add versionchanged note explaining that the behavior of stem changedin Python 3.14 because a single dot is now considered a valid suffix.Previously 'file.'.stem returned 'file.', now it returns 'file'.Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@kovankovanforce-pushed thegh-140490-pathlib-stem-versionchanged branch fromaebc43c to987c720CompareFebruary 4, 2026 00:09
@kovan
Copy link
Author

I have made the requested changes; please review again

@bedevere-app
Copy link

Thanks for making the requested changes!

@picnixz: please review the changes made to this pull request.

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

Reviewers

@picnixzpicnixzpicnixz approved these changes

@barneygalebarneygaleAwaiting requested review from barneygalebarneygale is a code owner

Assignees

No one assigned

Labels

awaiting mergedocsDocumentation in the Doc dirskip news

Projects

Status: Todo

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@kovan@picnixz

[8]ページ先頭

©2009-2026 Movatter.jp