[Python-Dev] Adding any() and all()
eric.nieuwland at xs4all.nl
Mon Mar 14 00:02:16 CET 2005
I think the discussion should separate numeric calculation and truth
Numeric calculation need to run through all elements, with the order
Truth value calculation (as per any() and all()) may terminate before
all elements have been seen.
Finally, any(), all(), and perhaps some should apply to sets as well.
More information about the Python-Dev