An oddity in list comparison and element assignment

Erik Max Francis max at alcyone.com
Thu Jun 1 16:47:10 EDT 2006


michael.f.ellis at gmail.com wrote:

> With all due respect to your well-deserved standing in the Python
> community, I'm not convinced that equality shouldn't imply invariance
> under identical operations.

Doo you really want

	2 == 2.0

to be False?

-- 
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
   Without victory there is no survival.
   -- Winston Churchill



More information about the Python-list mailing list