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

Roy Smith report at bugs.python.org
Fri Aug 8 04:28:02 CEST 2014


Roy Smith added the comment:

The thread that led to this started out with the use case of a directory that had 200k files in it.  If I ran iglob() on that and discovered that it had internally generated a list of all 200k names in memory at the same time, I would be pretty darn surprised, based on what the docs say now.

We're shooting for principle of least astonishment here.

----------

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


More information about the docs mailing list