diff options
| author | Stanislav Zmiev <szmiev2000@gmail.com> | 2023-03-22 14:45:25 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-22 14:45:25 (GMT) |
| commit | 713df2c53489ce8012d0ede10b70950e6b0d8372 (patch) | |
| tree | 8ef14b4352a308817169ae77533537b958aedef4 /Python/generated_cases.c.h | |
| parent | af9c34f6ef8dceb21871206eb3e4d350f6e3d3dc (diff) | |
| download | cpython-713df2c53489ce8012d0ede10b70950e6b0d8372.zip cpython-713df2c53489ce8012d0ede10b70950e6b0d8372.tar.gz cpython-713df2c53489ce8012d0ede10b70950e6b0d8372.tar.bz2 | |
GH-89727: Fix pathlib.Path.walk RecursionError on deep trees (GH-100282)
Use a stack to implement `pathlib.Path.walk()` iteratively instead of recursively to avoid hitting recursion limits on deeply nested trees.
Co-authored-by: Barney Gale <barney.gale@gmail.com>
Co-authored-by: Brett Cannon <brett@python.org>
Diffstat (limited to 'Python/generated_cases.c.h')
0 files changed, 0 insertions, 0 deletions
