On Thu, 05 May 2011 15:48:51 +1200, Gregory Ewing <greg.ew...@canterbury.ac.nz> wrote: : No, it's not. With call-by-name, the caller passes a : small function (known as a "thunk") that calculates the : address of the parameter. Every time the callee needs to : refer to the parameter, it evaluates this function.
Well, call-by-name is not the same as transmission by name either. Transmission by name is what most posters here call call by reference, and transmission by reference is what this thread calls object sharing or call by object. No wonder I started off confused :-) It is better now. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list