[issue25840] Allow `False` to be passed to `filter`
R. David Murray
report at bugs.python.org
Fri Dec 11 10:45:34 EST 2015
R. David Murray added the comment:
I don't think it is worth adding as a special case. Itertools has it because of what itertools is (a mini-language for manipulating iterables), but the legacy filter function has no reason to grow additional special cases beyond None. (It's not even clear why it has that one special case :)
----------
nosy: +r.david.murray
resolution: -> rejected
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25840>
_______________________________________
More information about the Python-bugs-list
mailing list