Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!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: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'broken': 0.03; 'assignment': 0.07; '(1,': 0.09; 'tuple': 0.09; 'thread': 0.10; '(2,': 0.16; '2)]': 0.16; 'parts.': 0.16; 'rhs': 0.16; 'wrote:': 0.16; 'case.': 0.18; 'affected': 0.22; "haven't": 0.24; 'header :In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'example': 0.26; 'right.': 0.27; 'code': 0.30; 'post': 0.31; 'another': 0.32; 'received:10.0': 0.34; 'so,': 0.35; 'best,': 0.35; 'happened': 0.35; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'sure': 0.39; 'to:addr:python.org': 0.40; 'received:de': 0.40; 'behavior': 0.61; 'side': 0.62; 'here.': 0.62; 'charset:windows-1252': 0.62; 'different': 0.63; 'sample': 0.63 Date: Fri, 04 Sep 2015 16:25:12 +0200 From: "Sven R. Kunze" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: packing unpacking depends on order. References: <55E6C904.3020602@rece.vub.ac.be> <55E73159.4050508@mail.de> <1441243045.413788.373350650.5DF79DE2@webmail.messagingengine.com> <55E8D6D4.20209@mail.de> <1441337800.230412.374445465.16C12305@webmail.messagingengine.com> In-Reply-To: <1441337800.230412.374445465.16C12305@webmail.messagingengine.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-purgate: clean X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 640 X-purgate-ID: 154282::1441376714-00000778-07EA63F9/0/0 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1441376718 news.xs4all.nl 23868 [2001:888:2000:d::a6]:32884 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:96023 On 04.09.2015 05:36, random832@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