Last night while trying out the following cython example:
http://dpinte.wordpress.com/2010/04/22/interfacing-ta-lib-with-cython/
I got the following crash in the cython compiler (cython version 0.13):
Compiler crash traceback from this point on:
File "Visitor.py", line 179, in
Cython.Compiler.Visitor.TreeVisitor.visitchild
(/tmp/easy_install-fEGaFj/Cython-0.13/Cython/Compiler/Visitor.c:3407)
File "Visitor.py", line 28, in
Cython.Compiler.Visitor.BasicVisitor.visit
(/tmp/easy_install-fEGaFj/Cython-0.13/Cython/Compiler/Visitor.c:1178)
File
"/usr/local/lib/python2.6/dist-packages/Cython-0.13-py2.6-linux-x86_64.egg/
Cython/Compiler/Buffer.py",
line 106, in visit_FuncDefNode
self.handle_scope(node, node.local_scope)
File
"/usr/local/lib/python2.6/dist-packages/Cython-0.13-py2.6-linux-x86_64.egg/
Cython/Compiler/Buffer.py",
line 61, in handle_scope
if entry.type.dtype.is_ptr:
AttributeError: 'NoneType' object has no attribute 'is_ptr'
building 'talib' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC
-I/usr/local/lib/python2.6/dist-packages/numpy/core/include
-I/usr/local/include/ta-lib/ -I/usr/include/python2.6 -c talib.c -o
build/temp.linux-x86_64-2.6/talib.o
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev