On Aug 19, 2009, at 3:57 AM, Stefan Behnel wrote:
>> Perhaps we could also support
>>
>> cdef class A:
>> a = cython.declare(int)
>
> Fine with me - I thought this was already supported?
Yes, we do support that. What I meant to say was that if we do
class A:
a = cython.declare(int)
it automatically becomes a cdef class. Same if any (decorator-
indicated) cdef methods are defined.
- Robert
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev