April 21, 2003
12:04 p.m.
Guido van Rossum wrote:
But if I had to do it over again, I wouldn't have added walk() in the current form.
I think it's the perfect place for a generator.
Absolutely! So let's try to write something new based on generators, make it flexible enough so that it can handle pre-order or post-order visits, and then phase out os.walk(). --Guido van Rossum (home page: http://www.python.org/~guido/)