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

[WIP] GH-89727: Fixshutil.rmtree() recursion error on deep trees.#103164

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
barneygale wants to merge27 commits intopython:mainfrombarneygale:pathlib-fwalk

Conversation

@barneygale
Copy link
Contributor

@barneygalebarneygale commentedApr 1, 2023
edited
Loading

Add afollow_junctions argument topathlib.Path.walk(). When set to false, directory junctions are treated as files.

Add an_fwalk() method topathlib.Path, similar toos.fwalk() except in its treatment of symlinks.

(This method could be made public in future if desired).

Implementshutil.rmtree() usingpathlib.Path.walk() or_fwalk().

Add a `follow_junctions` argument to `pathlib.Path.walk()`. When set tofalse, directory junctions are treated as files.Add an `fwalk()` method to `pathlib.Path`, analogous to `os.fwalk()`.Implement `shutil.rmtree()` using `pathlib.Path.walk()` and `fwalk()`.
@barneygale
Copy link
ContributorAuthor

Withdrawing this PR - it's out of date, and I'd like to keep thePath API stable untilPathBase is made public (see#110109)

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@arhadthedevarhadthedevarhadthedev left review comments

@giampaologiampaoloAwaiting requested review from giampaologiampaolo will be requested when the pull request is marked ready for reviewgiampaolo is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@barneygale@arhadthedev@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp