[issue18652] Add itertools.coalesce

Nick Coghlan report at bugs.python.org
Mon Aug 5 01:14:49 CEST 2013


Nick Coghlan added the comment:

A wild timbot appears! :)

Tim Peters added the comment:
> As to the name, I like "first_true".  Does what it says.  Plain "first"
is misleading, and "coalesce" is both inscrutable and nearly impossible to
spell ;-)

A fair point, although skipping the underscore ("firsttrue" or "nexttrue")
would arguably be more consistent with other itertools names.

I guess it's over to Raymond now as module maintainer for a yes/docs
recipe/no response, and if one of the first two, the exact name used.

----------

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


More information about the Python-bugs-list mailing list