negative numbers are not equal...

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Fri Aug 15 17:29:17 CEST 2008


castironpi a écrit :
(snip)
> It would be nice to put together a really canonical case of the use of
> the 'is' comparison.  FTSOA for the sake of argument, when do you use
> it? 

When I want to test objects identity. An idenity test is an identity 
test is an identity test is an....

> Why is it even in the language?

Because there's a need for it.




More information about the Python-list mailing list