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.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'mrab': 0.05; 'arguments': 0.07; 'function,': 0.07; 'rejected': 0.07; 'any)': 0.09; 'replied': 0.09; 'cc:addr:python-list': 0.10; 'server,': 0.15; 'above?': 0.16; 'foo"': 0.16; 'to:addr:pearwood.info': 0.16; 'to:addr:steve+comp.lang.python': 0.16; "to:name:steven d'aprano": 0.16; 'value"': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'tries': 0.17; '>>>': 0.18; 'appears': 0.18; '(not': 0.20; 'subject:skip:i 10': 0.22; 'cc:2**0': 0.23; 'programming': 0.23; 'posts': 0.23; 'somebody': 0.23; "haven't": 0.23; 'cc:no real name:2**0': 0.24; 'pass': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'values': 0.26; 'possibly': 0.27; 'andrew': 0.27; 'functions.': 0.27; 'message-id:@mail.gmail.com': 0.27; 'subject:list': 0.28; 'post': 0.28; '-0700,': 0.29; "d'aprano": 0.29; 'parameters.': 0.29; 'question:': 0.29; 'steven': 0.29; 'value)': 0.29; 'case,': 0.29; 'evaluation': 0.30; 'received:209.85.215.46': 0.30; 'sense': 0.31; 'point': 0.31; "aren't": 0.33; 'dates': 0.33; 'knowledge': 0.33; 'received:google.com': 0.34; 'nov': 0.35; 'pm,': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'explain': 0.36; 'but': 0.36; 'wanted': 0.36; 'does': 0.37; 'two': 0.37; 'being': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'subject:-': 0.40; 'header:Received:5': 0.40; 'your': 0.60; 'lost': 0.60; 'back': 0.62; 'wide': 0.62; 'between': 0.63; 'strategy': 0.64; 'learned': 0.65; 'talking': 0.66; 'news': 0.68; 'believe': 0.69; 'miss': 0.75; 'age.': 0.84; 'distinguish': 0.84; "isp's": 0.84; 'synonyms,': 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 :cc:content-type; bh=WrZl2DNylTsrDXYkjPtp7fOLKwuB7uVQYLj1UmpxPSg=; b=0jHFmV+Rnp77E2hYuf2KfjXRh/MHqt7Do2btma6EDT1rXnEzOOvfweF0aUFZ4A6r4j vW0o2i7SvnYUvy3Nl3MohepQr9ZIKowbIiaF6/HeCUtdfm2nI+r0kKpJGNAn+spG2Wvl siyfCj3zURMAgfb1Xkt/kCxhyrqafdG9zu7TPr/KDEaGjbSsxDOaNzq5xrz49M+ivlnP 6G7MQlByctDm7640acSkIJS0a4vf62deIrK95FCIdDFZ9HvwI/n+b/vrzxzldPyxwzPf U58T4x/ilkPggMzornvwkmKShmFtrtGxlnEDxRWpJ+iv0bFaG6GBoiqF1qI4s5vSjV1U E2WQ== MIME-Version: 1.0 In-Reply-To: <509af632$0$29980$c3e8da3$5496439d@news.astraweb.com> References: <50978323$0$6908$e4fe514c@news2.news.xs4all.nl> <5098d2ac$0$29980$c3e8da3$5496439d@news.astraweb.com> <50999214.50100@r3dsolutions.com> <509ABBD4.7020200@r3dsolutions.com> <509af632$0$29980$c3e8da3$5496439d@news.astraweb.com> Date: Thu, 8 Nov 2012 00:30:53 +0000 Subject: Re: Multi-dimensional list initialization From: Oscar Benjamin To: "Steven D'Aprano" Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org 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: 39 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1352334655 news.xs4all.nl 6860 [2001:888:2000:d::a6]:59336 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:32926 On 8 November 2012 00:00, Steven D'Aprano wrote: > Andrew, it appears that your posts are being eaten or rejected by my > ISP's news server, because they aren't showing up for me. Possibly a side- > effect of your dates being in the distant past? So if you have replied to > any of my posts, I haven't seen them. > > In any case, I wanted to ask a question: > > > On Wed, 07 Nov 2012 14:01:19 -0700, Ian Kelly wrote: >> On Wed, Nov 7, 2012 at 12:51 PM, Andrew Robinson >> wrote: > > [...] > >>> But, in any event: >>> Pass by value (not call by value) is a term stretching back 30 years; >>> eg: when I learned the meaning of the words. Rewording it as "Call by >>> value" is something that happened later, and the nuance is lost on >>> those without a very wide programming knowledge *and* age. > > Every now and again I come across somebody who tries to distinguish > between "call by foo" and "pass by foo", but nobody has been able to > explain the difference (if any) to me. When you CALL a function, you PASS > values to it. Hence the two terms are effectively synonyms, and both > refer to the evaluation strategy when binding arguments to parameters. > > If you believe that is incorrect, can you point me to something > explaining the difference? Did you also miss MRAB's post above? It made sense to me. MRAB wrote: > The disadvantage of calling it "call by ..." is that it suggests that > you're just talking about calling functions. > > What about binding in general, eg "x = y"? Does it make sense to still > call it "call by ..."?