On Thu, Jun 11, 2009 at 2:31 PM, Ondrej Certik<[email protected]> wrote: > > As far as Cython is concerned, the only problem I can see is that it > changes all import paths to the fully qualified import paths. Python > allows both ways, Cython only the fully qualified way. As Stefan > explained, this is needed, because it will then not work properly at > the moment. But I am not convinced this cannot be fixed -- though it > may happen that the fix is too tedious and not worthy. >
IMHO, the only "fix" Cython needs is support for relative imports... Then you could write: from ._hermes2d cimport what_you_need This way, Ondrej would be able to easily write Cython code using relative imports the right way... -- Lisandro Dalcín --------------- Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico para la Industria Química (INTEC) Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET) PTLC - Güemes 3450, (3000) Santa Fe, Argentina Tel/Fax: +54-(0)342-451.1594 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
