[New-bugs-announce] [issue43500] Add filtercase() into fnmatch

wyz23x2 report at bugs.python.org
Mon Mar 15 08:30:48 EDT 2021


New submission from wyz23x2 <wyz23x2 at 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 <report at bugs.python.org>
<https://bugs.python.org/issue43500>
_______________________________________


More information about the New-bugs-announce mailing list