On Sep 25, 2008, at 5:21 PM, Greg Ewing wrote:

> Lisandro Dalcin wrote:
>
>> Well, by some reason Robert's patch do not work on int, float,  
>> slices.
>
> It must be doing something in an odd way, then. Is this
> being done after type analysis? If so, you should just be
> able to look at whether the type of the second argument
> is PyrexTypes.py_type_type or a subclass of it.

There's no mystery here, int, float, slice, etc. were declared as  
being normal objects (as this predates the builtin types, and I  
didn't see any advantage at the moment to typing them).

- Robert


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

Reply via email to