En Mon, 19 May 2008 17:58:48 -0300, [EMAIL PROTECTED] <[EMAIL PROTECTED]> escribió:

On 19 mai, 22:29, Luis Zarrabeitia <[EMAIL PROTECTED]> wrote:
(snip)
The main
concept here: identity [usually] implies equality,

I really enjoyed the "usually" disclaimer !-)

In some *rare* cases, identity does not imply equality:

py> inf = 1e300*1e300
py> nan = inf-inf
py> nan
-1.#IND
py> nan is nan
True
py> nan == nan
False

--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to