Bug with error handling: for now obi_errno needs to be passed to the
function handling errors and exceptions, as it can't read the right value of the global obi_errno (Cython configuration problem?)
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
from obitools3.dms.capi.obitypes cimport obitype_t, index_t
|
||||
|
||||
cdef obi_errno_to_exception(index_t line_nb=*, object elt_id=*, str error_message=*)
|
||||
cdef obi_errno_to_exception(int obi_errno, index_t line_nb=*, object elt_id=*, str error_message=*)
|
||||
|
||||
cdef bytes str2bytes(str string)
|
||||
cdef str bytes2str(bytes string)
|
||||
|
Reference in New Issue
Block a user