Message152882
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. |
|
Date |
User |
Action |
Args |
2012-02-08 16:27:51 | pitrou | set | recipients:
+ pitrou, ncoghlan, giampaolo.rodola, eric.araujo, eli.bendersky, ubershmekel |
2012-02-08 16:27:51 | pitrou | set | messageid: <1328718471.58.0.548940562316.issue13968@psf.upfronthosting.co.za> |
2012-02-08 16:27:51 | pitrou | link | issue13968 messages |
2012-02-08 16:27:50 | pitrou | create | |
|