This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients eli.bendersky, eric.araujo, giampaolo.rodola, ncoghlan, pitrou, r.david.murray, ubershmekel
Date 2012-02-09.16:16:53
SpamBayes Score 0.0009204378
Marked as misclassified No
Message-id <1328804044.3352.19.camel@localhost.localdomain>
In-reply-to <1328803426.08.0.366258891075.issue13968@psf.upfronthosting.co.za>
Content
> >> * 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.
> 
> Perhaps we should make a single exemption for double dots eg
> rglob('../../__init__.py') starts the walk 2 folders out of the curdir
> and looks for '*/__init__.py'.

This would be quirky. I don't think '..' should be treated specially.
(there's also the symlinks problem)
History
Date User Action Args
2012-02-09 16:16:54pitrousetrecipients: + pitrou, ncoghlan, giampaolo.rodola, eric.araujo, r.david.murray, eli.bendersky, ubershmekel
2012-02-09 16:16:53pitroulinkissue13968 messages
2012-02-09 16:16:53pitroucreate