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 Dmitrii.Dimandt
Recipients Dmitrii.Dimandt
Date 2013-12-12.08:36:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386837420.1.0.0855964875306.issue19958@psf.upfronthosting.co.za>
In-reply-to
Content
Observed behaviour:

Python 2.7.5 (default, Aug 25 2013, 00:04:04)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
>>> a = (1, [2,3])
>>> a[1] += [4,5]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'tuple' object does not support item assignment
>>> a
(1, [2, 3, 4, 5])


Expected behaviour: tuple remains unchanged
History
Date User Action Args
2013-12-12 08:37:00Dmitrii.Dimandtsetrecipients: + Dmitrii.Dimandt
2013-12-12 08:37:00Dmitrii.Dimandtsetmessageid: <1386837420.1.0.0855964875306.issue19958@psf.upfronthosting.co.za>
2013-12-12 08:36:59Dmitrii.Dimandtlinkissue19958 messages
2013-12-12 08:36:59Dmitrii.Dimandtcreate