Stephane DROUARD wrote:

> 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.

The cimport statement uses the Pyrex/Cython compiler's
idea of the module namespace at compile time. If you
move things around after that, it will get confused.

-- 
Greg
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to