Author belopolsky
Recipients amaury.forgeotdarc, belopolsky, djc, eric.araujo
Date 2010-07-20.19:07:30
SpamBayes Score 0.000385102
Marked as misclassified No
Message-id <1279652852.25.0.266454714867.issue9314@psf.upfronthosting.co.za>
In-reply-to
Content
> I don't understand is why a += b is different from a + b
> in this respect.

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.
History
Date User Action Args
2010-07-20 19:07:32belopolskysetrecipients: + belopolsky, amaury.forgeotdarc, djc, eric.araujo
2010-07-20 19:07:32belopolskysetmessageid: <1279652852.25.0.266454714867.issue9314@psf.upfronthosting.co.za>
2010-07-20 19:07:30belopolskylinkissue9314 messages
2010-07-20 19:07:30belopolskycreate