call-by-reference (was Re: Any other Python flaws?)

Martijn Faassen m.faassen at vet.uu.nl
Fri Jun 15 17:09:50 EDT 2001


jcm <grumble at usa.net> wrote:
[snip]
> Note I said you can't change the value of a _variable_ in your
> caller's scope.  Changing the state of an object isn't the same.

I think the use of the word 'variable' is ambiguous. :) When I hear
variable I'm not quite sure if we're talking about the reference or
what's referenced. Perhaps that's just me, though.

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