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, ubershmekel
Date 2012-02-08.16:27:50
SpamBayes Score 0.00053894153
Marked as misclassified No
Message-id <1328718471.58.0.548940562316.issue13968@psf.upfronthosting.co.za>
In-reply-to
Content
I'm trying the patch and its behaviour is strange:

>>> list(glob.rglob('setup.py'))
['setup.py']
>>> list(glob.rglob('setu*.py'))
[]
>>> list(glob.rglob('*/setu*.py'))
['./setup.py', './Mac/Tools/Doc/setup.py', './Tools/test2to3/setup.py', './Doc/includes/setup.py', './PC/example_nt/setup.py']

I can understand the first example (although that makes the documentation slightly incorrect, since you need an explicit "*" path component for the search to be recursive), but the second one looks straight wrong.
History
Date User Action Args
2012-02-08 16:27:51pitrousetrecipients: + pitrou, ncoghlan, giampaolo.rodola, eric.araujo, eli.bendersky, ubershmekel
2012-02-08 16:27:51pitrousetmessageid: <1328718471.58.0.548940562316.issue13968@psf.upfronthosting.co.za>
2012-02-08 16:27:51pitroulinkissue13968 messages
2012-02-08 16:27:50pitroucreate