> The problem is that when I include this .pxi file, I get the symbol
> dtype dumped into my global namespace.  This makes it impossible to
> write functions like:
>
> def foo(a, dtype=float):
>               ^^^^^  Cython complains that this is a not a valid C
> variable declaration

Unrelated to the pxi/pxd stuff, this error should be considered a bug in
Cython, right?

Dag Sverre

_______________________________________________
Cython-dev mailing list
Cython-dev@codespeak.net
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to