Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!goblin3!goblin.stu.neva.ru!newsfeed2.funet.fi!newsfeeds.funet.fi!uio.no!nntp.uib.no!svn.schaathun.net!not-for-mail From: Hans Georg Schaathun Newsgroups: comp.lang.python Subject: Re: What other languages use the same data model as Python? Date: Thu, 5 May 2011 05:58:51 +0100 Organization: University of Bergen Lines: 18 Message-ID: References: <4dbd1dbf$0$29991$c3e8da3$5496439d@news.astraweb.com> <92el16F9kaU1@mid.individual.net> NNTP-Posting-Host: vannskorpion.bccs.uib.no X-Trace: toralf.uib.no 1304571433 87626 129.177.20.20 (5 May 2011 04:57:13 GMT) X-Complaints-To: abuse@uib.no NNTP-Posting-Date: 5 May 2011 04:57:13 GMT User-Agent: slrn/pre1.0.0-18 (Linux) Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:4695 On Thu, 05 May 2011 15:48:51 +1200, Gregory Ewing wrote: : No, it's not. With call-by-name, the caller passes a : small function (known as a "thunk") that calculates the : address of the parameter. Every time the callee needs to : refer to the parameter, it evaluates this function. Well, call-by-name is not the same as transmission by name either. Transmission by name is what most posters here call call by reference, and transmission by reference is what this thread calls object sharing or call by object. No wonder I started off confused :-) It is better now. -- :-- Hans Georg