Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #96006

Re: packing unpacking depends on order.

From random832@fastmail.us
References <55E6C904.3020602@rece.vub.ac.be> <CAGuvt90dWASEjj=_GiZb4jqV4CDF+qqFLH4VS5m_qhUMx6jbJg@mail.gmail.com> <55E73159.4050508@mail.de> <1441243045.413788.373350650.5DF79DE2@webmail.messagingengine.com> <55E8D6D4.20209@mail.de>
Subject Re: packing unpacking depends on order.
Date 2015-09-03 23:36 -0400
Newsgroups comp.lang.python
Message-ID <mailman.125.1441337810.8327.python-list@python.org> (permalink)

Show all headers | View raw



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.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: packing unpacking depends on order. random832@fastmail.us - 2015-09-03 23:36 -0400

csiph-web