Please help with MemoryError

Mel mwilson at the-wire.com
Fri Feb 12 15:22:08 EST 2010


mk wrote:

> John Posner wrote:
> 
>>>      http://effbot.org/zone/call-by-object.htm
>>>      http://en.wikipedia.org/wiki/Evaluation_strategy
> 
>> [1] http://mail.python.org/pipermail/edu-sig/2008-May/008583.html
> 
> Hmm how about "call by label-value"?

Nothing egregiously wrong with it.. maybe it's a bit wordy.  It may be an 
uphill fight getting it accepted into computer science the way Call by 
value, Call by reference, Call by sharing, and Call by copy-restore have 
been (<http://en.wikipedia.org/wiki/Evaluation_strategy>).

	Mel.
> 
> That is, you change labels by assignment, but pass the value of the
> label to a function. Since label value is passed, original label is not
> changed (i.e. it's not call by reference).
> 
> However, an object referenced by label value can be changed in Python,
> like in classic example of list label passed to a function and then this
> list being modified in a function.
> 
> Regards,
> mk





More information about the Python-list mailing list