Hi all, after some time of inactivity, I'm back. I've just pulled
cython-devel repo and I'm having some trouble.
1) It seems that the transforms code does not play nicely with the
compiled Scanners.so. After installing Cython, I have to manually
remove Scanners.so to get Cython running.
2) There is a typo, trivial to fix (just change a 'p' to a 's'), the
diff pasted below:
diff -r ebe5f9fae217 Cython/Compiler/Parsing.py
--- a/Cython/Compiler/Parsing.py Fri Jul 11 16:52:31 2008 +0200
+++ b/Cython/Compiler/Parsing.py Fri Jul 11 12:17:34 2008 -0300
@@ -1615,7 +1615,7 @@ def p_c_simple_base_type(s, self_flag, n
# Treat trailing [] on type as buffer access
if s.sy == '[':
if is_basic:
- p.error("Basic C types do not support buffer access")
+ s.error("Basic C types do not support buffer access")
return p_buffer_access(s, type_node)
else:
return type_node
3) But now, the code above seems to do not plat nice with the following:
Error converting Pyrex file to C:
------------------------------------------------------------
...
cdef extern from *:
int foo(int x[])
int bla(int[])
^
------------------------------------------------------------
/tmp/qq.pyx:3:15: Basic C types do not support buffer access
--
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev