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 Владимир.Тырин
Recipients Владимир.Тырин
Date 2014-09-24.14:20:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1411568448.91.0.544050885168.issue22481@psf.upfronthosting.co.za>
In-reply-to
Content
This behavior seems to be very strange. 

>>> l = [1, 2, 3]
>>> t = ('a', l)
>>> t
('a', [1, 2, 3])
>>> t[1] += [4]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'tuple' object does not support item assignment
>>> t
('a', [1, 2, 3, 4])
History
Date User Action Args
2014-09-24 14:20:48Владимир.Тыринsetrecipients: + Владимир.Тырин
2014-09-24 14:20:48Владимир.Тыринsetmessageid: <1411568448.91.0.544050885168.issue22481@psf.upfronthosting.co.za>
2014-09-24 14:20:48Владимир.Тыринlinkissue22481 messages
2014-09-24 14:20:48Владимир.Тыринcreate