[issue11406] There is no os.listdir() equivalent returning generator instead of list

Марк Коренберг report at bugs.python.org
Sat Mar 5 12:02:59 CET 2011


Марк Коренберг <socketpair at gmail.com> added the comment:

also, forgot... memory usage on big directories using list is a pain.

This is the same things as range() and xrange(). Why not to add os.xlistdir() ?

P.S.
Numerical answers will be available later.

----------

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


More information about the Python-bugs-list mailing list