Possible improvement to slice opperations.

Terry Reedy tjreedy at udel.edu
Mon Sep 5 19:50:36 EDT 2005


> Ron Adam wrote:
>
>> However, I would like the inverse selection of negative strides to be
>> fixed if possible.  If you could explain the current reason why it does
>> not return the reverse order of the selected range.

To repeat, the current reason is compatibility with the original design for 
NumPy.  Perhaps there is some explanation for that in sliceobject.c (or 
whatever the file is called), the CVS checkin messages, or the newsgroup 
archives before the first checkin (in 1996, I believe).

Terry J. Reedy






More information about the Python-list mailing list