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-136437: Document someos.path functions as requiring pos-only#136812

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
sobolevn wants to merge1 commit intopython:main
base:main
Choose a base branch
Loading
fromsobolevn:issue-136437

Conversation

sobolevn
Copy link
Member

@sobolevnsobolevn commentedJul 19, 2025
edited
Loading

@chirizxc reached out to me and asked to take this issue over. So, here's mine PR :)

I scanned through allos.path functions that do use different pos-or-keyword parameter name from the documented one. And added/ to them. See#136437 (comment)

I plan that we can backport this.

The second PR that I am working on is to actually make these functions pos-only in 3.15


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

chirizxc reacted with thumbs up emoji
Copy link
Member

@AA-TurnerAA-Turner left a comment

Choose a reason for hiding this comment

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

I think this is a net improvement -- I still have slight reservations about the trailing '/', but we've discussed a couple of mitigations (e.g. in JS). Happy to support this.

A

sobolevn reacted with heart emoji
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@AA-TurnerAA-TurnerAA-Turner approved these changes

@barneygalebarneygaleAwaiting requested review from barneygale

@serhiy-storchakaserhiy-storchakaAwaiting requested review from serhiy-storchaka

Assignees
No one assigned
Labels
awaiting mergedocsDocumentation in the Doc dirneeds backport to 3.13bugs and security fixesneeds backport to 3.14bugs and security fixesskip news
Projects
Status: Todo
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@sobolevn@AA-Turner

[8]ページ先頭

©2009-2025 Movatter.jp