[issue25596] Use scandir() to speed up the glob module

Serhiy Storchaka report at bugs.python.org
Mon Jan 11 15:56:44 EST 2016


Serhiy Storchaka added the comment:

Not this version of the path. It accumulates all scandir results in a list before yielding values. Otherwise globbing will consume a lot of open file descriptors and could leak them (see issue25994, issue25995).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25596>
_______________________________________


More information about the Python-bugs-list mailing list