[Python-Dev] Re: PEP 285 again -- correction?

Hans Nowak wurmy@earthlink.net
Fri, 8 Mar 2002 13:15:58 -0500


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. 
;-)
<slaps forehead>
I'll crawl back in my shell now, where I belong... :-(
--Hans Nowak (vaporeon@wanadoo.nl)
http://www.awaretek.com/nowak/

AltStyle によって変換されたページ (->オリジナル) /