In article <[email protected]>,
 Steven D'Aprano <[email protected]> wrote:

> On Wed, 25 Apr 2012 13:42:31 +0200, Thomas Rachel wrote:
> 
> > Two objects can be equal (=) without being identical (≡), but not the
> > other way.
> 
> 
> >>> x = float('nan')
> >>> y = x
> >>> x is y
> True
> >>> x == y
> False

I love it.   Thanks for posting that.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to