[Python-ideas] Break the dominance of boolean values in boolean context

Ron Adam ron3200 at gmail.com
Tue Sep 13 04:13:55 CEST 2011


On Mon, 2011-09-12 at 21:40 -0400, Devin Jeanpierre wrote:
> Can we not allow things like `a < b` to return non-boolean values,
> without altering the behaviour of existing Python types?

Would that return 'a' or 'b', or something else?





More information about the Python-ideas mailing list