Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
> 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. ---------- nosy: +gvanrossum, rhettinger _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue30413> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com