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

Antoine Pitrou report at bugs.python.org
Wed Mar 9 11:38:02 CET 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

> Can't we simply add os.xlistdir() leaving listdir() as is?

We could, but someone must:
1) provide a patch
2) demonstrate a significant improvement in some real-world situation

----------

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


More information about the Python-bugs-list mailing list