On Wed, Jun 3, 2015, at 17:56, Mark Lawrence wrote: > Now does Python pass by value or by reference? Happily sits back and > waits for 10**6 emails to arrive as this is discussed for the 10**6th > time.
Python's in that same awkward space as Java, where it technically passes by value, but the values are usually pointers, so passing a mutable object (such as a list) allows the function to modify the caller's state in a way that many people associate exclusively with by-reference. Have I hit all the high points? -- https://mail.python.org/mailman/listinfo/python-list