Message4062

Author pchasco
Recipients pchasco
Date 2009-01-21.18:28:17
SpamBayes Score 1.1103598e-07
Marked as misclassified No
Message-id <1232562497.65.0.236861216823.issue1242@psf.upfronthosting.co.za>
In-reply-to
Content
Item assignment is allowed in jython 2.5b1. Reproduction:

>>> t = (1,)
>>> t[0] = 2
>>> print 2
2

Whereas CPython 2.5.2 produces the following:
>>> t = (1,)
>>> t[0] = 2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'tuple' object does not support item assignment
>>>
History
Date User Action Args
2009-01-21 18:28:17pchascosetrecipients: + pchasco
2009-01-21 18:28:17pchascosetmessageid: <1232562497.65.0.236861216823.issue1242@psf.upfronthosting.co.za>
2009-01-21 18:28:17pchascolinkissue1242 messages
2009-01-21 18:28:17pchascocreate