x0,x1,etc. are declared "private", you cannot access them outside the
methods of Rectangle. If you do what do access them, then:
cdef public double x0, y0, x1, y1
i.e. add "public" after "cdef"
> XP 32
> python 2.6.5
> cython 0.11.2
>
BTW, please upgrade your Cython to 0.13.
--
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169
Could you attach the full file?
To use keywords like "cdef" your extension needs to be .pyx. (This is
so that .py files can have 100% Python compatibility.)
- Robert