[Numpy-discussion] [ANN] Cython 0.15

Derek Homeier derek@astro.physik.uni-goettingen...
Sun Aug 7 14:58:27 CDT 2011


On 7 Aug 2011, at 04:09, Sturla Molden wrote:

> Den 06.08.2011 11:18, skrev Dag Sverre Seljebotn:
>> We are excited to announce the release of Cython 0.15, which is a huge
>> step forward in achieving full Python language coverage as well as
>> many new features, optimizations, and bugfixes.
>> 
>> 
> 
> This is really great. With Cython progressing like this, I might soon 
> have written my last line of Fortran. :-)

+1 (except the bit about writing Fortran, probably ;-)

I am only getting 4 errors with Python 3.1 + 3.2 (Mac OS X 10.6/x86_64):
compiling (cpp) and running numpy_bufacc_T155, numpy_cimport, numpy_parallel, numpy_test...
I could not find much documentation about the runtests.py script (like how to figure out the exact gcc command used), but I am happy to send more details wherever requested. Adding a '-v' flag prints the following additional info:

numpy_bufacc_T155.c: In function ‘PyInit_numpy_bufacc_T155’:
numpy_bufacc_T155.c:3652: warning: ‘return’ with no value, in function returning non-void
.numpy_bufacc_T155.cpp: In function ‘PyObject* PyInit_numpy_bufacc_T155()’:
numpy_bufacc_T155.cpp:3652: error: return-statement with no value, in function returning ‘PyObject*’
Enumpy_cimport.c: In function ‘PyInit_numpy_cimport’:
numpy_cimport.c:3327: warning: ‘return’ with no value, in function returning non-void
.numpy_cimport.cpp: In function ‘PyObject* PyInit_numpy_cimport()’:
numpy_cimport.cpp:3327: error: return-statement with no value, in function returning ‘PyObject*’
Enumpy_parallel.c: In function ‘PyInit_numpy_parallel’:
numpy_parallel.c:3824: warning: ‘return’ with no value, in function returning non-void
.numpy_parallel.cpp: In function ‘PyObject* PyInit_numpy_parallel()’:
numpy_parallel.cpp:3824: error: return-statement with no value, in function returning ‘PyObject*’
Enumpy_test.c: In function ‘PyInit_numpy_test’:
numpy_test.c:11611: warning: ‘return’ with no value, in function returning non-void
.numpy_test.cpp: In function ‘PyObject* PyInit_numpy_test()’:
numpy_test.cpp:11611: error: return-statement with no value, in function returning ‘PyObject*’

This happens with numpy 1.5.1, 1.6.0, 1.6.1 or git master installed, 
With Python 2.5-2.7 all 5536 tests are passing!

Cheers,
						Derek



More information about the NumPy-Discussion mailing list