[issue13968] Support recursive globs

Antoine Pitrou report at bugs.python.org
Sun Apr 1 14:20:44 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

> I found this comprehensive description of the '**' convention at
> http://www.codeproject.com/Articles/2809/Recursive-patterned-File-Globbing that can translate directly to unittests.
> 
> I'd like to fix the patch for these specs but should it be in a new
> rglob function or in the existing glob.glob()? I think it should be a
> new one to avoid any edge-case compatibility concerns even though on
> face value there shouldn't be any.

I think it should be the existing glob.glob(). We won't introduce a new
function any time we add a new syntactic feature in the glob
mini-language.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13968>
_______________________________________


More information about the Python-bugs-list mailing list