Re: Finding the instance reference of an object
On Sun, 02 Nov 2008 13:23:11 -0800, Aaron Brady wrote:
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
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.
Python does is pass and copy references.
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
Comment