[Cython] Transformation of pxds
Romain Guillebert
romain.py at gmail.com
Tue Jul 26 04:10:13 CEST 2011
Hi
I can now compile pxd files, but I have encountered something rather
strange : AnalyseExpressionsTransform turns :
cimport foo
def test():
foo.printf()
into :
cimport foo
def test():
printf()
It is due to the method analyse_as_cimported_attribute of AttributeNode
in the file Cython/Compiler/ExprNodes.py
Is this useful (since I don't think it has anything to do with
expression analysis) and do you have an idea on how I can solve this (my
first idea is : extend the class to disable the effect of this method
but it's more a hack than anything else) ?
Cheers
Romain
More information about the cython-devel
mailing list