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 benhoyt, gvanrossum, larry, serhiy.storchaka, vstinner
Date 2016-01-11.21:42:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
I am all for preventing the leaks. But using FDs proportional to the tree
depth seems reasonable to me. (If you are worried about some kind of DoS
attack on the algorithm by someone who can build a tree with depth 1000,
well, if they can do that they can also create a flat folder with a million
files in it.)

Is there a potential hybrid strategy, where for small directories we close
the FD but for large directories we keep it open?
Date User Action Args
2016-01-11 21:42:12gvanrossumsetrecipients: + gvanrossum, vstinner, larry, benhoyt, serhiy.storchaka
2016-01-11 21:42:12gvanrossumlinkissue25995 messages
2016-01-11 21:42:12gvanrossumcreate