Issue #25995: os.walk() no longer uses FDs proportional to the tree depth.
Different solution from 3.5.
2 files changed