This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author adelfino
Recipients adelfino
Date 2020-07-28.23:41:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595979718.87.0.129861821474.issue41429@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-07-28 23:41:58adelfinosetrecipients: + adelfino
2020-07-28 23:41:58adelfinosetmessageid: <1595979718.87.0.129861821474.issue41429@roundup.psfhosted.org>
2020-07-28 23:41:58adelfinolinkissue41429 messages
2020-07-28 23:41:58adelfinocreate