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-105793: Add follow_symlinks argument topathlib.Path.is_dir() andis_file()#105794

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

Conversation

barneygale
Copy link
Contributor

@barneygalebarneygale commentedJun 14, 2023
edited
Loading

Bringspathlib.Path.is_dir() in line withos.DirEntry.is_dir(), likewiseis_file(), which will be important for implementing generic path walking and globbing.


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

Brings `pathlib.Path.is_dir()` in line with `os.DirEntry.is_dir()`, whichwill be important for implementing generic path walking and globbing.
@barneygalebarneygale changed the titleGH-105793: Add follow_symlinks argument topathlib.Path.is_dir()GH-105793: Add follow_symlinks argument topathlib.Path.is_dir() andis_file()Jun 15, 2023
@barneygale
Copy link
ContributorAuthor

@zooba would you be up for reviewing this? It's similar to#102616, and necessary for apathlib.AbstractPath ortarfile.TarPath to support globbing. Thank you, no worries if not!

Copy link
Member

@zoobazooba left a comment

Choose a reason for hiding this comment

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

LGTM

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

@zoobazoobazooba approved these changes

@EpicWinkEpicWinkEpicWink approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@barneygale@zooba@EpicWink@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp