Antoine Pitrou <pit...@free.fr> added the comment: > * Behave like a glob for every subdirectory. Meaning that every > relative path gets a '*/' prepended to it. Eg rglob('c/d') started > from the directory 'a' will yield 'a/b/c/d'.
That's what I would expect. That way, rglob('__init__.py') would find all files named __init__.py beneath the current directory. > P.s. another slight issue I ran into is the fact that fnmatch doesn't > ignore os.curdir: > > >>> fnmatch.fnmatch('./a', 'a') > False Sounds ok. fnmatch is a low-level lexical thing. ---------- _______________________________________ 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