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

Greg Ewing see at my.signature
Wed Jun 20 03:00:27 CEST 2001

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".

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. 

Greg Ewing, Computer Science Dept, University of Canterbury,	  
Christchurch, New Zealand
To get my email address, please visit my web page:

More information about the Python-list mailing list