Message4062
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
>>> |
|
Date |
User |
Action |
Args |
2009-01-21 18:28:17 | pchasco | set | recipients:
+ pchasco |
2009-01-21 18:28:17 | pchasco | set | messageid: <1232562497.65.0.236861216823.issue1242@psf.upfronthosting.co.za> |
2009-01-21 18:28:17 | pchasco | link | issue1242 messages |
2009-01-21 18:28:17 | pchasco | create | |
|