[New-bugs-announce] [issue38458] lists

DEVOR BLAKE DANIELS report at bugs.python.org
Sat Oct 12 19:54:11 EDT 2019


New submission from DEVOR BLAKE DANIELS <dev40573 at gmail.com>:

l=[2,3,4]
p=l
p[0]=5
when I change p[0] to 5,l[0] is also changed to 5. I use slicing to get around this ,but when dealing with lists like s[][],slicing does not work

----------
files: three.py
messages: 354558
nosy: dev40573
priority: normal
severity: normal
status: open
title: lists
type: behavior
Added file: https://bugs.python.org/file48657/three.py

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


More information about the New-bugs-announce mailing list