[Python-Dev] bool conversion wart?
Greg Ewing
greg.ewing at canterbury.ac.nz
Sun Feb 25 23:00:13 CET 2007
Guido van Rossum wrote:
> How would this change be helpful? I'm utterly mystified by these
> suggestions that bool would be more useful if it didn't behave like an
> int in arithmetic.
I think there's a desire by some people to get rid of
unnecessary conceptual baggage left over for historical
reasons. Those people are mystified as to why anyone
would *want* a boolean to behave like an int.
Personally I'm +0 on this. I wouldn't object if it
happened, but I'm not pushing for it.
--
Greg
More information about the Python-Dev
mailing list