[New-bugs-announce] [issue3072] Assignment to list of lists gives incorrect result

Steve Emmert report at bugs.python.org
Tue Jun 10 06:24:29 CEST 2008


New submission from Steve Emmert <steve.eileen at gmail.com>:

This bug is explained in the attached file.  The list of lists does not
behave correctly when it is defined by the makeGrid function in the
attached file.  When attempting to set the value of one element, it
actually sets multiple elements.  The same operation works differently
when the list of lists is defined with a literal.  I am using version
2.5.2 with Windows XP.  I am just learning Python, so I may have gotten
some terminology wrong.
stesteve

----------
components: Interpreter Core
files: Bug_Case.py
messages: 67894
nosy: stesteve
severity: normal
status: open
title: Assignment to list of lists gives incorrect result
type: behavior
versions: Python 2.5
Added file: http://bugs.python.org/file10571/Bug_Case.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3072>
_______________________________________


More information about the New-bugs-announce mailing list