[Python-3000] Wither PEP 335 (Overloadable Boolean Operators)?

Greg Ewing greg.ewing at canterbury.ac.nz
Sun May 20 02:34:51 CEST 2007


Bob Ippolito wrote:

> Would "and" and "or" still be able to properly short-circuit given
> this proposal?

Yes. I was very careful to ensure that all the existing semantics
are preserved in the case of no overloads, and also that overloads
can mimic all of the existing semantics if they need to.

--
Greg


More information about the Python-3000 mailing list