Aaron Brady <castiro...@gmail.com> writes: > I think you are looking at an 'ireduce' function, which doesn't > exist in 'itertools' yet.
Nothing is being done with the return value. sum(1 for x in imap(func, seq)) is enough to force evaluation of func on each element of seq. -- http://mail.python.org/mailman/listinfo/python-list