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 ########


--
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
3000 Santa Fe, Argentina
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169
_______________________________________________
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to