Message251545
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. |
|
Date |
User |
Action |
Args |
2015-09-24 21:20:53 | martin.panter | set | recipients:
+ martin.panter, rhettinger, terry.reedy, ezio.melotti, r.david.murray, docs@python, benrg, BrenBarn, ashwch |
2015-09-24 21:20:53 | martin.panter | set | messageid: <1443129653.4.0.0651421714502.issue16701@psf.upfronthosting.co.za> |
2015-09-24 21:20:53 | martin.panter | link | issue16701 messages |
2015-09-24 21:20:53 | martin.panter | create | |
|