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


Groups > comp.lang.python > #96006

Re: packing unpacking depends on order.

Path csiph.com!goblin2!goblin1!goblin.stu.neva.ru!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <random832@fastmail.us>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; '(1,': 0.09; 'received:internal': 0.09; 'tuple': 0.09; 'thread': 0.10; 'folks': 0.15; 'thu,': 0.15; '(2,': 0.16; '2)]': 0.16; 'assignment.': 0.16; 'lhs': 0.16; 'message-id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:10.202.2.212': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:messagingengine.com': 0.16; 'rhs': 0.16; 'weird.': 0.16; 'wrote:': 0.16; 'affected': 0.22; 'sep': 0.22; 'seems': 0.23; "haven't": 0.24; 'header:In-Reply- To:1': 0.24; 'least': 0.27; 'code': 0.30; 'post': 0.31; 'another': 0.32; 'true.': 0.33; 'should': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'really': 0.37; 'received:66': 0.38; 'to:addr:python.org': 0.40; 'some': 0.40; 'from:no real name:2**0': 0.60; 'behavior': 0.61; 'header:Message- Id:1': 0.61; 'back': 0.62; 'fire': 0.63; 'different': 0.63; 'sample': 0.63
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.us; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=xrbxUQGcB3x0w9Jx0XRg4GVNEOM=; b=qMfy3J C1fjSd6JDabGR/aFEBJOB/JUc4D52yg8rIh5pfJvr/EIyT3PWc16j29MURzx1rTK hIphOjlI9pCQTMBjlPbKHCCv4XtGu512iXIEmylqhIU2o+XcNIDr+fP1S3/hgxfd TJvI2Vt7ATZVw278wCc6PHMBuCP9WS/ibmq08=
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=xrbxUQGcB3x0w9J x0XRg4GVNEOM=; b=V5YmkpOn6qEDY06zl3lRSNPlJWSlpFO57kjwcPMCaRP0mLp TXNTlgPg8Jr+pd2LURDz/Xbw7eXsafGam9wEESKgZevJd+n/QG7NiDAR+5qAIA/H MZtljLg/HswC3P8sQ7vS0vlhFKe9JsD7qmb7J7bBh0QcsHaT4Fgj/RErdXws=
X-Sasl-Enc 9N2Ha091jzFYmG5POV8rhwemH4BQSSu/iHz8Rx6LCI3Q 1441337800
From random832@fastmail.us
To python-list@python.org
MIME-Version 1.0
Content-Transfer-Encoding 7bit
Content-Type text/plain
X-Mailer MessagingEngine.com Webmail Interface - ajax-4500bf93
In-Reply-To <55E8D6D4.20209@mail.de>
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 Thu, 03 Sep 2015 23:36:40 -0400
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.125.1441337810.8327.python-list@python.org> (permalink)
Lines 12
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1441337810 news.xs4all.nl 23736 [2001:888:2000:d::a6]:51461
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:96006

Show key headers only | 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