[issue36450] 3D Array Assignment to all 2D sub-arrays

2019-03-27 Thread John Bachman
Change by John Bachman : -- versions: +Python 3.7 ___ Python tracker <https://bugs.python.org/issue36450> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36450] 3D Array Assignment to all 2D sub-arrays

2019-03-27 Thread John Bachman
New submission from John Bachman : Tested on Python3.6 on Ubuntu 18.04 The following code snippet produces the wrong results. Snippet: M = [[[0] * 2] * 2] * 2 M[0][0][0] = 1