Beginner question - How to effectively pass a large list
j.r.gao at motorola.com
Tue Dec 16 09:21:00 CET 2003
Thanks for the response.
I got following conclusion after reading your reply and other documents:
Actually, the python is passing the identity (i.e. memory address) of each
parameter, and it will bind to a local name within the function.
"Donn Cave" <donn at u.washington.edu> wrote in message
news:donn-02CC52.16050615122003 at nntp3.u.washington.edu...
> In article <3fde309f$0$19285$626a54ce at news.free.fr>,
> Bruno Desthuilliers <bdesth.nospam at removeme.free.fr> wrote:
> > (hint : it already *does* work like pointers in C[++] - at least for
> > mutable objects).
> For any and all objects, irrespective of mutability.
> Donn Cave, donn at u.washington.edu
More information about the Python-list