This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients docs@python, max0x7ba, serhiy.storchaka
Date 2021-06-10.16:17:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623341838.03.0.0503796127961.issue44380@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-06-10 16:17:18serhiy.storchakasetrecipients: + serhiy.storchaka, docs@python, max0x7ba
2021-06-10 16:17:18serhiy.storchakasetmessageid: <1623341838.03.0.0503796127961.issue44380@roundup.psfhosted.org>
2021-06-10 16:17:18serhiy.storchakalinkissue44380 messages
2021-06-10 16:17:17serhiy.storchakacreate