Robert Bradshaw wrote:

> I don't know how it works on Windows, but on linux/OS X Python does a  
> lookup on modulename.so as part of the import mechanism... Perhaps  
> some hackery could be done, but it wouldn't work out of the box.

Possibly it could be made to work by having the init
code of the "main" module explicitly call the init
functions of the other modules. That would cause
the relevant module objects to be created and put in
sys.modules, where subsequent imports would find
them.

Seems like a pointless exercise to me, though, when
a package can give you much the same end result with
no hackery.

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

Reply via email to