customizing and/or/not

Erik Max Francis max at alcyone.com
Tue Aug 12 23:55:16 EDT 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 alcyone.com && http://www.alcyone.com/max/
 __ 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