[issue35201] Recursive '**' matches non-existent directories.
Daniel Israel added the comment: In the Bash example, you created the directory empty/. This bug is specifically when the directory in question does not exist. -- ___ Python tracker <https://bugs.python.org/issue35
[issue35201] Recursive '**' matches non-existent directories.
New submission from Daniel Israel : In the following case, when there is no file or directory 'a', glob will still return it: >>> glob.glob("a/**", recursive=True) [ 'a/' ] Note that this is inconsistent with the '*' pattern: >>>