This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ysj.ray
Recipients amaury.forgeotdarc, belopolsky, djc, eric.araujo, ysj.ray
Date 2010-07-21.06:09:36
SpamBayes Score 0.00045617367
Marked as misclassified No
Message-id <1279692578.11.0.528380218473.issue9314@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-07-21 06:09:38ysj.raysetrecipients: + ysj.ray, amaury.forgeotdarc, belopolsky, djc, eric.araujo
2010-07-21 06:09:38ysj.raysetmessageid: <1279692578.11.0.528380218473.issue9314@psf.upfronthosting.co.za>
2010-07-21 06:09:36ysj.raylinkissue9314 messages
2010-07-21 06:09:36ysj.raycreate