logo       

Namespaces example not working?: msg#00008

python.pyrex

Subject: Namespaces example not working?

The mechanism for using cimport to resolve naming conflicts as described in the doc no longer appears to work... This is with version 0.9 on WindowsXP.

Reproducing that example verbatim produces code that wants to find a 'clunch' object in the namespace and then find an attribute 'eject_tomato' in it at runtime rather than calling the c function eject_tomato.

I'm trying to use this to allow me to call a C function with the same name as the wrapper.

gb


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise