On 2010-11-21, at 21:11 , MRAB wrote: > > if any(mytestfunction(i) for i in mylist): > foo() is not an improvement over `if any(map(mytestfunction, mylist))` or `if any(imap(mytestfunction, mylist))`