Antoine Pitrou <[email protected]> added the comment:
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.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue13968>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com