[issue36769] doc Document that fnmatch.filter supports any kind of iterable not just lists
New submission from Andrés Delfino <adelfino@gmail.com>: Documentation on fnmatch.filter says: Return the subset of the list of names that match pattern. It is the same as [n for n in names if fnmatch(n, pattern)], but implemented more efficiently. But the function actual accepts any kind of iterable. I think it should be documented. ---------- assignee: docs@python components: Documentation messages: 341198 nosy: adelfino, docs@python priority: normal severity: normal status: open title: doc Document that fnmatch.filter supports any kind of iterable not just lists type: enhancement versions: Python 3.7, Python 3.8, Python 3.9 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue36769> _______________________________________
Change by Andrés Delfino <adelfino@gmail.com>: ---------- keywords: +patch pull_requests: +12958 stage: -> patch review _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue36769> _______________________________________
Julien Palard <julien+python@palard.fr> added the comment: New changeset e8d22642105d57007ab1242848a8cbadc7f179df by Andre Delfino in branch 'master': bpo-36769: Document that fnmatch.filter supports any kind of iterable (#13039) https://github.com/python/cpython/commit/e8d22642105d57007ab1242848a8cbadc7f... ---------- nosy: +mdk _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue36769> _______________________________________
Change by miss-islington <mariatta.wijaya+miss-islington@gmail.com>: ---------- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +22706 pull_request: https://github.com/python/cpython/pull/23845 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue36769> _______________________________________
Change by miss-islington <mariatta.wijaya+miss-islington@gmail.com>: ---------- pull_requests: +22707 pull_request: https://github.com/python/cpython/pull/23846 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue36769> _______________________________________
miss-islington <mariatta.wijaya+miss-islington@gmail.com> added the comment: New changeset 4b412e830d0a7d3f30af60b9eb285558511d90af by Miss Islington (bot) in branch '3.9': bpo-36769: Document that fnmatch.filter supports any kind of iterable (GH-13039) https://github.com/python/cpython/commit/4b412e830d0a7d3f30af60b9eb285558511... ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue36769> _______________________________________
Change by miss-islington <mariatta.wijaya+miss-islington@gmail.com>: ---------- pull_requests: +23089 pull_request: https://github.com/python/cpython/pull/24264 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue36769> _______________________________________
miss-islington <mariatta.wijaya+miss-islington@gmail.com> added the comment: New changeset 8f334dbbf04582071d1318e5817e2fe99f1e5169 by Miss Islington (bot) in branch '3.8': bpo-36769: Document that fnmatch.filter supports any kind of iterable (GH-13039) https://github.com/python/cpython/commit/8f334dbbf04582071d1318e5817e2fe99f1... ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue36769> _______________________________________
Change by Irit Katriel <iritkatriel@yahoo.com>: ---------- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.7 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue36769> _______________________________________
participants (4)
-
Andrés Delfino
-
Irit Katriel
-
Julien Palard
-
miss-islington