"Marcin Ciura" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
| Neither would I. I must have expressed myself not clearly enough.
| Currently
| x = y = z
| is roughly equivalent to
| x = z
| y = z

except that z is only evaluated once.

| I propose to change it to
| y = z
| x = z

Unless target expression expressions interact, there is no difference. 
When there are such side effects, I think it best to be explicit about what 
you want to happen first, as in your original code, instead of trying to 
mash them together in one line.

Terry Jan Reedy



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

Reply via email to