[issue44380] glob.glob handling of * (asterisk) wildcard is broken
Serhiy Storchaka
report at bugs.python.org
Thu Jun 10 12:17:18 EDT 2021
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
Only pattern beginning with a dot can match filename beginning with a dot.
>From https://docs.python.org/3/library/glob.html
Note that unlike fnmatch.fnmatch(), glob treats filenames beginning with a dot (.) as special cases.
This phrase was added in issue16695 in attempt to improve documentation, but it is still not clear.
----------
assignee: -> docs at python
components: +Documentation -Library (Lib)
nosy: +docs at python, serhiy.storchaka
type: behavior -> enhancement
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44380>
_______________________________________
More information about the Python-bugs-list
mailing list