21 Jan
2015
21 Jan
'15
8:49 p.m.
On Wed, Jan 21, 2015 at 2:11 PM, Guido van Rossum <guido@python.org> wrote:
2) Do most Python users still agree that arithmetic operations should be
supported on booleans?
It would be so massively backward compatible that it's not worth thinking about.
The only time I encountered a situation where True + True was not 2 was in numpy:
numpy.bool_(True) + True True
That was *very* inconvenient!