Vitja Makarov, 16.09.2011 07:14:
Btw I'm sure that we have seen this error before:

compiling (c) and running tupleunpack_T712 ... Doctest:
tupleunpack_T712.__test__.single_from_set (line 12) ... ok
Doctest: tupleunpack_T712.__test__.single_from_string (line 4) ... ok
compiling (cpp) and running tupleunpack_T712 ... cc1plus: warning:
command line option "-Wpointer-sign" is valid for C/ObjC but not for
C++
tupleunpack_T712.cpp: In function ‘PyObject*
__pyx_pf_16tupleunpack_T712_1single_from_set(PyObject*, PyObject*)’:
tupleunpack_T712.cpp:681:3: error: jump to label ‘__pyx_L1_error’
tupleunpack_T712.cpp:642:151: error:   from here
tupleunpack_T712.cpp:644:14: error:   crosses initialization of
‘Py_ssize_t index’
tupleunpack_T712.cpp:681:3: error: jump to label ‘__pyx_L1_error’
tupleunpack_T712.cpp:640:135: error:   from here
tupleunpack_T712.cpp:644:14: error:   crosses initialization of
‘Py_ssize_t index’
ERROR

Yes, I had fixed it before - I had missed it when looking through the fixes, because I considered it part of the unpacking code optimisation that I did around that change.

I pushed the fix to the release branch.

Thanks for finding it, Arfrever (is that the first name?).

Stefan
_______________________________________________
cython-devel mailing list
[email protected]
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to