Official definition of call-by-value (Re: Finding the instance reference...)

Arnaud Delobelle arnodel at googlemail.com
Wed Nov 12 08:11:14 CET 2008


Steven D'Aprano <steven at REMOVE.THIS.cybersource.com.au> writes:

> I am very happy to say that x=1 implies that the value of x is the object 
> 1 itself, in fact I would insist on such a definition of value.
>
> If you insist that Python is call by value, the only way that can work is 
> by defining values to be references

That's a neat and concise way of summarising this whole thread.

-- 
Arnaud



More information about the Python-list mailing list