New submission from Pranav Pandya <thepranavpan...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue38966> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com