diff options
author | Barney Gale <barney.gale@gmail.com> | 2024-05-29 20:11:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-29 20:11:30 (GMT) |
commit | a150679f90c6e3f017bd75cac3b8f727063cc4aa (patch) | |
tree | 17d152ca472436d050151412711e0981dd2a6c05 /Python/instruction_sequence.c | |
parent | c22323cd1c200ca1b22c47af95f67c4b2d661fe7 (diff) | |
download | cpython-a150679f90c6e3f017bd75cac3b8f727063cc4aa.zip cpython-a150679f90c6e3f017bd75cac3b8f727063cc4aa.tar.gz cpython-a150679f90c6e3f017bd75cac3b8f727063cc4aa.tar.bz2 |
GH-89727: Partially fix `shutil.rmtree()` recursion error on deep trees (#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>
Diffstat (limited to 'Python/instruction_sequence.c')
0 files changed, 0 insertions, 0 deletions