Author loewis
Recipients hynek, loewis, lukasz.langa, ncoghlan, rhettinger, serhiy.storchaka
Date 2013-08-04.11:38:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I also think it should go to itertools.

I also found the name "first" confusing, in particular since it means what Serhiy assumes in LISP, which might be familiar to people interested in functional list processing. Also, Ruby and Smalltalk use "first" in that sense.

To add to the bike shedding, I propose "find_if" (from LISP), "coalesce" (from SQL), or "detect" (from Smalltalk).

-1 on calling the filter function "key=". How about "pred=" (like all other itertools predicates) or "filter="?
Date User Action Args
2013-08-04 11:38:39loewissetrecipients: + loewis, rhettinger, ncoghlan, lukasz.langa, hynek, serhiy.storchaka
2013-08-04 11:38:39loewissetmessageid: <>
2013-08-04 11:38:39loewislinkissue18652 messages
2013-08-04 11:38:39loewiscreate