Issue 36769: doc Document that fnmatch.filter supports any kind of iterable not just lists (original) (raw)
Issue36769
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.
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/80950
classification
Title: | doc Document that fnmatch.filter supports any kind of iterable not just lists | ||
---|---|---|---|
Type: | enhancement | Stage: | resolved |
Components: | Documentation | Versions: | Python 3.10, Python 3.9, Python 3.8 |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | docs@python | Nosy List: | adelfino, docs@python, mdk, miss-islington |
Priority: | normal | Keywords: | patch |
Created on 2019-05-01 14:12 by adelfino, last changed 2022-04-11 14:59 by admin. This issue is now closed.
Pull Requests | |||
---|---|---|---|
URL | Status | Linked | Edit |
PR 13039 | merged | adelfino,2019-05-01 14:13 | |
PR 23845 | merged | miss-islington,2020-12-18 19:11 | |
PR 23846 | closed | miss-islington,2020-12-18 19:11 | |
PR 24264 | merged | miss-islington,2021-01-20 10:24 |
Messages (4) | ||
---|---|---|
msg341198 - (view) | Author: Andrés Delfino (adelfino) * ![]() |
Date: 2019-05-01 14:12 |
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. | ||
msg383320 - (view) | Author: Julien Palard (mdk) * ![]() |
Date: 2020-12-18 19:10 |
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/e8d22642105d57007ab1242848a8cbadc7f179df | ||
msg383323 - (view) | Author: miss-islington (miss-islington) | Date: 2020-12-18 19:34 |
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/4b412e830d0a7d3f30af60b9eb285558511d90af | ||
msg385325 - (view) | Author: miss-islington (miss-islington) | Date: 2021-01-20 10:43 |
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/8f334dbbf04582071d1318e5817e2fe99f1e5169 |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:59:14 | admin | set | github: 80950 |
2021-01-20 15:32:51 | iritkatriel | set | status: open -> closedstage: patch review -> resolvedresolution: fixedversions: + Python 3.10, - Python 3.7 |
2021-01-20 10:43:33 | miss-islington | set | messages: + |
2021-01-20 10:24:02 | miss-islington | set | pull_requests: + <pull%5Frequest23089> |
2020-12-18 19:34:36 | miss-islington | set | messages: + |
2020-12-18 19:11:34 | miss-islington | set | pull_requests: + <pull%5Frequest22707> |
2020-12-18 19:11:24 | miss-islington | set | nosy: + miss-islingtonpull_requests: + <pull%5Frequest22706> |
2020-12-18 19:10:28 | mdk | set | nosy: + mdkmessages: + |
2019-05-01 14:13:08 | adelfino | set | keywords: + patchstage: patch reviewpull_requests: + <pull%5Frequest12958> |
2019-05-01 14:12:45 | adelfino | create |
Supported by The Python Software Foundation,
Powered by Roundup
Copyright © 1990-2022, Python Software Foundation
Legal Statements