Stefan Behnel, 11.12.2009 14:14: > Hi Lisandro, > > Lisandro Dalcin, 10.12.2009 16:13: >> After this changeset ... >> >> changeset: 2764:885dbfad02aa >> user: Stefan Behnel >> date: Tue Dec 08 01:05:01 2009 +0100 >> summary: translate Python float calculations into C doubles >> >> I cannot Cythonize mpi4py (note: I've not enabled type inference). The >> failure happens in many methods like this one: >> >> cdef class Datatype: >> ... >> def Dup(self): >> """ >> Duplicate a datatype >> """ >> cdef Datatype datatype = <Datatype>type(self)() >> ..... >> return datatype >> >> >> Traceback below: >> [...] >> line 2452, in analyse_types >> if func_type is Builtin.type_type and function.entry.is_builtin and \ >> AttributeError: 'SimpleCallNode' object has no attribute 'entry' > > Thanks for the test case, I can reproduce this. I'll look into it.
Yep, that code was actually much too generic. Fixed here: http://hg.cython.org/cython-devel/rev/0c48cba30316 Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
