diff options
author | Barney Gale <barney.gale@gmail.com> | 2024-06-01 18:49:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-01 18:49:12 (GMT) |
commit | 53b1981fb0cda6c656069e992f172fc6aad7c99c (patch) | |
tree | eb035cc156dabbbcd5cd879e3cb4c808716e4288 /Python/bltinmodule.c | |
parent | 63111bfcf021db29ce6ef9ffa4117ffb7a2cb868 (diff) | |
download | cpython-53b1981fb0cda6c656069e992f172fc6aad7c99c.zip cpython-53b1981fb0cda6c656069e992f172fc6aad7c99c.tar.gz cpython-53b1981fb0cda6c656069e992f172fc6aad7c99c.tar.bz2 |
GH-89727: Fix `shutil.rmtree()` recursion error on deep trees (#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 a150679f90.
Diffstat (limited to 'Python/bltinmodule.c')
0 files changed, 0 insertions, 0 deletions