On 2008-10-17, Joe Strout <[EMAIL PROTECTED]> wrote: >> Python's assignment semantics (as opposed to its "object handling, a >> term for which I have no referent) are not the same as those of, say >> C. > > They are, though. The only difference you've pointed out is that > *numbers* are different in Python vs. C, and that's an internal > implementation detail I was blissfully unaware of until this > discussion. (I'm grateful to know it, but it really doesn't matter in > day-to-day coding.)
No they are not. An assignment in Python is like making an (new) alias/reference, while an asignment in C is copying the content of one variable into another. -- Antoon Pardon -- http://mail.python.org/mailman/listinfo/python-list