[Python-3000] Removal of os.path.walk

Tim Heaney theaney at gmail.com
Wed Apr 30 05:10:00 CEST 2008


Speaking of this, is it too late to lobby for an iterator version of
os.listdir? (Perhaps listdir would not be the best name. :)

There is one at

  http://wxidle.sourceforge.net/projects/xlistdir/

but I think it ought to be in the standard library. Moreover, if we
had such a thing, shouldn't os.walk use it instead of lists?

 > It seems that os.walk has more options and a cleaner interface to
 > walking trees than os.path.walk does. Is there support for the removal
 > this in Py3k?
 >
 > --
 > Cheers,
 > Benjamin Peterson


More information about the Python-3000 mailing list