call-by-reference (was Re: Any other Python flaws?)
Martijn Faassen
m.faassen at vet.uu.nl
Wed Jun 20 18:09:24 EDT 2001
Greg Ewing <see at my.signature> wrote:
> Martijn Faassen wrote:
>>
>> I think the use of the word 'variable' is ambiguous. :)
> In Python it's clearer to talk about "names" and "bindings"
> rather than "variables" and "values".
Sure, which is what I usually do. (or references)
> The statement then becomes "you can't change the binding
> of a name in your caller's namespace", which doesn't
> leave much room for misunderstanding.
Agreed.
Regards,
Martijn
--
History of the 20th Century: WW1, WW2, WW3?
No, WWW -- Could we be going in the right direction?
More information about the Python-list
mailing list