On Nov 2, 10:13 pm, Steven D'Aprano <[EMAIL PROTECTED]> wrote: > 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
I think we can conclude that Python passes by reference, since a function can modify objects that were passed in to it. -- http://mail.python.org/mailman/listinfo/python-list