Peter Otten wrote: > Python 2.5 will feature similar functions any() and all() which seem to have > a fixed predicate == bool, though.
You cannot write all(predicate, list) but all(predicate(x) for x in list) Georg -- http://mail.python.org/mailman/listinfo/python-list