Hi,

I believe I have found a bit of broken/junk code.
This line produces an unpaired and unnecessary #if directive:
https://github.com/cython/cython/blob/master/Cython/Compiler/ModuleNode.py#L2423
The fix is to simply remove it.

In case you are interested in how to hit this line, declare in some .pxd:

    cdef extern from "Python.h":
ctypedef class __builtin__.BaseException [object PyBaseExceptionObject]:
            pass

and cimport it in another .pyx.

Best regards,
Nikita Nemkin
_______________________________________________
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to