[Numpy-discussion] Some comments on the Numeric3 Draft of 1-Mar-05

konrad.hinsen at laposte.net konrad.hinsen at laposte.net
Fri Mar 4 05:39:15 CST 2005


On Mar 3, 2005, at 17:46, Colin J. Williams wrote:

>> Those are just the built-in types. There are no plans to increase 
>> their  number.
>
> My understanding was that there was to be a new builtin 
> multiarray/Array class/type which eventually would replace the 
> existing array.ArrayType.  Thus, for a time

Neither the current array type nor the proposed multiarray type are 
builtin types. They are types defined in modules belonging to the 
standard library.

> Yes, that it a problem which is not well resolved by requiring that a 
> slice be terminated with a ")", "]", "}" or a space.  One of the 
> difficulties is that the slice is not recognized in the current 
> syntax.  We have a "slicing" which ties a slice with a

It is, but in the form of a standard constructor: slice(a, b, c).

> Thomas Wouters proposed a similar structure for a range in PEP204 
> (http://python.fyxm.net/peps/pep-0204.html), which was rejected.
>
We would probably face the same problem: a syntax change must matter to 
many people to have a chance of being accepted.

Konrad.
--
---------------------------------------------------------------------
Konrad Hinsen
Laboratoire Léon 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