Re: [Numpy-discussion] RFC: out of range slice indexes

2008-01-16 Thread Neal Becker
Neal Becker wrote: > I've never liked that python silently ignores slices with out of range > indexes. I believe this is a source of bugs (it has been for me). It > goes completely counter to the python philosophy. > > I vote to ban them from numpy. from numpy import array x = array (

Re: [Numpy-discussion] RFC: out of range slice indexes

2008-01-14 Thread Robert Kern
Neal Becker wrote: > Robert Kern wrote: > >> Neal Becker wrote: >>> I've never liked that python silently ignores slices with out of range >>> indexes. I believe this is a source of bugs (it has been for me). It >>> goes completely counter to the python philosophy. >>> >>> I vote to ban them fro

Re: [Numpy-discussion] RFC: out of range slice indexes

2008-01-14 Thread Timothy Hochberg
On Jan 14, 2008 12:37 PM, Neal Becker <[EMAIL PROTECTED]> wrote: > I've never liked that python silently ignores slices with out of range > indexes. I believe this is a source of bugs (it has been for me). It > goes > completely counter to the python philosophy. > > I vote to ban them from numpy

Re: [Numpy-discussion] RFC: out of range slice indexes

2008-01-14 Thread Neal Becker
Robert Kern wrote: > Neal Becker wrote: >> I've never liked that python silently ignores slices with out of range >> indexes. I believe this is a source of bugs (it has been for me). It >> goes completely counter to the python philosophy. >> >> I vote to ban them from numpy. > from numpy im

Re: [Numpy-discussion] RFC: out of range slice indexes

2008-01-14 Thread Robert Kern
Neal Becker wrote: > I've never liked that python silently ignores slices with out of range > indexes. I believe this is a source of bugs (it has been for me). It goes > completely counter to the python philosophy. > > I vote to ban them from numpy. from numpy import array x = array (x

[Numpy-discussion] RFC: out of range slice indexes

2008-01-14 Thread Neal Becker
I've never liked that python silently ignores slices with out of range indexes. I believe this is a source of bugs (it has been for me). It goes completely counter to the python philosophy. I vote to ban them from numpy. >>> from numpy import array >>> x = array (xrange (10)) >>> x[11] Traceback