bool behavior in Python 3000?
Alan Isaac
aisaac at american.edu
Wed Jul 11 09:05:15 EDT 2007
Since it is seemingly ignored in most of the comments
on this thread, I just want to remind that PEP 285
http://www.python.org/dev/peps/pep-0285/
says this:
In an ideal world, bool might be better implemented as a
separate integer type that knows how to perform mixed-mode
arithmetic.
I mentioned Python 3000 since that is an opportunity for an ideal world.
Cheers,
Alan Isaac
More information about the Python-list
mailing list