[docs] [issue22167] iglob() has misleading documentation (does indeed store names internally)

Roy Smith report at bugs.python.org
Fri Aug 8 15:03:05 CEST 2014


Roy Smith added the comment:

How about something like this:

Note: The current iglob() implementation is optimized for the case of many files distributed in a large directory tree.  Internally, it iterates over the directory tree, and stores all the names from each directory at once.  This will lead to pathologically inefficient behavior when any individual directory has a large number of files in it.

----------

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


More information about the docs mailing list