[issue8472] itertools.filterfalse() function missing

Alexander Myodov report at bugs.python.org
Tue Apr 20 19:26:45 CEST 2010


Alexander Myodov <amyodov at gmail.com> added the comment:

In this case, I'd suggest to rephrase it to "See :func:`itertools.ifilterfalse` for the complementary function that returns the iterator over the elements of *iterable* for which *function* returns false.", or even remove this line at all (because, ifilterfalse() is a complement to ifilter() rather than to filter()). But please don't leave this as it is now, as this is still confusing and misleading (filter returns a list, but ifilter and ifilterfalse return an iterator!).

----------
status: closed -> open

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8472>
_______________________________________


More information about the Python-bugs-list mailing list