04.11.2011 23:29, Pauli Virtanen kirjoitti:
[clip]
> As the definition concerns only what happens on assignment, it does not
> have problems with commutativity.

This is of course then not really true in a wider sense, as an example 
from "T J" shows:

a = 1
a += IGNORE(3)
# -> a := a + IGNORE(3)
# -> a := IGNORE(4)
# -> a == IGNORE(1)

which is different from

a = 1 + IGNORE(3)
# -> a == IGNORE(4)

Damn, it seemed so good. Probably anything expect destructive assignment 
leads to problems like this with propagating special values.

-- 
Pauli Virtanen

_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to