A reply with what I can take from your message.
- The use of Python objects in Cython is possible but limited as soon as you
cdef
some parts. Try by “un”-cdefing the dict. - The error you have suggests that you have an expression that is
x[y]
wherex
is a tuple andy
an int. In principle it should work all right (indexing a tuple with an int shoud be ok). So you can look at square brackets in the Cython to find out where it comes from. - You mentioned having removed the pxd file. Have you then move the full declaration of the extension class/other type definitions to the pyx file?