diff options
author | Barney Gale <barney.gale@gmail.com> | 2024-05-29 20:53:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-29 20:53:08 (GMT) |
commit | 45587df8d0a129fb580cdd591f514efb09f49305 (patch) | |
tree | 1b1c2809f390050f6b4cb7ec6e6a00299c33db58 /Doc/library | |
parent | e9025039801ed9be48b825e6fff614ef3bc7dafb (diff) | |
download | cpython-45587df8d0a129fb580cdd591f514efb09f49305.zip cpython-45587df8d0a129fb580cdd591f514efb09f49305.tar.gz cpython-45587df8d0a129fb580cdd591f514efb09f49305.tar.bz2 |
[3.12] GH-89727: Partially fix `shutil.rmtree()` recursion error on deep trees (GH-119634) (#119749)
* 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>
(cherry picked from commit a150679f90c6e3f017bd75cac3b8f727063cc4aa)
Diffstat (limited to 'Doc/library')
0 files changed, 0 insertions, 0 deletions