Stefan Behnel wrote: > Did you read the documentation on sharing declarations between extension modules? > Did you declare foo() public?
I assume it's through cpdef, right? Then it does not solve the issue. Unless I missed something, declaring cpdef allows functions to be callable by Python. Here, the problem comes from the genererated code of bar which imports foo through PyImport_Import(), so letting globals to NULL, avoiding Python to first try importing foo from the package bar resides. Cheers, Stephane _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
