Mark Wooding wrote: ... > I agree with the comment about Pascal, but C is actually pretty similar > to Python here. C only does pass-by-value.
As a side comment (because it always bugs me when I read this, even though I read it in very authoritative sources), ISTM that C passes everything by value except arrays; they are passed by reference (by passing a pointer to the array by value.) Admittedly, the close relationship between arrays and pointers makes it easy conflate them. -- http://mail.python.org/mailman/listinfo/python-list