Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!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; 'something,': 0.07; 'subject:based': 0.07; '25,': 0.12; 'am,': 0.12; 'received:209.85.210.174': 0.13; 'received:mail- iy0-f174.google.com': 0.13; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject: \n ': 0.16; 'subject:syntax': 0.16; 'wrote:': 0.18; 'dec': 0.22; 'header:In- Reply-To:1': 0.22; 'message-id:@mail.gmail.com': 0.28; 'sun,': 0.30; 'to:addr:python-list': 0.34; 'subject:/': 0.35; 'received:google.com': 0.37; 'doing': 0.38; 'received:209.85': 0.38; 'received:209': 0.40; 'to:addr:python.org': 0.40; '2011': 0.61; 'sides.': 0.84; '1:47': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=6/JGF5iTIcXIcedIOgPGXfeFpEmxJhQnvpT4L9VmeBY=; b=m7eZ+476WIJ7neeA15y0yFFpnomK9wHrO5oqjoeqEZKR6qBQGWk9V4WAS6Kd+Kp+PU cga6JW2BY0AP1FkTSo+8EvbQIykq4D89ff+zVz5x8AlsSWh4p7Q9lcdaytvraoBwGcAF CcF/xSGrSh92xfZ20UYGpwZ7/J5riqjTsmFkE= MIME-Version: 1.0 In-Reply-To: <99ae9ba0-4488-4b77-8e56-cf5af0d594af@cs7g2000vbb.googlegroups.com> References: <841f4d29-f50b-4b0b-912b-b497fb6e60ec@t16g2000vba.googlegroups.com> <15424060.724.1324183952802.JavaMail.geo-discussion-forums@prix23> <55f2aab5-be87-460e-8576-645ac225c63d@l19g2000yqc.googlegroups.com> <272d2d13-3168-4991-84ed-57a255a98c10@p9g2000vbb.googlegroups.com> <99ae9ba0-4488-4b77-8e56-cf5af0d594af@cs7g2000vbb.googlegroups.com> Date: Sun, 25 Dec 2011 01:57:18 +1100 Subject: Re: Pythonification of the asterisk-based collection packing/unpacking syntax From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 1324738641 news.xs4all.nl 6843 [2001:888:2000:d::a6]:54118 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:17848 On Sun, Dec 25, 2011 at 1:47 AM, Eelco wrote: > a, middle::tuple, b = ::sequence Then it ought to be ::(a, middle::tuple, b) = ::sequence or something, because you're doing the same thing on both sides. ChrisA