Could we extend the 'builtin_types_table' (if this is actually the place) in 'Cython/Compiler/Builtin.py' in order to have more built-int type to work with Robert's "isinstance" optimization? PyInt_Type is not there, not PyFloat_Type; I'm also using PySlice_Type (it is commented out) in petsc4py (in order to support __setitem__ in vectors and matrices).
-- 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 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
