New submission from wyz23x2 <wyz2...@163.com>:
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. ---------- components: Library (Lib) messages: 388732 nosy: wyz23x2 priority: normal severity: normal status: open title: Add filtercase() into fnmatch versions: Python 3.10, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43500> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com