Qualified appology (was Re: anything like C++ references?)

Erik Max Francis max at alcyone.com
Mon Jul 14 03:10:18 EDT 2003


Stephen Horne wrote:

> All variables are implemented as references, but that is not the same
> as saying that all values are references.

Right.  And this is an extremely important point in Python.  Variables
are bindings of names to objects.  Objects are entities in and of
themselves.  The object is what is mutable or immutable, not the name. 
Names are transitory.

-- 
   Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
 __ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
/  \ The little I know, I owe to my ignorance.
\__/  Sacha Guitry




More information about the Python-list mailing list