Hi Lisandro!
Lisandro Dalcin, 29.03.2013 20:20:
> https://github.com/cython/cython/commit/f2a4b09b94dc0783625dc869af0880742c29f58d
>
> I could not figure out how to fix it, but the following patch to the
> test case reproduces the problem:
>
>
> diff --git a/tests/run/tp_new_cimport.srctree
> b/tests/run/tp_new_cimport.srctree
> index d60d712..632172c 100644
> --- a/tests/run/tp_new_cimport.srctree
> +++ b/tests/run/tp_new_cimport.srctree
> @@ -42,7 +42,7 @@ def test_sub():
>
> a.pxd
>
> -cdef class ExtTypeA:
> +cdef api class ExtTypeA[type ExtTypeA_Type, object ExtTypeAObject]:
> cdef readonly attrA
>
> a.pyx
Hmm, yes, that's not obvious to me either. I pushed a quick fix, but I'm
sure there's a cleaner way to do this. (And if there isn't, there should be
one...)
https://github.com/cython/cython/commit/3257193a7865c1f45ac2479954be5569f0b8337e
Stefan
___
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel