Why do you want to overload based on return type anyway? I don't see any need to do that in the case of __getitem__. That fits perfectly well into the usual model of parametric polymorphism -- the return type is the same as the element type of the array.
If it's used in a context where a different type is required, ordinary coercion will take care of that. -- Greg _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
