Steven D'Aprano wrote:
>>>>x, y, z = 1, 2, 3
>>>>x = y = z
>>>>x, y, z
> 
> (3, 3, 3)
> 
> I certainly wouldn't expect to get (2, 3, 3).

Neither would I. I must have expressed myself not clearly enough.
Currently
x = y = z
is roughly equivalent to
x = z
y = z
I propose to change it to
y = z
x = z
Cheers,
   Marcin
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to