'==' vs. 'is' behavior

Bill Janssen janssen at parc.xerox.com
Tue Nov 30 22:31:47 EST 1999


Actually, the presence of "is" and "==" in Python is one of the nicer
features.  "is" is the Lisp "eq", while "==" is the Lisp "equal".
These are really the two comparisons from Lisp that make the most
sense.

Java, on the other hand, only gives you "eql"!  Ugh!  Bletcherous!

Bill




More information about the Python-list mailing list