Message571

Author nobody
Recipients
Date 2002-02-11.13:30:18
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
I found next difference in behaviour of "+=" statement in  
Python 2.1 and Jython 2.1.

Python 2.1:

>>> a = [1, 2, 3]
>>> a += "456"
>>> a
[1, 2, 3, '4', '5', '6']

Jython 2.1

>>> a = [1, 2, 3]
>>> a += "456"
>>> a
[1, 2, 3]
History
Date User Action Args
2008-02-20 17:17:01adminlinkissue515894 messages
2008-02-20 17:17:01admincreate