Skip to content
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

GH-89727: Partially fix shutil.rmtree() recursion error on deep trees #119634

Merged
merged 7 commits into from
May 29, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update Misc/NEWS.d/next/Library/2024-05-29-20-42-17.gh-issue-89727.5l…
…PTTW.rst

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
  • Loading branch information
barneygale and JelleZijlstra authored May 29, 2024

Unverified

This user has not yet uploaded their public signing key.
commit 27ee6f0b9e1d519074dd0a3c192f8b2decb67713
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Partially fix issue with :func:`shutil.rmtree` where a :exc:`RecursionError`
is raised on deep directory trees. A recursion error is no longer raised
when :data:`rmtree.avoids_symlink_attacks` is false.
when :data:`!rmtree.avoids_symlink_attacks` is false.