SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

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.
B
Barney Gale committed
53b1981fb0cda6c656069e992f172fc6aad7c99c
Parent: 63111bf
Committed by GitHub <noreply@github.com> on 6/1/2024, 6:49:12 PM