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


Groups > comp.lang.python > #95908

Re: packing unpacking depends on order.

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 <kmisoft@gmail.com>
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> <ms7cfh$k4h$1@ger.gmane.org> <55E758A3.30602@mail.de>
Date Wed, 2 Sep 2015 19:58:50 -0400
Subject Re: packing unpacking depends on order.
From Vladimir Ignatov <kmisoft@gmail.com>
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 <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.45.1441238339.8327.python-list@python.org> (permalink)
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

Show key headers only | View raw


>>>> 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

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


Thread

Re: packing unpacking depends on order. Vladimir Ignatov <kmisoft@gmail.com> - 2015-09-02 19:58 -0400

csiph-web