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@bugs.python.org http://bugs.python.org/issue22167 _______________________________________