Something like:

cython.cast('object', x)

won't work because base_type will be None in ExprNodes.py:9323.

Here's is a simple fix, albeit I'm not sure the best one:

base_type = self.base_type.analyse(env) if self.base_type else py_object_type


Cheers
--
Carlos
_______________________________________________
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel

Reply via email to