Message152879
> Google "walk directory". First hit is a Rosetta code page with
> *recursive* walking implemented in various languages. So I guess it
> does have this connotation. Regardless, os.walk has been in Python for
> ages, and it's always been the go-to tool for recursive traversal.
> walkdir's name suggests the same.
You still haven't explained what your problem is with the idea of an
explicitly recursive glob (as both "rglob" and "globtree" suggest).
> walkdir is a new module proposal. If its API is tedious and awkward,
> it should probably be improved *now* while it's in development.
walkdir is not yet a module proposal, there's not even a PEP for it, and
it's in a very young state.
This issue has a working patch for rglob(), which is a single, obvious,
incremental addition to the existing glob module. If you want to discuss
walkdir, I suggest you do it in a separate issue.
(and, yes, rglob() can be reimplemented using walkdir later, if there is
a point in doing so) |
|
Date |
User |
Action |
Args |
2012-02-08 16:09:59 | pitrou | set | recipients:
+ pitrou, ncoghlan, giampaolo.rodola, eric.araujo, eli.bendersky, ubershmekel |
2012-02-08 16:09:59 | pitrou | link | issue13968 messages |
2012-02-08 16:09:58 | pitrou | create | |
|