Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'completeness': 0.07; 'reason,': 0.07; 'lawrence': 0.09; 'received:155': 0.09; 'language': 0.14; 'disclaimers': 0.16; 'disclaimers,': 0.16; 'enlighten': 0.16; 'evaluates': 0.16; 'from:addr:jpmorgan.com': 0.16; 'knows?': 0.16; 'received:155.180': 0.16; 'received:155.180.234': 0.16; 'received:159.53': 0.16; 'received:bankone.net': 0.16; 'received:exchad.jpmchase.net': 0.16; 'received:jpmchase.com': 0.16; 'received:jpmchase.net': 0.16; 'received:svr.bankone.net': 0.16; 'securities,': 0.16; 'url:disclosures': 0.16; 'url:jpmorgan': 0.16; 'wrote:': 0.17; 'to:name:python-list@python.org': 0.20; 'subject:skip:i 10': 0.22; "i've": 0.23; 'received:169.254': 0.24; 'header:In-Reply-To:1': 0.25; 'accuracy': 0.27; 'subject:list': 0.28; 'chris': 0.28; "d'aprano": 0.29; 'steven': 0.29; 'received:169': 0.29; 'becomes': 0.30; 'fri,': 0.30; 'header:Received:8': 0.30; 'to:addr:python- list': 0.33; 'code:': 0.33; 'that,': 0.34; 'nov': 0.35; 'pm,': 0.35; 'but': 0.36; 'charset:us-ascii': 0.36; 'subject:: ': 0.38; 'mark': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'subject:-': 0.40; 'information,': 0.63; 'url:email': 0.63; 'legal': 0.65; 'subject': 0.66; 'purchase': 0.67; 'sale': 0.76; 'received:169.254.8': 0.84; 'dennis': 0.91; 'either:': 0.91 X-DKIM: OpenDKIM Filter v2.1.3 sf3.jpmchase.com qA9KZfOJ001337 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpmorgan.com; s=smtpout; t=1352493341; bh=F8KcjbhgGJSiUvdCchkQtXlyRUkydUbPy6xQKxDb7fE=; h=From:To:Subject:Date:Message-ID:References:In-Reply-To: Content-Transfer-Encoding:MIME-Version:Content-Type; b=Ud8QehYFdUoGmFacOs6ngdTpUcwhvAr3kKrZ8L4+coBHSD/el0lv67j/gCQk5CsPr dKA6Y8thPo4N8kbEn2mjusva+vfmmEuyjnYvffLYTUuRaScnxmKGvVbTNvepBmsUDg pcDPzad9i9Ks9XqKMGfC7FX3ffZfy27dfUWjv4K8= From: "Prasad, Ramit" To: "python-list@python.org" Subject: RE: Multi-dimensional list initialization Thread-Topic: Multi-dimensional list initialization Thread-Index: AQHNvrFDqOr0cXvBdU2FrAoICmLR4Jfh9LTw Date: Fri, 9 Nov 2012 20:31:47 +0000 References: <5098d2ac$0$29980$c3e8da3$5496439d@news.astraweb.com> <5099bf7d$0$29980$c3e8da3$5496439d@news.astraweb.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.67.79.47] Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-DLP-FWD: Yes Content-Type: text/plain; charset="us-ascii" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1352493345 news.xs4all.nl 6958 [2001:888:2000:d::a6]:37093 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:33047 Dennis Lee Bieber wrote:=0D=0A> =0D=0A> On Fri, 9 Nov 2012 17:07:09 +1100, = Chris Angelico =0D=0A> declaimed the following in gmane= =2Ecomp=2Epython=2Egeneral:=0D=0A> =0D=0A> > On Fri, Nov 9, 2012 at 12:39 P= M, Mark Lawrence wrote:=0D=0A> > > On 07/11/2= 012 01:55, Steven D'Aprano wrote:=0D=0A> > >>=0D=0A> > >>=0D=0A> > >> Who k= nows? Who cares? Nobody does:=0D=0A> > >>=0D=0A> > >> n -=3D n=0D=0A> > >>= =0D=0A> > >=0D=0A> > > But I've seen this scattered through code:=0D=0A> > = >=0D=0A> > > x :=3D x - x - x=0D=0A> >=0D=0A> > Can you enlighten us as to = how this is better than either:=0D=0A> > x :=3D -x=0D=0A> > or=0D=0A> > x= :=3D 0 - x=0D=0A> =0D=0A> Of course, if one has a language that, for some= reason, evaluates=0D=0A> right-to-left (APL, anyone), then=0D=0A> =0D=0A> = x :=3D x - x - x=0D=0A> =0D=0A> becomes=0D=0A> =0D=0A> x :=3D x - 0=0D=0A= > =0D=0A=0D=0AIs that not the same as x:=3D-x?=0D=0A=0D=0A=0D=0A~Ramit=0D= =0A=0D=0A=0D=0AThis email is confidential and subject to important disclaim= ers and=0D=0Aconditions including on offers for the purchase or sale of=0D= =0Asecurities, accuracy and completeness of information, viruses,=0D=0Aconf= identiality, legal privilege, and legal entity disclaimers,=0D=0Aavailable = at http://www=2Ejpmorgan=2Ecom/pages/disclosures/email=2E