[Python-Dev] Boolean transition (original) (raw)
Martin v. Loewis martin@v.loewis.de
10 Mar 2002 21:58:28 +0100
- Previous message: [Python-Dev] Boolean transition
- Next message: [Python-Dev] Boolean transition
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Brian Quinlan" <brian@sweetapp.com> writes:
For people who want to do integer arithmetic using Booleans, would calling the int() built-in be too much of a burden?
Yes. I don't care whether it is good to do arithmetic on booleans or not. I do care about backwards compatibility, and I just see no way to remove arithmetic from boolean values in Python before 2025.
Regards, Martin
- Previous message: [Python-Dev] Boolean transition
- Next message: [Python-Dev] Boolean transition
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]