> However, that ship has sailed. I think it would have been minimally
> disruptive when True and False were first introduced,
It would have been just as disruptive back then -- that's the
reason bool was made a subclass of int in the first place.
I know why, but I'm not so sure -- no one was using a built in True or False as an integer, because they didn't exist. I suppose folks were using the results of, e.g. `a == b` as an integer, but how often? Where else is an explicit True or False returned by Python itself?
But anyway, it would certainly be even more disruptive now.
- CHB
--
Christopher Barker, PhD
Python Language Consulting
- Teaching
- Scientific Software Development
- Desktop GUI and Web Development
- wxPython, numpy, scipy, Cython