Ray.Allen <ysj....@gmail.com> added the comment: Alexander:
> When a is mutable, a += b updates it in-place, so there is no ambiguity: the > type of a cannot change. When you do a + b, there is no reason to treat a as > more deserving than b when selecting the type of the result Does this means "a += b" is not the same as "a = a + b"? I'd think this can be seen as a pitfall for python. ---------- nosy: +ysj.ray _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9314> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com