Thanks to visit codestin.com
Credit goes to github.com

Skip to content

GH-127381: pathlib ABCs: remove ReadablePath.exists() and is_*() #130520

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 1, 2025

Conversation

barneygale
Copy link
Contributor

@barneygale barneygale commented Feb 24, 2025

Remove ReadablePath methods duplicated by ReadablePath.info. To be specific, we remove exists(), is_dir(), is_file() and is_symlink().

…_*()`

Remove `ReadablePath` methods duplicated by `ReadablePath.info`. To be
specific, we remove `exists()`, `is_dir()`, `is_file()` and `is_symlink()`.
@barneygale barneygale marked this pull request as ready for review February 26, 2025 21:34
@barneygale barneygale merged commit a55dffd into python:main Mar 1, 2025
40 checks passed
seehwan pushed a commit to seehwan/cpython that referenced this pull request Apr 16, 2025
…_*()` (python#130520)

Remove `ReadablePath` methods duplicated by `ReadablePath.info`. To be
specific, we remove `exists()`, `is_dir()`, `is_file()` and `is_symlink()`.

The public `Path` class retains these methods.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant