[Cython] memoryview test warnings

Stefan Behnel stefan_ml at behnel.de
Sat Feb 25 16:35:28 CET 2012


Hi,

I get these warnings in the tests:

"""
compiling (cpp) and running memoryview ...

memoryview.cpp: In function ‘PyObject*
__pyx_memoryview_setitem_slice_assign_scalar(__pyx_memoryview_obj*,
PyObject*, PyObject*)’:
memoryview.cpp:19703: warning: comparison between signed and unsigned
integer expressions

memoryview.cpp: At global scope:
memoryview.cpp:10210: warning: ‘__Pyx_memviewslice
__pyx_f_10memoryview_func()’ defined but not used

compiling (cpp) and running memslice ...

memslice.cpp: In function ‘PyObject*
__pyx_memoryview_setitem_slice_assign_scalar(__pyx_memoryview_obj*,
PyObject*, PyObject*)’:
memslice.cpp:39266: warning: comparison between signed and unsigned integer
expressions
"""

Would be nice if they could be fixed for the release.

Also, the memslice test writes output to the test log:

"""
acquired default
acquired Global_A
"""

Normally, all test output should get collected by the doctest runner.

Stefan


More information about the cython-devel mailing list