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 rhettinger
Recipients Roee Nizan, brett.cannon, gvanrossum, rhettinger, serhiy.storchaka, steven.daprano, vstinner, wolma
Date 2019-08-21.16:01:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1566403278.31.0.322106778128.issue30413@roundup.psfhosted.org>
In-reply-to
Content
> Rather than adding a new function, why not adding a parameter 

Guido, the reason iteratools has a separate filter() and filterfalse() tools is because of your API guidance to prefer separate functions rather than having flags in most cases.

Do you still feel that way and does it apply here?  Personally, I would want to have a separate function for fnmatch.filter_false() rather than adding complexity to the API for fnmatch.
History
Date User Action Args
2019-08-21 16:01:18rhettingersetrecipients: + rhettinger, gvanrossum, brett.cannon, vstinner, steven.daprano, serhiy.storchaka, wolma, Roee Nizan
2019-08-21 16:01:18rhettingersetmessageid: <1566403278.31.0.322106778128.issue30413@roundup.psfhosted.org>
2019-08-21 16:01:18rhettingerlinkissue30413 messages
2019-08-21 16:01:18rhettingercreate