diff options
| author | Barney Gale <barney.gale@gmail.com> | 2024-06-01 19:39:35 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-01 19:39:35 (GMT) |
| commit | feb7870b46feb4b758203a27deab7d674f19923b (patch) | |
| tree | 5fafe204e26eb28048b222b1da4e57085055bf55 /Python/pylifecycle.c | |
| parent | 60393f5f14c7741930de73c46475c9b5c1809dc3 (diff) | |
| download | cpython-feb7870b46feb4b758203a27deab7d674f19923b.zip cpython-feb7870b46feb4b758203a27deab7d674f19923b.tar.gz cpython-feb7870b46feb4b758203a27deab7d674f19923b.tar.bz2 | |
[3.12] GH-89727: Fix `shutil.rmtree()` recursion error on deep trees (GH-119808) (#119919)
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 a150679f90.
(cherry picked from commit 53b1981fb0cda6c656069e992f172fc6aad7c99c)
Diffstat (limited to 'Python/pylifecycle.c')
0 files changed, 0 insertions, 0 deletions
