On 04.09.2015 05:36, random...@fastmail.us wrote:
You haven't demonstrated that the RHS is affected by anything. The sample code in the original post of this thread behaves identically if the RHS is a simple tuple of (2, 1) [or (1, 2)] respectively. If you have another sample that shows different behavior please post it.
You are right. I was reconstructing the example and see what exactly happened here. Not sure what made me think the assignment would be broken up into its parts. That's definitely not the case.
So, everything is fine. Side-effects happening on either side are unavoidable.
Best, Sven -- https://mail.python.org/mailman/listinfo/python-list