[Python-ideas] Adding '**' recursive search to glob.glob

Yuval Greenfield ubershmekel at gmail.com
Mon Jan 14 17:39:12 CET 2013


On Mon, Jan 14, 2013 at 6:27 PM, Serhiy Storchaka <storchaka at gmail.com>wrote:

> We need a time machine to publish this warning in 1994, before anyone used
> the glob in his program.
>
> Pathlib has an advantage in this.
>
>
The following have been discussed already:

 - deprecate the 'glob' module, moving its functionality to shutil
 - "starglob" or "use_recursive" option
 - have a separate "rglob" or "tree" function do this for you

http://mail.python.org/pipermail/python-bugs-list/2012-February/thread.html#159056

And more at
https://www.google.com/search?q=site%3Amail.python.org+recursive+glob


The patch has been discussed to death already. Not to say that it's too
late to speak your mind, but I think if it passes the proper tests and
review - it should go in.


Yuval Greenfield
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130114/8ce331b3/attachment.html>


More information about the Python-ideas mailing list