New submission from Andrés Delfino <adelf...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue41429>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to