Skip to content
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
[3.12] GH-89727: Partially fix shutil.rmtree() recursion error on d…
…eep trees (GH-119634)

Make `shutil._rmtree_unsafe()` call `os.walk()`, which is implemented
without recursion.

`shutil._rmtree_safe_fd()` is not affected and can still raise a recursion
error.

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>.
(cherry picked from commit a150679)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
  • Loading branch information
barneygale committed May 29, 2024
commit 4ec8d549006e3804708efaa81a0af1f567730a34

No changes to show.

This commit has no content.