[Cython] Initializing var to struct?

Dag Sverre Seljebotn dagss at student.matnat.uio.no
Wed Sep 3 17:10:50 CEST 2008


Was this ever supposed to work, if so, what did it do?

cdef struct A:
     int a = 4

I have code to disallow it ready (raise compiler error) but then I 
thought that perhaps it had a purpose (how else did Hoyt run into it...)

http://trac.cython.org/cython_trac/ticket/64

-- 
Dag Sverre


More information about the Cython-dev mailing list