[New-bugs-announce] [issue38966] List similarity relationship

Pranav Pandya report at bugs.python.org
Wed Dec 4 03:39:40 EST 2019


New submission from Pranav Pandya <thepranavpandya at gmail.com>:

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 are taken as same values even if one is changed

----------
assignee: terry.reedy
components: IDLE
messages: 357779
nosy: PranavSP, terry.reedy
priority: normal
severity: normal
status: open
title: List similarity relationship
type: behavior
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38966>
_______________________________________


More information about the New-bugs-announce mailing list