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 martin.panter
Recipients BrenBarn, ashwch, benrg, docs@python, ezio.melotti, martin.panter, r.david.murray, rhettinger, terry.reedy
Date 2015-09-24.21:20:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443129653.4.0.0651421714502.issue16701@psf.upfronthosting.co.za>
In-reply-to
Content
The “s += t” operation assigns the result back to s. So it could involve an extra __setattr__()/__setitem__() call, or an exception trying to modify a tuple item, etc. The extend() and slice assignment versions don’t have this extra stage.
History
Date User Action Args
2015-09-24 21:20:53martin.pantersetrecipients: + martin.panter, rhettinger, terry.reedy, ezio.melotti, r.david.murray, docs@python, benrg, BrenBarn, ashwch
2015-09-24 21:20:53martin.pantersetmessageid: <1443129653.4.0.0651421714502.issue16701@psf.upfronthosting.co.za>
2015-09-24 21:20:53martin.panterlinkissue16701 messages
2015-09-24 21:20:53martin.pantercreate