[Cython] [Bug] Unable to cast to python type.
Carlos Pita
carlosjosepita at gmail.com
Fri Oct 16 15:05:10 EDT 2015
Hi,
import cython as cy
y = cy.cast('list', x)
fails to compile with "AttributeError: 'TypecastNode' object has no
attribute 'typecheck'".
But the following examples do compile:
y = <list> x
y = cy.cast('int', x)
Cheers
--
Carlos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cython-devel/attachments/20151016/484ed62a/attachment.html>
More information about the cython-devel
mailing list