[Python-Dev] bool conversion wart? (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Sun Feb 25 23:00:13 CET 2007
- Previous message: [Python-Dev] bool conversion wart?
- Next message: [Python-Dev] bool conversion wart?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] bool conversion wart?
- Next message: [Python-Dev] bool conversion wart?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]