diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-05-30 03:32:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-30 03:32:14 (GMT) |
commit | aae371bda47d4c758059264f86a3ed6cbaa15a4a (patch) | |
tree | e5ca23af3d571ff48515254b5bbf73ba4d5b6c32 /Python/Python-ast.c | |
parent | 681d7da144d1471ed5c0a155c838dc4a4a36636d (diff) | |
download | cpython-aae371bda47d4c758059264f86a3ed6cbaa15a4a.zip cpython-aae371bda47d4c758059264f86a3ed6cbaa15a4a.tar.gz cpython-aae371bda47d4c758059264f86a3ed6cbaa15a4a.tar.bz2 |
[3.12] GH-89727: Fix `os.fwalk()` recursion error on deep trees (GH-119638) (#119765)
GH-89727: Fix `os.fwalk()` recursion error on deep trees (GH-119638)
Implement `os.fwalk()` using a list as a stack to avoid emitting recursion
errors on deeply nested trees.
(cherry picked from commit 3c890b503c740767d0eb9a0e74b47f17a1e69452)
Co-authored-by: Barney Gale <barney.gale@gmail.com>
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions