[docs] [issue29249] Pathlib glob ** bug

Serhiy Storchaka report at bugs.python.org
Thu Jan 12 06:32:45 EST 2017


Serhiy Storchaka added the comment:

** is supported not just as a prefix. Path('./Lib').glob('**/*.py') emits the same paths as Path('.').glob('Lib/**/*.py'). But ** is supported only in glob(), not in match(). The support of ** in match() is not documented. Would be worth to document explicitly that it is not supported.

----------
assignee:  -> docs at python
components: +Documentation -Library (Lib)
nosy: +docs at python, serhiy.storchaka
stage:  -> needs patch
type: behavior -> enhancement
versions: +Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29249>
_______________________________________


More information about the docs mailing list