[issue38966] List similarity relationship

2020-03-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Interpreter Core -IDLE ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue38966] List similarity relationship

2019-12-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: terry.reedy -> resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue38966] List similarity relationship

2019-12-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This is same as doing the below with list1 getting a reference of list2. Assignments in Python don't copy the value but make a reference. This is not an issue specific to IDLE as tagged and has the same behaviour under a normal REPL. https://docs.p

[issue38966] List similarity relationship

2019-12-04 Thread Pranav Pandya
New submission from Pranav Pandya : When list is initialized and equated to give the same value as list1=list2=[], then post initialization list1 & list2 are taken as same values and any changes in list2 are changed in list 1 and so on. Thus during initialization if lists are equated, they a