[issue35201] Recursive '**' matches non-existent directories.
Serhiy Storchaka
report at bugs.python.org
Fri Nov 9 12:25:08 EST 2018
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
This is expected behavior, and it matches the behavior of Bash.
$ mkdir empty
$ shopt -s globstar failglob
$ echo empty/*
bash: no match: empty/*
$ echo empty/**
empty/
"**" matches zero or more path components. In this case case it matches zero.
----------
nosy: +serhiy.storchaka
resolution: -> not a bug
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35201>
_______________________________________
More information about the Python-bugs-list
mailing list