PEP 289: universal and existential operators

Delaney, Timothy C (Timothy) tdelaney at avaya.com
Thu Nov 6 22:24:28 CET 2003


> From: Alex Martelli [mailto:aleax at aleax.it]

[lots of good stuff]

> and if it comes to the comparison after the implied and, the
> itemsiterator is exhausted by that time.  So, maybe, it _is_
> for the better that the apparently popular preference for 'all'
> to mean 'alltrue' stops us from having 'all' work like in SQL
> instead - it does save us from potentially non-obvious behavior
> when both comparison chaining and iterators-as-opposed-to-
> iterables are simultaneously involved.

I *love* watching people's thought processes in action :)

Tim Delaney





More information about the Python-list mailing list