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.

Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to