Public bug reported: Binary package hint: python-numeric
This is Hardy on x86_64 with python-numeric 24.2-8ubuntu2: $ python Python 2.5.2 (r252:60911, Jul 31 2008, 17:31:22) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import Numeric >>> Numeric.array([[10,20],[30,40]],'s')[1:] zeros((0, 2), 's') >>> Numeric.array([[10,20],[30,40]],'s')[1:,] array([ [30, 40]],'s') The result of the slice with [1:] is wrong. It should be the same as the second slice. The bug seems to affect one-dimensional array slices with no ending point. The bug is not present in Intrepid on x86 (Python 2.5.2 (r252:60911, Aug 6 2008, 09:17:42; [GCC 4.3.1]; python-numeric 24.2-9). An application affected by this bug is ttx from fonttools. ** Affects: python-numeric (Ubuntu) Importance: Undecided Status: New ** Description changed: Binary package hint: python-numeric This is Hardy on x86_64 with python-numeric 24.2-8ubuntu2: $ python Python 2.5.2 (r252:60911, Jul 31 2008, 17:31:22) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import Numeric >>> Numeric.array([[10,20],[30,40]],'s')[1:] zeros((0, 2), 's') >>> Numeric.array([[10,20],[30,40]],'s')[1:,] array([ [30, 40]],'s') The result of the slice with [1:] is wrong. It should be the same as the second slice. The bug seems to affect one-dimensional array slices with no ending point. The bug is not present in Intrepid on x86 (Python 2.5.2 (r252:60911, Aug 6 2008, 09:17:42; [GCC 4.3.1]; python-numeric 24.2-9). + + An application affected by this bug is ttx from fonttools. -- Some slices of Numeric.array are wrong https://bugs.launchpad.net/bugs/263781 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs