diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-06-01 19:38:55 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-01 19:38:55 (GMT) |
| commit | 225c3cd6c1b2e768f1c879c271b48ec27a99cb5b (patch) | |
| tree | c161ec6c2803854029c2e21966e33e422e5fbd44 /Python/pymath.c | |
| parent | 99d0f51e61b6ab3d58c034c007b5d9d6156fdf3b (diff) | |
| download | cpython-225c3cd6c1b2e768f1c879c271b48ec27a99cb5b.zip cpython-225c3cd6c1b2e768f1c879c271b48ec27a99cb5b.tar.gz cpython-225c3cd6c1b2e768f1c879c271b48ec27a99cb5b.tar.bz2 | |
[3.13] GH-89727: Fix `shutil.rmtree()` recursion error on deep trees (GH-119808) (#119918)
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)
Co-authored-by: Barney Gale <barney.gale@gmail.com>
Diffstat (limited to 'Python/pymath.c')
0 files changed, 0 insertions, 0 deletions
