[Pyrex] Test case for Pyrex and Cython

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Dec 2 04:35:23 CET 2007


David McNab wrote:
> The general case is:
> 
>   - package name 'foo'
>   - pyrex module 'foo.fred', as foo.fred.pyx and foo.fred.pxd
>   - pyrex module 'foo.sub.sub1', which cimports from fred, as
>     files foo.sub.sub1.pyx and foo.sub.sub1.pxd
>   - ditto for 3 or 4 other modules 'foo.sub.subx'
>   - build this
>   - from a pure python module, do:
> 
>         import foo.sub.sub1
>         import foo.sub.sub2
>         import foo.sub.sub3
>         import foo.sub.sub4
> 
> This likely will crash, or do other nasty things.

I've just posted a Pyrex update (0.9.6.4) that fixes some
import related refcounting bugs. Can you try it with that
version and see if it cures your problems?

Thanks,
Greg



More information about the Pyrex mailing list