Martin v. Löwis <mar...@v.loewis.de> added the comment: > I thought then and still do that listdir should (have) change (d) like range, > map, and filter did, for same reasons.
The reasons that applied to map and range don't apply to listdir(). The cost of materializing the list in the former cases may be significant, but will be marginal in the latter case. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11406> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com