[issue18652] Add itertools.coalesce

Nick Coghlan report at bugs.python.org
Sun Aug 4 14:43:01 CEST 2013


Nick Coghlan added the comment:

Mark's rationale makes sense to me. I believe that would make the
latest version of the proposed API (in the itertools module):

    def coalesce(iterable, default=None, pred=None):
        ...

----------

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


More information about the Python-bugs-list mailing list