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-127381: pathlib ABCs: removePathBase.stat()#128334

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
barneygale merged 2 commits intopython:mainfrombarneygale:gh-127381-stat
Dec 29, 2024

Conversation

@barneygale
Copy link
Contributor

@barneygalebarneygale commentedDec 29, 2024
edited
Loading

Remove thePathBase.stat() method. Its use of theos.stat_result API, with its 10 mandatory fields and low-level types, makes it an awkward fit for virtual filesystems.

We'll look to add aPathBase.info attribute later - seeGH-125413.

No user-facing changes because the ABCs are still private.

Remove the `PathBase.stat()` method. Its use of the `os.stat_result` API,with its 10 mandatory fields and low-level types, makes it a poor fit forvirtual filesystems.We'll look to add a `PathBase.info` attribute later - seepythonGH-125413.
@barneygalebarneygaleenabled auto-merge (squash)December 29, 2024 20:51
@barneygalebarneygale merged commitc78729f intopython:mainDec 29, 2024
36 checks passed
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull requestJan 8, 2025
Remove the `PathBase.stat()` method. Its use of the `os.stat_result` API,with its 10 mandatory fields and low-level types, makes it an awkward fitfor virtual filesystems.We'll look to add a `PathBase.info` attribute later - seepythonGH-125413.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@barneygale

[8]ページ先頭

©2009-2026 Movatter.jp