Lisandro wrote:
> Perhaps you do not remember, but I've expressed my +1 for templates using
> []
>
> I'll just point that I like "MyType[int,float]" more than
> "MyType[int][float]" ...
>

I think I write too long emails :-)

Anyway, this wasn't about the template syntax (which is pretty much
settled I believe; Brian Granger just wanted to know why the decision went
that way), but about changing the PEP 3118 syntax, specifically, removing
the possibility of doing

cdef object[int] a

(is anybody even using it for real?) and replace it with

cdef int[:] a

with slightly different semantics. ndarray[int] stays as today.

Dag Sverre

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to