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

bpo-24132: refactor pathlib to allow easy subclassing#6248

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
ypsah wants to merge1 commit intopython:masterfromypsah:master

Conversation

@ypsah
Copy link

@ypsahypsah commentedMar 26, 2018
edited
Loading

PurePath andPath are now just variables pointing at the
corresponding classes (resp. PurePosixPath or PureWindowsPath, and
PosixPath or WindowsPath) depending on the platform running the code.

https://bugs.python.org/issue24132

@the-knights-who-say-ni

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed thePSF contributor agreement (CLA).

Unfortunately our records indicate you have not signed the CLA. For legal reasons we need you to sign this before we can look at your contribution. Please followthe steps outlined in the CPython devguide to rectify this issue.

Thanks again to your contribution and we look forward to looking at it!

`PurePath` and `Path` are now just variables pointing at thecorresponding classes (resp. PurePosixPath or PureWindowsPath, andPosixPath or WindowsPath) depending on the platform running the code.
@brettcannon
Copy link
Member

Thanks for the PR, but closing as the CLA has not been signed within the last month. If you do decide to sign the CLA we can re-open this PR.

class_PathParents(Sequence):
"""This object provides sesquence-like access to the logical ancestors
of a path. Don't try to construt it yourself."""
___slots__= ('pathcls','_drv','_root','_parts')
Copy link
Contributor

Choose a reason for hiding this comment

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

probably a typo but you have 3 leading_ ..

@projetmbcprojetmbcmannequin mentioned this pull requestJun 21, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@gstgstgst left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@ypsah@the-knights-who-say-ni@brettcannon@gst@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp