Public bug reported:

In Python3 (and in Python2) the behaviour of a matrix depends on how it is 
created. If elements are assigned directly, it behaves as it should, but if a 
row is created and then several of these rows are appended to the matrix, this 
matrix misbehaves, even when it appears to be the same matrix as the first one.
I have added a .py program that shows the bug: codevierkant_experiment.py.
The same happens in Python2, and also in the newer Python3 in Ubuntu 19.10

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: python3 3.6.7-1~18.04
ProcVersionSignature: Ubuntu 5.0.0-37.40~18.04.1-generic 5.0.21
Uname: Linux 5.0.0-37-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.9
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Jan 16 10:17:39 2020
InstallationDate: Installed on 2019-09-05 (132 days ago)
InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=nl_NL.UTF-8
 SHELL=/bin/bash
SourcePackage: python3-defaults
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: python3-defaults (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

** Attachment added: "codevierkant_experiment.py"
   
https://bugs.launchpad.net/bugs/1859948/+attachment/5320805/+files/codevierkant_experiment.py

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1859948

Title:
  behaviour matrix depends on how it is created

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1859948/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to