Antoine Pitrou <pit...@free.fr> added the comment: > 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) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13968> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com