Message225048
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 :-) |
|
Date |
User |
Action |
Args |
2014-08-08 01:09:01 | roysmith | set | recipients:
+ roysmith, docs@python |
2014-08-08 01:09:01 | roysmith | set | messageid: <1407460141.27.0.298063472331.issue22167@psf.upfronthosting.co.za> |
2014-08-08 01:09:01 | roysmith | link | issue22167 messages |
2014-08-08 01:09:00 | roysmith | create | |
|