[Python-ideas] [Python-ideos] Dedicated overloadable boolean operators

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Nov 23 23:55:02 EST 2015


Bruce Leban wrote:
> If this idea were to fly, a better name would be something that doesn't 
> have that problem, e.g., .and. .or. .not.

Dots are a bit on the ugly side.

Some other possibilities:

AND, OR, NOT

And, Or, Not

en, of, nlet

-- 
Greg


More information about the Python-ideas mailing list