FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.12] GH-89727: Fix `shutil.rmtree()` recursion error on deep trees (GH-119808) by barneygale · Pull Request #119919 · python/cpython · GitHub

/ cpython Public

[3.12] GH-89727: Fix shutil.rmtree() recursion error on deep trees (GH-119808) - #119919

Merged
barneygale merged 2 commits into
python:3.12from
barneygale:backport-53b1981-3.12
Jun 1, 2024
Merged

[3.12] GH-89727: Fix shutil.rmtree() recursion error on deep trees (GH-119808)#119919
barneygale merged 2 commits into
python:3.12from
barneygale:backport-53b1981-3.12

Conversation

barneygale commented Jun 1, 2024
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

Implement shutil._rmtree_safe_fd() using a list as a stack to avoid emitting recursion errors on deeply nested trees.

shutil._rmtree_unsafe() was fixed in a150679.

(cherry picked from commit 53b1981)

…ython#119808)

Implement `shutil._rmtree_safe_fd()` using a list as a stack to avoid emitting recursion errors on deeply nested trees.

`shutil._rmtree_unsafe()` was fixed in a150679.

(cherry picked from commit 53b1981)
…trees (pythonGH-119808)

Implement `shutil._rmtree_safe_fd()` using a list as a stack to avoid emitting recursion errors on deeply nested trees.

`shutil._rmtree_unsafe()` was fixed in a150679..
(cherry picked from commit 53b1981)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL