Activity log for bug #263781

Date Who What changed Old value New value Message
2008-09-01 22:24:38 Marcin Kowalczyk bug added bug
2008-09-01 22:27:07 Marcin Kowalczyk description 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). 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.