On 2007-02-21, Hendrik van Rooyen <[EMAIL PROTECTED]> wrote: > "Nick Craig-Wood" <[EMAIL PROTECTED]> wrote: >> Ie >> >> x += a >> >> does not equal >> >> x = x + a >> >> which it really should for all types of x and a > > One would hope so , yes. > > However, I think that the first form is supposed to update in place, > while the second is free to bind a new thing to x > >> (That is the kind of statement about which I'm sure someone >> will post a perfectly reasonable counterexample ;-) > > I don't think its reasonable - its just an accident of implementation..
Yup. It's analogous to the way you can do hill-starts with a manual transmission, but not with an automatic transmission. -- Neil Cerutti -- http://mail.python.org/mailman/listinfo/python-list