[Pyrex] Once more, what's wrong here

Robin Becker robin at reportlab.com
Thu Jan 15 09:55:19 CET 2004


In article <20040115112943.638ced65.simon at arrowtheory.com>, Simon Burton
<simon at arrowtheory.com> writes
>This is what i get:
>
>arrow:~/home/python/pyrex/sandpit$ pyrexc becker.pyx 
>arrow:~/home/python/pyrex/sandpit$ gcc -I. -I/usr/include/python2.2 -g  -c 
>becker.c
>becker.c:62: field `__pyx_base' has incomplete type
>becker.c:64: confused by earlier errors, bailing out
>
>Are there other examples of this inheritance technique you are trying?
>BTW It looks interesting (your code)..
>
>Simon.
..... I started after the latest Pyrex version to look at code that
AMKuchling wrote related to Paragraph formatting. I don't actually need
to do this it's experimental. The python code is just too slow to be
practicable. I started with the simple example in the pyrex overview
where I see 

Subclassing
An extension type may inherit from a built-in type or another extension
type:

Trouble is that example isn't very rich in attributes etc.
-- 
Robin Becker




More information about the Pyrex mailing list