[Pyrex] Problems with cimport

Francesc Alted falted at openlc.org
Mon Nov 17 18:11:09 CET 2003


A Dijous 13 Novembre 2003 00:44, Greg Ewing va escriure:
> Francesc Alted <falted at openlc.org>:
> > Oh, and how can I access to the first item in "otherstuff" enumeration in
> > dishes.pxd from restaurant.pyx?
>
> Sorry, I didn't notice that sausage was one of the enum
> values. Disregard what I said.
>
> What you wrote should have worked. I think there's a bug
> somewhere in the cimport stuff, because I've and other
> reports of things like this not working.
>
> In the meantime, you could try cimporting sausage, etc.
> explicitly.

Ok, the problem is that I've many imports to do, that this is unrealistic to
do rigth now. It would be nice if, in the future, you can support sort of
"cimport *", i.e.:

from dishes cimport *

that way, spliting big Pyrex files would be far more easier.

Thanks,

-- 
Francesc Alted





More information about the Pyrex mailing list