[Cython] failure of withstat
Lisandro Dalcin
dalcinl at gmail.com
Tue Feb 10 14:36:08 CET 2009
See this:
$ python runtests.py --no-cleanup --no-c withstat
...
OK
$ python runtests.py --no-cleanup --no-cpp withstat
...
OK
$ python runtests.py --no-cleanup --no-cpp withstat
...
withstat.cpp: In function 'PyObject*
__pyx_pf_8withstat_no_as(PyObject*, PyObject*)':
withstat.cpp:801: error: '__pyx_v___tmpvar_2' was not declared in this scope
withstat.cpp:808: error: '__pyx_v___tmpvar_4' was not declared in this scope
withstat.cpp:825: error: '__pyx_v___tmpvar_3' was not declared in this scope
...
CompileError: command 'gcc' failed with exit status 1
...
$ diff BUILD/run/c/withstat.c BUILD/run/cpp/withstat.cpp
< ... lots of output, a bit below >
867,868c838,839
< __Pyx_DECREF(__pyx_v___tmpvar_1);
< __pyx_v___tmpvar_1 = Py_None;
---
> __Pyx_DECREF(__pyx_v___tmpvar_40);
> __pyx_v___tmpvar_40 = Py_None;
A problem with runtests.py? Perhaps a bad interaction on temp
allocation code and global module/class level variables in the Cython
codebase?
--
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
More information about the Cython-dev
mailing list