Issue515894

classification
Title: Behaviour of "+=" stm. is different from
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: bckfnn Nosy List: bckfnn
Priority: normal Keywords:

Created on 2002-02-11.13:30:18 by anonymous, last changed 2002-03-11.14:06:05 by bckfnn.

Messages
msg571 (view) Author: Nobody/Anonymous (nobody) Date: 2002-02-11.13:30:18
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]
msg572 (view) Author: Finn Bock (bckfnn) Date: 2002-03-11.14:06:05
Logged In: YES 
user_id=4201

Added as test358.

The bug seems to be fixed already. Probably as a sideeffect 
of the iterator changes.
History
Date User Action Args
2002-02-11 13:30:18anonymouscreate