Dag Sverre Seljebotn wrote:

> cimport python_int as a
> a.PyInt_Check(3)
> cimport python_dict as a
> 
> Apparently, only the first cimport is considered,

I would regard this as a bug -- it shouldn't be letting
you redeclare a that way.

I tried the following with Pyrex 0.9.8.4:

   cimport blarg as m
   cimport zax as m

and got

   /Users/greg/foo/foo.pyx:2:8: 'm' does not match previous declaration
   /Users/greg/foo/foo.pyx:1:8: Previous declaration is here

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

Reply via email to