[Cython] cdef classes and staticmethod's
Lisandro Dalcin
dalcinl at gmail.com
Thu Sep 11 18:21:32 CEST 2008
While working in auto-generation of function/method signatures (almost
ready, plus a custom script monkeypatching epydoc), I've noticed that
the following snippet fails (Cython complains because 'foo' has no
arguments):
cdef class A:
@staticmethod
def foo(): return 1
Do you believe this can be fixed in an easy way?
--
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
More information about the Cython-dev
mailing list