On Sat, 08 Nov 2008 17:12:00 +1300, greg wrote: > Steven D'Aprano wrote: >> Python's behaviour is not the same as what Pascal, or C, calls >> call-by-value. > > Python's assignment is not the same as what Pascal or C calls > assignment, either. Yet we don't hear anyone claim that the term > "assignment" shouldn't be used in Python.
Er, you're not from around here are you? I admit that sometimes I slip into bad habits, but generally the accepted terminology is that x = 1 binds the object 1 to the name x. > The difference between call-by-value in Python and Pascal is exactly the > same difference as there is between assignment in Python and Pascal. Why > should we throw out one term but not the other? Exactly. -- Steven -- http://mail.python.org/mailman/listinfo/python-list