[issue41429] Let fnmatch.filter accept a tuple of patterns
Andrés Delfino
report at bugs.python.org
Tue Jul 28 19:41:58 EDT 2020
New submission from Andrés Delfino <adelfino at gmail.com>:
I propose to let fnmatch.filter accept a tuple of patterns as its pat parameter, while still supporting a single string argument (just like str.endswith does).
The code to do this manually and efficiently pretty much involves copying filter.
----------
components: Library (Lib)
messages: 374540
nosy: adelfino
priority: normal
severity: normal
status: open
title: Let fnmatch.filter accept a tuple of patterns
type: enhancement
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41429>
_______________________________________
More information about the Python-bugs-list
mailing list