[New-bugs-announce] [issue24463] Python 3.4 bugs

vasya yugov report at bugs.python.org
Thu Jun 18 13:01:13 CEST 2015


New submission from vasya yugov:

This code:

w = [[0] * 2] * 2
w[1][1] = 1
print(w)

prints
[[0, 1], [0, 1]]
Is it a bug?

----------
components: Macintosh
messages: 245460
nosy: ned.deily, ronaldoussoren, vasya yugov
priority: normal
severity: normal
status: open
title: Python 3.4 bugs
type: behavior
versions: Python 3.4

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


More information about the New-bugs-announce mailing list