Message152882
| 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. |
|