[issue41429] Let fnmatch.filter accept a tuple of patterns

2020-12-12 Thread Andrés Delfino
Andrés Delfino added the comment: Serhiy, could you take a look at this when you have some spare time? :) -- ___ Python tracker ___

[issue41429] Let fnmatch.filter accept a tuple of patterns

2020-08-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41429] Let fnmatch.filter accept a tuple of patterns

2020-07-28 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +20812 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21666 ___ Python tracker ___

[issue41429] Let fnmatch.filter accept a tuple of patterns

2020-07-28 Thread Andrés Delfino
New submission from Andrés Delfino : 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. --