<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Actually, there's Gregory's scandir() implementation (returning a<br>


generator to be able to cope with large directories) on it's way:<br>
<br>
<a href="http://bugs.python.org/issue11406" target="_blank">http://bugs.python.org/issue11406</a><br>
<br>
It's already been suggested to make it return a tuple (with d_type).<br>
I'm sure a review of the code (especially the Windows implementation)<br>
will be welcome.<br>
</blockquote></div><br></div><div class="gmail_extra">Ah, thanks for the pointer, I hadn't seen that. Definitely looks like I should "merge" Betterwalk with it. I'll see if I can spend some time on it again soon. I'd love to see scandir/iterdir go into Python 3.4, and I'd be very chuffed if iterdir_stat got in, because that's the one that can really start speeding up operations like os.walk().</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">-Ben</div></div>