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 <[email protected]>
<http://bugs.python.org/issue18652>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com