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

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

/ cpython Public

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

Merged
barneygale merged 1 commit into
python:3.13from
miss-islington:backport-53b1981-3.13
Jun 1, 2024
Merged

[3.13] GH-89727: Fix shutil.rmtree() recursion error on deep trees (GH-119808)#119918
barneygale merged 1 commit into
python:3.13from
miss-islington:backport-53b1981-3.13

Conversation

miss-islington 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)

Co-authored-by: Barney Gale barney.gale@gmail.com

…ythonGH-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>
barneygale merged commit 225c3cd into python:3.13 Jun 1, 2024
miss-islington deleted the backport-53b1981-3.13 branch January 2, 2026 17:06
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.

2 participants


Back | FazBrowse Home | New Git URL