[Cython] Class module names do not respect package hierarchy
Greg Ewing
greg.ewing at canterbury.ac.nz
Thu Oct 30 00:42:45 CET 2008
Stephane DROUARD wrote:
> Could you provide me with a simple example of "extension types (I mean, cdef
> ones)" demonstrating the issue of my patch (sorry I'm new in Cython)?
When a module cimports an extension type from another
module, code is generated to import the type object at
run time. To do this, the Pyrex compiler needs to know
where the other module is in the module namespace. If
it gets moved somewhere else, the import will fail.
--
Greg
More information about the Cython-dev
mailing list