Paul Barrett wrote:
Travis Oliphant wrote:
I am looking for feedback on the PEP. Of particular interest is the specification of multidimensional indexing that I've outlined. I think it is mostly the same as numarray (I'd love some feedback to be sure about that), except for the fact that X[K] where K is a a single integer index array can do 1-d indexing similar to MATLAB. The equivalent numarray indexing is available as X[K,]. Now that I've specified what is to happen, I think it won't be very difficult to code.
Your indexing implementation appears reasonable.
I would also like some help on resolving the type issue. Is it important to have hierarchial classes defined (probably in Python) that can be used to check and/or specify type or are functions that check for various properties, fine. Right now x.type is specified as an attribute but the attribute could be replaced by a method. What to return is the biggest question.
I don't see the need for hierarchical type classes, though it might ease the comparison with Python types.
I see some small potential benefit, particularly with the addition of non-numeric types.
Colin W.
