Need to make a correction, guess this wasn't ready anway: Dag Sverre wrote: > Seems that we will be able to reach some kind of consensus for an initial > subset of my proposal?: > > - The "name of the feature" will be parametric polymorphism. > - Introduced through the "generic" type specifier in "cdef" functions > only.
- Also allow "generic" in cdef methods in "cdef class"es under the same restrictions (same pyx or inline-in-pxd). (Should one require that such methods also declared "final" or somesuch and cannot be overriden? Combining parametric polymorphism and OOP polymorphism doesn't seem like a good idea initially.) > - Such functions are not exportable across module boundaries (only same > pyx, or as inline pxd functions) > - Allow the "typeof" operator in variable declarations in function bodies > to resolve the actual type of the generic. Dag Sverre _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
