[Python-Dev] Re: PEP 285 again -- correction? (original) (raw)
Hans Nowak wurmy@earthlink.net
Fri, 8 Mar 2002 13:15:58 -0500
- Previous message: [Python-Dev] For review: PEP 285: Adding a bool type
- Next message: [Python-Dev] Re: PEP 285 again -- correction?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hum, as usual, I wasn't thinking...
if bool is a subclass of int, then we should still be able to add booleans to ints, right? In that case, that code would not break.
I was thinking of a strict Pascal-ish boolean. (You can imagine I was worried. ;-)
I'll crawl back in my shell now, where I belong... :-(
--Hans Nowak (vaporeon@wanadoo.nl) http://www.awaretek.com/nowak/
- Previous message: [Python-Dev] For review: PEP 285: Adding a bool type
- Next message: [Python-Dev] Re: PEP 285 again -- correction?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]