packing unpacking depends on order.

random832 at fastmail.us random832 at fastmail.us
Thu Sep 3 23:36:40 EDT 2015



On Thu, Sep 3, 2015, at 19:25, Sven R. Kunze wrote:
> You mentioned side-effects. That is true. Right now, however, the 
> side-effects even fire back to the RHS of the assignment. That is really 
> weird. To me, and as it seems to some other folks here, the RHS should 
> be at least independent of the LHS and vice versa.

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.



More information about the Python-list mailing list