diff options
| author | Jon Burdo <jon@jonburdo.com> | 2022-12-19 18:59:01 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-19 18:59:01 (GMT) |
| commit | 797edb28c3dd02a5727f0374e937e906a389ab77 (patch) | |
| tree | ee1150ec0127c660ec8074fc9d7ba99241d41e51 /Python/modsupport.c | |
| parent | 702a5bc4637c82dc011e98b84f0cede98eb08dda (diff) | |
| download | cpython-797edb28c3dd02a5727f0374e937e906a389ab77.zip cpython-797edb28c3dd02a5727f0374e937e906a389ab77.tar.gz cpython-797edb28c3dd02a5727f0374e937e906a389ab77.tar.bz2 | |
gh-89727: Fix os.walk RecursionError on deep trees (#99803)
Use a stack to implement os.walk iteratively instead of recursively to
avoid hitting recursion limits on deeply nested trees.
Diffstat (limited to 'Python/modsupport.c')
0 files changed, 0 insertions, 0 deletions
