[Cython] improving Py <-> C conversion of numeric types

Robert Bradshaw robertwb at math.washington.edu
Thu Mar 19 07:18:35 CET 2009


On Mar 8, 2009, at 5:13 PM, Lisandro Dalcin wrote:

> On Sun, Mar 8, 2009 at 3:41 AM, Robert Bradshaw
> <robertwb at math.washington.edu> wrote:
>> On Feb 26, 2009, at 10:52 AM, Lisandro Dalcin wrote:
>>>
>>> [2] seems fine, but what about [3] ?? Should we specialize the  
>>> method
>>> and make it return 'int' ??
>>
>> Yes. Actually, isn't "sign_and_name" supposed to return the actual
>> name of the enum?
>>
>
> But an anon enum has no name!

Oh, now I see what you're asking about. Yes, let's just return "int"  
in this special case.

- Robert



More information about the Cython-dev mailing list