[Pyrex] Same type does not resolve to itself when coming in through different .pxd files

Lenard Lindstrom len-l at telus.net
Tue Nov 20 08:01:29 CET 2007


Greg Ewing wrote:
> Dan Gindikin wrote:
>   
>>     cdef class derived(mymodule.base):
>>         cdef void func(self, F x):
>>     
>
> You can't nest function definitions in Pyrex.
>
>   
"derived" is a class. But since structure F is declared in mymodule.pxd, 
doesn't it have to be fully qualified as mymodule.F in main.pyx?

-- 
Lenard Lindstrom
<len-l at telus.net>




More information about the Pyrex mailing list