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 roysmith
Recipients docs@python, roysmith
Date 2014-08-08.01:09:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1407460141.27.0.298063472331.issue22167@psf.upfronthosting.co.za>
In-reply-to
Content
For background, see:

https://mail.python.org/pipermail/python-list/2014-August/676291.html

In a nutshell, the iglob() docs say, "Return an iterator which yields the same values as glob() without actually storing them all simultaneously."  The problem is, internally, it calls os.listdir(), which apparently *does* store the entire list internally, defeating the whole purpose of iglob()

I recognize that iglob() is not going to get fixed in 2.7, but at least the documentation should be updated to point out that it doesn't really do what it says it does.  Or rather, it doesn't really not do what it says it doesn't :-)
History
Date User Action Args
2014-08-08 01:09:01roysmithsetrecipients: + roysmith, docs@python
2014-08-08 01:09:01roysmithsetmessageid: <1407460141.27.0.298063472331.issue22167@psf.upfronthosting.co.za>
2014-08-08 01:09:01roysmithlinkissue22167 messages
2014-08-08 01:09:00roysmithcreate