"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..

- Hendrik

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to