[Pyrex] C-API implementation in Pyrex 0.9.6

Stefan Behnel stefan_ml at behnel.de
Thu Oct 18 11:14:05 CEST 2007


Greg Ewing wrote:
> Stefan Behnel wrote:
> 
>> Here is a patch that fixes the imports for me.
> 
> I'm still not clear about what is going on here. Is this a
> problem which exists in Pyrex as it stands, or is it just
> something that happened when you tried to merge Pyrex
> changes into Cython?
> 
> If it's a problem in Pyrex, then can you please provide
> a self-contained Pyrex-only example which reproduces it.

This should make the problem clear. A module cimports a second module from the
same package using a package-local import. [Cython + the last patch] handles
this nicely now.

Just run "python setup.py build_ext -i" and it will fail on the cimport.

Stefan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: import-test.tgz
Type: application/x-compressed-tar
Size: 715 bytes
Desc: not available
Url : http://lists.copyleft.no/pipermail/pyrex/attachments/20071018/a580884d/attachment.bin 


More information about the Pyrex mailing list