[issue18652] Add itertools.first_true (return first true item in iterable)
Serhiy Storchaka
report at bugs.python.org
Mon Feb 24 18:28:23 CET 2014
Serhiy Storchaka added the comment:
> David said, "now I have a place in the non-test email code where using this
> would lead to easier-to-read code". IMO, this is telling. The bar is
> higher than "I would have used this one time". That doesn't make it worth
> having to learn and remember.
I will explain my last comment. Four months ago this place was rewritten, so
now there is no place for this function.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18652>
_______________________________________
More information about the Python-bugs-list
mailing list