The docs don't say anything about it. However the code is there (docs bug probably). See the following lines in glob.py: 57 if pattern[0] != '.': 58 names = [x for x in names if x[0] != '.'] 59 return fnmatch.filter(names, pattern) The documentation is even harder to follow. The glob docs say: "The pattern may contain simple shell-style wildcards a la fnmatch." but the fnmatch docs say: "Similarly, filenames starting with a period are not special for this module, and are matched by the * and ? patterns." The posix standard states that "if a filename begins with a period ( '.' ), the period shall be explicitly matched" (http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_13_03).
The patch looks good to me. The docs may need improving but that's a separate concern. (also, the current behaviour is reasonable, and there is certainly existing code relying on it)
Patch LGTM and will be applied, I have opened for the related update of the docs. BTW how did you create the patch? The bugtracker/Rietveld didn't recognize it for review and applying it took some effort too.
Thank you for your patch and welcome to CPython core development! Presuming you want to submit more patches in future, please take the time to sign a Python contributor agreement: http://www.python.org/psf/contrib/ . You'll get a pretty star next to your name in the bug tracker in return. ;)