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

Gregory P. Smith report at bugs.python.org
Sat Nov 23 20:50:38 CET 2013


Gregory P. Smith added the comment:

For reference the current state of things for this is the proposal in:
 https://mail.python.org/pipermail/python-dev/2013-May/126196.html

With a prototype using a ctypes based implementation as proof of concept in https://github.com/benhoyt/scandir.

A combination of that interface plus my existing scandir patch (-gps02) could be created for the final implementation.

As 3.4beta1 happens tonight, this isn't going to make 3.4 so i'm bumping this to 3.5.  I really like the proposed design outlined above.

----------
stage: patch review -> needs patch
versions: +Python 3.5 -Python 3.4

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


More information about the Python-bugs-list mailing list