[issue13968] Support recursive globs

Yuval Greenfield report at bugs.python.org
Thu Feb 9 17:27:02 CET 2012


Yuval Greenfield <ubershmekel at gmail.com> added the comment:

> This would be quirky. I don't think '..' should be treated specially.
> (there's also the symlinks problem)

Again with 'a/b/c/d' and let's add a file 'a/b/png'.

If the curdir is 'c' and you use rglob('../pn*') you won won't find '../png' as you would be walking only in the curdir. I think that route would mean we should document double dots aren't supported.

----------

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


More information about the Python-bugs-list mailing list