[issue16695] Clarify fnmatch & glob docs about the handling of leading "."s

New submission from Hynek Schlawack: See issue16664. ---------- assignee: docs@python components: Documentation keywords: easy messages: 177584 nosy: Sebastian.Kreft, docs@python, hynek, pitrou priority: normal severity: normal stage: needs patch status: open title: Clarify fnmatch & glob docs about the handling of leading "."s type: enhancement versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16695> _______________________________________

Jyrki Pulliainen added the comment: I modified the docstring for the glob and iglob to note that the match does not work exactly like fnmatch. Should this be extended to the documentation too? ---------- keywords: +patch nosy: +nailor Added file: http://bugs.python.org/file29172/issue16695.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16695> _______________________________________

Jyrki Pulliainen added the comment: Added documentation changes to the glob documentation too, not only docstring. ---------- Added file: http://bugs.python.org/file29176/issue16695_2.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16695> _______________________________________

Roundup Robot added the comment: New changeset 2b96dcdac419 by Petri Lehtinen in branch '2.7': Issue #16695: Document how glob handles filenames starting with a dot http://hg.python.org/cpython/rev/2b96dcdac419 New changeset b4434cbca953 by Petri Lehtinen in branch '3.2': Issue #16695: Document how glob handles filenames starting with a dot http://hg.python.org/cpython/rev/b4434cbca953 New changeset 3e8b29512b2e by Petri Lehtinen in branch '3.3': Issue #16695: Document how glob handles filenames starting with a dot http://hg.python.org/cpython/rev/3e8b29512b2e New changeset 3fd9970d9e65 by Petri Lehtinen in branch 'default': Issue #16695: Document how glob handles filenames starting with a dot http://hg.python.org/cpython/rev/3fd9970d9e65 ---------- nosy: +python-dev _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16695> _______________________________________

Petri Lehtinen added the comment: Applied, thanks! ---------- nosy: +petri.lehtinen resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16695> _______________________________________

Jyrki Pulliainen added the comment: I modified the docstring for the glob and iglob to note that the match does not work exactly like fnmatch. Should this be extended to the documentation too? ---------- keywords: +patch nosy: +nailor Added file: http://bugs.python.org/file29172/issue16695.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16695> _______________________________________

Jyrki Pulliainen added the comment: Added documentation changes to the glob documentation too, not only docstring. ---------- Added file: http://bugs.python.org/file29176/issue16695_2.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16695> _______________________________________

Roundup Robot added the comment: New changeset 2b96dcdac419 by Petri Lehtinen in branch '2.7': Issue #16695: Document how glob handles filenames starting with a dot http://hg.python.org/cpython/rev/2b96dcdac419 New changeset b4434cbca953 by Petri Lehtinen in branch '3.2': Issue #16695: Document how glob handles filenames starting with a dot http://hg.python.org/cpython/rev/b4434cbca953 New changeset 3e8b29512b2e by Petri Lehtinen in branch '3.3': Issue #16695: Document how glob handles filenames starting with a dot http://hg.python.org/cpython/rev/3e8b29512b2e New changeset 3fd9970d9e65 by Petri Lehtinen in branch 'default': Issue #16695: Document how glob handles filenames starting with a dot http://hg.python.org/cpython/rev/3fd9970d9e65 ---------- nosy: +python-dev _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16695> _______________________________________

Petri Lehtinen added the comment: Applied, thanks! ---------- nosy: +petri.lehtinen resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16695> _______________________________________
participants (4)
-
Hynek Schlawack
-
Jyrki Pulliainen
-
Petri Lehtinen
-
Roundup Robot