PEP-308 a "simplicity-first" alternative
Erik Max Francis
max at alcyone.com
Wed Feb 12 20:50:42 EST 2003
Bengt Richter wrote:
> My fix is
> x and {y} or z
>
> meaning y is treated as True in logical expression context, but
> retains its value for purposes of the expression value.
And, as I've pointed out through these threads, I think that cure is
worse than the disease.
--
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/ \ If you can't fight and you can't flee, flow.
\__/ Robert Elliot
Physics reference / http://www.alcyone.com/max/reference/physics/
A physics reference.
More information about the Python-list
mailing list