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.

classification
Title: Add filtercase() into fnmatch
Type: enhancement Stage:
Components: Library (Lib) Versions: Python 3.10, Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: kamilturek, wyz23x2
Priority: normal Keywords:

Created on 2021-03-15 12:30 by wyz23x2, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg388732 - (view) Author: wyz23x2 (wyz23x2) * Date: 2021-03-15 12:30
The fnmatch module has a filter() function:
> Construct a list from those elements of the iterable names that match pattern.
> It is the same as [n for n in names if fnmatch(n, pattern)], but implemented more efficiently.
However, since there is the fnmatchcase() function, we should have filtercase() too.
History
Date User Action Args
2022-04-11 14:59:42adminsetgithub: 87666
2021-03-15 20:05:56kamiltureksetnosy: + kamilturek
2021-03-15 12:31:17wyz23x2settype: enhancement
2021-03-15 12:30:48wyz23x2create