James Lu writes:

 > Currently, is <expr1> = <expr2> = <expr3> = <expr4> always equivalent
 > to <expr1> = <expr4>; <expr2> = <expr4>; <expr3> = <expr4>?

No.  It's equivalent to

    <expr3> = <expr4>
    <expr2> = <expr3>
    <expr1> = <expr2>

and the order matters because the <expr>s may have side effects.

Not sure where the rest of your message was going; it mostly just
seemed to repeat examples from earlier posts?

Steve

_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to