This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients Gumnos, Roger Erens, docs@python, gvanrossum, r.david.murray, roysmith, serhiy.storchaka, steven.daprano
Date 2020-05-31.18:00:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAP7+vJJO7cY3VhEc5oS0wVGeSBtU+LWOuknvSiT_hdB2cHxXuw@mail.gmail.com>
In-reply-to <1590947402.43.0.653333084413.issue22167@roundup.psfhosted.org>
Content
Hm, yeah.

Perhaps we can add some buffering so that for directories with a small
number of files (say < 1000) the FD is closed before recursing into it,
while for large directories it keeps the FD open until the last block of
1000 DirEntries is read? It's unlikely that someone has a tree that's both
deep *and* wide at many levels, since that would mean an inordinate number
of files indeed.
History
Date User Action Args
2020-05-31 18:00:25gvanrossumsetrecipients: + gvanrossum, roysmith, steven.daprano, r.david.murray, docs@python, Gumnos, serhiy.storchaka, Roger Erens
2020-05-31 18:00:25gvanrossumlinkissue22167 messages
2020-05-31 18:00:25gvanrossumcreate