[Python-Dev] Re: PEP 285: Adding a bool type

Andrew Koenig ark at research.att.com
Wed Apr 3 23:09:59 EST 2002


>> No.  That would break backwards compatibility.  False==0, and True==1;
>> everything else follows from that.  (But False is not 0, and True is
>> not 1!)

Ping> This is a strange distinction to make -- one that is not made in
Ping> any other programming language i have ever encountered.

I would be very surprised if none of the Lisp family of languages
has similar anomalies in the relationship between eq and equal.

-- 
Andrew Koenig, ark at research.att.com, http://www.research.att.com/info/ark





More information about the Python-list mailing list