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 steven.daprano
Recipients steven.daprano
Date 2017-05-20.13:19:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495286342.86.0.934515673373.issue30413@psf.upfronthosting.co.za>
In-reply-to
Content
There has been some discussion on Python-Ideas about adding fnmatch.filter_false to complement filter, for when you want to ignore matching files rather than non-matching ones.

https://mail.python.org/pipermail/python-ideas/2017-May/045694.html

I don't believe there have been any strong objections, and work-arounds have a considerable performance penalty (according to the OP, I have not confirmed that).

Here's a patch which refactors filter and adds filter_false.

Sorry I haven't got my head around the brave new world on Github, so I'm going old school here with a diff :-)
History
Date User Action Args
2017-05-20 13:19:02steven.dapranosetrecipients: + steven.daprano
2017-05-20 13:19:02steven.dapranosetmessageid: <1495286342.86.0.934515673373.issue30413@psf.upfronthosting.co.za>
2017-05-20 13:19:02steven.dapranolinkissue30413 messages
2017-05-20 13:19:02steven.dapranocreate