Path: csiph.com!news.mixmin.net!news2.arglkargh.de!feeder.erje.net!1.eu.feeder.erje.net!bcyclone03.am1.xlned.com!bcyclone03.am1.xlned.com!newsfeed.xs4all.nl!newsfeed7.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.187 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.65; '*S*': 0.03; ':-)': 0.12; 'codebase': 0.16; 'header:In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; 'code': 0.30; "i'll": 0.33; 'file': 0.34; 'received:google.com': 0.35; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'to:addr:python.org': 0.40; 'ever': 0.60; 'our': 0.64; 'url:app': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xqEGomZH5EAh9ylibQYH/rbMtJjtj62+hIEiLjW95bA=; b=jiSgdBJKOlZqexwsUpDOW2rXmSaKQ8iqcM7n+QtG9w5tOOlvU4SWYcsJtu0+7KP0lM lzqJu/1crH4SBY2WePHgQ6NtD/xaRZ+W6PSjQeq1xDuvo8Se1vecVX5RFibKpQqioznO kCZX76IUZvwWOg5wTZJ5hvxD2l5lacSCHqPUZVZbxrBr+LS0/Cp0pahwi3K6wSPreeTx 6LwxnfM2URkqtxEux2BvGowISjUcOv3Y9ZMTm36TEW4TKkoZ0O+dL6C6wJpfi+TExHXi FbtNJuhLDv5pcoUgLdRGRicQseh2TfhWJkkf9eKbGmtVBfXs+P9fZgN6obhNdqYEdgUE uYLw== MIME-Version: 1.0 X-Received: by 10.66.148.6 with SMTP id to6mr60656533pab.132.1441238330235; Wed, 02 Sep 2015 16:58:50 -0700 (PDT) In-Reply-To: <55E758A3.30602@mail.de> References: <55E6C904.3020602@rece.vub.ac.be> <55E758A3.30602@mail.de> Date: Wed, 2 Sep 2015 19:58:50 -0400 Subject: Re: packing unpacking depends on order. From: Vladimir Ignatov To: python-list@python.org Content-Type: text/plain; charset=UTF-8 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: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1441238339 news.xs4all.nl 23815 [2001:888:2000:d::a6]:53962 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 2786 X-Received-Body-CRC: 4064295353 Xref: csiph.com comp.lang.python:95908 >>>> b, a[b] = a[b], b Nice. If I ever notice that kind of code in our codebase I'll 1) check file history to find out the "author" 2) ask that guy to remove it immediately :-) Vladimir http://itunes.apple.com/us/app/python-code-samples/id1025613117