[Numpy-discussion] Thoughts on getting "something" in the Python core

konrad.hinsen at laposte.net konrad.hinsen at laposte.net
Thu Mar 31 23:23:01 EST 2005

On 01.04.2005, at 01:51, Travis Oliphant wrote:

> So, what if we proposed for the Python core not something like  
> Numeric3 (which would still exist in scipy.base and be everybody's  
> favorite array :-) ),  but a very minimal array object (scaled back  
> even from Numeric) that followed the array protocol and had some C-API  
> associated with it.

What would that minimal array object have in common with the full-size  
one?   A subset of both the Python API and the C API? The data layout?  
Would the full one be a subtype of the minimal one?

I like the idea in principle but I would like to be sure that it  
doesn't create additional overhead in the full array or in extension  
modules that use arrays, in the form of additional typecheck and  
compatibility criteria. Once there is a minimal array type in the core,  
objects of that type will be circulating and must somehow be handled.

Konrad Hinsen
Laboratoire Leon Brillouin, CEA Saclay,
91191 Gif-sur-Yvette Cedex, France
Tel.: +33-1 69 08 79 25
Fax: +33-1 69 08 82 61
E-Mail: khinsen at cea.fr

More information about the NumPy-Discussion mailing list