customizing and/or/not

Erik Max Francis max at
Wed Aug 13 05:55:16 CEST 2003

Simon Burton wrote:

> I guess i'm wondering why we cant use and/or with lists/sets etc.
> It's perhaps too funky.

It's not possible because there is something substantively different
about the and/or operators as opposed to say, the &/| operator:  The
and/or operators support short-circuiting.

   Erik Max Francis && max at &&
 __ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
/  \ He who conceals his disease cannot expect to be cured.
\__/  (an Ethiopian proverb)

More information about the Python-list mailing list