PEP-308 a "simplicity-first" alternative

Terry Reedy tjreedy at udel.edu
Fri Feb 14 19:31:31 EST 2003


"Christian Tismer" <tismer at tismer.com> wrote in message
news:mailman.1045109032.20647.python-list at python.org...
> Despite the fact that there are "and" and "or" with
> already quite strange semantics which is not obvious.

Python's 'and' and 'or' are not most anyone else's.  Their definitions
should be read at least three times when learning the language.  See
(PEP-308) Python's Conditional Selection Operators, which I just
posted.

Terry J. Reedy






More information about the Python-list mailing list