Robert Bradshaw wrote:

> On Jun 16, 2008, at 7:35 PM, David McNab wrote:
> 
> > Would it be possible to have class attribute initialiser support in a
> > future release of Cython?
> 
> Yes, we should support this. (Note that this will not be a class- 
> level cdef attribute however, it would just change the initial value  
> for the instance member)

Another approach you might be able to use in the meantime
is creating a Python subclass of the extension type to
hold the class attributes.

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

Reply via email to