[New-bugs-announce] [issue35201] Recursive '**' matches non-existent directories.
Daniel Israel
report at bugs.python.org
Fri Nov 9 11:54:51 EST 2018
New submission from Daniel Israel <dmi1 at cornell.edu>:
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:
>>> glob.glob("a/*", recursive=True)
[]
----------
components: Library (Lib)
messages: 329537
nosy: daniel
priority: normal
severity: normal
status: open
title: Recursive '**' matches non-existent directories.
type: behavior
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35201>
_______________________________________
More information about the New-bugs-announce
mailing list