I think the discussion should separate numeric calculation and truth value calculation.
Numeric calculation need to run through all elements, with the order possibly important.
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.


--eric

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to