[issue39368] A matrix (list of lists) behaves differently, depending how it is created

2020-01-17 Thread Jaap Woldringh
Jaap Woldringh added the comment: Op 17-01-2020 om 14:03 schreef Karthikeyan Singaravelan: > Karthikeyan Singaravelan added the comment: > > You're referencing to the same list 3 times in B. So modifying it once means > all the elements referring to same object reflect the change.

[issue39368] A matrix (list of lists) behaves differently, depending how it is created

2020-01-17 Thread Jaap Woldringh
New submission from Jaap Woldringh : Python used: Python 3.6.9 (default, Nov 7 2019, 10:44:02) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. In Ubuntu 18.04.3 But in any other version of Python3, a