[Pyrex] Re: cdef class and classmethod

Martin Field mjfield at ibs.fr
Fri Sep 17 16:47:47 CEST 2004


Hi,

    I've tried to define a classmethod for a Pyrex
extension type (i.e. "cdef class") but it does not
seem to work. I get an "Executable statement not
allowed here" message.

    Am I making an error or is this not possible? If
not, will this facility be made available in future
releases of Pyrex?

    I am using Pyrex 0.9.2.1.

Thanks,

Martin.





More information about the Pyrex mailing list