Finding the instance reference of an object
Steven D'Aprano
steven at REMOVE.THIS.cybersource.com.au
Sun Nov 2 23:13:51 EST 2008
On Sun, 02 Nov 2008 13:23:11 -0800, Aaron Brady wrote:
> But, doing so, an object is not the same as a reference to it, and all
> Python does is pass and copy references.
No, that's what at least one particular implementation of Python does.
That's not what Python does. The Python VM doesn't have any concept of
"values" or "references" or "values which are actually references in
disguise". The Python VM knows about *names in namespaces* and *objects*.
--
Steven
More information about the Python-list
mailing list