From d4239264f939f1959857b0c8b6939be92dae017d Mon Sep 17 00:00:00 2001 From: bsrdjan Date: Mon, 15 May 2023 13:08:04 +0200 Subject: [PATCH] refactor: pyrfc linux cpp source --- src/pyrfc/_cyrfc.cpp | 9512 +++++++++++++++++++++--------------------- 1 file changed, 4756 insertions(+), 4756 deletions(-) diff --git a/src/pyrfc/_cyrfc.cpp b/src/pyrfc/_cyrfc.cpp index 81c6a61..34e4572 100644 --- a/src/pyrfc/_cyrfc.cpp +++ b/src/pyrfc/_cyrfc.cpp @@ -826,9 +826,9 @@ static CYTHON_INLINE float __PYX_NAN() { #define __PYX_HAVE__pyrfc___cyrfc #define __PYX_HAVE_API__pyrfc___cyrfc /* Early includes */ +#include #include #include -#include #include "sapnwrfc.h" #ifdef _OPENMP #include @@ -1064,7 +1064,7 @@ struct __pyx_obj_5pyrfc_6_cyrfc_Throughput; struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_object____object___to_py; struct __pyx_opt_args_5pyrfc_6_cyrfc_wrapString; -/* "pyrfc/_cyrfc.pyx":3073 +/* "pyrfc/_cyrfc.pyx":3074 * ) * * cdef wrapString(const SAP_UC* uc, uclen=-1, rstrip=False): # <<<<<<<<<<<<<< @@ -1077,7 +1077,7 @@ struct __pyx_opt_args_5pyrfc_6_cyrfc_wrapString { PyObject *rstrip; }; -/* "pyrfc/_cyrfc.pyx":274 +/* "pyrfc/_cyrfc.pyx":275 * * * cdef class ConnectionParameters: # <<<<<<<<<<<<<< @@ -1091,7 +1091,7 @@ struct __pyx_obj_5pyrfc_6_cyrfc_ConnectionParameters { }; -/* "pyrfc/_cyrfc.pyx":498 +/* "pyrfc/_cyrfc.pyx":499 * * * cdef class Connection: # <<<<<<<<<<<<<< @@ -1112,7 +1112,7 @@ struct __pyx_obj_5pyrfc_6_cyrfc_Connection { }; -/* "pyrfc/_cyrfc.pyx":1512 +/* "pyrfc/_cyrfc.pyx":1513 * * * cdef class ServerConnection: # <<<<<<<<<<<<<< @@ -1129,7 +1129,7 @@ struct __pyx_obj_5pyrfc_6_cyrfc_ServerConnection { }; -/* "pyrfc/_cyrfc.pyx":1723 +/* "pyrfc/_cyrfc.pyx":1724 * * * cdef class Server: # <<<<<<<<<<<<<< @@ -1147,7 +1147,7 @@ struct __pyx_obj_5pyrfc_6_cyrfc_Server { }; -/* "pyrfc/_cyrfc.pyx":2172 +/* "pyrfc/_cyrfc.pyx":2173 * ################################################################################ * * cdef class Throughput: # <<<<<<<<<<<<<< @@ -1176,7 +1176,7 @@ struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_object____object___to_py { -/* "pyrfc/_cyrfc.pyx":498 +/* "pyrfc/_cyrfc.pyx":499 * * * cdef class Connection: # <<<<<<<<<<<<<< @@ -1192,7 +1192,7 @@ struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection { static struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *__pyx_vtabptr_5pyrfc_6_cyrfc_Connection; -/* "pyrfc/_cyrfc.pyx":1512 +/* "pyrfc/_cyrfc.pyx":1513 * * * cdef class ServerConnection: # <<<<<<<<<<<<<< @@ -1207,7 +1207,7 @@ struct __pyx_vtabstruct_5pyrfc_6_cyrfc_ServerConnection { static struct __pyx_vtabstruct_5pyrfc_6_cyrfc_ServerConnection *__pyx_vtabptr_5pyrfc_6_cyrfc_ServerConnection; -/* "pyrfc/_cyrfc.pyx":1723 +/* "pyrfc/_cyrfc.pyx":1724 * * * cdef class Server: # <<<<<<<<<<<<<< @@ -1227,7 +1227,7 @@ struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Server { static struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Server *__pyx_vtabptr_5pyrfc_6_cyrfc_Server; -/* "pyrfc/_cyrfc.pyx":2172 +/* "pyrfc/_cyrfc.pyx":2173 * ################################################################################ * * cdef class Throughput: # <<<<<<<<<<<<<< @@ -2069,12 +2069,12 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_6Server_install_bgrfc_handlers(CYTHON_UN static PyObject *__pyx_f_5pyrfc_6_cyrfc_6Server__error(CYTHON_UNUSED struct __pyx_obj_5pyrfc_6_cyrfc_Server *__pyx_v_self, RFC_ERROR_INFO *__pyx_v_errorInfo); /* proto*/ static PyObject *__pyx_f_5pyrfc_6_cyrfc_10Throughput__destroy(struct __pyx_obj_5pyrfc_6_cyrfc_Throughput *__pyx_v_self); /* proto*/ +/* Module declarations from 'libc.stdint' */ + /* Module declarations from 'libc.string' */ /* Module declarations from 'libc.stdlib' */ -/* Module declarations from 'libc.stdint' */ - /* Module declarations from 'pyrfc.csapnwrfc' */ /* Module declarations from 'pyrfc._cyrfc' */ @@ -3315,7 +3315,7 @@ static PyObject *__pyx_codeobj__87; static PyObject *__pyx_codeobj__89; /* Late includes */ -/* "pyrfc/_cyrfc.pyx":112 +/* "pyrfc/_cyrfc.pyx":113 * * * def get_nwrfclib_version(): # <<<<<<<<<<<<<< @@ -3351,7 +3351,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_get_nwrfclib_version(CYTHON_UNUSED PyOb int __pyx_clineno = 0; __Pyx_RefNannySetupContext("get_nwrfclib_version", 0); - /* "pyrfc/_cyrfc.pyx":116 + /* "pyrfc/_cyrfc.pyx":117 * :returns: tuple of major, minor and patch level and OS platform * """ * cdef unsigned major = 0 # <<<<<<<<<<<<<< @@ -3360,7 +3360,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_get_nwrfclib_version(CYTHON_UNUSED PyOb */ __pyx_v_major = 0; - /* "pyrfc/_cyrfc.pyx":117 + /* "pyrfc/_cyrfc.pyx":118 * """ * cdef unsigned major = 0 * cdef unsigned minor = 0 # <<<<<<<<<<<<<< @@ -3369,7 +3369,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_get_nwrfclib_version(CYTHON_UNUSED PyOb */ __pyx_v_minor = 0; - /* "pyrfc/_cyrfc.pyx":118 + /* "pyrfc/_cyrfc.pyx":119 * cdef unsigned major = 0 * cdef unsigned minor = 0 * cdef unsigned patchlevel = 0 # <<<<<<<<<<<<<< @@ -3378,7 +3378,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_get_nwrfclib_version(CYTHON_UNUSED PyOb */ __pyx_v_patchlevel = 0; - /* "pyrfc/_cyrfc.pyx":119 + /* "pyrfc/_cyrfc.pyx":120 * cdef unsigned minor = 0 * cdef unsigned patchlevel = 0 * RfcGetVersion(&major, &minor, &patchlevel) # <<<<<<<<<<<<<< @@ -3387,7 +3387,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_get_nwrfclib_version(CYTHON_UNUSED PyOb */ (void)(RfcGetVersion((&__pyx_v_major), (&__pyx_v_minor), (&__pyx_v_patchlevel))); - /* "pyrfc/_cyrfc.pyx":120 + /* "pyrfc/_cyrfc.pyx":121 * cdef unsigned patchlevel = 0 * RfcGetVersion(&major, &minor, &patchlevel) * return {'major': major, 'minor': minor, 'patchLevel': patchlevel, 'platform': platform} # <<<<<<<<<<<<<< @@ -3395,29 +3395,29 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_get_nwrfclib_version(CYTHON_UNUSED PyOb * */ __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyDict_NewPresized(4); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 120, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(4); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 121, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyInt_From_unsigned_int(__pyx_v_major); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 120, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_From_unsigned_int(__pyx_v_major); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 121, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_major, __pyx_t_2) < 0) __PYX_ERR(0, 120, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_major, __pyx_t_2) < 0) __PYX_ERR(0, 121, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyInt_From_unsigned_int(__pyx_v_minor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 120, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_From_unsigned_int(__pyx_v_minor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 121, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_minor, __pyx_t_2) < 0) __PYX_ERR(0, 120, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_minor, __pyx_t_2) < 0) __PYX_ERR(0, 121, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyInt_From_unsigned_int(__pyx_v_patchlevel); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 120, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_From_unsigned_int(__pyx_v_patchlevel); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 121, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_patchLevel, __pyx_t_2) < 0) __PYX_ERR(0, 120, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_patchLevel, __pyx_t_2) < 0) __PYX_ERR(0, 121, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_platform); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 120, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_platform); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 121, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_platform, __pyx_t_2) < 0) __PYX_ERR(0, 120, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_platform, __pyx_t_2) < 0) __PYX_ERR(0, 121, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_r = __pyx_t_1; __pyx_t_1 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":112 + /* "pyrfc/_cyrfc.pyx":113 * * * def get_nwrfclib_version(): # <<<<<<<<<<<<<< @@ -3437,7 +3437,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_get_nwrfclib_version(CYTHON_UNUSED PyOb return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":123 +/* "pyrfc/_cyrfc.pyx":124 * * * def set_ini_file_directory(path_name): # <<<<<<<<<<<<<< @@ -3481,7 +3481,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_2set_ini_file_directory(CYTHON_UNUSED P int __pyx_clineno = 0; __Pyx_RefNannySetupContext("set_ini_file_directory", 0); - /* "pyrfc/_cyrfc.pyx":131 + /* "pyrfc/_cyrfc.pyx":132 * :return: nothing, raises an error * """ * if type(path_name) is not str: # <<<<<<<<<<<<<< @@ -3492,14 +3492,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_2set_ini_file_directory(CYTHON_UNUSED P __pyx_t_2 = (__pyx_t_1 != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":132 + /* "pyrfc/_cyrfc.pyx":133 * """ * if type(path_name) is not str: * raise TypeError('sapnwrfc.ini path is not a string:', path_name) # <<<<<<<<<<<<<< * cdef RFC_ERROR_INFO errorInfo * cdef SAP_UC pathName [512] */ - __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 132, __pyx_L1_error) + __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 133, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(__pyx_kp_u_sapnwrfc_ini_path_is_not_a_strin); __Pyx_GIVEREF(__pyx_kp_u_sapnwrfc_ini_path_is_not_a_strin); @@ -3507,14 +3507,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_2set_ini_file_directory(CYTHON_UNUSED P __Pyx_INCREF(__pyx_v_path_name); __Pyx_GIVEREF(__pyx_v_path_name); PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_v_path_name); - __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 132, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 133, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __PYX_ERR(0, 132, __pyx_L1_error) + __PYX_ERR(0, 133, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":131 + /* "pyrfc/_cyrfc.pyx":132 * :return: nothing, raises an error * """ * if type(path_name) is not str: # <<<<<<<<<<<<<< @@ -3523,16 +3523,16 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_2set_ini_file_directory(CYTHON_UNUSED P */ } - /* "pyrfc/_cyrfc.pyx":135 + /* "pyrfc/_cyrfc.pyx":136 * cdef RFC_ERROR_INFO errorInfo * cdef SAP_UC pathName [512] * if not isfile(join(path_name, "sapnwrfc.ini")): # <<<<<<<<<<<<<< * raise TypeError('sapnwrfc.ini not found in:', path_name) * pathName = fillString(path_name) */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_isfile); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 135, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_isfile); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 136, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_join); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 135, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_join); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 136, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_7 = NULL; __pyx_t_8 = 0; @@ -3549,7 +3549,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_2set_ini_file_directory(CYTHON_UNUSED P #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_6)) { PyObject *__pyx_temp[3] = {__pyx_t_7, __pyx_v_path_name, __pyx_kp_u_sapnwrfc_ini}; - __pyx_t_5 = __Pyx_PyFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_8, 2+__pyx_t_8); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 135, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_8, 2+__pyx_t_8); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 136, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_GOTREF(__pyx_t_5); } else @@ -3557,13 +3557,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_2set_ini_file_directory(CYTHON_UNUSED P #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_6)) { PyObject *__pyx_temp[3] = {__pyx_t_7, __pyx_v_path_name, __pyx_kp_u_sapnwrfc_ini}; - __pyx_t_5 = __Pyx_PyCFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_8, 2+__pyx_t_8); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 135, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyCFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_8, 2+__pyx_t_8); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 136, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_GOTREF(__pyx_t_5); } else #endif { - __pyx_t_9 = PyTuple_New(2+__pyx_t_8); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 135, __pyx_L1_error) + __pyx_t_9 = PyTuple_New(2+__pyx_t_8); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 136, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); if (__pyx_t_7) { __Pyx_GIVEREF(__pyx_t_7); PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_7); __pyx_t_7 = NULL; @@ -3574,7 +3574,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_2set_ini_file_directory(CYTHON_UNUSED P __Pyx_INCREF(__pyx_kp_u_sapnwrfc_ini); __Pyx_GIVEREF(__pyx_kp_u_sapnwrfc_ini); PyTuple_SET_ITEM(__pyx_t_9, 1+__pyx_t_8, __pyx_kp_u_sapnwrfc_ini); - __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_9, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 135, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_9, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 136, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; } @@ -3592,22 +3592,22 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_2set_ini_file_directory(CYTHON_UNUSED P __pyx_t_4 = (__pyx_t_6) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_6, __pyx_t_5) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_5); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 135, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 136, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 135, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 136, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_1 = ((!__pyx_t_2) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":136 + /* "pyrfc/_cyrfc.pyx":137 * cdef SAP_UC pathName [512] * if not isfile(join(path_name, "sapnwrfc.ini")): * raise TypeError('sapnwrfc.ini not found in:', path_name) # <<<<<<<<<<<<<< * pathName = fillString(path_name) * cdef RFC_RC rc = RfcSetIniPath(pathName, &errorInfo) */ - __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 136, __pyx_L1_error) + __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 137, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(__pyx_kp_u_sapnwrfc_ini_not_found_in); __Pyx_GIVEREF(__pyx_kp_u_sapnwrfc_ini_not_found_in); @@ -3615,14 +3615,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_2set_ini_file_directory(CYTHON_UNUSED P __Pyx_INCREF(__pyx_v_path_name); __Pyx_GIVEREF(__pyx_v_path_name); PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_v_path_name); - __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 136, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 137, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 136, __pyx_L1_error) + __PYX_ERR(0, 137, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":135 + /* "pyrfc/_cyrfc.pyx":136 * cdef RFC_ERROR_INFO errorInfo * cdef SAP_UC pathName [512] * if not isfile(join(path_name, "sapnwrfc.ini")): # <<<<<<<<<<<<<< @@ -3631,17 +3631,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_2set_ini_file_directory(CYTHON_UNUSED P */ } - /* "pyrfc/_cyrfc.pyx":137 + /* "pyrfc/_cyrfc.pyx":138 * if not isfile(join(path_name, "sapnwrfc.ini")): * raise TypeError('sapnwrfc.ini not found in:', path_name) * pathName = fillString(path_name) # <<<<<<<<<<<<<< * cdef RFC_RC rc = RfcSetIniPath(pathName, &errorInfo) * if rc != RFC_OK: */ - __pyx_t_10 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_path_name); if (unlikely(__pyx_t_10 == ((SAP_UC *)NULL))) __PYX_ERR(0, 137, __pyx_L1_error) + __pyx_t_10 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_path_name); if (unlikely(__pyx_t_10 == ((SAP_UC *)NULL))) __PYX_ERR(0, 138, __pyx_L1_error) memcpy(&(__pyx_v_pathName[0]), __pyx_t_10, sizeof(__pyx_v_pathName[0]) * (0x200 - 0)); - /* "pyrfc/_cyrfc.pyx":138 + /* "pyrfc/_cyrfc.pyx":139 * raise TypeError('sapnwrfc.ini not found in:', path_name) * pathName = fillString(path_name) * cdef RFC_RC rc = RfcSetIniPath(pathName, &errorInfo) # <<<<<<<<<<<<<< @@ -3650,7 +3650,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_2set_ini_file_directory(CYTHON_UNUSED P */ __pyx_v_rc = RfcSetIniPath(__pyx_v_pathName, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":139 + /* "pyrfc/_cyrfc.pyx":140 * pathName = fillString(path_name) * cdef RFC_RC rc = RfcSetIniPath(pathName, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -3660,20 +3660,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_2set_ini_file_directory(CYTHON_UNUSED P __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":140 + /* "pyrfc/_cyrfc.pyx":141 * cdef RFC_RC rc = RfcSetIniPath(pathName, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * * */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 140, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 141, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 140, __pyx_L1_error) + __PYX_ERR(0, 141, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":139 + /* "pyrfc/_cyrfc.pyx":140 * pathName = fillString(path_name) * cdef RFC_RC rc = RfcSetIniPath(pathName, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -3682,7 +3682,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_2set_ini_file_directory(CYTHON_UNUSED P */ } - /* "pyrfc/_cyrfc.pyx":123 + /* "pyrfc/_cyrfc.pyx":124 * * * def set_ini_file_directory(path_name): # <<<<<<<<<<<<<< @@ -3708,7 +3708,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_2set_ini_file_directory(CYTHON_UNUSED P return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":143 +/* "pyrfc/_cyrfc.pyx":144 * * * def reload_ini_file(): # <<<<<<<<<<<<<< @@ -3743,7 +3743,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_4reload_ini_file(CYTHON_UNUSED PyObject int __pyx_clineno = 0; __Pyx_RefNannySetupContext("reload_ini_file", 0); - /* "pyrfc/_cyrfc.pyx":157 + /* "pyrfc/_cyrfc.pyx":158 * """ * cdef RFC_ERROR_INFO errorInfo * cdef RFC_RC rc = RfcReloadIniFile (&errorInfo) # <<<<<<<<<<<<<< @@ -3752,7 +3752,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_4reload_ini_file(CYTHON_UNUSED PyObject */ __pyx_v_rc = RfcReloadIniFile((&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":158 + /* "pyrfc/_cyrfc.pyx":159 * cdef RFC_ERROR_INFO errorInfo * cdef RFC_RC rc = RfcReloadIniFile (&errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -3762,20 +3762,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_4reload_ini_file(CYTHON_UNUSED PyObject __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":159 + /* "pyrfc/_cyrfc.pyx":160 * cdef RFC_RC rc = RfcReloadIniFile (&errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * * */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 159, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 160, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 159, __pyx_L1_error) + __PYX_ERR(0, 160, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":158 + /* "pyrfc/_cyrfc.pyx":159 * cdef RFC_ERROR_INFO errorInfo * cdef RFC_RC rc = RfcReloadIniFile (&errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -3784,7 +3784,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_4reload_ini_file(CYTHON_UNUSED PyObject */ } - /* "pyrfc/_cyrfc.pyx":143 + /* "pyrfc/_cyrfc.pyx":144 * * * def reload_ini_file(): # <<<<<<<<<<<<<< @@ -3805,7 +3805,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_4reload_ini_file(CYTHON_UNUSED PyObject return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":162 +/* "pyrfc/_cyrfc.pyx":163 * * * def language_iso_to_sap(lang_iso): # <<<<<<<<<<<<<< @@ -3844,17 +3844,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6language_iso_to_sap(CYTHON_UNUSED PyOb int __pyx_clineno = 0; __Pyx_RefNannySetupContext("language_iso_to_sap", 0); - /* "pyrfc/_cyrfc.pyx":173 + /* "pyrfc/_cyrfc.pyx":174 * if ISO to SAP code conversion fails. * """ * cdef SAP_UC *uclang_iso = fillString(lang_iso) # <<<<<<<<<<<<<< * cdef SAP_UC uclang_sap[8] * cdef RFC_ERROR_INFO errorInfo */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_lang_iso); if (unlikely(__pyx_t_1 == ((SAP_UC *)NULL))) __PYX_ERR(0, 173, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_lang_iso); if (unlikely(__pyx_t_1 == ((SAP_UC *)NULL))) __PYX_ERR(0, 174, __pyx_L1_error) __pyx_v_uclang_iso = __pyx_t_1; - /* "pyrfc/_cyrfc.pyx":176 + /* "pyrfc/_cyrfc.pyx":177 * cdef SAP_UC uclang_sap[8] * cdef RFC_ERROR_INFO errorInfo * cdef RFC_RC rc = RfcLanguageIsoToSap(uclang_iso, uclang_sap, &errorInfo) # <<<<<<<<<<<<<< @@ -3863,7 +3863,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6language_iso_to_sap(CYTHON_UNUSED PyOb */ __pyx_v_rc = RfcLanguageIsoToSap(__pyx_v_uclang_iso, __pyx_v_uclang_sap, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":177 + /* "pyrfc/_cyrfc.pyx":178 * cdef RFC_ERROR_INFO errorInfo * cdef RFC_RC rc = RfcLanguageIsoToSap(uclang_iso, uclang_sap, &errorInfo) * free(uclang_iso) # <<<<<<<<<<<<<< @@ -3872,7 +3872,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6language_iso_to_sap(CYTHON_UNUSED PyOb */ free(__pyx_v_uclang_iso); - /* "pyrfc/_cyrfc.pyx":178 + /* "pyrfc/_cyrfc.pyx":179 * cdef RFC_RC rc = RfcLanguageIsoToSap(uclang_iso, uclang_sap, &errorInfo) * free(uclang_iso) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -3882,20 +3882,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6language_iso_to_sap(CYTHON_UNUSED PyOb __pyx_t_2 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":179 + /* "pyrfc/_cyrfc.pyx":180 * free(uclang_iso) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * return wrapString(uclang_sap, 1) * */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 179, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 180, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 179, __pyx_L1_error) + __PYX_ERR(0, 180, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":178 + /* "pyrfc/_cyrfc.pyx":179 * cdef RFC_RC rc = RfcLanguageIsoToSap(uclang_iso, uclang_sap, &errorInfo) * free(uclang_iso) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -3904,7 +3904,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6language_iso_to_sap(CYTHON_UNUSED PyOb */ } - /* "pyrfc/_cyrfc.pyx":180 + /* "pyrfc/_cyrfc.pyx":181 * if rc != RFC_OK: * raise wrapError(&errorInfo) * return wrapString(uclang_sap, 1) # <<<<<<<<<<<<<< @@ -3914,13 +3914,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6language_iso_to_sap(CYTHON_UNUSED PyOb __Pyx_XDECREF(__pyx_r); __pyx_t_4.__pyx_n = 1; __pyx_t_4.uclen = __pyx_int_1; - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_uclang_sap, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 180, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_uclang_sap, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 181, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_r = __pyx_t_3; __pyx_t_3 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":162 + /* "pyrfc/_cyrfc.pyx":163 * * * def language_iso_to_sap(lang_iso): # <<<<<<<<<<<<<< @@ -3939,7 +3939,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6language_iso_to_sap(CYTHON_UNUSED PyOb return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":183 +/* "pyrfc/_cyrfc.pyx":184 * * * def language_sap_to_iso(lang_sap): # <<<<<<<<<<<<<< @@ -3978,17 +3978,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_8language_sap_to_iso(CYTHON_UNUSED PyOb int __pyx_clineno = 0; __Pyx_RefNannySetupContext("language_sap_to_iso", 0); - /* "pyrfc/_cyrfc.pyx":194 + /* "pyrfc/_cyrfc.pyx":195 * if SAP to ISO code conversion fails. * """ * cdef SAP_UC *uclang_sap = fillString(lang_sap) # <<<<<<<<<<<<<< * cdef SAP_UC uclang_iso[16] * cdef RFC_ERROR_INFO errorInfo */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_lang_sap); if (unlikely(__pyx_t_1 == ((SAP_UC *)NULL))) __PYX_ERR(0, 194, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_lang_sap); if (unlikely(__pyx_t_1 == ((SAP_UC *)NULL))) __PYX_ERR(0, 195, __pyx_L1_error) __pyx_v_uclang_sap = __pyx_t_1; - /* "pyrfc/_cyrfc.pyx":197 + /* "pyrfc/_cyrfc.pyx":198 * cdef SAP_UC uclang_iso[16] * cdef RFC_ERROR_INFO errorInfo * cdef RFC_RC rc = RfcLanguageSapToIso(uclang_sap, uclang_iso, &errorInfo) # <<<<<<<<<<<<<< @@ -3997,7 +3997,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_8language_sap_to_iso(CYTHON_UNUSED PyOb */ __pyx_v_rc = RfcLanguageSapToIso(__pyx_v_uclang_sap, __pyx_v_uclang_iso, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":198 + /* "pyrfc/_cyrfc.pyx":199 * cdef RFC_ERROR_INFO errorInfo * cdef RFC_RC rc = RfcLanguageSapToIso(uclang_sap, uclang_iso, &errorInfo) * free(uclang_sap) # <<<<<<<<<<<<<< @@ -4006,7 +4006,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_8language_sap_to_iso(CYTHON_UNUSED PyOb */ free(__pyx_v_uclang_sap); - /* "pyrfc/_cyrfc.pyx":199 + /* "pyrfc/_cyrfc.pyx":200 * cdef RFC_RC rc = RfcLanguageSapToIso(uclang_sap, uclang_iso, &errorInfo) * free(uclang_sap) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -4016,20 +4016,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_8language_sap_to_iso(CYTHON_UNUSED PyOb __pyx_t_2 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":200 + /* "pyrfc/_cyrfc.pyx":201 * free(uclang_sap) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * return wrapString(uclang_iso, 2) * */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 200, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 201, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 200, __pyx_L1_error) + __PYX_ERR(0, 201, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":199 + /* "pyrfc/_cyrfc.pyx":200 * cdef RFC_RC rc = RfcLanguageSapToIso(uclang_sap, uclang_iso, &errorInfo) * free(uclang_sap) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -4038,7 +4038,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_8language_sap_to_iso(CYTHON_UNUSED PyOb */ } - /* "pyrfc/_cyrfc.pyx":201 + /* "pyrfc/_cyrfc.pyx":202 * if rc != RFC_OK: * raise wrapError(&errorInfo) * return wrapString(uclang_iso, 2) # <<<<<<<<<<<<<< @@ -4048,13 +4048,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_8language_sap_to_iso(CYTHON_UNUSED PyOb __Pyx_XDECREF(__pyx_r); __pyx_t_4.__pyx_n = 1; __pyx_t_4.uclen = __pyx_int_2; - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_uclang_iso, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 201, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_uclang_iso, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 202, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_r = __pyx_t_3; __pyx_t_3 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":183 + /* "pyrfc/_cyrfc.pyx":184 * * * def language_sap_to_iso(lang_sap): # <<<<<<<<<<<<<< @@ -4073,7 +4073,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_8language_sap_to_iso(CYTHON_UNUSED PyOb return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":204 +/* "pyrfc/_cyrfc.pyx":205 * * * def set_cryptolib_path(path_name): # <<<<<<<<<<<<<< @@ -4113,7 +4113,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10set_cryptolib_path(CYTHON_UNUSED PyOb int __pyx_clineno = 0; __Pyx_RefNannySetupContext("set_cryptolib_path", 0); - /* "pyrfc/_cyrfc.pyx":216 + /* "pyrfc/_cyrfc.pyx":217 * :return: nothing, raises an error * """ * if type(path_name) is not str: # <<<<<<<<<<<<<< @@ -4124,14 +4124,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10set_cryptolib_path(CYTHON_UNUSED PyOb __pyx_t_2 = (__pyx_t_1 != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":217 + /* "pyrfc/_cyrfc.pyx":218 * """ * if type(path_name) is not str: * raise TypeError('sapnwrfc.ini path is not a string:', path_name) # <<<<<<<<<<<<<< * cdef RFC_ERROR_INFO errorInfo * cdef SAP_UC pathName [512] */ - __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 217, __pyx_L1_error) + __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 218, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(__pyx_kp_u_sapnwrfc_ini_path_is_not_a_strin); __Pyx_GIVEREF(__pyx_kp_u_sapnwrfc_ini_path_is_not_a_strin); @@ -4139,14 +4139,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10set_cryptolib_path(CYTHON_UNUSED PyOb __Pyx_INCREF(__pyx_v_path_name); __Pyx_GIVEREF(__pyx_v_path_name); PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_v_path_name); - __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 217, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 218, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __PYX_ERR(0, 217, __pyx_L1_error) + __PYX_ERR(0, 218, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":216 + /* "pyrfc/_cyrfc.pyx":217 * :return: nothing, raises an error * """ * if type(path_name) is not str: # <<<<<<<<<<<<<< @@ -4155,14 +4155,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10set_cryptolib_path(CYTHON_UNUSED PyOb */ } - /* "pyrfc/_cyrfc.pyx":220 + /* "pyrfc/_cyrfc.pyx":221 * cdef RFC_ERROR_INFO errorInfo * cdef SAP_UC pathName [512] * if not isfile(path_name): # <<<<<<<<<<<<<< * raise TypeError('Crypto library not found:', path_name) * pathName = fillString(path_name) */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_isfile); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 220, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_isfile); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 221, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_5 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) { @@ -4176,22 +4176,22 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10set_cryptolib_path(CYTHON_UNUSED PyOb } __pyx_t_4 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_5, __pyx_v_path_name) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_v_path_name); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 220, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 221, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 220, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 221, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_1 = ((!__pyx_t_2) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":221 + /* "pyrfc/_cyrfc.pyx":222 * cdef SAP_UC pathName [512] * if not isfile(path_name): * raise TypeError('Crypto library not found:', path_name) # <<<<<<<<<<<<<< * pathName = fillString(path_name) * cdef RFC_RC rc = RfcLoadCryptoLibrary(pathName, &errorInfo) */ - __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 221, __pyx_L1_error) + __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 222, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(__pyx_kp_u_Crypto_library_not_found); __Pyx_GIVEREF(__pyx_kp_u_Crypto_library_not_found); @@ -4199,14 +4199,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10set_cryptolib_path(CYTHON_UNUSED PyOb __Pyx_INCREF(__pyx_v_path_name); __Pyx_GIVEREF(__pyx_v_path_name); PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_v_path_name); - __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 221, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 222, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 221, __pyx_L1_error) + __PYX_ERR(0, 222, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":220 + /* "pyrfc/_cyrfc.pyx":221 * cdef RFC_ERROR_INFO errorInfo * cdef SAP_UC pathName [512] * if not isfile(path_name): # <<<<<<<<<<<<<< @@ -4215,17 +4215,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10set_cryptolib_path(CYTHON_UNUSED PyOb */ } - /* "pyrfc/_cyrfc.pyx":222 + /* "pyrfc/_cyrfc.pyx":223 * if not isfile(path_name): * raise TypeError('Crypto library not found:', path_name) * pathName = fillString(path_name) # <<<<<<<<<<<<<< * cdef RFC_RC rc = RfcLoadCryptoLibrary(pathName, &errorInfo) * if rc != RFC_OK: */ - __pyx_t_6 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_path_name); if (unlikely(__pyx_t_6 == ((SAP_UC *)NULL))) __PYX_ERR(0, 222, __pyx_L1_error) + __pyx_t_6 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_path_name); if (unlikely(__pyx_t_6 == ((SAP_UC *)NULL))) __PYX_ERR(0, 223, __pyx_L1_error) memcpy(&(__pyx_v_pathName[0]), __pyx_t_6, sizeof(__pyx_v_pathName[0]) * (0x200 - 0)); - /* "pyrfc/_cyrfc.pyx":223 + /* "pyrfc/_cyrfc.pyx":224 * raise TypeError('Crypto library not found:', path_name) * pathName = fillString(path_name) * cdef RFC_RC rc = RfcLoadCryptoLibrary(pathName, &errorInfo) # <<<<<<<<<<<<<< @@ -4234,7 +4234,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10set_cryptolib_path(CYTHON_UNUSED PyOb */ __pyx_v_rc = RfcLoadCryptoLibrary(__pyx_v_pathName, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":224 + /* "pyrfc/_cyrfc.pyx":225 * pathName = fillString(path_name) * cdef RFC_RC rc = RfcLoadCryptoLibrary(pathName, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -4244,20 +4244,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10set_cryptolib_path(CYTHON_UNUSED PyOb __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":225 + /* "pyrfc/_cyrfc.pyx":226 * cdef RFC_RC rc = RfcLoadCryptoLibrary(pathName, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * * */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 225, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 226, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 225, __pyx_L1_error) + __PYX_ERR(0, 226, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":224 + /* "pyrfc/_cyrfc.pyx":225 * pathName = fillString(path_name) * cdef RFC_RC rc = RfcLoadCryptoLibrary(pathName, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -4266,7 +4266,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10set_cryptolib_path(CYTHON_UNUSED PyOb */ } - /* "pyrfc/_cyrfc.pyx":204 + /* "pyrfc/_cyrfc.pyx":205 * * * def set_cryptolib_path(path_name): # <<<<<<<<<<<<<< @@ -4289,7 +4289,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10set_cryptolib_path(CYTHON_UNUSED PyOb return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":228 +/* "pyrfc/_cyrfc.pyx":229 * * * def set_locale_radix(value=None): # <<<<<<<<<<<<<< @@ -4331,7 +4331,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_13set_locale_radix(PyObject *__pyx_self } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "set_locale_radix") < 0)) __PYX_ERR(0, 228, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "set_locale_radix") < 0)) __PYX_ERR(0, 229, __pyx_L3_error) } } else { switch (PyTuple_GET_SIZE(__pyx_args)) { @@ -4345,7 +4345,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_13set_locale_radix(PyObject *__pyx_self } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("set_locale_radix", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 228, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("set_locale_radix", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 229, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("pyrfc._cyrfc.set_locale_radix", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -4372,7 +4372,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_12set_locale_radix(CYTHON_UNUSED PyObje __Pyx_RefNannySetupContext("set_locale_radix", 0); __Pyx_INCREF(__pyx_v_value); - /* "pyrfc/_cyrfc.pyx":237 + /* "pyrfc/_cyrfc.pyx":238 * """ * global _LOCALE_RADIX * if value is None: # <<<<<<<<<<<<<< @@ -4383,14 +4383,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_12set_locale_radix(CYTHON_UNUSED PyObje __pyx_t_2 = (__pyx_t_1 != 0); if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":238 + /* "pyrfc/_cyrfc.pyx":239 * global _LOCALE_RADIX * if value is None: * value = localeconv()['decimal_point'] # <<<<<<<<<<<<<< * _LOCALE_RADIX = value * return _LOCALE_RADIX */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_localeconv); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 238, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_localeconv); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 239, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_4))) { @@ -4404,16 +4404,16 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_12set_locale_radix(CYTHON_UNUSED PyObje } __pyx_t_3 = (__pyx_t_5) ? __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_5) : __Pyx_PyObject_CallNoArg(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 238, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 239, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_Dict_GetItem(__pyx_t_3, __pyx_n_u_decimal_point); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 238, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Dict_GetItem(__pyx_t_3, __pyx_n_u_decimal_point); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 239, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF_SET(__pyx_v_value, __pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":237 + /* "pyrfc/_cyrfc.pyx":238 * """ * global _LOCALE_RADIX * if value is None: # <<<<<<<<<<<<<< @@ -4422,16 +4422,16 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_12set_locale_radix(CYTHON_UNUSED PyObje */ } - /* "pyrfc/_cyrfc.pyx":239 + /* "pyrfc/_cyrfc.pyx":240 * if value is None: * value = localeconv()['decimal_point'] * _LOCALE_RADIX = value # <<<<<<<<<<<<<< * return _LOCALE_RADIX * */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_LOCALE_RADIX, __pyx_v_value) < 0) __PYX_ERR(0, 239, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_LOCALE_RADIX, __pyx_v_value) < 0) __PYX_ERR(0, 240, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":240 + /* "pyrfc/_cyrfc.pyx":241 * value = localeconv()['decimal_point'] * _LOCALE_RADIX = value * return _LOCALE_RADIX # <<<<<<<<<<<<<< @@ -4439,13 +4439,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_12set_locale_radix(CYTHON_UNUSED PyObje * */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_LOCALE_RADIX); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 240, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_LOCALE_RADIX); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 241, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_r = __pyx_t_4; __pyx_t_4 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":228 + /* "pyrfc/_cyrfc.pyx":229 * * * def set_locale_radix(value=None): # <<<<<<<<<<<<<< @@ -4467,7 +4467,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_12set_locale_radix(CYTHON_UNUSED PyObje return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":243 +/* "pyrfc/_cyrfc.pyx":244 * * * cdef _cancel_connection(client_connection): # <<<<<<<<<<<<<< @@ -4489,34 +4489,34 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc__cancel_connection(PyObject *__pyx_v_cli int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_cancel_connection", 0); - /* "pyrfc/_cyrfc.pyx":246 + /* "pyrfc/_cyrfc.pyx":247 * cdef RFC_RC rc * cdef RFC_ERROR_INFO errorInfo * if client_connection.handle is not None: # <<<<<<<<<<<<<< * rc = RfcCancel(client_connection.handle, &errorInfo) * if rc != RFC_OK or errorInfo.code != RFC_OK: */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_client_connection, __pyx_n_s_handle); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 246, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_client_connection, __pyx_n_s_handle); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 247, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = (__pyx_t_1 != Py_None); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_3 = (__pyx_t_2 != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":247 + /* "pyrfc/_cyrfc.pyx":248 * cdef RFC_ERROR_INFO errorInfo * if client_connection.handle is not None: * rc = RfcCancel(client_connection.handle, &errorInfo) # <<<<<<<<<<<<<< * if rc != RFC_OK or errorInfo.code != RFC_OK: * raise wrapError(&errorInfo) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_client_connection, __pyx_n_s_handle); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 247, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_client_connection, __pyx_n_s_handle); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 248, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_4 = __Pyx_PyInt_As_size_t(__pyx_t_1); if (unlikely((__pyx_t_4 == ((uintptr_t)-1)) && PyErr_Occurred())) __PYX_ERR(0, 247, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_As_size_t(__pyx_t_1); if (unlikely((__pyx_t_4 == ((uintptr_t)-1)) && PyErr_Occurred())) __PYX_ERR(0, 248, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_rc = RfcCancel(((RFC_CONNECTION_HANDLE)((uintptr_t)__pyx_t_4)), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":248 + /* "pyrfc/_cyrfc.pyx":249 * if client_connection.handle is not None: * rc = RfcCancel(client_connection.handle, &errorInfo) * if rc != RFC_OK or errorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -4534,20 +4534,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc__cancel_connection(PyObject *__pyx_v_cli __pyx_L5_bool_binop_done:; if (unlikely(__pyx_t_3)) { - /* "pyrfc/_cyrfc.pyx":249 + /* "pyrfc/_cyrfc.pyx":250 * rc = RfcCancel(client_connection.handle, &errorInfo) * if rc != RFC_OK or errorInfo.code != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * * */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 249, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 250, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 249, __pyx_L1_error) + __PYX_ERR(0, 250, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":248 + /* "pyrfc/_cyrfc.pyx":249 * if client_connection.handle is not None: * rc = RfcCancel(client_connection.handle, &errorInfo) * if rc != RFC_OK or errorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -4556,7 +4556,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc__cancel_connection(PyObject *__pyx_v_cli */ } - /* "pyrfc/_cyrfc.pyx":246 + /* "pyrfc/_cyrfc.pyx":247 * cdef RFC_RC rc * cdef RFC_ERROR_INFO errorInfo * if client_connection.handle is not None: # <<<<<<<<<<<<<< @@ -4565,7 +4565,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc__cancel_connection(PyObject *__pyx_v_cli */ } - /* "pyrfc/_cyrfc.pyx":243 + /* "pyrfc/_cyrfc.pyx":244 * * * cdef _cancel_connection(client_connection): # <<<<<<<<<<<<<< @@ -4586,7 +4586,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc__cancel_connection(PyObject *__pyx_v_cli return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":252 +/* "pyrfc/_cyrfc.pyx":253 * * * def cancel_connection(client_connection): # <<<<<<<<<<<<<< @@ -4621,33 +4621,33 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_14cancel_connection(CYTHON_UNUSED PyObj int __pyx_clineno = 0; __Pyx_RefNannySetupContext("cancel_connection", 0); - /* "pyrfc/_cyrfc.pyx":266 + /* "pyrfc/_cyrfc.pyx":267 * thereof if the connection cannot be cancelled cleanly. * """ * Thread(target=_cancel_connection, args=(client_connection,)).start() # <<<<<<<<<<<<<< * * */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_Thread); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 266, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_Thread); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 267, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 266, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 267, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_CFunc_object____object___to_py(__pyx_f_5pyrfc_6_cyrfc__cancel_connection); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 266, __pyx_L1_error) + __pyx_t_4 = __Pyx_CFunc_object____object___to_py(__pyx_f_5pyrfc_6_cyrfc__cancel_connection); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 267, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_target, __pyx_t_4) < 0) __PYX_ERR(0, 266, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_target, __pyx_t_4) < 0) __PYX_ERR(0, 267, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 266, __pyx_L1_error) + __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 267, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(__pyx_v_client_connection); __Pyx_GIVEREF(__pyx_v_client_connection); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_client_connection); - if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_args, __pyx_t_4) < 0) __PYX_ERR(0, 266, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_args, __pyx_t_4) < 0) __PYX_ERR(0, 267, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_empty_tuple, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 266, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_empty_tuple, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 267, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_start); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 266, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_start); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 267, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_4 = NULL; @@ -4662,12 +4662,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_14cancel_connection(CYTHON_UNUSED PyObj } __pyx_t_1 = (__pyx_t_4) ? __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_4) : __Pyx_PyObject_CallNoArg(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 266, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 267, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":252 + /* "pyrfc/_cyrfc.pyx":253 * * * def cancel_connection(client_connection): # <<<<<<<<<<<<<< @@ -4691,7 +4691,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_14cancel_connection(CYTHON_UNUSED PyObj return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":285 +/* "pyrfc/_cyrfc.pyx":286 * cdef RFC_CONNECTION_PARAMETER *_params * * def __cinit__(self, **params): # <<<<<<<<<<<<<< @@ -4739,17 +4739,17 @@ static int __pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters___cinit__(struct __pyx int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__cinit__", 0); - /* "pyrfc/_cyrfc.pyx":286 + /* "pyrfc/_cyrfc.pyx":287 * * def __cinit__(self, **params): * self._params_count = len(params) # <<<<<<<<<<<<<< * if self._params_count < 1: * raise RFCError("Connection parameters missing") */ - __pyx_t_1 = PyDict_Size(__pyx_v_params); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(0, 286, __pyx_L1_error) + __pyx_t_1 = PyDict_Size(__pyx_v_params); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(0, 287, __pyx_L1_error) __pyx_v_self->_params_count = ((unsigned int)__pyx_t_1); - /* "pyrfc/_cyrfc.pyx":287 + /* "pyrfc/_cyrfc.pyx":288 * def __cinit__(self, **params): * self._params_count = len(params) * if self._params_count < 1: # <<<<<<<<<<<<<< @@ -4759,14 +4759,14 @@ static int __pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters___cinit__(struct __pyx __pyx_t_2 = ((__pyx_v_self->_params_count < 1) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":288 + /* "pyrfc/_cyrfc.pyx":289 * self._params_count = len(params) * if self._params_count < 1: * raise RFCError("Connection parameters missing") # <<<<<<<<<<<<<< * self._params = malloc(self._params_count * sizeof(RFC_CONNECTION_PARAMETER)) * cdef int i = 0 */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 288, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 289, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_4))) { @@ -4780,14 +4780,14 @@ static int __pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters___cinit__(struct __pyx } __pyx_t_3 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_5, __pyx_kp_u_Connection_parameters_missing) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_kp_u_Connection_parameters_missing); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 288, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 289, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 288, __pyx_L1_error) + __PYX_ERR(0, 289, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":287 + /* "pyrfc/_cyrfc.pyx":288 * def __cinit__(self, **params): * self._params_count = len(params) * if self._params_count < 1: # <<<<<<<<<<<<<< @@ -4796,7 +4796,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters___cinit__(struct __pyx */ } - /* "pyrfc/_cyrfc.pyx":289 + /* "pyrfc/_cyrfc.pyx":290 * if self._params_count < 1: * raise RFCError("Connection parameters missing") * self._params = malloc(self._params_count * sizeof(RFC_CONNECTION_PARAMETER)) # <<<<<<<<<<<<<< @@ -4805,7 +4805,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters___cinit__(struct __pyx */ __pyx_v_self->_params = ((RFC_CONNECTION_PARAMETER *)malloc((__pyx_v_self->_params_count * (sizeof(RFC_CONNECTION_PARAMETER))))); - /* "pyrfc/_cyrfc.pyx":290 + /* "pyrfc/_cyrfc.pyx":291 * raise RFCError("Connection parameters missing") * self._params = malloc(self._params_count * sizeof(RFC_CONNECTION_PARAMETER)) * cdef int i = 0 # <<<<<<<<<<<<<< @@ -4814,7 +4814,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters___cinit__(struct __pyx */ __pyx_v_i = 0; - /* "pyrfc/_cyrfc.pyx":291 + /* "pyrfc/_cyrfc.pyx":292 * self._params = malloc(self._params_count * sizeof(RFC_CONNECTION_PARAMETER)) * cdef int i = 0 * for name, value in params.iteritems(): # <<<<<<<<<<<<<< @@ -4822,7 +4822,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters___cinit__(struct __pyx * self._params[i].value = fillString(value) */ __pyx_t_1 = 0; - __pyx_t_4 = __Pyx_dict_iterator(__pyx_v_params, 1, __pyx_n_s_iteritems, (&__pyx_t_6), (&__pyx_t_7)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 291, __pyx_L1_error) + __pyx_t_4 = __Pyx_dict_iterator(__pyx_v_params, 1, __pyx_n_s_iteritems, (&__pyx_t_6), (&__pyx_t_7)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 292, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = __pyx_t_4; @@ -4830,7 +4830,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters___cinit__(struct __pyx while (1) { __pyx_t_8 = __Pyx_dict_iter_next(__pyx_t_3, __pyx_t_6, &__pyx_t_1, &__pyx_t_4, &__pyx_t_5, NULL, __pyx_t_7); if (unlikely(__pyx_t_8 == 0)) break; - if (unlikely(__pyx_t_8 == -1)) __PYX_ERR(0, 291, __pyx_L1_error) + if (unlikely(__pyx_t_8 == -1)) __PYX_ERR(0, 292, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_GOTREF(__pyx_t_5); __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_4); @@ -4838,27 +4838,27 @@ static int __pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters___cinit__(struct __pyx __Pyx_XDECREF_SET(__pyx_v_value, __pyx_t_5); __pyx_t_5 = 0; - /* "pyrfc/_cyrfc.pyx":292 + /* "pyrfc/_cyrfc.pyx":293 * cdef int i = 0 * for name, value in params.iteritems(): * self._params[i].name = fillString(name) # <<<<<<<<<<<<<< * self._params[i].value = fillString(value) * i += 1 */ - __pyx_t_9 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_name); if (unlikely(__pyx_t_9 == ((SAP_UC *)NULL))) __PYX_ERR(0, 292, __pyx_L1_error) + __pyx_t_9 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_name); if (unlikely(__pyx_t_9 == ((SAP_UC *)NULL))) __PYX_ERR(0, 293, __pyx_L1_error) (__pyx_v_self->_params[__pyx_v_i]).name = __pyx_t_9; - /* "pyrfc/_cyrfc.pyx":293 + /* "pyrfc/_cyrfc.pyx":294 * for name, value in params.iteritems(): * self._params[i].name = fillString(name) * self._params[i].value = fillString(value) # <<<<<<<<<<<<<< * i += 1 * */ - __pyx_t_9 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_value); if (unlikely(__pyx_t_9 == ((SAP_UC *)NULL))) __PYX_ERR(0, 293, __pyx_L1_error) + __pyx_t_9 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_value); if (unlikely(__pyx_t_9 == ((SAP_UC *)NULL))) __PYX_ERR(0, 294, __pyx_L1_error) (__pyx_v_self->_params[__pyx_v_i]).value = __pyx_t_9; - /* "pyrfc/_cyrfc.pyx":294 + /* "pyrfc/_cyrfc.pyx":295 * self._params[i].name = fillString(name) * self._params[i].value = fillString(value) * i += 1 # <<<<<<<<<<<<<< @@ -4869,7 +4869,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters___cinit__(struct __pyx } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":285 + /* "pyrfc/_cyrfc.pyx":286 * cdef RFC_CONNECTION_PARAMETER *_params * * def __cinit__(self, **params): # <<<<<<<<<<<<<< @@ -4893,7 +4893,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters___cinit__(struct __pyx return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":296 +/* "pyrfc/_cyrfc.pyx":297 * i += 1 * * def __del__(self): # <<<<<<<<<<<<<< @@ -4925,14 +4925,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters_2__del__(struct int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__del__", 0); - /* "pyrfc/_cyrfc.pyx":297 + /* "pyrfc/_cyrfc.pyx":298 * * def __del__(self): * self._free() # <<<<<<<<<<<<<< * * def _free(self): */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_free); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 297, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_free); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 298, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -4946,12 +4946,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters_2__del__(struct } __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 297, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 298, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":296 + /* "pyrfc/_cyrfc.pyx":297 * i += 1 * * def __del__(self): # <<<<<<<<<<<<<< @@ -4974,7 +4974,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters_2__del__(struct return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":299 +/* "pyrfc/_cyrfc.pyx":300 * self._free() * * def _free(self): # <<<<<<<<<<<<<< @@ -5005,7 +5005,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters_4_free(struct __ unsigned int __pyx_t_4; __Pyx_RefNannySetupContext("_free", 0); - /* "pyrfc/_cyrfc.pyx":300 + /* "pyrfc/_cyrfc.pyx":301 * * def _free(self): * if self._params_count > 0: # <<<<<<<<<<<<<< @@ -5015,7 +5015,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters_4_free(struct __ __pyx_t_1 = ((__pyx_v_self->_params_count > 0) != 0); if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":301 + /* "pyrfc/_cyrfc.pyx":302 * def _free(self): * if self._params_count > 0: * for i in range(self._params_count): # <<<<<<<<<<<<<< @@ -5027,7 +5027,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters_4_free(struct __ for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { __pyx_v_i = __pyx_t_4; - /* "pyrfc/_cyrfc.pyx":302 + /* "pyrfc/_cyrfc.pyx":303 * if self._params_count > 0: * for i in range(self._params_count): * free(self._params[i].name) # <<<<<<<<<<<<<< @@ -5036,7 +5036,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters_4_free(struct __ */ free(((SAP_UC *)(__pyx_v_self->_params[__pyx_v_i]).name)); - /* "pyrfc/_cyrfc.pyx":303 + /* "pyrfc/_cyrfc.pyx":304 * for i in range(self._params_count): * free(self._params[i].name) * free( self._params[i].value) # <<<<<<<<<<<<<< @@ -5046,7 +5046,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters_4_free(struct __ free(((SAP_UC *)(__pyx_v_self->_params[__pyx_v_i]).value)); } - /* "pyrfc/_cyrfc.pyx":304 + /* "pyrfc/_cyrfc.pyx":305 * free(self._params[i].name) * free( self._params[i].value) * free(self._params) # <<<<<<<<<<<<<< @@ -5055,7 +5055,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters_4_free(struct __ */ free(__pyx_v_self->_params); - /* "pyrfc/_cyrfc.pyx":305 + /* "pyrfc/_cyrfc.pyx":306 * free( self._params[i].value) * free(self._params) * self._params_count = 0 # <<<<<<<<<<<<<< @@ -5064,7 +5064,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters_4_free(struct __ */ __pyx_v_self->_params_count = 0; - /* "pyrfc/_cyrfc.pyx":300 + /* "pyrfc/_cyrfc.pyx":301 * * def _free(self): * if self._params_count > 0: # <<<<<<<<<<<<<< @@ -5073,7 +5073,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters_4_free(struct __ */ } - /* "pyrfc/_cyrfc.pyx":299 + /* "pyrfc/_cyrfc.pyx":300 * self._free() * * def _free(self): # <<<<<<<<<<<<<< @@ -5201,7 +5201,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_20ConnectionParameters_8__setstate_cyth return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":337 +/* "pyrfc/_cyrfc.pyx":338 * * """ * def __init__(self, name, nuc_length, uc_length): # <<<<<<<<<<<<<< @@ -5250,23 +5250,23 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_15TypeDescription_1__init__(PyObject *_ case 1: if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 1); __PYX_ERR(0, 337, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 1); __PYX_ERR(0, 338, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 2: if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_nuc_length)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 2); __PYX_ERR(0, 337, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 2); __PYX_ERR(0, 338, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 3: if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_uc_length)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 3); __PYX_ERR(0, 337, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 3); __PYX_ERR(0, 338, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) __PYX_ERR(0, 337, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) __PYX_ERR(0, 338, __pyx_L3_error) } } else if (PyTuple_GET_SIZE(__pyx_args) != 4) { goto __pyx_L5_argtuple_error; @@ -5283,7 +5283,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_15TypeDescription_1__init__(PyObject *_ } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 337, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 338, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("pyrfc._cyrfc.TypeDescription.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -5313,46 +5313,46 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription___init__(CYTHON_UNUSE int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - /* "pyrfc/_cyrfc.pyx":338 + /* "pyrfc/_cyrfc.pyx":339 * """ * def __init__(self, name, nuc_length, uc_length): * self.fields = [] # <<<<<<<<<<<<<< * if len(name)<1 or len(name)>30: * raise TypeError(f"field 'name' (string) '{name}' should be from 1-30 chars.") */ - __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 338, __pyx_L1_error) + __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 339, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_fields, __pyx_t_1) < 0) __PYX_ERR(0, 338, __pyx_L1_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_fields, __pyx_t_1) < 0) __PYX_ERR(0, 339, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":339 + /* "pyrfc/_cyrfc.pyx":340 * def __init__(self, name, nuc_length, uc_length): * self.fields = [] * if len(name)<1 or len(name)>30: # <<<<<<<<<<<<<< * raise TypeError(f"field 'name' (string) '{name}' should be from 1-30 chars.") * for int_field in [nuc_length, uc_length]: */ - __pyx_t_3 = PyObject_Length(__pyx_v_name); if (unlikely(__pyx_t_3 == ((Py_ssize_t)-1))) __PYX_ERR(0, 339, __pyx_L1_error) + __pyx_t_3 = PyObject_Length(__pyx_v_name); if (unlikely(__pyx_t_3 == ((Py_ssize_t)-1))) __PYX_ERR(0, 340, __pyx_L1_error) __pyx_t_4 = ((__pyx_t_3 < 1) != 0); if (!__pyx_t_4) { } else { __pyx_t_2 = __pyx_t_4; goto __pyx_L4_bool_binop_done; } - __pyx_t_3 = PyObject_Length(__pyx_v_name); if (unlikely(__pyx_t_3 == ((Py_ssize_t)-1))) __PYX_ERR(0, 339, __pyx_L1_error) + __pyx_t_3 = PyObject_Length(__pyx_v_name); if (unlikely(__pyx_t_3 == ((Py_ssize_t)-1))) __PYX_ERR(0, 340, __pyx_L1_error) __pyx_t_4 = ((__pyx_t_3 > 30) != 0); __pyx_t_2 = __pyx_t_4; __pyx_L4_bool_binop_done:; if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":340 + /* "pyrfc/_cyrfc.pyx":341 * self.fields = [] * if len(name)<1 or len(name)>30: * raise TypeError(f"field 'name' (string) '{name}' should be from 1-30 chars.") # <<<<<<<<<<<<<< * for int_field in [nuc_length, uc_length]: * if type(int_field) not in [int, long]: */ - __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 340, __pyx_L1_error) + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 341, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = 0; __pyx_t_5 = 127; @@ -5360,7 +5360,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription___init__(CYTHON_UNUSE __pyx_t_3 += 23; __Pyx_GIVEREF(__pyx_kp_u_field_name_string); PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_kp_u_field_name_string); - __pyx_t_6 = __Pyx_PyObject_FormatSimple(__pyx_v_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 340, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_FormatSimple(__pyx_v_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 341, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6) : __pyx_t_5; __pyx_t_3 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_6); @@ -5371,17 +5371,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription___init__(CYTHON_UNUSE __pyx_t_3 += 28; __Pyx_GIVEREF(__pyx_kp_u_should_be_from_1_30_chars); PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_kp_u_should_be_from_1_30_chars); - __pyx_t_6 = __Pyx_PyUnicode_Join(__pyx_t_1, 3, __pyx_t_3, __pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 340, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyUnicode_Join(__pyx_t_1, 3, __pyx_t_3, __pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 341, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_6); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 340, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_6); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 341, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 340, __pyx_L1_error) + __PYX_ERR(0, 341, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":339 + /* "pyrfc/_cyrfc.pyx":340 * def __init__(self, name, nuc_length, uc_length): * self.fields = [] * if len(name)<1 or len(name)>30: # <<<<<<<<<<<<<< @@ -5390,14 +5390,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription___init__(CYTHON_UNUSE */ } - /* "pyrfc/_cyrfc.pyx":341 + /* "pyrfc/_cyrfc.pyx":342 * if len(name)<1 or len(name)>30: * raise TypeError(f"field 'name' (string) '{name}' should be from 1-30 chars.") * for int_field in [nuc_length, uc_length]: # <<<<<<<<<<<<<< * if type(int_field) not in [int, long]: * raise TypeError(f"field '{name}' length '{int_field}' must be of type integer") */ - __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 341, __pyx_L1_error) + __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 342, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v_nuc_length); __Pyx_GIVEREF(__pyx_v_nuc_length); @@ -5410,15 +5410,15 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription___init__(CYTHON_UNUSE for (;;) { if (__pyx_t_3 >= 2) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_6, __pyx_t_3); __Pyx_INCREF(__pyx_t_1); __pyx_t_3++; if (unlikely(0 < 0)) __PYX_ERR(0, 341, __pyx_L1_error) + __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_6, __pyx_t_3); __Pyx_INCREF(__pyx_t_1); __pyx_t_3++; if (unlikely(0 < 0)) __PYX_ERR(0, 342, __pyx_L1_error) #else - __pyx_t_1 = PySequence_ITEM(__pyx_t_6, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 341, __pyx_L1_error) + __pyx_t_1 = PySequence_ITEM(__pyx_t_6, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 342, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); #endif __Pyx_XDECREF_SET(__pyx_v_int_field, __pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":342 + /* "pyrfc/_cyrfc.pyx":343 * raise TypeError(f"field 'name' (string) '{name}' should be from 1-30 chars.") * for int_field in [nuc_length, uc_length]: * if type(int_field) not in [int, long]: # <<<<<<<<<<<<<< @@ -5427,16 +5427,16 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription___init__(CYTHON_UNUSE */ __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_int_field))); __pyx_t_1 = ((PyObject *)Py_TYPE(__pyx_v_int_field)); - __pyx_t_7 = PyObject_RichCompare(((PyObject *)__pyx_t_1), ((PyObject *)(&PyInt_Type)), Py_NE); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 342, __pyx_L1_error) - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 342, __pyx_L1_error) + __pyx_t_7 = PyObject_RichCompare(((PyObject *)__pyx_t_1), ((PyObject *)(&PyInt_Type)), Py_NE); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 343, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 343, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (__pyx_t_4) { } else { __pyx_t_2 = __pyx_t_4; goto __pyx_L9_bool_binop_done; } - __pyx_t_7 = PyObject_RichCompare(((PyObject *)__pyx_t_1), ((PyObject *)(&PyLong_Type)), Py_NE); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 342, __pyx_L1_error) - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 342, __pyx_L1_error) + __pyx_t_7 = PyObject_RichCompare(((PyObject *)__pyx_t_1), ((PyObject *)(&PyLong_Type)), Py_NE); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 343, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 343, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_2 = __pyx_t_4; __pyx_L9_bool_binop_done:; @@ -5444,14 +5444,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription___init__(CYTHON_UNUSE __pyx_t_4 = (__pyx_t_2 != 0); if (unlikely(__pyx_t_4)) { - /* "pyrfc/_cyrfc.pyx":343 + /* "pyrfc/_cyrfc.pyx":344 * for int_field in [nuc_length, uc_length]: * if type(int_field) not in [int, long]: * raise TypeError(f"field '{name}' length '{int_field}' must be of type integer") # <<<<<<<<<<<<<< * self.name = name * self.nuc_length = nuc_length */ - __pyx_t_1 = PyTuple_New(5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 343, __pyx_L1_error) + __pyx_t_1 = PyTuple_New(5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 344, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_8 = 0; __pyx_t_5 = 127; @@ -5459,7 +5459,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription___init__(CYTHON_UNUSE __pyx_t_8 += 7; __Pyx_GIVEREF(__pyx_kp_u_field); PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_kp_u_field); - __pyx_t_7 = __Pyx_PyObject_FormatSimple(__pyx_v_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 343, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_FormatSimple(__pyx_v_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 344, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) : __pyx_t_5; __pyx_t_8 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_7); @@ -5470,7 +5470,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription___init__(CYTHON_UNUSE __pyx_t_8 += 10; __Pyx_GIVEREF(__pyx_kp_u_length); PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_kp_u_length); - __pyx_t_7 = __Pyx_PyObject_FormatSimple(__pyx_v_int_field, __pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 343, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_FormatSimple(__pyx_v_int_field, __pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 344, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) : __pyx_t_5; __pyx_t_8 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_7); @@ -5481,17 +5481,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription___init__(CYTHON_UNUSE __pyx_t_8 += 25; __Pyx_GIVEREF(__pyx_kp_u_must_be_of_type_integer); PyTuple_SET_ITEM(__pyx_t_1, 4, __pyx_kp_u_must_be_of_type_integer); - __pyx_t_7 = __Pyx_PyUnicode_Join(__pyx_t_1, 5, __pyx_t_8, __pyx_t_5); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 343, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyUnicode_Join(__pyx_t_1, 5, __pyx_t_8, __pyx_t_5); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 344, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_7); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 343, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_7); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 344, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 343, __pyx_L1_error) + __PYX_ERR(0, 344, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":342 + /* "pyrfc/_cyrfc.pyx":343 * raise TypeError(f"field 'name' (string) '{name}' should be from 1-30 chars.") * for int_field in [nuc_length, uc_length]: * if type(int_field) not in [int, long]: # <<<<<<<<<<<<<< @@ -5500,7 +5500,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription___init__(CYTHON_UNUSE */ } - /* "pyrfc/_cyrfc.pyx":341 + /* "pyrfc/_cyrfc.pyx":342 * if len(name)<1 or len(name)>30: * raise TypeError(f"field 'name' (string) '{name}' should be from 1-30 chars.") * for int_field in [nuc_length, uc_length]: # <<<<<<<<<<<<<< @@ -5510,34 +5510,34 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription___init__(CYTHON_UNUSE } __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "pyrfc/_cyrfc.pyx":344 + /* "pyrfc/_cyrfc.pyx":345 * if type(int_field) not in [int, long]: * raise TypeError(f"field '{name}' length '{int_field}' must be of type integer") * self.name = name # <<<<<<<<<<<<<< * self.nuc_length = nuc_length * self.uc_length = uc_length */ - if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_name, __pyx_v_name) < 0) __PYX_ERR(0, 344, __pyx_L1_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_name, __pyx_v_name) < 0) __PYX_ERR(0, 345, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":345 + /* "pyrfc/_cyrfc.pyx":346 * raise TypeError(f"field '{name}' length '{int_field}' must be of type integer") * self.name = name * self.nuc_length = nuc_length # <<<<<<<<<<<<<< * self.uc_length = uc_length * */ - if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_nuc_length, __pyx_v_nuc_length) < 0) __PYX_ERR(0, 345, __pyx_L1_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_nuc_length, __pyx_v_nuc_length) < 0) __PYX_ERR(0, 346, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":346 + /* "pyrfc/_cyrfc.pyx":347 * self.name = name * self.nuc_length = nuc_length * self.uc_length = uc_length # <<<<<<<<<<<<<< * * def add_field(self, name, field_type, nuc_length, uc_length, nuc_offset, */ - if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_uc_length, __pyx_v_uc_length) < 0) __PYX_ERR(0, 346, __pyx_L1_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_uc_length, __pyx_v_uc_length) < 0) __PYX_ERR(0, 347, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":337 + /* "pyrfc/_cyrfc.pyx":338 * * """ * def __init__(self, name, nuc_length, uc_length): # <<<<<<<<<<<<<< @@ -5561,7 +5561,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription___init__(CYTHON_UNUSE return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":348 +/* "pyrfc/_cyrfc.pyx":349 * self.uc_length = uc_length * * def add_field(self, name, field_type, nuc_length, uc_length, nuc_offset, # <<<<<<<<<<<<<< @@ -5594,7 +5594,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_15TypeDescription_3add_field(PyObject * PyObject* values[9] = {0,0,0,0,0,0,0,0,0}; values[7] = ((PyObject *)((PyObject *)__pyx_int_0)); - /* "pyrfc/_cyrfc.pyx":349 + /* "pyrfc/_cyrfc.pyx":350 * * def add_field(self, name, field_type, nuc_length, uc_length, nuc_offset, * uc_offset, decimals=0, type_description=None): # <<<<<<<<<<<<<< @@ -5636,37 +5636,37 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_15TypeDescription_3add_field(PyObject * case 1: if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("add_field", 0, 7, 9, 1); __PYX_ERR(0, 348, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("add_field", 0, 7, 9, 1); __PYX_ERR(0, 349, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 2: if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_field_type)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("add_field", 0, 7, 9, 2); __PYX_ERR(0, 348, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("add_field", 0, 7, 9, 2); __PYX_ERR(0, 349, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 3: if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_nuc_length)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("add_field", 0, 7, 9, 3); __PYX_ERR(0, 348, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("add_field", 0, 7, 9, 3); __PYX_ERR(0, 349, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 4: if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_uc_length)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("add_field", 0, 7, 9, 4); __PYX_ERR(0, 348, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("add_field", 0, 7, 9, 4); __PYX_ERR(0, 349, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 5: if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_nuc_offset)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("add_field", 0, 7, 9, 5); __PYX_ERR(0, 348, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("add_field", 0, 7, 9, 5); __PYX_ERR(0, 349, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 6: if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_uc_offset)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("add_field", 0, 7, 9, 6); __PYX_ERR(0, 348, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("add_field", 0, 7, 9, 6); __PYX_ERR(0, 349, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 7: @@ -5682,7 +5682,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_15TypeDescription_3add_field(PyObject * } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "add_field") < 0)) __PYX_ERR(0, 348, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "add_field") < 0)) __PYX_ERR(0, 349, __pyx_L3_error) } } else { switch (PyTuple_GET_SIZE(__pyx_args)) { @@ -5713,7 +5713,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_15TypeDescription_3add_field(PyObject * } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("add_field", 0, 7, 9, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 348, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("add_field", 0, 7, 9, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 349, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("pyrfc._cyrfc.TypeDescription.add_field", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -5721,7 +5721,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_15TypeDescription_3add_field(PyObject * __pyx_L4_argument_unpacking_done:; __pyx_r = __pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_2add_field(__pyx_self, __pyx_v_self, __pyx_v_name, __pyx_v_field_type, __pyx_v_nuc_length, __pyx_v_uc_length, __pyx_v_nuc_offset, __pyx_v_uc_offset, __pyx_v_decimals, __pyx_v_type_description); - /* "pyrfc/_cyrfc.pyx":348 + /* "pyrfc/_cyrfc.pyx":349 * self.uc_length = uc_length * * def add_field(self, name, field_type, nuc_length, uc_length, nuc_offset, # <<<<<<<<<<<<<< @@ -5755,18 +5755,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_2add_field(CYTHON_UNU int __pyx_clineno = 0; __Pyx_RefNannySetupContext("add_field", 0); - /* "pyrfc/_cyrfc.pyx":369 + /* "pyrfc/_cyrfc.pyx":370 * :type type_description: object of class TypeDescription * """ * if len(name)<1: # <<<<<<<<<<<<<< * return None * if len(name)>30: */ - __pyx_t_1 = PyObject_Length(__pyx_v_name); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(0, 369, __pyx_L1_error) + __pyx_t_1 = PyObject_Length(__pyx_v_name); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(0, 370, __pyx_L1_error) __pyx_t_2 = ((__pyx_t_1 < 1) != 0); if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":370 + /* "pyrfc/_cyrfc.pyx":371 * """ * if len(name)<1: * return None # <<<<<<<<<<<<<< @@ -5777,7 +5777,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_2add_field(CYTHON_UNU __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":369 + /* "pyrfc/_cyrfc.pyx":370 * :type type_description: object of class TypeDescription * """ * if len(name)<1: # <<<<<<<<<<<<<< @@ -5786,25 +5786,25 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_2add_field(CYTHON_UNU */ } - /* "pyrfc/_cyrfc.pyx":371 + /* "pyrfc/_cyrfc.pyx":372 * if len(name)<1: * return None * if len(name)>30: # <<<<<<<<<<<<<< * raise TypeError(f"field 'name' (string) '{name}' should be from 1-30 chars.") * if field_type not in enum_names(RfcFieldType): */ - __pyx_t_1 = PyObject_Length(__pyx_v_name); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(0, 371, __pyx_L1_error) + __pyx_t_1 = PyObject_Length(__pyx_v_name); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(0, 372, __pyx_L1_error) __pyx_t_2 = ((__pyx_t_1 > 30) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":372 + /* "pyrfc/_cyrfc.pyx":373 * return None * if len(name)>30: * raise TypeError(f"field 'name' (string) '{name}' should be from 1-30 chars.") # <<<<<<<<<<<<<< * if field_type not in enum_names(RfcFieldType): * raise TypeError(f"'field_type' (string) '{field_type}' must be in {enum_names(RfcFieldType)}") */ - __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 372, __pyx_L1_error) + __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 373, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_1 = 0; __pyx_t_4 = 127; @@ -5812,7 +5812,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_2add_field(CYTHON_UNU __pyx_t_1 += 23; __Pyx_GIVEREF(__pyx_kp_u_field_name_string); PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_kp_u_field_name_string); - __pyx_t_5 = __Pyx_PyObject_FormatSimple(__pyx_v_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 372, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_FormatSimple(__pyx_v_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 373, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_4 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_5) > __pyx_t_4) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_5) : __pyx_t_4; __pyx_t_1 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_5); @@ -5823,17 +5823,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_2add_field(CYTHON_UNU __pyx_t_1 += 28; __Pyx_GIVEREF(__pyx_kp_u_should_be_from_1_30_chars); PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_kp_u_should_be_from_1_30_chars); - __pyx_t_5 = __Pyx_PyUnicode_Join(__pyx_t_3, 3, __pyx_t_1, __pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 372, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyUnicode_Join(__pyx_t_3, 3, __pyx_t_1, __pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 373, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_5); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 372, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_5); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 373, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 372, __pyx_L1_error) + __PYX_ERR(0, 373, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":371 + /* "pyrfc/_cyrfc.pyx":372 * if len(name)<1: * return None * if len(name)>30: # <<<<<<<<<<<<<< @@ -5842,16 +5842,16 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_2add_field(CYTHON_UNU */ } - /* "pyrfc/_cyrfc.pyx":373 + /* "pyrfc/_cyrfc.pyx":374 * if len(name)>30: * raise TypeError(f"field 'name' (string) '{name}' should be from 1-30 chars.") * if field_type not in enum_names(RfcFieldType): # <<<<<<<<<<<<<< * raise TypeError(f"'field_type' (string) '{field_type}' must be in {enum_names(RfcFieldType)}") * for int_field in [nuc_length, nuc_offset, uc_length, uc_offset]: */ - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_enum_names); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 373, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_enum_names); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 374, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_RfcFieldType); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 373, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_RfcFieldType); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 374, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_7 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_5))) { @@ -5866,22 +5866,22 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_2add_field(CYTHON_UNU __pyx_t_3 = (__pyx_t_7) ? __Pyx_PyObject_Call2Args(__pyx_t_5, __pyx_t_7, __pyx_t_6) : __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_t_6); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 373, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 374, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_v_field_type, __pyx_t_3, Py_NE)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 373, __pyx_L1_error) + __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_v_field_type, __pyx_t_3, Py_NE)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 374, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_8 = (__pyx_t_2 != 0); if (unlikely(__pyx_t_8)) { - /* "pyrfc/_cyrfc.pyx":374 + /* "pyrfc/_cyrfc.pyx":375 * raise TypeError(f"field 'name' (string) '{name}' should be from 1-30 chars.") * if field_type not in enum_names(RfcFieldType): * raise TypeError(f"'field_type' (string) '{field_type}' must be in {enum_names(RfcFieldType)}") # <<<<<<<<<<<<<< * for int_field in [nuc_length, nuc_offset, uc_length, uc_offset]: * if not isinstance(int_field, (int, long)): */ - __pyx_t_3 = PyTuple_New(4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 374, __pyx_L1_error) + __pyx_t_3 = PyTuple_New(4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 375, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_1 = 0; __pyx_t_4 = 127; @@ -5889,7 +5889,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_2add_field(CYTHON_UNU __pyx_t_1 += 23; __Pyx_GIVEREF(__pyx_kp_u_field_type_string); PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_kp_u_field_type_string); - __pyx_t_5 = __Pyx_PyObject_FormatSimple(__pyx_v_field_type, __pyx_empty_unicode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 374, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_FormatSimple(__pyx_v_field_type, __pyx_empty_unicode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 375, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_4 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_5) > __pyx_t_4) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_5) : __pyx_t_4; __pyx_t_1 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_5); @@ -5900,9 +5900,9 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_2add_field(CYTHON_UNU __pyx_t_1 += 13; __Pyx_GIVEREF(__pyx_kp_u_must_be_in); PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_kp_u_must_be_in); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_enum_names); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 374, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_enum_names); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 375, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_RfcFieldType); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 374, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_RfcFieldType); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 375, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_9 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_6))) { @@ -5917,10 +5917,10 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_2add_field(CYTHON_UNU __pyx_t_5 = (__pyx_t_9) ? __Pyx_PyObject_Call2Args(__pyx_t_6, __pyx_t_9, __pyx_t_7) : __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_7); __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 374, __pyx_L1_error) + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 375, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = __Pyx_PyObject_FormatSimple(__pyx_t_5, __pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 374, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_FormatSimple(__pyx_t_5, __pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 375, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_4 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6) > __pyx_t_4) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6) : __pyx_t_4; @@ -5928,17 +5928,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_2add_field(CYTHON_UNU __Pyx_GIVEREF(__pyx_t_6); PyTuple_SET_ITEM(__pyx_t_3, 3, __pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = __Pyx_PyUnicode_Join(__pyx_t_3, 4, __pyx_t_1, __pyx_t_4); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 374, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyUnicode_Join(__pyx_t_3, 4, __pyx_t_1, __pyx_t_4); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 375, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 374, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 375, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 374, __pyx_L1_error) + __PYX_ERR(0, 375, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":373 + /* "pyrfc/_cyrfc.pyx":374 * if len(name)>30: * raise TypeError(f"field 'name' (string) '{name}' should be from 1-30 chars.") * if field_type not in enum_names(RfcFieldType): # <<<<<<<<<<<<<< @@ -5947,14 +5947,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_2add_field(CYTHON_UNU */ } - /* "pyrfc/_cyrfc.pyx":375 + /* "pyrfc/_cyrfc.pyx":376 * if field_type not in enum_names(RfcFieldType): * raise TypeError(f"'field_type' (string) '{field_type}' must be in {enum_names(RfcFieldType)}") * for int_field in [nuc_length, nuc_offset, uc_length, uc_offset]: # <<<<<<<<<<<<<< * if not isinstance(int_field, (int, long)): * raise TypeError(f"field '{name}' length '{int_field}' must be of type integer") */ - __pyx_t_3 = PyTuple_New(4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 375, __pyx_L1_error) + __pyx_t_3 = PyTuple_New(4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 376, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(__pyx_v_nuc_length); __Pyx_GIVEREF(__pyx_v_nuc_length); @@ -5973,15 +5973,15 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_2add_field(CYTHON_UNU for (;;) { if (__pyx_t_1 >= 4) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_6, __pyx_t_1); __Pyx_INCREF(__pyx_t_3); __pyx_t_1++; if (unlikely(0 < 0)) __PYX_ERR(0, 375, __pyx_L1_error) + __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_6, __pyx_t_1); __Pyx_INCREF(__pyx_t_3); __pyx_t_1++; if (unlikely(0 < 0)) __PYX_ERR(0, 376, __pyx_L1_error) #else - __pyx_t_3 = PySequence_ITEM(__pyx_t_6, __pyx_t_1); __pyx_t_1++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 375, __pyx_L1_error) + __pyx_t_3 = PySequence_ITEM(__pyx_t_6, __pyx_t_1); __pyx_t_1++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 376, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); #endif __Pyx_XDECREF_SET(__pyx_v_int_field, __pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":376 + /* "pyrfc/_cyrfc.pyx":377 * raise TypeError(f"'field_type' (string) '{field_type}' must be in {enum_names(RfcFieldType)}") * for int_field in [nuc_length, nuc_offset, uc_length, uc_offset]: * if not isinstance(int_field, (int, long)): # <<<<<<<<<<<<<< @@ -6002,14 +6002,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_2add_field(CYTHON_UNU __pyx_t_2 = ((!(__pyx_t_8 != 0)) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":377 + /* "pyrfc/_cyrfc.pyx":378 * for int_field in [nuc_length, nuc_offset, uc_length, uc_offset]: * if not isinstance(int_field, (int, long)): * raise TypeError(f"field '{name}' length '{int_field}' must be of type integer") # <<<<<<<<<<<<<< * self.fields.append({ * 'name': name, */ - __pyx_t_3 = PyTuple_New(5); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 377, __pyx_L1_error) + __pyx_t_3 = PyTuple_New(5); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 378, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_11 = 0; __pyx_t_4 = 127; @@ -6017,7 +6017,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_2add_field(CYTHON_UNU __pyx_t_11 += 7; __Pyx_GIVEREF(__pyx_kp_u_field); PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_kp_u_field); - __pyx_t_5 = __Pyx_PyObject_FormatSimple(__pyx_v_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 377, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_FormatSimple(__pyx_v_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 378, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_4 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_5) > __pyx_t_4) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_5) : __pyx_t_4; __pyx_t_11 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_5); @@ -6028,7 +6028,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_2add_field(CYTHON_UNU __pyx_t_11 += 10; __Pyx_GIVEREF(__pyx_kp_u_length); PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_kp_u_length); - __pyx_t_5 = __Pyx_PyObject_FormatSimple(__pyx_v_int_field, __pyx_empty_unicode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 377, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_FormatSimple(__pyx_v_int_field, __pyx_empty_unicode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 378, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_4 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_5) > __pyx_t_4) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_5) : __pyx_t_4; __pyx_t_11 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_5); @@ -6039,17 +6039,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_2add_field(CYTHON_UNU __pyx_t_11 += 25; __Pyx_GIVEREF(__pyx_kp_u_must_be_of_type_integer); PyTuple_SET_ITEM(__pyx_t_3, 4, __pyx_kp_u_must_be_of_type_integer); - __pyx_t_5 = __Pyx_PyUnicode_Join(__pyx_t_3, 5, __pyx_t_11, __pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 377, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyUnicode_Join(__pyx_t_3, 5, __pyx_t_11, __pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 378, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_5); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 377, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_5); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 378, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 377, __pyx_L1_error) + __PYX_ERR(0, 378, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":376 + /* "pyrfc/_cyrfc.pyx":377 * raise TypeError(f"'field_type' (string) '{field_type}' must be in {enum_names(RfcFieldType)}") * for int_field in [nuc_length, nuc_offset, uc_length, uc_offset]: * if not isinstance(int_field, (int, long)): # <<<<<<<<<<<<<< @@ -6058,7 +6058,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_2add_field(CYTHON_UNU */ } - /* "pyrfc/_cyrfc.pyx":375 + /* "pyrfc/_cyrfc.pyx":376 * if field_type not in enum_names(RfcFieldType): * raise TypeError(f"'field_type' (string) '{field_type}' must be in {enum_names(RfcFieldType)}") * for int_field in [nuc_length, nuc_offset, uc_length, uc_offset]: # <<<<<<<<<<<<<< @@ -6068,102 +6068,102 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_2add_field(CYTHON_UNU } __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "pyrfc/_cyrfc.pyx":378 + /* "pyrfc/_cyrfc.pyx":379 * if not isinstance(int_field, (int, long)): * raise TypeError(f"field '{name}' length '{int_field}' must be of type integer") * self.fields.append({ # <<<<<<<<<<<<<< * 'name': name, * 'field_type': field_type, */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_fields); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 378, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_fields); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 379, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - /* "pyrfc/_cyrfc.pyx":379 + /* "pyrfc/_cyrfc.pyx":380 * raise TypeError(f"field '{name}' length '{int_field}' must be of type integer") * self.fields.append({ * 'name': name, # <<<<<<<<<<<<<< * 'field_type': field_type, * 'nuc_length': nuc_length, */ - __pyx_t_3 = __Pyx_PyDict_NewPresized(8); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 379, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyDict_NewPresized(8); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 380, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_name, __pyx_v_name) < 0) __PYX_ERR(0, 379, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_name, __pyx_v_name) < 0) __PYX_ERR(0, 380, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":380 + /* "pyrfc/_cyrfc.pyx":381 * self.fields.append({ * 'name': name, * 'field_type': field_type, # <<<<<<<<<<<<<< * 'nuc_length': nuc_length, * 'nuc_offset': nuc_offset, */ - if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_field_type, __pyx_v_field_type) < 0) __PYX_ERR(0, 379, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_field_type, __pyx_v_field_type) < 0) __PYX_ERR(0, 380, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":381 + /* "pyrfc/_cyrfc.pyx":382 * 'name': name, * 'field_type': field_type, * 'nuc_length': nuc_length, # <<<<<<<<<<<<<< * 'nuc_offset': nuc_offset, * 'uc_length': uc_length, */ - if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_nuc_length, __pyx_v_nuc_length) < 0) __PYX_ERR(0, 379, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_nuc_length, __pyx_v_nuc_length) < 0) __PYX_ERR(0, 380, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":382 + /* "pyrfc/_cyrfc.pyx":383 * 'field_type': field_type, * 'nuc_length': nuc_length, * 'nuc_offset': nuc_offset, # <<<<<<<<<<<<<< * 'uc_length': uc_length, * 'uc_offset': uc_offset, */ - if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_nuc_offset, __pyx_v_nuc_offset) < 0) __PYX_ERR(0, 379, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_nuc_offset, __pyx_v_nuc_offset) < 0) __PYX_ERR(0, 380, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":383 + /* "pyrfc/_cyrfc.pyx":384 * 'nuc_length': nuc_length, * 'nuc_offset': nuc_offset, * 'uc_length': uc_length, # <<<<<<<<<<<<<< * 'uc_offset': uc_offset, * 'decimals': decimals, */ - if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_uc_length, __pyx_v_uc_length) < 0) __PYX_ERR(0, 379, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_uc_length, __pyx_v_uc_length) < 0) __PYX_ERR(0, 380, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":384 + /* "pyrfc/_cyrfc.pyx":385 * 'nuc_offset': nuc_offset, * 'uc_length': uc_length, * 'uc_offset': uc_offset, # <<<<<<<<<<<<<< * 'decimals': decimals, * 'type_description': type_description */ - if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_uc_offset, __pyx_v_uc_offset) < 0) __PYX_ERR(0, 379, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_uc_offset, __pyx_v_uc_offset) < 0) __PYX_ERR(0, 380, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":385 + /* "pyrfc/_cyrfc.pyx":386 * 'uc_length': uc_length, * 'uc_offset': uc_offset, * 'decimals': decimals, # <<<<<<<<<<<<<< * 'type_description': type_description * }) */ - if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_decimals, __pyx_v_decimals) < 0) __PYX_ERR(0, 379, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_decimals, __pyx_v_decimals) < 0) __PYX_ERR(0, 380, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":386 + /* "pyrfc/_cyrfc.pyx":387 * 'uc_offset': uc_offset, * 'decimals': decimals, * 'type_description': type_description # <<<<<<<<<<<<<< * }) * */ - if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_type_description, __pyx_v_type_description) < 0) __PYX_ERR(0, 379, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_type_description, __pyx_v_type_description) < 0) __PYX_ERR(0, 380, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":378 + /* "pyrfc/_cyrfc.pyx":379 * if not isinstance(int_field, (int, long)): * raise TypeError(f"field '{name}' length '{int_field}' must be of type integer") * self.fields.append({ # <<<<<<<<<<<<<< * 'name': name, * 'field_type': field_type, */ - __pyx_t_12 = __Pyx_PyObject_Append(__pyx_t_6, __pyx_t_3); if (unlikely(__pyx_t_12 == ((int)-1))) __PYX_ERR(0, 378, __pyx_L1_error) + __pyx_t_12 = __Pyx_PyObject_Append(__pyx_t_6, __pyx_t_3); if (unlikely(__pyx_t_12 == ((int)-1))) __PYX_ERR(0, 379, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":348 + /* "pyrfc/_cyrfc.pyx":349 * self.uc_length = uc_length * * def add_field(self, name, field_type, nuc_length, uc_length, nuc_offset, # <<<<<<<<<<<<<< @@ -6189,7 +6189,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_2add_field(CYTHON_UNU return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":389 +/* "pyrfc/_cyrfc.pyx":390 * }) * * def __repr__(self): # <<<<<<<<<<<<<< @@ -6225,7 +6225,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_4__repr__(CYTHON_UNUS int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__repr__", 0); - /* "pyrfc/_cyrfc.pyx":390 + /* "pyrfc/_cyrfc.pyx":391 * * def __repr__(self): * return f" __pyx_t_3) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_5) : __pyx_t_3; @@ -6255,11 +6255,11 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_4__repr__(CYTHON_UNUS __pyx_t_2 += 7; __Pyx_GIVEREF(__pyx_kp_u_with); PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_kp_u_with); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_fields); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 390, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_fields); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 391, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = PyObject_Length(__pyx_t_5); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 390, __pyx_L1_error) + __pyx_t_6 = PyObject_Length(__pyx_t_5); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 391, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_5 = __Pyx_PyUnicode_From_Py_ssize_t(__pyx_t_6, 0, ' ', 'd'); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 390, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyUnicode_From_Py_ssize_t(__pyx_t_6, 0, ' ', 'd'); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 391, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_2 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_5); __Pyx_GIVEREF(__pyx_t_5); @@ -6270,16 +6270,16 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_4__repr__(CYTHON_UNUS __Pyx_GIVEREF(__pyx_kp_u_fields_n_uclength); PyTuple_SET_ITEM(__pyx_t_1, 4, __pyx_kp_u_fields_n_uclength); - /* "pyrfc/_cyrfc.pyx":391 + /* "pyrfc/_cyrfc.pyx":392 * def __repr__(self): * return f"" # <<<<<<<<<<<<<< * * ################################################################################ */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_nuc_length); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 391, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_nuc_length); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 392, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_4 = __Pyx_PyObject_FormatSimple(__pyx_t_5, __pyx_empty_unicode); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 391, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_FormatSimple(__pyx_t_5, __pyx_empty_unicode); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 392, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_3 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_4) > __pyx_t_3) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_4) : __pyx_t_3; @@ -6291,9 +6291,9 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_4__repr__(CYTHON_UNUS __pyx_t_2 += 1; __Pyx_GIVEREF(__pyx_kp_u__3); PyTuple_SET_ITEM(__pyx_t_1, 6, __pyx_kp_u__3); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_uc_length); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 391, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_uc_length); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 392, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_FormatSimple(__pyx_t_4, __pyx_empty_unicode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 391, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_FormatSimple(__pyx_t_4, __pyx_empty_unicode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 392, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_3 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_5) > __pyx_t_3) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_5) : __pyx_t_3; @@ -6306,21 +6306,21 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_4__repr__(CYTHON_UNUS __Pyx_GIVEREF(__pyx_kp_u__4); PyTuple_SET_ITEM(__pyx_t_1, 8, __pyx_kp_u__4); - /* "pyrfc/_cyrfc.pyx":390 + /* "pyrfc/_cyrfc.pyx":391 * * def __repr__(self): * return f"" * */ - __pyx_t_5 = __Pyx_PyUnicode_Join(__pyx_t_1, 9, __pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 390, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyUnicode_Join(__pyx_t_1, 9, __pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 391, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_r = __pyx_t_5; __pyx_t_5 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":389 + /* "pyrfc/_cyrfc.pyx":390 * }) * * def __repr__(self): # <<<<<<<<<<<<<< @@ -6341,7 +6341,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_15TypeDescription_4__repr__(CYTHON_UNUS return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":421 +/* "pyrfc/_cyrfc.pyx":422 * * """ * def __init__(self, name): # <<<<<<<<<<<<<< @@ -6384,11 +6384,11 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_19FunctionDescription_1__init__(PyObjec case 1: if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, 1); __PYX_ERR(0, 421, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, 1); __PYX_ERR(0, 422, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) __PYX_ERR(0, 421, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) __PYX_ERR(0, 422, __pyx_L3_error) } } else if (PyTuple_GET_SIZE(__pyx_args) != 2) { goto __pyx_L5_argtuple_error; @@ -6401,7 +6401,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_19FunctionDescription_1__init__(PyObjec } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 421, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 422, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("pyrfc._cyrfc.FunctionDescription.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -6423,28 +6423,28 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription___init__(CYTHON_U int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - /* "pyrfc/_cyrfc.pyx":422 + /* "pyrfc/_cyrfc.pyx":423 * """ * def __init__(self, name): * self.name = name # <<<<<<<<<<<<<< * self.parameters = [] * */ - if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_name, __pyx_v_name) < 0) __PYX_ERR(0, 422, __pyx_L1_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_name, __pyx_v_name) < 0) __PYX_ERR(0, 423, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":423 + /* "pyrfc/_cyrfc.pyx":424 * def __init__(self, name): * self.name = name * self.parameters = [] # <<<<<<<<<<<<<< * * def add_parameter(self, name, parameter_type, direction, nuc_length, */ - __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 423, __pyx_L1_error) + __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 424, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_parameters, __pyx_t_1) < 0) __PYX_ERR(0, 423, __pyx_L1_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_parameters, __pyx_t_1) < 0) __PYX_ERR(0, 424, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":421 + /* "pyrfc/_cyrfc.pyx":422 * * """ * def __init__(self, name): # <<<<<<<<<<<<<< @@ -6465,7 +6465,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription___init__(CYTHON_U return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":425 +/* "pyrfc/_cyrfc.pyx":426 * self.parameters = [] * * def add_parameter(self, name, parameter_type, direction, nuc_length, # <<<<<<<<<<<<<< @@ -6502,7 +6502,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_19FunctionDescription_3add_parameter(Py values[7] = ((PyObject *)((PyObject*)__pyx_kp_u__5)); values[8] = ((PyObject *)((PyObject*)__pyx_kp_u__5)); - /* "pyrfc/_cyrfc.pyx":427 + /* "pyrfc/_cyrfc.pyx":428 * def add_parameter(self, name, parameter_type, direction, nuc_length, * uc_length, decimals=0, default_value="", parameter_text="", * optional=False, type_description=None): # <<<<<<<<<<<<<< @@ -6549,31 +6549,31 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_19FunctionDescription_3add_parameter(Py case 1: if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("add_parameter", 0, 6, 11, 1); __PYX_ERR(0, 425, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("add_parameter", 0, 6, 11, 1); __PYX_ERR(0, 426, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 2: if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_parameter_type)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("add_parameter", 0, 6, 11, 2); __PYX_ERR(0, 425, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("add_parameter", 0, 6, 11, 2); __PYX_ERR(0, 426, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 3: if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_direction)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("add_parameter", 0, 6, 11, 3); __PYX_ERR(0, 425, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("add_parameter", 0, 6, 11, 3); __PYX_ERR(0, 426, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 4: if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_nuc_length)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("add_parameter", 0, 6, 11, 4); __PYX_ERR(0, 425, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("add_parameter", 0, 6, 11, 4); __PYX_ERR(0, 426, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 5: if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_uc_length)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("add_parameter", 0, 6, 11, 5); __PYX_ERR(0, 425, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("add_parameter", 0, 6, 11, 5); __PYX_ERR(0, 426, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 6: @@ -6607,7 +6607,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_19FunctionDescription_3add_parameter(Py } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "add_parameter") < 0)) __PYX_ERR(0, 425, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "add_parameter") < 0)) __PYX_ERR(0, 426, __pyx_L3_error) } } else { switch (PyTuple_GET_SIZE(__pyx_args)) { @@ -6645,7 +6645,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_19FunctionDescription_3add_parameter(Py } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("add_parameter", 0, 6, 11, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 425, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("add_parameter", 0, 6, 11, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 426, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("pyrfc._cyrfc.FunctionDescription.add_parameter", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -6653,7 +6653,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_19FunctionDescription_3add_parameter(Py __pyx_L4_argument_unpacking_done:; __pyx_r = __pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_2add_parameter(__pyx_self, __pyx_v_self, __pyx_v_name, __pyx_v_parameter_type, __pyx_v_direction, __pyx_v_nuc_length, __pyx_v_uc_length, __pyx_v_decimals, __pyx_v_default_value, __pyx_v_parameter_text, __pyx_v_optional, __pyx_v_type_description); - /* "pyrfc/_cyrfc.pyx":425 + /* "pyrfc/_cyrfc.pyx":426 * self.parameters = [] * * def add_parameter(self, name, parameter_type, direction, nuc_length, # <<<<<<<<<<<<<< @@ -6684,34 +6684,34 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_2add_parameter(CY int __pyx_clineno = 0; __Pyx_RefNannySetupContext("add_parameter", 0); - /* "pyrfc/_cyrfc.pyx":451 + /* "pyrfc/_cyrfc.pyx":452 * :type type_description: object of class TypeDescription * """ * if len(name)<1 or len(name)>30: # <<<<<<<<<<<<<< * raise TypeError(f"field 'name' (string) {name} should be from 1-30 chars.") * if parameter_type not in enum_names(RfcFieldType): */ - __pyx_t_2 = PyObject_Length(__pyx_v_name); if (unlikely(__pyx_t_2 == ((Py_ssize_t)-1))) __PYX_ERR(0, 451, __pyx_L1_error) + __pyx_t_2 = PyObject_Length(__pyx_v_name); if (unlikely(__pyx_t_2 == ((Py_ssize_t)-1))) __PYX_ERR(0, 452, __pyx_L1_error) __pyx_t_3 = ((__pyx_t_2 < 1) != 0); if (!__pyx_t_3) { } else { __pyx_t_1 = __pyx_t_3; goto __pyx_L4_bool_binop_done; } - __pyx_t_2 = PyObject_Length(__pyx_v_name); if (unlikely(__pyx_t_2 == ((Py_ssize_t)-1))) __PYX_ERR(0, 451, __pyx_L1_error) + __pyx_t_2 = PyObject_Length(__pyx_v_name); if (unlikely(__pyx_t_2 == ((Py_ssize_t)-1))) __PYX_ERR(0, 452, __pyx_L1_error) __pyx_t_3 = ((__pyx_t_2 > 30) != 0); __pyx_t_1 = __pyx_t_3; __pyx_L4_bool_binop_done:; if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":452 + /* "pyrfc/_cyrfc.pyx":453 * """ * if len(name)<1 or len(name)>30: * raise TypeError(f"field 'name' (string) {name} should be from 1-30 chars.") # <<<<<<<<<<<<<< * if parameter_type not in enum_names(RfcFieldType): * raise TypeError(f"'parameter_type' (string) '{parameter_type}' must be in {enum_names(RfcFieldType)}") */ - __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 452, __pyx_L1_error) + __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 453, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_2 = 0; __pyx_t_5 = 127; @@ -6719,7 +6719,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_2add_parameter(CY __pyx_t_2 += 22; __Pyx_GIVEREF(__pyx_kp_u_field_name_string_2); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_kp_u_field_name_string_2); - __pyx_t_6 = __Pyx_PyObject_FormatSimple(__pyx_v_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 452, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_FormatSimple(__pyx_v_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 453, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6) : __pyx_t_5; __pyx_t_2 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_6); @@ -6730,17 +6730,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_2add_parameter(CY __pyx_t_2 += 27; __Pyx_GIVEREF(__pyx_kp_u_should_be_from_1_30_chars_2); PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_kp_u_should_be_from_1_30_chars_2); - __pyx_t_6 = __Pyx_PyUnicode_Join(__pyx_t_4, 3, __pyx_t_2, __pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 452, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyUnicode_Join(__pyx_t_4, 3, __pyx_t_2, __pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 453, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_6); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 452, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_6); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 453, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __PYX_ERR(0, 452, __pyx_L1_error) + __PYX_ERR(0, 453, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":451 + /* "pyrfc/_cyrfc.pyx":452 * :type type_description: object of class TypeDescription * """ * if len(name)<1 or len(name)>30: # <<<<<<<<<<<<<< @@ -6749,16 +6749,16 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_2add_parameter(CY */ } - /* "pyrfc/_cyrfc.pyx":453 + /* "pyrfc/_cyrfc.pyx":454 * if len(name)<1 or len(name)>30: * raise TypeError(f"field 'name' (string) {name} should be from 1-30 chars.") * if parameter_type not in enum_names(RfcFieldType): # <<<<<<<<<<<<<< * raise TypeError(f"'parameter_type' (string) '{parameter_type}' must be in {enum_names(RfcFieldType)}") * if direction not in enum_names(RfcParameterDirection): */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_enum_names); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 453, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_enum_names); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 454, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_RfcFieldType); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 453, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_RfcFieldType); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 454, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_6))) { @@ -6773,22 +6773,22 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_2add_parameter(CY __pyx_t_4 = (__pyx_t_8) ? __Pyx_PyObject_Call2Args(__pyx_t_6, __pyx_t_8, __pyx_t_7) : __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_7); __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 453, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 454, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_1 = (__Pyx_PySequence_ContainsTF(__pyx_v_parameter_type, __pyx_t_4, Py_NE)); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 453, __pyx_L1_error) + __pyx_t_1 = (__Pyx_PySequence_ContainsTF(__pyx_v_parameter_type, __pyx_t_4, Py_NE)); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 454, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_3 = (__pyx_t_1 != 0); if (unlikely(__pyx_t_3)) { - /* "pyrfc/_cyrfc.pyx":454 + /* "pyrfc/_cyrfc.pyx":455 * raise TypeError(f"field 'name' (string) {name} should be from 1-30 chars.") * if parameter_type not in enum_names(RfcFieldType): * raise TypeError(f"'parameter_type' (string) '{parameter_type}' must be in {enum_names(RfcFieldType)}") # <<<<<<<<<<<<<< * if direction not in enum_names(RfcParameterDirection): * raise TypeError(f"'direction' (string) '{direction}' must be in '{enum_names(RfcParameterDirection)}'") */ - __pyx_t_4 = PyTuple_New(4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 454, __pyx_L1_error) + __pyx_t_4 = PyTuple_New(4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 455, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_2 = 0; __pyx_t_5 = 127; @@ -6796,7 +6796,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_2add_parameter(CY __pyx_t_2 += 27; __Pyx_GIVEREF(__pyx_kp_u_parameter_type_string); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_kp_u_parameter_type_string); - __pyx_t_6 = __Pyx_PyObject_FormatSimple(__pyx_v_parameter_type, __pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 454, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_FormatSimple(__pyx_v_parameter_type, __pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 455, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6) : __pyx_t_5; __pyx_t_2 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_6); @@ -6807,9 +6807,9 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_2add_parameter(CY __pyx_t_2 += 13; __Pyx_GIVEREF(__pyx_kp_u_must_be_in); PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_kp_u_must_be_in); - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_enum_names); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 454, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_enum_names); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 455, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_RfcFieldType); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 454, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_RfcFieldType); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 455, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_9 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_7))) { @@ -6824,10 +6824,10 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_2add_parameter(CY __pyx_t_6 = (__pyx_t_9) ? __Pyx_PyObject_Call2Args(__pyx_t_7, __pyx_t_9, __pyx_t_8) : __Pyx_PyObject_CallOneArg(__pyx_t_7, __pyx_t_8); __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 454, __pyx_L1_error) + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 455, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = __Pyx_PyObject_FormatSimple(__pyx_t_6, __pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 454, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_FormatSimple(__pyx_t_6, __pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 455, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) : __pyx_t_5; @@ -6835,17 +6835,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_2add_parameter(CY __Pyx_GIVEREF(__pyx_t_7); PyTuple_SET_ITEM(__pyx_t_4, 3, __pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = __Pyx_PyUnicode_Join(__pyx_t_4, 4, __pyx_t_2, __pyx_t_5); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 454, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyUnicode_Join(__pyx_t_4, 4, __pyx_t_2, __pyx_t_5); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 455, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_7); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 454, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_7); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 455, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __PYX_ERR(0, 454, __pyx_L1_error) + __PYX_ERR(0, 455, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":453 + /* "pyrfc/_cyrfc.pyx":454 * if len(name)<1 or len(name)>30: * raise TypeError(f"field 'name' (string) {name} should be from 1-30 chars.") * if parameter_type not in enum_names(RfcFieldType): # <<<<<<<<<<<<<< @@ -6854,16 +6854,16 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_2add_parameter(CY */ } - /* "pyrfc/_cyrfc.pyx":455 + /* "pyrfc/_cyrfc.pyx":456 * if parameter_type not in enum_names(RfcFieldType): * raise TypeError(f"'parameter_type' (string) '{parameter_type}' must be in {enum_names(RfcFieldType)}") * if direction not in enum_names(RfcParameterDirection): # <<<<<<<<<<<<<< * raise TypeError(f"'direction' (string) '{direction}' must be in '{enum_names(RfcParameterDirection)}'") * if len(default_value)>30: */ - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_enum_names); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 455, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_enum_names); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 456, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_RfcParameterDirection); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 455, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_RfcParameterDirection); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 456, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_8 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_7))) { @@ -6878,22 +6878,22 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_2add_parameter(CY __pyx_t_4 = (__pyx_t_8) ? __Pyx_PyObject_Call2Args(__pyx_t_7, __pyx_t_8, __pyx_t_6) : __Pyx_PyObject_CallOneArg(__pyx_t_7, __pyx_t_6); __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 455, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 456, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_3 = (__Pyx_PySequence_ContainsTF(__pyx_v_direction, __pyx_t_4, Py_NE)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 455, __pyx_L1_error) + __pyx_t_3 = (__Pyx_PySequence_ContainsTF(__pyx_v_direction, __pyx_t_4, Py_NE)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 456, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_1 = (__pyx_t_3 != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":456 + /* "pyrfc/_cyrfc.pyx":457 * raise TypeError(f"'parameter_type' (string) '{parameter_type}' must be in {enum_names(RfcFieldType)}") * if direction not in enum_names(RfcParameterDirection): * raise TypeError(f"'direction' (string) '{direction}' must be in '{enum_names(RfcParameterDirection)}'") # <<<<<<<<<<<<<< * if len(default_value)>30: * raise TypeError(f"'default_value' (string) '{default_value}' must not exceed 30 chars.") */ - __pyx_t_4 = PyTuple_New(5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 456, __pyx_L1_error) + __pyx_t_4 = PyTuple_New(5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 457, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_2 = 0; __pyx_t_5 = 127; @@ -6901,7 +6901,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_2add_parameter(CY __pyx_t_2 += 22; __Pyx_GIVEREF(__pyx_kp_u_direction_string); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_kp_u_direction_string); - __pyx_t_7 = __Pyx_PyObject_FormatSimple(__pyx_v_direction, __pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 456, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_FormatSimple(__pyx_v_direction, __pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 457, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) : __pyx_t_5; __pyx_t_2 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_7); @@ -6912,9 +6912,9 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_2add_parameter(CY __pyx_t_2 += 14; __Pyx_GIVEREF(__pyx_kp_u_must_be_in_2); PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_kp_u_must_be_in_2); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_enum_names); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 456, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_enum_names); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 457, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_RfcParameterDirection); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 456, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_RfcParameterDirection); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 457, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_9 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_6))) { @@ -6929,10 +6929,10 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_2add_parameter(CY __pyx_t_7 = (__pyx_t_9) ? __Pyx_PyObject_Call2Args(__pyx_t_6, __pyx_t_9, __pyx_t_8) : __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_8); __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 456, __pyx_L1_error) + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 457, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = __Pyx_PyObject_FormatSimple(__pyx_t_7, __pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 456, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_FormatSimple(__pyx_t_7, __pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 457, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6) : __pyx_t_5; @@ -6944,17 +6944,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_2add_parameter(CY __pyx_t_2 += 1; __Pyx_GIVEREF(__pyx_kp_u__6); PyTuple_SET_ITEM(__pyx_t_4, 4, __pyx_kp_u__6); - __pyx_t_6 = __Pyx_PyUnicode_Join(__pyx_t_4, 5, __pyx_t_2, __pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 456, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyUnicode_Join(__pyx_t_4, 5, __pyx_t_2, __pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 457, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_6); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 456, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_6); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 457, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __PYX_ERR(0, 456, __pyx_L1_error) + __PYX_ERR(0, 457, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":455 + /* "pyrfc/_cyrfc.pyx":456 * if parameter_type not in enum_names(RfcFieldType): * raise TypeError(f"'parameter_type' (string) '{parameter_type}' must be in {enum_names(RfcFieldType)}") * if direction not in enum_names(RfcParameterDirection): # <<<<<<<<<<<<<< @@ -6963,25 +6963,25 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_2add_parameter(CY */ } - /* "pyrfc/_cyrfc.pyx":457 + /* "pyrfc/_cyrfc.pyx":458 * if direction not in enum_names(RfcParameterDirection): * raise TypeError(f"'direction' (string) '{direction}' must be in '{enum_names(RfcParameterDirection)}'") * if len(default_value)>30: # <<<<<<<<<<<<<< * raise TypeError(f"'default_value' (string) '{default_value}' must not exceed 30 chars.") * if len(parameter_text)>79: */ - __pyx_t_2 = PyObject_Length(__pyx_v_default_value); if (unlikely(__pyx_t_2 == ((Py_ssize_t)-1))) __PYX_ERR(0, 457, __pyx_L1_error) + __pyx_t_2 = PyObject_Length(__pyx_v_default_value); if (unlikely(__pyx_t_2 == ((Py_ssize_t)-1))) __PYX_ERR(0, 458, __pyx_L1_error) __pyx_t_1 = ((__pyx_t_2 > 30) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":458 + /* "pyrfc/_cyrfc.pyx":459 * raise TypeError(f"'direction' (string) '{direction}' must be in '{enum_names(RfcParameterDirection)}'") * if len(default_value)>30: * raise TypeError(f"'default_value' (string) '{default_value}' must not exceed 30 chars.") # <<<<<<<<<<<<<< * if len(parameter_text)>79: * raise TypeError("'parameter_text' (string) '{parameter_text}' must not exceed 79 chars.") */ - __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 458, __pyx_L1_error) + __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 459, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_2 = 0; __pyx_t_5 = 127; @@ -6989,7 +6989,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_2add_parameter(CY __pyx_t_2 += 26; __Pyx_GIVEREF(__pyx_kp_u_default_value_string); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_kp_u_default_value_string); - __pyx_t_6 = __Pyx_PyObject_FormatSimple(__pyx_v_default_value, __pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 458, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_FormatSimple(__pyx_v_default_value, __pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 459, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6) : __pyx_t_5; __pyx_t_2 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_6); @@ -7000,17 +7000,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_2add_parameter(CY __pyx_t_2 += 27; __Pyx_GIVEREF(__pyx_kp_u_must_not_exceed_30_chars); PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_kp_u_must_not_exceed_30_chars); - __pyx_t_6 = __Pyx_PyUnicode_Join(__pyx_t_4, 3, __pyx_t_2, __pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 458, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyUnicode_Join(__pyx_t_4, 3, __pyx_t_2, __pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 459, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_6); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 458, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_6); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 459, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __PYX_ERR(0, 458, __pyx_L1_error) + __PYX_ERR(0, 459, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":457 + /* "pyrfc/_cyrfc.pyx":458 * if direction not in enum_names(RfcParameterDirection): * raise TypeError(f"'direction' (string) '{direction}' must be in '{enum_names(RfcParameterDirection)}'") * if len(default_value)>30: # <<<<<<<<<<<<<< @@ -7019,31 +7019,31 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_2add_parameter(CY */ } - /* "pyrfc/_cyrfc.pyx":459 + /* "pyrfc/_cyrfc.pyx":460 * if len(default_value)>30: * raise TypeError(f"'default_value' (string) '{default_value}' must not exceed 30 chars.") * if len(parameter_text)>79: # <<<<<<<<<<<<<< * raise TypeError("'parameter_text' (string) '{parameter_text}' must not exceed 79 chars.") * self.parameters.append({ */ - __pyx_t_2 = PyObject_Length(__pyx_v_parameter_text); if (unlikely(__pyx_t_2 == ((Py_ssize_t)-1))) __PYX_ERR(0, 459, __pyx_L1_error) + __pyx_t_2 = PyObject_Length(__pyx_v_parameter_text); if (unlikely(__pyx_t_2 == ((Py_ssize_t)-1))) __PYX_ERR(0, 460, __pyx_L1_error) __pyx_t_1 = ((__pyx_t_2 > 79) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":460 + /* "pyrfc/_cyrfc.pyx":461 * raise TypeError(f"'default_value' (string) '{default_value}' must not exceed 30 chars.") * if len(parameter_text)>79: * raise TypeError("'parameter_text' (string) '{parameter_text}' must not exceed 79 chars.") # <<<<<<<<<<<<<< * self.parameters.append({ * 'name': name, */ - __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__7, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 460, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__7, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 461, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __PYX_ERR(0, 460, __pyx_L1_error) + __PYX_ERR(0, 461, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":459 + /* "pyrfc/_cyrfc.pyx":460 * if len(default_value)>30: * raise TypeError(f"'default_value' (string) '{default_value}' must not exceed 30 chars.") * if len(parameter_text)>79: # <<<<<<<<<<<<<< @@ -7052,120 +7052,120 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_2add_parameter(CY */ } - /* "pyrfc/_cyrfc.pyx":461 + /* "pyrfc/_cyrfc.pyx":462 * if len(parameter_text)>79: * raise TypeError("'parameter_text' (string) '{parameter_text}' must not exceed 79 chars.") * self.parameters.append({ # <<<<<<<<<<<<<< * 'name': name, * 'parameter_type': parameter_type, */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_parameters); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 461, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_parameters); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 462, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - /* "pyrfc/_cyrfc.pyx":462 + /* "pyrfc/_cyrfc.pyx":463 * raise TypeError("'parameter_text' (string) '{parameter_text}' must not exceed 79 chars.") * self.parameters.append({ * 'name': name, # <<<<<<<<<<<<<< * 'parameter_type': parameter_type, * 'direction': direction, */ - __pyx_t_6 = __Pyx_PyDict_NewPresized(10); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 462, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyDict_NewPresized(10); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 463, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - if (PyDict_SetItem(__pyx_t_6, __pyx_n_u_name, __pyx_v_name) < 0) __PYX_ERR(0, 462, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_6, __pyx_n_u_name, __pyx_v_name) < 0) __PYX_ERR(0, 463, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":463 + /* "pyrfc/_cyrfc.pyx":464 * self.parameters.append({ * 'name': name, * 'parameter_type': parameter_type, # <<<<<<<<<<<<<< * 'direction': direction, * 'nuc_length': nuc_length, */ - if (PyDict_SetItem(__pyx_t_6, __pyx_n_u_parameter_type, __pyx_v_parameter_type) < 0) __PYX_ERR(0, 462, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_6, __pyx_n_u_parameter_type, __pyx_v_parameter_type) < 0) __PYX_ERR(0, 463, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":464 + /* "pyrfc/_cyrfc.pyx":465 * 'name': name, * 'parameter_type': parameter_type, * 'direction': direction, # <<<<<<<<<<<<<< * 'nuc_length': nuc_length, * 'uc_length': uc_length, */ - if (PyDict_SetItem(__pyx_t_6, __pyx_n_u_direction, __pyx_v_direction) < 0) __PYX_ERR(0, 462, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_6, __pyx_n_u_direction, __pyx_v_direction) < 0) __PYX_ERR(0, 463, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":465 + /* "pyrfc/_cyrfc.pyx":466 * 'parameter_type': parameter_type, * 'direction': direction, * 'nuc_length': nuc_length, # <<<<<<<<<<<<<< * 'uc_length': uc_length, * 'decimals': decimals, */ - if (PyDict_SetItem(__pyx_t_6, __pyx_n_u_nuc_length, __pyx_v_nuc_length) < 0) __PYX_ERR(0, 462, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_6, __pyx_n_u_nuc_length, __pyx_v_nuc_length) < 0) __PYX_ERR(0, 463, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":466 + /* "pyrfc/_cyrfc.pyx":467 * 'direction': direction, * 'nuc_length': nuc_length, * 'uc_length': uc_length, # <<<<<<<<<<<<<< * 'decimals': decimals, * 'default_value': default_value, */ - if (PyDict_SetItem(__pyx_t_6, __pyx_n_u_uc_length, __pyx_v_uc_length) < 0) __PYX_ERR(0, 462, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_6, __pyx_n_u_uc_length, __pyx_v_uc_length) < 0) __PYX_ERR(0, 463, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":467 + /* "pyrfc/_cyrfc.pyx":468 * 'nuc_length': nuc_length, * 'uc_length': uc_length, * 'decimals': decimals, # <<<<<<<<<<<<<< * 'default_value': default_value, * 'parameter_text': parameter_text, */ - if (PyDict_SetItem(__pyx_t_6, __pyx_n_u_decimals, __pyx_v_decimals) < 0) __PYX_ERR(0, 462, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_6, __pyx_n_u_decimals, __pyx_v_decimals) < 0) __PYX_ERR(0, 463, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":468 + /* "pyrfc/_cyrfc.pyx":469 * 'uc_length': uc_length, * 'decimals': decimals, * 'default_value': default_value, # <<<<<<<<<<<<<< * 'parameter_text': parameter_text, * 'optional': optional, */ - if (PyDict_SetItem(__pyx_t_6, __pyx_n_u_default_value, __pyx_v_default_value) < 0) __PYX_ERR(0, 462, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_6, __pyx_n_u_default_value, __pyx_v_default_value) < 0) __PYX_ERR(0, 463, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":469 + /* "pyrfc/_cyrfc.pyx":470 * 'decimals': decimals, * 'default_value': default_value, * 'parameter_text': parameter_text, # <<<<<<<<<<<<<< * 'optional': optional, * 'type_description': type_description */ - if (PyDict_SetItem(__pyx_t_6, __pyx_n_u_parameter_text, __pyx_v_parameter_text) < 0) __PYX_ERR(0, 462, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_6, __pyx_n_u_parameter_text, __pyx_v_parameter_text) < 0) __PYX_ERR(0, 463, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":470 + /* "pyrfc/_cyrfc.pyx":471 * 'default_value': default_value, * 'parameter_text': parameter_text, * 'optional': optional, # <<<<<<<<<<<<<< * 'type_description': type_description * }) */ - if (PyDict_SetItem(__pyx_t_6, __pyx_n_u_optional, __pyx_v_optional) < 0) __PYX_ERR(0, 462, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_6, __pyx_n_u_optional, __pyx_v_optional) < 0) __PYX_ERR(0, 463, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":471 + /* "pyrfc/_cyrfc.pyx":472 * 'parameter_text': parameter_text, * 'optional': optional, * 'type_description': type_description # <<<<<<<<<<<<<< * }) * */ - if (PyDict_SetItem(__pyx_t_6, __pyx_n_u_type_description, __pyx_v_type_description) < 0) __PYX_ERR(0, 462, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_6, __pyx_n_u_type_description, __pyx_v_type_description) < 0) __PYX_ERR(0, 463, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":461 + /* "pyrfc/_cyrfc.pyx":462 * if len(parameter_text)>79: * raise TypeError("'parameter_text' (string) '{parameter_text}' must not exceed 79 chars.") * self.parameters.append({ # <<<<<<<<<<<<<< * 'name': name, * 'parameter_type': parameter_type, */ - __pyx_t_10 = __Pyx_PyObject_Append(__pyx_t_4, __pyx_t_6); if (unlikely(__pyx_t_10 == ((int)-1))) __PYX_ERR(0, 461, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_Append(__pyx_t_4, __pyx_t_6); if (unlikely(__pyx_t_10 == ((int)-1))) __PYX_ERR(0, 462, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "pyrfc/_cyrfc.pyx":425 + /* "pyrfc/_cyrfc.pyx":426 * self.parameters = [] * * def add_parameter(self, name, parameter_type, direction, nuc_length, # <<<<<<<<<<<<<< @@ -7190,7 +7190,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_2add_parameter(CY return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":474 +/* "pyrfc/_cyrfc.pyx":475 * }) * * def __repr__(self): # <<<<<<<<<<<<<< @@ -7226,7 +7226,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_4__repr__(CYTHON_ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__repr__", 0); - /* "pyrfc/_cyrfc.pyx":475 + /* "pyrfc/_cyrfc.pyx":476 * * def __repr__(self): * return f"" # <<<<<<<<<<<<<< @@ -7234,7 +7234,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_4__repr__(CYTHON_ * # NOTES ON ERROR HANDLING */ __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyTuple_New(5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 475, __pyx_L1_error) + __pyx_t_1 = PyTuple_New(5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 476, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = 0; __pyx_t_3 = 127; @@ -7242,9 +7242,9 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_4__repr__(CYTHON_ __pyx_t_2 += 22; __Pyx_GIVEREF(__pyx_kp_u_FunctionDescription); PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_kp_u_FunctionDescription); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_name); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 475, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_name); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 476, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_FormatSimple(__pyx_t_4, __pyx_empty_unicode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 475, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_FormatSimple(__pyx_t_4, __pyx_empty_unicode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 476, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_3 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_5) > __pyx_t_3) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_5) : __pyx_t_3; @@ -7256,11 +7256,11 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_4__repr__(CYTHON_ __pyx_t_2 += 7; __Pyx_GIVEREF(__pyx_kp_u_with); PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_kp_u_with); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_parameters); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 475, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_parameters); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 476, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = PyObject_Length(__pyx_t_5); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 475, __pyx_L1_error) + __pyx_t_6 = PyObject_Length(__pyx_t_5); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 476, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_5 = __Pyx_PyUnicode_From_Py_ssize_t(__pyx_t_6, 0, ' ', 'd'); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 475, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyUnicode_From_Py_ssize_t(__pyx_t_6, 0, ' ', 'd'); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 476, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_2 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_5); __Pyx_GIVEREF(__pyx_t_5); @@ -7270,14 +7270,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_4__repr__(CYTHON_ __pyx_t_2 += 8; __Pyx_GIVEREF(__pyx_kp_u_params); PyTuple_SET_ITEM(__pyx_t_1, 4, __pyx_kp_u_params); - __pyx_t_5 = __Pyx_PyUnicode_Join(__pyx_t_1, 5, __pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 475, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyUnicode_Join(__pyx_t_1, 5, __pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 476, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_r = __pyx_t_5; __pyx_t_5 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":474 + /* "pyrfc/_cyrfc.pyx":475 * }) * * def __repr__(self): # <<<<<<<<<<<<<< @@ -7298,7 +7298,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_19FunctionDescription_4__repr__(CYTHON_ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":554 +/* "pyrfc/_cyrfc.pyx":555 * * @property * def version(self): # <<<<<<<<<<<<<< @@ -7332,7 +7332,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_7version___get__(CYTHON_UN int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - /* "pyrfc/_cyrfc.pyx":558 + /* "pyrfc/_cyrfc.pyx":559 * :returns: SAP NW RFC SDK major, minor, patch level and PyRFC binding version * """ * cdef unsigned major = 0 # <<<<<<<<<<<<<< @@ -7341,7 +7341,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_7version___get__(CYTHON_UN */ __pyx_v_major = 0; - /* "pyrfc/_cyrfc.pyx":559 + /* "pyrfc/_cyrfc.pyx":560 * """ * cdef unsigned major = 0 * cdef unsigned minor = 0 # <<<<<<<<<<<<<< @@ -7350,7 +7350,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_7version___get__(CYTHON_UN */ __pyx_v_minor = 0; - /* "pyrfc/_cyrfc.pyx":560 + /* "pyrfc/_cyrfc.pyx":561 * cdef unsigned major = 0 * cdef unsigned minor = 0 * cdef unsigned patchlevel = 0 # <<<<<<<<<<<<<< @@ -7359,7 +7359,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_7version___get__(CYTHON_UN */ __pyx_v_patchlevel = 0; - /* "pyrfc/_cyrfc.pyx":561 + /* "pyrfc/_cyrfc.pyx":562 * cdef unsigned minor = 0 * cdef unsigned patchlevel = 0 * RfcGetVersion(&major, &minor, &patchlevel) # <<<<<<<<<<<<<< @@ -7368,7 +7368,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_7version___get__(CYTHON_UN */ (void)(RfcGetVersion((&__pyx_v_major), (&__pyx_v_minor), (&__pyx_v_patchlevel))); - /* "pyrfc/_cyrfc.pyx":562 + /* "pyrfc/_cyrfc.pyx":563 * cdef unsigned patchlevel = 0 * RfcGetVersion(&major, &minor, &patchlevel) * return {'major': major, 'minor': minor, 'patchLevel': patchlevel, 'platform': platform} # <<<<<<<<<<<<<< @@ -7376,29 +7376,29 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_7version___get__(CYTHON_UN * @property */ __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyDict_NewPresized(4); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 562, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(4); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 563, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyInt_From_unsigned_int(__pyx_v_major); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 562, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_From_unsigned_int(__pyx_v_major); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 563, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_major, __pyx_t_2) < 0) __PYX_ERR(0, 562, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_major, __pyx_t_2) < 0) __PYX_ERR(0, 563, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyInt_From_unsigned_int(__pyx_v_minor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 562, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_From_unsigned_int(__pyx_v_minor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 563, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_minor, __pyx_t_2) < 0) __PYX_ERR(0, 562, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_minor, __pyx_t_2) < 0) __PYX_ERR(0, 563, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyInt_From_unsigned_int(__pyx_v_patchlevel); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 562, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_From_unsigned_int(__pyx_v_patchlevel); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 563, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_patchLevel, __pyx_t_2) < 0) __PYX_ERR(0, 562, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_patchLevel, __pyx_t_2) < 0) __PYX_ERR(0, 563, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_platform); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 562, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_platform); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 563, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_platform, __pyx_t_2) < 0) __PYX_ERR(0, 562, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_platform, __pyx_t_2) < 0) __PYX_ERR(0, 563, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_r = __pyx_t_1; __pyx_t_1 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":554 + /* "pyrfc/_cyrfc.pyx":555 * * @property * def version(self): # <<<<<<<<<<<<<< @@ -7418,7 +7418,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_7version___get__(CYTHON_UN return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":565 +/* "pyrfc/_cyrfc.pyx":566 * * @property * def options(self): # <<<<<<<<<<<<<< @@ -7444,7 +7444,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_7options___get__(struct __ __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__get__", 0); - /* "pyrfc/_cyrfc.pyx":572 + /* "pyrfc/_cyrfc.pyx":573 * :type: dict * """ * return self.__config # <<<<<<<<<<<<<< @@ -7456,7 +7456,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_7options___get__(struct __ __pyx_r = __pyx_v_self->__config; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":565 + /* "pyrfc/_cyrfc.pyx":566 * * @property * def options(self): # <<<<<<<<<<<<<< @@ -7471,7 +7471,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_7options___get__(struct __ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":575 +/* "pyrfc/_cyrfc.pyx":576 * * @property * def handle(self): # <<<<<<<<<<<<<< @@ -7502,7 +7502,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_6handle___get__(struct __p int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - /* "pyrfc/_cyrfc.pyx":581 + /* "pyrfc/_cyrfc.pyx":582 * :type: uintptr_t * """ * return self._handle if self._handle is not NULL else None # <<<<<<<<<<<<<< @@ -7511,7 +7511,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_6handle___get__(struct __p */ __Pyx_XDECREF(__pyx_r); if (((__pyx_v_self->_handle != NULL) != 0)) { - __pyx_t_2 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_self->_handle)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 581, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_self->_handle)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 582, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_1 = __pyx_t_2; __pyx_t_2 = 0; @@ -7523,7 +7523,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_6handle___get__(struct __p __pyx_t_1 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":575 + /* "pyrfc/_cyrfc.pyx":576 * * @property * def handle(self): # <<<<<<<<<<<<<< @@ -7543,7 +7543,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_6handle___get__(struct __p return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":584 +/* "pyrfc/_cyrfc.pyx":585 * * @property * def alive(self): # <<<<<<<<<<<<<< @@ -7573,7 +7573,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_5alive___get__(struct __py int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - /* "pyrfc/_cyrfc.pyx":590 + /* "pyrfc/_cyrfc.pyx":591 * :type: boolean * """ * return self._handle != NULL # <<<<<<<<<<<<<< @@ -7581,13 +7581,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_5alive___get__(struct __py * def __init__(self, config=None, **params): */ __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong((__pyx_v_self->_handle != NULL)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 590, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyBool_FromLong((__pyx_v_self->_handle != NULL)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 591, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":584 + /* "pyrfc/_cyrfc.pyx":585 * * @property * def alive(self): # <<<<<<<<<<<<<< @@ -7606,7 +7606,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_5alive___get__(struct __py return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":592 +/* "pyrfc/_cyrfc.pyx":593 * return self._handle != NULL * * def __init__(self, config=None, **params): # <<<<<<<<<<<<<< @@ -7649,7 +7649,7 @@ static int __pyx_pw_5pyrfc_6_cyrfc_10Connection_1__init__(PyObject *__pyx_v_self } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_params, values, pos_args, "__init__") < 0)) __PYX_ERR(0, 592, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_params, values, pos_args, "__init__") < 0)) __PYX_ERR(0, 593, __pyx_L3_error) } } else { switch (PyTuple_GET_SIZE(__pyx_args)) { @@ -7663,7 +7663,7 @@ static int __pyx_pw_5pyrfc_6_cyrfc_10Connection_1__init__(PyObject *__pyx_v_self } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__init__", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 592, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__init__", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 593, __pyx_L3_error) __pyx_L3_error:; __Pyx_DECREF(__pyx_v_params); __pyx_v_params = 0; __Pyx_AddTraceback("pyrfc._cyrfc.Connection.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); @@ -7700,21 +7700,21 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc __Pyx_RefNannySetupContext("__init__", 0); __Pyx_INCREF(__pyx_v_config); - /* "pyrfc/_cyrfc.pyx":594 + /* "pyrfc/_cyrfc.pyx":595 * def __init__(self, config=None, **params): * # check and set connection configuration * config = config or {} # <<<<<<<<<<<<<< * for k in config: * if k not in['dtime', 'return_import_params', 'rstrip', 'timeout']: */ - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_config); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 594, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_config); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 595, __pyx_L1_error) if (!__pyx_t_2) { } else { __Pyx_INCREF(__pyx_v_config); __pyx_t_1 = __pyx_v_config; goto __pyx_L3_bool_binop_done; } - __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 594, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 595, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(__pyx_t_3); __pyx_t_1 = __pyx_t_3; @@ -7723,7 +7723,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc __Pyx_DECREF_SET(__pyx_v_config, __pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":595 + /* "pyrfc/_cyrfc.pyx":596 * # check and set connection configuration * config = config or {} * for k in config: # <<<<<<<<<<<<<< @@ -7734,26 +7734,26 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc __pyx_t_1 = __pyx_v_config; __Pyx_INCREF(__pyx_t_1); __pyx_t_4 = 0; __pyx_t_5 = NULL; } else { - __pyx_t_4 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_v_config); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 595, __pyx_L1_error) + __pyx_t_4 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_v_config); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 596, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = Py_TYPE(__pyx_t_1)->tp_iternext; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 595, __pyx_L1_error) + __pyx_t_5 = Py_TYPE(__pyx_t_1)->tp_iternext; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 596, __pyx_L1_error) } for (;;) { if (likely(!__pyx_t_5)) { if (likely(PyList_CheckExact(__pyx_t_1))) { if (__pyx_t_4 >= PyList_GET_SIZE(__pyx_t_1)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_3 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_4); __Pyx_INCREF(__pyx_t_3); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 595, __pyx_L1_error) + __pyx_t_3 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_4); __Pyx_INCREF(__pyx_t_3); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 596, __pyx_L1_error) #else - __pyx_t_3 = PySequence_ITEM(__pyx_t_1, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 595, __pyx_L1_error) + __pyx_t_3 = PySequence_ITEM(__pyx_t_1, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 596, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); #endif } else { if (__pyx_t_4 >= PyTuple_GET_SIZE(__pyx_t_1)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_4); __Pyx_INCREF(__pyx_t_3); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 595, __pyx_L1_error) + __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_4); __Pyx_INCREF(__pyx_t_3); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 596, __pyx_L1_error) #else - __pyx_t_3 = PySequence_ITEM(__pyx_t_1, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 595, __pyx_L1_error) + __pyx_t_3 = PySequence_ITEM(__pyx_t_1, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 596, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); #endif } @@ -7763,7 +7763,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 595, __pyx_L1_error) + else __PYX_ERR(0, 596, __pyx_L1_error) } break; } @@ -7772,7 +7772,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc __Pyx_XDECREF_SET(__pyx_v_k, __pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":596 + /* "pyrfc/_cyrfc.pyx":597 * config = config or {} * for k in config: * if k not in['dtime', 'return_import_params', 'rstrip', 'timeout']: # <<<<<<<<<<<<<< @@ -7781,41 +7781,41 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc */ __Pyx_INCREF(__pyx_v_k); __pyx_t_3 = __pyx_v_k; - __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_t_3, __pyx_n_u_dtime, Py_NE)); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(0, 596, __pyx_L1_error) + __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_t_3, __pyx_n_u_dtime, Py_NE)); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(0, 597, __pyx_L1_error) if (__pyx_t_6) { } else { __pyx_t_2 = __pyx_t_6; goto __pyx_L8_bool_binop_done; } - __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_t_3, __pyx_n_u_return_import_params, Py_NE)); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(0, 596, __pyx_L1_error) + __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_t_3, __pyx_n_u_return_import_params, Py_NE)); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(0, 597, __pyx_L1_error) if (__pyx_t_6) { } else { __pyx_t_2 = __pyx_t_6; goto __pyx_L8_bool_binop_done; } - __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_t_3, __pyx_n_u_rstrip, Py_NE)); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(0, 596, __pyx_L1_error) + __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_t_3, __pyx_n_u_rstrip, Py_NE)); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(0, 597, __pyx_L1_error) if (__pyx_t_6) { } else { __pyx_t_2 = __pyx_t_6; goto __pyx_L8_bool_binop_done; } - __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_t_3, __pyx_n_u_timeout, Py_NE)); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(0, 596, __pyx_L1_error) + __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_t_3, __pyx_n_u_timeout, Py_NE)); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(0, 597, __pyx_L1_error) __pyx_t_2 = __pyx_t_6; __pyx_L8_bool_binop_done:; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_6 = (__pyx_t_2 != 0); if (unlikely(__pyx_t_6)) { - /* "pyrfc/_cyrfc.pyx":597 + /* "pyrfc/_cyrfc.pyx":598 * for k in config: * if k not in['dtime', 'return_import_params', 'rstrip', 'timeout']: * raise RFCError(f"Connection configuration option '{k}' is not supported") # <<<<<<<<<<<<<< * self.__config = {} * self.__config['dtime'] = config.get('dtime', False) */ - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 597, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 598, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_8 = PyTuple_New(3); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 597, __pyx_L1_error) + __pyx_t_8 = PyTuple_New(3); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 598, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_9 = 0; __pyx_t_10 = 127; @@ -7823,7 +7823,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc __pyx_t_9 += 33; __Pyx_GIVEREF(__pyx_kp_u_Connection_configuration_option); PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_kp_u_Connection_configuration_option); - __pyx_t_11 = __Pyx_PyObject_FormatSimple(__pyx_v_k, __pyx_empty_unicode); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 597, __pyx_L1_error) + __pyx_t_11 = __Pyx_PyObject_FormatSimple(__pyx_v_k, __pyx_empty_unicode); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 598, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_11); __pyx_t_10 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_11) > __pyx_t_10) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_11) : __pyx_t_10; __pyx_t_9 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_11); @@ -7834,7 +7834,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc __pyx_t_9 += 18; __Pyx_GIVEREF(__pyx_kp_u_is_not_supported); PyTuple_SET_ITEM(__pyx_t_8, 2, __pyx_kp_u_is_not_supported); - __pyx_t_11 = __Pyx_PyUnicode_Join(__pyx_t_8, 3, __pyx_t_9, __pyx_t_10); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 597, __pyx_L1_error) + __pyx_t_11 = __Pyx_PyUnicode_Join(__pyx_t_8, 3, __pyx_t_9, __pyx_t_10); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 598, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_8 = NULL; @@ -7850,14 +7850,14 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc __pyx_t_3 = (__pyx_t_8) ? __Pyx_PyObject_Call2Args(__pyx_t_7, __pyx_t_8, __pyx_t_11) : __Pyx_PyObject_CallOneArg(__pyx_t_7, __pyx_t_11); __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 597, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 598, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 597, __pyx_L1_error) + __PYX_ERR(0, 598, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":596 + /* "pyrfc/_cyrfc.pyx":597 * config = config or {} * for k in config: * if k not in['dtime', 'return_import_params', 'rstrip', 'timeout']: # <<<<<<<<<<<<<< @@ -7866,7 +7866,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc */ } - /* "pyrfc/_cyrfc.pyx":595 + /* "pyrfc/_cyrfc.pyx":596 * # check and set connection configuration * config = config or {} * for k in config: # <<<<<<<<<<<<<< @@ -7876,14 +7876,14 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":598 + /* "pyrfc/_cyrfc.pyx":599 * if k not in['dtime', 'return_import_params', 'rstrip', 'timeout']: * raise RFCError(f"Connection configuration option '{k}' is not supported") * self.__config = {} # <<<<<<<<<<<<<< * self.__config['dtime'] = config.get('dtime', False) * self.__config['return_import_params'] = config.get('return_import_params', False) */ - __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 598, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 599, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v_self->__config); @@ -7891,83 +7891,83 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc __pyx_v_self->__config = ((PyObject*)__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":599 + /* "pyrfc/_cyrfc.pyx":600 * raise RFCError(f"Connection configuration option '{k}' is not supported") * self.__config = {} * self.__config['dtime'] = config.get('dtime', False) # <<<<<<<<<<<<<< * self.__config['return_import_params'] = config.get('return_import_params', False) * self.__config['rstrip'] = config.get('rstrip', True) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_config, __pyx_n_s_get); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 599, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_config, __pyx_n_s_get); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 600, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__8, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 599, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__8, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 600, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (unlikely(__pyx_v_self->__config == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); - __PYX_ERR(0, 599, __pyx_L1_error) + __PYX_ERR(0, 600, __pyx_L1_error) } - if (unlikely(PyDict_SetItem(__pyx_v_self->__config, __pyx_n_u_dtime, __pyx_t_3) < 0)) __PYX_ERR(0, 599, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_self->__config, __pyx_n_u_dtime, __pyx_t_3) < 0)) __PYX_ERR(0, 600, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":600 + /* "pyrfc/_cyrfc.pyx":601 * self.__config = {} * self.__config['dtime'] = config.get('dtime', False) * self.__config['return_import_params'] = config.get('return_import_params', False) # <<<<<<<<<<<<<< * self.__config['rstrip'] = config.get('rstrip', True) * self.__config['timeout'] = config.get('timeout', None) */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_config, __pyx_n_s_get); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 600, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_config, __pyx_n_s_get); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 601, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_tuple__9, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 600, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_tuple__9, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 601, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (unlikely(__pyx_v_self->__config == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); - __PYX_ERR(0, 600, __pyx_L1_error) + __PYX_ERR(0, 601, __pyx_L1_error) } - if (unlikely(PyDict_SetItem(__pyx_v_self->__config, __pyx_n_u_return_import_params, __pyx_t_1) < 0)) __PYX_ERR(0, 600, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_self->__config, __pyx_n_u_return_import_params, __pyx_t_1) < 0)) __PYX_ERR(0, 601, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":601 + /* "pyrfc/_cyrfc.pyx":602 * self.__config['dtime'] = config.get('dtime', False) * self.__config['return_import_params'] = config.get('return_import_params', False) * self.__config['rstrip'] = config.get('rstrip', True) # <<<<<<<<<<<<<< * self.__config['timeout'] = config.get('timeout', None) * */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_config, __pyx_n_s_get); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 601, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_config, __pyx_n_s_get); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 602, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__10, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 601, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__10, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 602, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (unlikely(__pyx_v_self->__config == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); - __PYX_ERR(0, 601, __pyx_L1_error) + __PYX_ERR(0, 602, __pyx_L1_error) } - if (unlikely(PyDict_SetItem(__pyx_v_self->__config, __pyx_n_u_rstrip, __pyx_t_3) < 0)) __PYX_ERR(0, 601, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_self->__config, __pyx_n_u_rstrip, __pyx_t_3) < 0)) __PYX_ERR(0, 602, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":602 + /* "pyrfc/_cyrfc.pyx":603 * self.__config['return_import_params'] = config.get('return_import_params', False) * self.__config['rstrip'] = config.get('rstrip', True) * self.__config['timeout'] = config.get('timeout', None) # <<<<<<<<<<<<<< * * # set internal configuration */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_config, __pyx_n_s_get); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 602, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_config, __pyx_n_s_get); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 603, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_tuple__11, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 602, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_tuple__11, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 603, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (unlikely(__pyx_v_self->__config == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); - __PYX_ERR(0, 602, __pyx_L1_error) + __PYX_ERR(0, 603, __pyx_L1_error) } - if (unlikely(PyDict_SetItem(__pyx_v_self->__config, __pyx_n_u_timeout, __pyx_t_1) < 0)) __PYX_ERR(0, 602, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_self->__config, __pyx_n_u_timeout, __pyx_t_1) < 0)) __PYX_ERR(0, 603, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":605 + /* "pyrfc/_cyrfc.pyx":606 * * # set internal configuration * self.__bconfig = 0 # <<<<<<<<<<<<<< @@ -7976,7 +7976,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc */ __pyx_v_self->__pyx___bconfig = 0; - /* "pyrfc/_cyrfc.pyx":606 + /* "pyrfc/_cyrfc.pyx":607 * # set internal configuration * self.__bconfig = 0 * if self.__config['dtime']: # <<<<<<<<<<<<<< @@ -7985,34 +7985,34 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc */ if (unlikely(__pyx_v_self->__config == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); - __PYX_ERR(0, 606, __pyx_L1_error) + __PYX_ERR(0, 607, __pyx_L1_error) } - __pyx_t_1 = __Pyx_PyDict_GetItem(__pyx_v_self->__config, __pyx_n_u_dtime); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 606, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_GetItem(__pyx_v_self->__config, __pyx_n_u_dtime); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 607, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(0, 606, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(0, 607, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_6) { - /* "pyrfc/_cyrfc.pyx":607 + /* "pyrfc/_cyrfc.pyx":608 * self.__bconfig = 0 * if self.__config['dtime']: * self.__bconfig |= _MASK_DTIME # <<<<<<<<<<<<<< * if self.__config['return_import_params']: * self.__bconfig |= _MASK_RETURN_IMPORT_PARAMS */ - __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(__pyx_v_self->__pyx___bconfig); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 607, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(__pyx_v_self->__pyx___bconfig); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 608, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_MASK_DTIME); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 607, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_MASK_DTIME); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 608, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_7 = PyNumber_InPlaceOr(__pyx_t_1, __pyx_t_3); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 607, __pyx_L1_error) + __pyx_t_7 = PyNumber_InPlaceOr(__pyx_t_1, __pyx_t_3); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 608, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_12 = __Pyx_PyInt_As_unsigned_int(__pyx_t_7); if (unlikely((__pyx_t_12 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 607, __pyx_L1_error) + __pyx_t_12 = __Pyx_PyInt_As_unsigned_int(__pyx_t_7); if (unlikely((__pyx_t_12 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 608, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_v_self->__pyx___bconfig = __pyx_t_12; - /* "pyrfc/_cyrfc.pyx":606 + /* "pyrfc/_cyrfc.pyx":607 * # set internal configuration * self.__bconfig = 0 * if self.__config['dtime']: # <<<<<<<<<<<<<< @@ -8021,7 +8021,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc */ } - /* "pyrfc/_cyrfc.pyx":608 + /* "pyrfc/_cyrfc.pyx":609 * if self.__config['dtime']: * self.__bconfig |= _MASK_DTIME * if self.__config['return_import_params']: # <<<<<<<<<<<<<< @@ -8030,34 +8030,34 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc */ if (unlikely(__pyx_v_self->__config == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); - __PYX_ERR(0, 608, __pyx_L1_error) + __PYX_ERR(0, 609, __pyx_L1_error) } - __pyx_t_7 = __Pyx_PyDict_GetItem(__pyx_v_self->__config, __pyx_n_u_return_import_params); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 608, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyDict_GetItem(__pyx_v_self->__config, __pyx_n_u_return_import_params); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 609, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(0, 608, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(0, 609, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (__pyx_t_6) { - /* "pyrfc/_cyrfc.pyx":609 + /* "pyrfc/_cyrfc.pyx":610 * self.__bconfig |= _MASK_DTIME * if self.__config['return_import_params']: * self.__bconfig |= _MASK_RETURN_IMPORT_PARAMS # <<<<<<<<<<<<<< * if self.__config['rstrip']: * self.__bconfig |= _MASK_RSTRIP */ - __pyx_t_7 = __Pyx_PyInt_From_unsigned_int(__pyx_v_self->__pyx___bconfig); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 609, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyInt_From_unsigned_int(__pyx_v_self->__pyx___bconfig); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 610, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_MASK_RETURN_IMPORT_PARAMS); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 609, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_MASK_RETURN_IMPORT_PARAMS); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 610, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = PyNumber_InPlaceOr(__pyx_t_7, __pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 609, __pyx_L1_error) + __pyx_t_1 = PyNumber_InPlaceOr(__pyx_t_7, __pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 610, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_12 = __Pyx_PyInt_As_unsigned_int(__pyx_t_1); if (unlikely((__pyx_t_12 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 609, __pyx_L1_error) + __pyx_t_12 = __Pyx_PyInt_As_unsigned_int(__pyx_t_1); if (unlikely((__pyx_t_12 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 610, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_self->__pyx___bconfig = __pyx_t_12; - /* "pyrfc/_cyrfc.pyx":608 + /* "pyrfc/_cyrfc.pyx":609 * if self.__config['dtime']: * self.__bconfig |= _MASK_DTIME * if self.__config['return_import_params']: # <<<<<<<<<<<<<< @@ -8066,7 +8066,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc */ } - /* "pyrfc/_cyrfc.pyx":610 + /* "pyrfc/_cyrfc.pyx":611 * if self.__config['return_import_params']: * self.__bconfig |= _MASK_RETURN_IMPORT_PARAMS * if self.__config['rstrip']: # <<<<<<<<<<<<<< @@ -8075,34 +8075,34 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc */ if (unlikely(__pyx_v_self->__config == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); - __PYX_ERR(0, 610, __pyx_L1_error) + __PYX_ERR(0, 611, __pyx_L1_error) } - __pyx_t_1 = __Pyx_PyDict_GetItem(__pyx_v_self->__config, __pyx_n_u_rstrip); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 610, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_GetItem(__pyx_v_self->__config, __pyx_n_u_rstrip); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 611, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(0, 610, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(0, 611, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_6) { - /* "pyrfc/_cyrfc.pyx":611 + /* "pyrfc/_cyrfc.pyx":612 * self.__bconfig |= _MASK_RETURN_IMPORT_PARAMS * if self.__config['rstrip']: * self.__bconfig |= _MASK_RSTRIP # <<<<<<<<<<<<<< * * self._connection = ConnectionParameters(**params) */ - __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(__pyx_v_self->__pyx___bconfig); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 611, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(__pyx_v_self->__pyx___bconfig); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 612, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_MASK_RSTRIP); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 611, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_MASK_RSTRIP); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 612, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_7 = PyNumber_InPlaceOr(__pyx_t_1, __pyx_t_3); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 611, __pyx_L1_error) + __pyx_t_7 = PyNumber_InPlaceOr(__pyx_t_1, __pyx_t_3); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 612, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_12 = __Pyx_PyInt_As_unsigned_int(__pyx_t_7); if (unlikely((__pyx_t_12 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 611, __pyx_L1_error) + __pyx_t_12 = __Pyx_PyInt_As_unsigned_int(__pyx_t_7); if (unlikely((__pyx_t_12 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 612, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_v_self->__pyx___bconfig = __pyx_t_12; - /* "pyrfc/_cyrfc.pyx":610 + /* "pyrfc/_cyrfc.pyx":611 * if self.__config['return_import_params']: * self.__bconfig |= _MASK_RETURN_IMPORT_PARAMS * if self.__config['rstrip']: # <<<<<<<<<<<<<< @@ -8111,16 +8111,16 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc */ } - /* "pyrfc/_cyrfc.pyx":613 + /* "pyrfc/_cyrfc.pyx":614 * self.__bconfig |= _MASK_RSTRIP * * self._connection = ConnectionParameters(**params) # <<<<<<<<<<<<<< * self._handle = NULL * self.active_transaction = False */ - __pyx_t_7 = PyDict_Copy(__pyx_v_params); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 613, __pyx_L1_error) + __pyx_t_7 = PyDict_Copy(__pyx_v_params); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 614, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_3 = __Pyx_PyObject_Call(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_ConnectionParameters), __pyx_empty_tuple, __pyx_t_7); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 613, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_Call(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_ConnectionParameters), __pyx_empty_tuple, __pyx_t_7); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 614, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_GIVEREF(__pyx_t_3); @@ -8129,7 +8129,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc __pyx_v_self->_connection = ((struct __pyx_obj_5pyrfc_6_cyrfc_ConnectionParameters *)__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":614 + /* "pyrfc/_cyrfc.pyx":615 * * self._connection = ConnectionParameters(**params) * self._handle = NULL # <<<<<<<<<<<<<< @@ -8138,7 +8138,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc */ __pyx_v_self->_handle = NULL; - /* "pyrfc/_cyrfc.pyx":615 + /* "pyrfc/_cyrfc.pyx":616 * self._connection = ConnectionParameters(**params) * self._handle = NULL * self.active_transaction = False # <<<<<<<<<<<<<< @@ -8147,7 +8147,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc */ __pyx_v_self->active_transaction = 0; - /* "pyrfc/_cyrfc.pyx":616 + /* "pyrfc/_cyrfc.pyx":617 * self._handle = NULL * self.active_transaction = False * self.active_unit = False # <<<<<<<<<<<<<< @@ -8156,18 +8156,18 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc */ __pyx_v_self->active_unit = 0; - /* "pyrfc/_cyrfc.pyx":617 + /* "pyrfc/_cyrfc.pyx":618 * self.active_transaction = False * self.active_unit = False * self._open() # <<<<<<<<<<<<<< * * def free(self): */ - __pyx_t_3 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 617, __pyx_L1_error) + __pyx_t_3 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 618, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":592 + /* "pyrfc/_cyrfc.pyx":593 * return self._handle != NULL * * def __init__(self, config=None, **params): # <<<<<<<<<<<<<< @@ -8193,7 +8193,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection___init__(struct __pyx_obj_5pyrfc return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":619 +/* "pyrfc/_cyrfc.pyx":620 * self._open() * * def free(self): # <<<<<<<<<<<<<< @@ -8226,14 +8226,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_2free(struct __pyx_obj_5py int __pyx_clineno = 0; __Pyx_RefNannySetupContext("free", 0); - /* "pyrfc/_cyrfc.pyx":626 + /* "pyrfc/_cyrfc.pyx":627 * when too many connections are opened. * """ * self.__del__() # <<<<<<<<<<<<<< * * def __del__(self): */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_del); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 626, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_del); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 627, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -8247,12 +8247,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_2free(struct __pyx_obj_5py } __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 626, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 627, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":619 + /* "pyrfc/_cyrfc.pyx":620 * self._open() * * def free(self): # <<<<<<<<<<<<<< @@ -8275,7 +8275,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_2free(struct __pyx_obj_5py return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":628 +/* "pyrfc/_cyrfc.pyx":629 * self.__del__() * * def __del__(self): # <<<<<<<<<<<<<< @@ -8307,14 +8307,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_4__del__(struct __pyx_obj_ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__del__", 0); - /* "pyrfc/_cyrfc.pyx":629 + /* "pyrfc/_cyrfc.pyx":630 * * def __del__(self): * self._close() # <<<<<<<<<<<<<< * self._connection._free() * */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_close); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 629, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_close); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 630, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -8328,19 +8328,19 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_4__del__(struct __pyx_obj_ } __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 629, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 630, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":630 + /* "pyrfc/_cyrfc.pyx":631 * def __del__(self): * self._close() * self._connection._free() # <<<<<<<<<<<<<< * * def __enter__(self): */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->_connection), __pyx_n_s_free); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 630, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->_connection), __pyx_n_s_free); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 631, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -8354,12 +8354,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_4__del__(struct __pyx_obj_ } __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 630, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 631, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":628 + /* "pyrfc/_cyrfc.pyx":629 * self.__del__() * * def __del__(self): # <<<<<<<<<<<<<< @@ -8382,7 +8382,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_4__del__(struct __pyx_obj_ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":632 +/* "pyrfc/_cyrfc.pyx":633 * self._connection._free() * * def __enter__(self): # <<<<<<<<<<<<<< @@ -8408,7 +8408,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_6__enter__(struct __pyx_ob __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__enter__", 0); - /* "pyrfc/_cyrfc.pyx":633 + /* "pyrfc/_cyrfc.pyx":634 * * def __enter__(self): * return self # <<<<<<<<<<<<<< @@ -8420,7 +8420,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_6__enter__(struct __pyx_ob __pyx_r = ((PyObject *)__pyx_v_self); goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":632 + /* "pyrfc/_cyrfc.pyx":633 * self._connection._free() * * def __enter__(self): # <<<<<<<<<<<<<< @@ -8435,7 +8435,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_6__enter__(struct __pyx_ob return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":635 +/* "pyrfc/_cyrfc.pyx":636 * return self * * def __exit__(self, type, value, traceback): # <<<<<<<<<<<<<< @@ -8480,17 +8480,17 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Connection_9__exit__(PyObject *__pyx_ case 1: if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("__exit__", 1, 3, 3, 1); __PYX_ERR(0, 635, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__exit__", 1, 3, 3, 1); __PYX_ERR(0, 636, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 2: if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_traceback)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("__exit__", 1, 3, 3, 2); __PYX_ERR(0, 635, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__exit__", 1, 3, 3, 2); __PYX_ERR(0, 636, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__exit__") < 0)) __PYX_ERR(0, 635, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__exit__") < 0)) __PYX_ERR(0, 636, __pyx_L3_error) } } else if (PyTuple_GET_SIZE(__pyx_args) != 3) { goto __pyx_L5_argtuple_error; @@ -8505,7 +8505,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Connection_9__exit__(PyObject *__pyx_ } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__exit__", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 635, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__exit__", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 636, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("pyrfc._cyrfc.Connection.__exit__", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -8529,14 +8529,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_8__exit__(struct __pyx_obj int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__exit__", 0); - /* "pyrfc/_cyrfc.pyx":638 + /* "pyrfc/_cyrfc.pyx":639 * # Although the _close() method is also called in the destructor, the * # explicit call assures the immediate closing to the connection. * self._close() # <<<<<<<<<<<<<< * * def open(self): */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_close); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 638, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_close); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 639, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -8550,12 +8550,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_8__exit__(struct __pyx_obj } __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 638, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 639, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":635 + /* "pyrfc/_cyrfc.pyx":636 * return self * * def __exit__(self, type, value, traceback): # <<<<<<<<<<<<<< @@ -8578,7 +8578,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_8__exit__(struct __pyx_obj return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":640 +/* "pyrfc/_cyrfc.pyx":641 * self._close() * * def open(self): # <<<<<<<<<<<<<< @@ -8609,18 +8609,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_10open(struct __pyx_obj_5p int __pyx_clineno = 0; __Pyx_RefNannySetupContext("open", 0); - /* "pyrfc/_cyrfc.pyx":646 + /* "pyrfc/_cyrfc.pyx":647 * thereof if the connection cannot be opened. * """ * self._open() # <<<<<<<<<<<<<< * * def reopen(self): */ - __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 646, __pyx_L1_error) + __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 647, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":640 + /* "pyrfc/_cyrfc.pyx":641 * self._close() * * def open(self): # <<<<<<<<<<<<<< @@ -8641,7 +8641,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_10open(struct __pyx_obj_5p return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":648 +/* "pyrfc/_cyrfc.pyx":649 * self._open() * * def reopen(self): # <<<<<<<<<<<<<< @@ -8672,18 +8672,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_12reopen(struct __pyx_obj_ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("reopen", 0); - /* "pyrfc/_cyrfc.pyx":654 + /* "pyrfc/_cyrfc.pyx":655 * thereof if the connection cannot be re-opened. * """ * self._reopen() # <<<<<<<<<<<<<< * * def close(self): */ - __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_reopen(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 654, __pyx_L1_error) + __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_reopen(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 655, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":648 + /* "pyrfc/_cyrfc.pyx":649 * self._open() * * def reopen(self): # <<<<<<<<<<<<<< @@ -8704,7 +8704,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_12reopen(struct __pyx_obj_ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":656 +/* "pyrfc/_cyrfc.pyx":657 * self._reopen() * * def close(self): # <<<<<<<<<<<<<< @@ -8737,14 +8737,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_14close(struct __pyx_obj_5 int __pyx_clineno = 0; __Pyx_RefNannySetupContext("close", 0); - /* "pyrfc/_cyrfc.pyx":662 + /* "pyrfc/_cyrfc.pyx":663 * thereof if the connection cannot be closed cleanly. * """ * self._close() # <<<<<<<<<<<<<< * * def cancel(self): */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_close); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 662, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_close); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 663, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -8758,12 +8758,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_14close(struct __pyx_obj_5 } __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 662, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 663, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":656 + /* "pyrfc/_cyrfc.pyx":657 * self._reopen() * * def close(self): # <<<<<<<<<<<<<< @@ -8786,7 +8786,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_14close(struct __pyx_obj_5 return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":664 +/* "pyrfc/_cyrfc.pyx":665 * self._close() * * def cancel(self): # <<<<<<<<<<<<<< @@ -8819,14 +8819,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_16cancel(struct __pyx_obj_ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("cancel", 0); - /* "pyrfc/_cyrfc.pyx":670 + /* "pyrfc/_cyrfc.pyx":671 * thereof if the connection cannot be cancelled cleanly. * """ * cancel_connection(self) # <<<<<<<<<<<<<< * * def __bool__(self): */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_cancel_connection); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 670, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_cancel_connection); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 671, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_2))) { @@ -8840,12 +8840,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_16cancel(struct __pyx_obj_ } __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_2, __pyx_t_3, ((PyObject *)__pyx_v_self)) : __Pyx_PyObject_CallOneArg(__pyx_t_2, ((PyObject *)__pyx_v_self)); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 670, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 671, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":664 + /* "pyrfc/_cyrfc.pyx":665 * self._close() * * def cancel(self): # <<<<<<<<<<<<<< @@ -8868,7 +8868,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_16cancel(struct __pyx_obj_ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":672 +/* "pyrfc/_cyrfc.pyx":673 * cancel_connection(self) * * def __bool__(self): # <<<<<<<<<<<<<< @@ -8899,21 +8899,21 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection_18__bool__(struct __pyx_obj_5pyr int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__bool__", 0); - /* "pyrfc/_cyrfc.pyx":673 + /* "pyrfc/_cyrfc.pyx":674 * * def __bool__(self): * return self.alive # <<<<<<<<<<<<<< * * cdef _reopen(self): */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_alive); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 673, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_alive); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 674, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 673, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 674, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_r = __pyx_t_2; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":672 + /* "pyrfc/_cyrfc.pyx":673 * cancel_connection(self) * * def __bool__(self): # <<<<<<<<<<<<<< @@ -8931,7 +8931,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection_18__bool__(struct __pyx_obj_5pyr return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":675 +/* "pyrfc/_cyrfc.pyx":676 * return self.alive * * cdef _reopen(self): # <<<<<<<<<<<<<< @@ -8950,14 +8950,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_10Connection__reopen(struct __pyx_obj_5p int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_reopen", 0); - /* "pyrfc/_cyrfc.pyx":676 + /* "pyrfc/_cyrfc.pyx":677 * * cdef _reopen(self): * self._close() # <<<<<<<<<<<<<< * self._open() * */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_close); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 676, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_close); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 677, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -8971,23 +8971,23 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_10Connection__reopen(struct __pyx_obj_5p } __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 676, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 677, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":677 + /* "pyrfc/_cyrfc.pyx":678 * cdef _reopen(self): * self._close() * self._open() # <<<<<<<<<<<<<< * * cdef _open(self): */ - __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 677, __pyx_L1_error) + __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 678, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":675 + /* "pyrfc/_cyrfc.pyx":676 * return self.alive * * cdef _reopen(self): # <<<<<<<<<<<<<< @@ -9010,7 +9010,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_10Connection__reopen(struct __pyx_obj_5p return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":679 +/* "pyrfc/_cyrfc.pyx":680 * self._open() * * cdef _open(self): # <<<<<<<<<<<<<< @@ -9029,7 +9029,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_10Connection__open(struct __pyx_obj_5pyr int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_open", 0); - /* "pyrfc/_cyrfc.pyx":681 + /* "pyrfc/_cyrfc.pyx":682 * cdef _open(self): * cdef RFC_ERROR_INFO errorInfo * with nogil: # <<<<<<<<<<<<<< @@ -9044,7 +9044,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_10Connection__open(struct __pyx_obj_5pyr #endif /*try:*/ { - /* "pyrfc/_cyrfc.pyx":682 + /* "pyrfc/_cyrfc.pyx":683 * cdef RFC_ERROR_INFO errorInfo * with nogil: * self._handle = RfcOpenConnection(self._connection._params, self._connection._params_count, &errorInfo) # <<<<<<<<<<<<<< @@ -9054,7 +9054,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_10Connection__open(struct __pyx_obj_5pyr __pyx_v_self->_handle = RfcOpenConnection(__pyx_v_self->_connection->_params, __pyx_v_self->_connection->_params_count, (&__pyx_v_errorInfo)); } - /* "pyrfc/_cyrfc.pyx":681 + /* "pyrfc/_cyrfc.pyx":682 * cdef _open(self): * cdef RFC_ERROR_INFO errorInfo * with nogil: # <<<<<<<<<<<<<< @@ -9073,7 +9073,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_10Connection__open(struct __pyx_obj_5pyr } } - /* "pyrfc/_cyrfc.pyx":683 + /* "pyrfc/_cyrfc.pyx":684 * with nogil: * self._handle = RfcOpenConnection(self._connection._params, self._connection._params_count, &errorInfo) * if not self._handle: # <<<<<<<<<<<<<< @@ -9083,18 +9083,18 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_10Connection__open(struct __pyx_obj_5pyr __pyx_t_1 = ((!(__pyx_v_self->_handle != 0)) != 0); if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":684 + /* "pyrfc/_cyrfc.pyx":685 * self._handle = RfcOpenConnection(self._connection._params, self._connection._params_count, &errorInfo) * if not self._handle: * self._error(&errorInfo) # <<<<<<<<<<<<<< * * def _close(self): */ - __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 684, __pyx_L1_error) + __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 685, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":683 + /* "pyrfc/_cyrfc.pyx":684 * with nogil: * self._handle = RfcOpenConnection(self._connection._params, self._connection._params_count, &errorInfo) * if not self._handle: # <<<<<<<<<<<<<< @@ -9103,7 +9103,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_10Connection__open(struct __pyx_obj_5pyr */ } - /* "pyrfc/_cyrfc.pyx":679 + /* "pyrfc/_cyrfc.pyx":680 * self._open() * * cdef _open(self): # <<<<<<<<<<<<<< @@ -9124,7 +9124,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_10Connection__open(struct __pyx_obj_5pyr return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":686 +/* "pyrfc/_cyrfc.pyx":687 * self._error(&errorInfo) * * def _close(self): # <<<<<<<<<<<<<< @@ -9157,7 +9157,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_20_close(struct __pyx_obj_ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_close", 0); - /* "pyrfc/_cyrfc.pyx":689 + /* "pyrfc/_cyrfc.pyx":690 * cdef RFC_RC rc * cdef RFC_ERROR_INFO errorInfo * if self._handle != NULL: # <<<<<<<<<<<<<< @@ -9167,7 +9167,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_20_close(struct __pyx_obj_ __pyx_t_1 = ((__pyx_v_self->_handle != NULL) != 0); if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":690 + /* "pyrfc/_cyrfc.pyx":691 * cdef RFC_ERROR_INFO errorInfo * if self._handle != NULL: * rc = RfcCloseConnection(self._handle, &errorInfo) # <<<<<<<<<<<<<< @@ -9176,7 +9176,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_20_close(struct __pyx_obj_ */ __pyx_v_rc = RfcCloseConnection(__pyx_v_self->_handle, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":691 + /* "pyrfc/_cyrfc.pyx":692 * if self._handle != NULL: * rc = RfcCloseConnection(self._handle, &errorInfo) * self._handle = NULL # <<<<<<<<<<<<<< @@ -9185,7 +9185,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_20_close(struct __pyx_obj_ */ __pyx_v_self->_handle = NULL; - /* "pyrfc/_cyrfc.pyx":692 + /* "pyrfc/_cyrfc.pyx":693 * rc = RfcCloseConnection(self._handle, &errorInfo) * self._handle = NULL * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -9195,18 +9195,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_20_close(struct __pyx_obj_ __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":693 + /* "pyrfc/_cyrfc.pyx":694 * self._handle = NULL * if rc != RFC_OK: * self._error(&errorInfo) # <<<<<<<<<<<<<< * * cdef _error(self, RFC_ERROR_INFO* errorInfo): */ - __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 693, __pyx_L1_error) + __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 694, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":692 + /* "pyrfc/_cyrfc.pyx":693 * rc = RfcCloseConnection(self._handle, &errorInfo) * self._handle = NULL * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -9215,7 +9215,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_20_close(struct __pyx_obj_ */ } - /* "pyrfc/_cyrfc.pyx":689 + /* "pyrfc/_cyrfc.pyx":690 * cdef RFC_RC rc * cdef RFC_ERROR_INFO errorInfo * if self._handle != NULL: # <<<<<<<<<<<<<< @@ -9224,7 +9224,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_20_close(struct __pyx_obj_ */ } - /* "pyrfc/_cyrfc.pyx":686 + /* "pyrfc/_cyrfc.pyx":687 * self._error(&errorInfo) * * def _close(self): # <<<<<<<<<<<<<< @@ -9245,7 +9245,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_20_close(struct __pyx_obj_ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":695 +/* "pyrfc/_cyrfc.pyx":696 * self._error(&errorInfo) * * cdef _error(self, RFC_ERROR_INFO* errorInfo): # <<<<<<<<<<<<<< @@ -9262,20 +9262,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_10Connection__error(CYTHON_UNUSED struct int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_error", 0); - /* "pyrfc/_cyrfc.pyx":710 + /* "pyrfc/_cyrfc.pyx":711 * # self.alive = False * * raise wrapError(errorInfo) # <<<<<<<<<<<<<< * * def ping(self): */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError(__pyx_v_errorInfo); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 710, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError(__pyx_v_errorInfo); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 711, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 710, __pyx_L1_error) + __PYX_ERR(0, 711, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":695 + /* "pyrfc/_cyrfc.pyx":696 * self._error(&errorInfo) * * cdef _error(self, RFC_ERROR_INFO* errorInfo): # <<<<<<<<<<<<<< @@ -9293,7 +9293,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_10Connection__error(CYTHON_UNUSED struct return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":712 +/* "pyrfc/_cyrfc.pyx":713 * raise wrapError(errorInfo) * * def ping(self): # <<<<<<<<<<<<<< @@ -9327,7 +9327,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_22ping(struct __pyx_obj_5p int __pyx_clineno = 0; __Pyx_RefNannySetupContext("ping", 0); - /* "pyrfc/_cyrfc.pyx":722 + /* "pyrfc/_cyrfc.pyx":723 * cdef RFC_RC rc * cdef RFC_ERROR_INFO errorInfo * rc = RfcPing(self._handle, &errorInfo) # <<<<<<<<<<<<<< @@ -9336,7 +9336,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_22ping(struct __pyx_obj_5p */ __pyx_v_rc = RfcPing(__pyx_v_self->_handle, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":723 + /* "pyrfc/_cyrfc.pyx":724 * cdef RFC_ERROR_INFO errorInfo * rc = RfcPing(self._handle, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -9346,18 +9346,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_22ping(struct __pyx_obj_5p __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":724 + /* "pyrfc/_cyrfc.pyx":725 * rc = RfcPing(self._handle, &errorInfo) * if rc != RFC_OK: * self._error(&errorInfo) # <<<<<<<<<<<<<< * * def reset_server_context(self): */ - __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 724, __pyx_L1_error) + __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 725, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":723 + /* "pyrfc/_cyrfc.pyx":724 * cdef RFC_ERROR_INFO errorInfo * rc = RfcPing(self._handle, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -9366,7 +9366,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_22ping(struct __pyx_obj_5p */ } - /* "pyrfc/_cyrfc.pyx":712 + /* "pyrfc/_cyrfc.pyx":713 * raise wrapError(errorInfo) * * def ping(self): # <<<<<<<<<<<<<< @@ -9387,7 +9387,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_22ping(struct __pyx_obj_5p return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":726 +/* "pyrfc/_cyrfc.pyx":727 * self._error(&errorInfo) * * def reset_server_context(self): # <<<<<<<<<<<<<< @@ -9421,7 +9421,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_24reset_server_context(str int __pyx_clineno = 0; __Pyx_RefNannySetupContext("reset_server_context", 0); - /* "pyrfc/_cyrfc.pyx":739 + /* "pyrfc/_cyrfc.pyx":740 * cdef RFC_RC rc * cdef RFC_ERROR_INFO errorInfo * rc = RfcResetServerContext(self._handle, &errorInfo) # <<<<<<<<<<<<<< @@ -9430,7 +9430,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_24reset_server_context(str */ __pyx_v_rc = RfcResetServerContext(__pyx_v_self->_handle, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":740 + /* "pyrfc/_cyrfc.pyx":741 * cdef RFC_ERROR_INFO errorInfo * rc = RfcResetServerContext(self._handle, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -9440,18 +9440,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_24reset_server_context(str __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":741 + /* "pyrfc/_cyrfc.pyx":742 * rc = RfcResetServerContext(self._handle, &errorInfo) * if rc != RFC_OK: * self._error(&errorInfo) # <<<<<<<<<<<<<< * * def get_connection_attributes(self): */ - __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 741, __pyx_L1_error) + __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 742, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":740 + /* "pyrfc/_cyrfc.pyx":741 * cdef RFC_ERROR_INFO errorInfo * rc = RfcResetServerContext(self._handle, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -9460,7 +9460,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_24reset_server_context(str */ } - /* "pyrfc/_cyrfc.pyx":726 + /* "pyrfc/_cyrfc.pyx":727 * self._error(&errorInfo) * * def reset_server_context(self): # <<<<<<<<<<<<<< @@ -9481,7 +9481,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_24reset_server_context(str return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":743 +/* "pyrfc/_cyrfc.pyx":744 * self._error(&errorInfo) * * def get_connection_attributes(self): # <<<<<<<<<<<<<< @@ -9521,26 +9521,26 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_26get_connection_attribute int __pyx_clineno = 0; __Pyx_RefNannySetupContext("get_connection_attributes", 0); - /* "pyrfc/_cyrfc.pyx":781 + /* "pyrfc/_cyrfc.pyx":782 * cdef RFC_ATTRIBUTES attributes * * result = {} # <<<<<<<<<<<<<< * * if self.is_valid(): */ - __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 781, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 782, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_result = __pyx_t_1; __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":783 + /* "pyrfc/_cyrfc.pyx":784 * result = {} * * if self.is_valid(): # <<<<<<<<<<<<<< * rc = RfcGetConnectionAttributes(self._handle, &attributes, &errorInfo) * if rc != RFC_OK: */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_valid); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 783, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_valid); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 784, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -9554,14 +9554,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_26get_connection_attribute } __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 783, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 784, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 783, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 784, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_4) { - /* "pyrfc/_cyrfc.pyx":784 + /* "pyrfc/_cyrfc.pyx":785 * * if self.is_valid(): * rc = RfcGetConnectionAttributes(self._handle, &attributes, &errorInfo) # <<<<<<<<<<<<<< @@ -9570,7 +9570,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_26get_connection_attribute */ __pyx_v_rc = RfcGetConnectionAttributes(__pyx_v_self->_handle, (&__pyx_v_attributes), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":785 + /* "pyrfc/_cyrfc.pyx":786 * if self.is_valid(): * rc = RfcGetConnectionAttributes(self._handle, &attributes, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -9580,18 +9580,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_26get_connection_attribute __pyx_t_4 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_4) { - /* "pyrfc/_cyrfc.pyx":786 + /* "pyrfc/_cyrfc.pyx":787 * rc = RfcGetConnectionAttributes(self._handle, &attributes, &errorInfo) * if rc != RFC_OK: * self._error(&errorInfo) # <<<<<<<<<<<<<< * * result = wrapConnectionAttributes(attributes) */ - __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 786, __pyx_L1_error) + __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 787, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":785 + /* "pyrfc/_cyrfc.pyx":786 * if self.is_valid(): * rc = RfcGetConnectionAttributes(self._handle, &attributes, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -9600,51 +9600,51 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_26get_connection_attribute */ } - /* "pyrfc/_cyrfc.pyx":788 + /* "pyrfc/_cyrfc.pyx":789 * self._error(&errorInfo) * * result = wrapConnectionAttributes(attributes) # <<<<<<<<<<<<<< * result.update({ * 'active_unit': self.active_unit or self.active_transaction */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(__pyx_v_attributes); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 788, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(__pyx_v_attributes); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 789, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF_SET(__pyx_v_result, __pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":789 + /* "pyrfc/_cyrfc.pyx":790 * * result = wrapConnectionAttributes(attributes) * result.update({ # <<<<<<<<<<<<<< * 'active_unit': self.active_unit or self.active_transaction * }) */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_result, __pyx_n_s_update); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 789, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_result, __pyx_n_s_update); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 790, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - /* "pyrfc/_cyrfc.pyx":790 + /* "pyrfc/_cyrfc.pyx":791 * result = wrapConnectionAttributes(attributes) * result.update({ * 'active_unit': self.active_unit or self.active_transaction # <<<<<<<<<<<<<< * }) * return result */ - __pyx_t_3 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 790, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 791, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (!__pyx_v_self->active_unit) { } else { - __pyx_t_6 = __Pyx_PyBool_FromLong(__pyx_v_self->active_unit); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 790, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyBool_FromLong(__pyx_v_self->active_unit); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 791, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = __pyx_t_6; __pyx_t_6 = 0; goto __pyx_L5_bool_binop_done; } - __pyx_t_6 = __Pyx_PyBool_FromLong(__pyx_v_self->active_transaction); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 790, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyBool_FromLong(__pyx_v_self->active_transaction); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 791, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = __pyx_t_6; __pyx_t_6 = 0; __pyx_L5_bool_binop_done:; - if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_active_unit, __pyx_t_5) < 0) __PYX_ERR(0, 790, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_active_unit, __pyx_t_5) < 0) __PYX_ERR(0, 791, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_5 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -9659,12 +9659,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_26get_connection_attribute __pyx_t_1 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_2, __pyx_t_5, __pyx_t_3) : __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 789, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 790, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":783 + /* "pyrfc/_cyrfc.pyx":784 * result = {} * * if self.is_valid(): # <<<<<<<<<<<<<< @@ -9673,7 +9673,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_26get_connection_attribute */ } - /* "pyrfc/_cyrfc.pyx":792 + /* "pyrfc/_cyrfc.pyx":793 * 'active_unit': self.active_unit or self.active_transaction * }) * return result # <<<<<<<<<<<<<< @@ -9685,7 +9685,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_26get_connection_attribute __pyx_r = __pyx_v_result; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":743 + /* "pyrfc/_cyrfc.pyx":744 * self._error(&errorInfo) * * def get_connection_attributes(self): # <<<<<<<<<<<<<< @@ -9709,7 +9709,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_26get_connection_attribute return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":794 +/* "pyrfc/_cyrfc.pyx":795 * return result * * def is_valid(self): # <<<<<<<<<<<<<< @@ -9741,7 +9741,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_28is_valid(struct __pyx_ob int __pyx_t_2; __Pyx_RefNannySetupContext("is_valid", 0); - /* "pyrfc/_cyrfc.pyx":810 + /* "pyrfc/_cyrfc.pyx":811 * cdef RFC_INT isValid * * rc = RfcIsConnectionHandleValid(self._handle, &isValid, &errorInfo) # <<<<<<<<<<<<<< @@ -9750,7 +9750,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_28is_valid(struct __pyx_ob */ __pyx_v_rc = RfcIsConnectionHandleValid(__pyx_v_self->_handle, (&__pyx_v_isValid), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":812 + /* "pyrfc/_cyrfc.pyx":813 * rc = RfcIsConnectionHandleValid(self._handle, &isValid, &errorInfo) * * if rc != RFC_OK or errorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -9768,7 +9768,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_28is_valid(struct __pyx_ob __pyx_L4_bool_binop_done:; if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":813 + /* "pyrfc/_cyrfc.pyx":814 * * if rc != RFC_OK or errorInfo.code != RFC_OK: * return False # <<<<<<<<<<<<<< @@ -9780,7 +9780,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_28is_valid(struct __pyx_ob __pyx_r = Py_False; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":812 + /* "pyrfc/_cyrfc.pyx":813 * rc = RfcIsConnectionHandleValid(self._handle, &isValid, &errorInfo) * * if rc != RFC_OK or errorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -9789,7 +9789,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_28is_valid(struct __pyx_ob */ } - /* "pyrfc/_cyrfc.pyx":814 + /* "pyrfc/_cyrfc.pyx":815 * if rc != RFC_OK or errorInfo.code != RFC_OK: * return False * return True # <<<<<<<<<<<<<< @@ -9801,7 +9801,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_28is_valid(struct __pyx_ob __pyx_r = Py_True; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":794 + /* "pyrfc/_cyrfc.pyx":795 * return result * * def is_valid(self): # <<<<<<<<<<<<<< @@ -9816,7 +9816,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_28is_valid(struct __pyx_ob return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":823 +/* "pyrfc/_cyrfc.pyx":824 * # print("c:handle", "ok" if c_handle - self._handle == 0 else "error") * * def get_function_description(self, func_name): # <<<<<<<<<<<<<< @@ -9854,14 +9854,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_30get_function_description int __pyx_clineno = 0; __Pyx_RefNannySetupContext("get_function_description", 0); - /* "pyrfc/_cyrfc.pyx":833 + /* "pyrfc/_cyrfc.pyx":834 * """ * cdef RFC_ERROR_INFO errorInfo * funcName = fillString(func_name.upper()) # <<<<<<<<<<<<<< * cdef RFC_FUNCTION_DESC_HANDLE funcDesc = RfcGetFunctionDesc(self._handle, funcName, &errorInfo) * free(funcName) */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_func_name, __pyx_n_s_upper); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 833, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_func_name, __pyx_n_s_upper); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 834, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -9875,14 +9875,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_30get_function_description } __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 833, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 834, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_1); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 833, __pyx_L1_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_1); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 834, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_funcName = __pyx_t_4; - /* "pyrfc/_cyrfc.pyx":834 + /* "pyrfc/_cyrfc.pyx":835 * cdef RFC_ERROR_INFO errorInfo * funcName = fillString(func_name.upper()) * cdef RFC_FUNCTION_DESC_HANDLE funcDesc = RfcGetFunctionDesc(self._handle, funcName, &errorInfo) # <<<<<<<<<<<<<< @@ -9891,7 +9891,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_30get_function_description */ __pyx_v_funcDesc = RfcGetFunctionDesc(__pyx_v_self->_handle, __pyx_v_funcName, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":835 + /* "pyrfc/_cyrfc.pyx":836 * funcName = fillString(func_name.upper()) * cdef RFC_FUNCTION_DESC_HANDLE funcDesc = RfcGetFunctionDesc(self._handle, funcName, &errorInfo) * free(funcName) # <<<<<<<<<<<<<< @@ -9900,7 +9900,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_30get_function_description */ free(__pyx_v_funcName); - /* "pyrfc/_cyrfc.pyx":836 + /* "pyrfc/_cyrfc.pyx":837 * cdef RFC_FUNCTION_DESC_HANDLE funcDesc = RfcGetFunctionDesc(self._handle, funcName, &errorInfo) * free(funcName) * if not funcDesc: # <<<<<<<<<<<<<< @@ -9910,18 +9910,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_30get_function_description __pyx_t_5 = ((!(__pyx_v_funcDesc != 0)) != 0); if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":837 + /* "pyrfc/_cyrfc.pyx":838 * free(funcName) * if not funcDesc: * self._error(&errorInfo) # <<<<<<<<<<<<<< * return wrapFunctionDescription(funcDesc) * */ - __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 837, __pyx_L1_error) + __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 838, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":836 + /* "pyrfc/_cyrfc.pyx":837 * cdef RFC_FUNCTION_DESC_HANDLE funcDesc = RfcGetFunctionDesc(self._handle, funcName, &errorInfo) * free(funcName) * if not funcDesc: # <<<<<<<<<<<<<< @@ -9930,7 +9930,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_30get_function_description */ } - /* "pyrfc/_cyrfc.pyx":838 + /* "pyrfc/_cyrfc.pyx":839 * if not funcDesc: * self._error(&errorInfo) * return wrapFunctionDescription(funcDesc) # <<<<<<<<<<<<<< @@ -9938,13 +9938,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_30get_function_description * def call(self, func_name, options=None, **params): */ __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapFunctionDescription(__pyx_v_funcDesc); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 838, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapFunctionDescription(__pyx_v_funcDesc); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 839, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":823 + /* "pyrfc/_cyrfc.pyx":824 * # print("c:handle", "ok" if c_handle - self._handle == 0 else "error") * * def get_function_description(self, func_name): # <<<<<<<<<<<<<< @@ -9965,7 +9965,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_30get_function_description return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":840 +/* "pyrfc/_cyrfc.pyx":841 * return wrapFunctionDescription(funcDesc) * * def call(self, func_name, options=None, **params): # <<<<<<<<<<<<<< @@ -10016,7 +10016,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Connection_33call(PyObject *__pyx_v_s } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_params, values, pos_args, "call") < 0)) __PYX_ERR(0, 840, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_params, values, pos_args, "call") < 0)) __PYX_ERR(0, 841, __pyx_L3_error) } } else { switch (PyTuple_GET_SIZE(__pyx_args)) { @@ -10032,7 +10032,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Connection_33call(PyObject *__pyx_v_s } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("call", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 840, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("call", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 841, __pyx_L3_error) __pyx_L3_error:; __Pyx_DECREF(__pyx_v_params); __pyx_v_params = 0; __Pyx_AddTraceback("pyrfc._cyrfc.Connection.call", __pyx_clineno, __pyx_lineno, __pyx_filename); @@ -10093,7 +10093,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __Pyx_RefNannySetupContext("call", 0); __Pyx_INCREF(__pyx_v_options); - /* "pyrfc/_cyrfc.pyx":878 + /* "pyrfc/_cyrfc.pyx":879 * cdef RFC_ERROR_INFO openErrorInfo * cdef SAP_UC *cName * if type(func_name) is not str: # <<<<<<<<<<<<<< @@ -10104,14 +10104,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __pyx_t_2 = (__pyx_t_1 != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":879 + /* "pyrfc/_cyrfc.pyx":880 * cdef SAP_UC *cName * if type(func_name) is not str: * raise RFCError("Remote function module name must be unicode string, received:", func_name, type(func_name)) # <<<<<<<<<<<<<< * cdef SAP_UC *funcName = fillString(func_name) * if self._handle == NULL: */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 879, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 880, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; __pyx_t_6 = 0; @@ -10128,7 +10128,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_4)) { PyObject *__pyx_temp[4] = {__pyx_t_5, __pyx_kp_u_Remote_function_module_name_must, __pyx_v_func_name, ((PyObject *)Py_TYPE(__pyx_v_func_name))}; - __pyx_t_3 = __Pyx_PyFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 3+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 879, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 3+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 880, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_GOTREF(__pyx_t_3); } else @@ -10136,13 +10136,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_4)) { PyObject *__pyx_temp[4] = {__pyx_t_5, __pyx_kp_u_Remote_function_module_name_must, __pyx_v_func_name, ((PyObject *)Py_TYPE(__pyx_v_func_name))}; - __pyx_t_3 = __Pyx_PyCFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 3+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 879, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyCFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 3+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 880, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_GOTREF(__pyx_t_3); } else #endif { - __pyx_t_7 = PyTuple_New(3+__pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 879, __pyx_L1_error) + __pyx_t_7 = PyTuple_New(3+__pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 880, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); if (__pyx_t_5) { __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_5); __pyx_t_5 = NULL; @@ -10156,16 +10156,16 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_func_name))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(__pyx_v_func_name))); PyTuple_SET_ITEM(__pyx_t_7, 2+__pyx_t_6, ((PyObject *)Py_TYPE(__pyx_v_func_name))); - __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_7, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 879, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_7, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 880, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 879, __pyx_L1_error) + __PYX_ERR(0, 880, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":878 + /* "pyrfc/_cyrfc.pyx":879 * cdef RFC_ERROR_INFO openErrorInfo * cdef SAP_UC *cName * if type(func_name) is not str: # <<<<<<<<<<<<<< @@ -10174,17 +10174,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ } - /* "pyrfc/_cyrfc.pyx":880 + /* "pyrfc/_cyrfc.pyx":881 * if type(func_name) is not str: * raise RFCError("Remote function module name must be unicode string, received:", func_name, type(func_name)) * cdef SAP_UC *funcName = fillString(func_name) # <<<<<<<<<<<<<< * if self._handle == NULL: * raise RFCError(f"Remote function module '{func_name}' invocation rejected because the connection is closed") */ - __pyx_t_8 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_func_name); if (unlikely(__pyx_t_8 == ((SAP_UC *)NULL))) __PYX_ERR(0, 880, __pyx_L1_error) + __pyx_t_8 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_func_name); if (unlikely(__pyx_t_8 == ((SAP_UC *)NULL))) __PYX_ERR(0, 881, __pyx_L1_error) __pyx_v_funcName = __pyx_t_8; - /* "pyrfc/_cyrfc.pyx":881 + /* "pyrfc/_cyrfc.pyx":882 * raise RFCError("Remote function module name must be unicode string, received:", func_name, type(func_name)) * cdef SAP_UC *funcName = fillString(func_name) * if self._handle == NULL: # <<<<<<<<<<<<<< @@ -10194,16 +10194,16 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __pyx_t_2 = ((__pyx_v_self->_handle == NULL) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":882 + /* "pyrfc/_cyrfc.pyx":883 * cdef SAP_UC *funcName = fillString(func_name) * if self._handle == NULL: * raise RFCError(f"Remote function module '{func_name}' invocation rejected because the connection is closed") # <<<<<<<<<<<<<< * cdef RFC_FUNCTION_DESC_HANDLE funcDesc = RfcGetFunctionDesc(self._handle, funcName, &errorInfo) * free(funcName) */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 882, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 883, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_7 = PyTuple_New(3); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 882, __pyx_L1_error) + __pyx_t_7 = PyTuple_New(3); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 883, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_9 = 0; __pyx_t_10 = 127; @@ -10211,7 +10211,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __pyx_t_9 += 24; __Pyx_GIVEREF(__pyx_kp_u_Remote_function_module); PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_kp_u_Remote_function_module); - __pyx_t_5 = __Pyx_PyObject_FormatSimple(__pyx_v_func_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 882, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_FormatSimple(__pyx_v_func_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 883, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_10 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_5) > __pyx_t_10) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_5) : __pyx_t_10; __pyx_t_9 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_5); @@ -10222,7 +10222,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __pyx_t_9 += 54; __Pyx_GIVEREF(__pyx_kp_u_invocation_rejected_because_the); PyTuple_SET_ITEM(__pyx_t_7, 2, __pyx_kp_u_invocation_rejected_because_the); - __pyx_t_5 = __Pyx_PyUnicode_Join(__pyx_t_7, 3, __pyx_t_9, __pyx_t_10); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 882, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyUnicode_Join(__pyx_t_7, 3, __pyx_t_9, __pyx_t_10); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 883, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_7 = NULL; @@ -10238,14 +10238,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __pyx_t_3 = (__pyx_t_7) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_7, __pyx_t_5) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_5); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 882, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 883, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 882, __pyx_L1_error) + __PYX_ERR(0, 883, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":881 + /* "pyrfc/_cyrfc.pyx":882 * raise RFCError("Remote function module name must be unicode string, received:", func_name, type(func_name)) * cdef SAP_UC *funcName = fillString(func_name) * if self._handle == NULL: # <<<<<<<<<<<<<< @@ -10254,7 +10254,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ } - /* "pyrfc/_cyrfc.pyx":883 + /* "pyrfc/_cyrfc.pyx":884 * if self._handle == NULL: * raise RFCError(f"Remote function module '{func_name}' invocation rejected because the connection is closed") * cdef RFC_FUNCTION_DESC_HANDLE funcDesc = RfcGetFunctionDesc(self._handle, funcName, &errorInfo) # <<<<<<<<<<<<<< @@ -10263,7 +10263,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ __pyx_v_funcDesc = RfcGetFunctionDesc(__pyx_v_self->_handle, __pyx_v_funcName, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":884 + /* "pyrfc/_cyrfc.pyx":885 * raise RFCError(f"Remote function module '{func_name}' invocation rejected because the connection is closed") * cdef RFC_FUNCTION_DESC_HANDLE funcDesc = RfcGetFunctionDesc(self._handle, funcName, &errorInfo) * free(funcName) # <<<<<<<<<<<<<< @@ -10272,7 +10272,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ free(__pyx_v_funcName); - /* "pyrfc/_cyrfc.pyx":885 + /* "pyrfc/_cyrfc.pyx":886 * cdef RFC_FUNCTION_DESC_HANDLE funcDesc = RfcGetFunctionDesc(self._handle, funcName, &errorInfo) * free(funcName) * if not funcDesc: # <<<<<<<<<<<<<< @@ -10282,18 +10282,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __pyx_t_2 = ((!(__pyx_v_funcDesc != 0)) != 0); if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":886 + /* "pyrfc/_cyrfc.pyx":887 * free(funcName) * if not funcDesc: * self._error(&errorInfo) # <<<<<<<<<<<<<< * cdef RFC_FUNCTION_HANDLE funcCont = RfcCreateFunction(funcDesc, &errorInfo) * if not funcCont: */ - __pyx_t_3 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 886, __pyx_L1_error) + __pyx_t_3 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 887, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":885 + /* "pyrfc/_cyrfc.pyx":886 * cdef RFC_FUNCTION_DESC_HANDLE funcDesc = RfcGetFunctionDesc(self._handle, funcName, &errorInfo) * free(funcName) * if not funcDesc: # <<<<<<<<<<<<<< @@ -10302,7 +10302,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ } - /* "pyrfc/_cyrfc.pyx":887 + /* "pyrfc/_cyrfc.pyx":888 * if not funcDesc: * self._error(&errorInfo) * cdef RFC_FUNCTION_HANDLE funcCont = RfcCreateFunction(funcDesc, &errorInfo) # <<<<<<<<<<<<<< @@ -10311,7 +10311,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ __pyx_v_funcCont = RfcCreateFunction(__pyx_v_funcDesc, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":888 + /* "pyrfc/_cyrfc.pyx":889 * self._error(&errorInfo) * cdef RFC_FUNCTION_HANDLE funcCont = RfcCreateFunction(funcDesc, &errorInfo) * if not funcCont: # <<<<<<<<<<<<<< @@ -10321,18 +10321,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __pyx_t_2 = ((!(__pyx_v_funcCont != 0)) != 0); if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":889 + /* "pyrfc/_cyrfc.pyx":890 * cdef RFC_FUNCTION_HANDLE funcCont = RfcCreateFunction(funcDesc, &errorInfo) * if not funcCont: * self._error(&errorInfo) # <<<<<<<<<<<<<< * cdef int isActive = 0 * options = options or {} */ - __pyx_t_3 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 889, __pyx_L1_error) + __pyx_t_3 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 890, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":888 + /* "pyrfc/_cyrfc.pyx":889 * self._error(&errorInfo) * cdef RFC_FUNCTION_HANDLE funcCont = RfcCreateFunction(funcDesc, &errorInfo) * if not funcCont: # <<<<<<<<<<<<<< @@ -10341,7 +10341,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ } - /* "pyrfc/_cyrfc.pyx":890 + /* "pyrfc/_cyrfc.pyx":891 * if not funcCont: * self._error(&errorInfo) * cdef int isActive = 0 # <<<<<<<<<<<<<< @@ -10350,21 +10350,21 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ __pyx_v_isActive = 0; - /* "pyrfc/_cyrfc.pyx":891 + /* "pyrfc/_cyrfc.pyx":892 * self._error(&errorInfo) * cdef int isActive = 0 * options = options or {} # <<<<<<<<<<<<<< * try: # now we have a function module * if 'not_requested' in options: */ - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_options); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 891, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_options); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 892, __pyx_L1_error) if (!__pyx_t_2) { } else { __Pyx_INCREF(__pyx_v_options); __pyx_t_3 = __pyx_v_options; goto __pyx_L7_bool_binop_done; } - __pyx_t_4 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 891, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 892, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(__pyx_t_4); __pyx_t_3 = __pyx_t_4; @@ -10373,7 +10373,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __Pyx_DECREF_SET(__pyx_v_options, __pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":892 + /* "pyrfc/_cyrfc.pyx":893 * cdef int isActive = 0 * options = options or {} * try: # now we have a function module # <<<<<<<<<<<<<< @@ -10382,30 +10382,30 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ /*try:*/ { - /* "pyrfc/_cyrfc.pyx":893 + /* "pyrfc/_cyrfc.pyx":894 * options = options or {} * try: # now we have a function module * if 'not_requested' in options: # <<<<<<<<<<<<<< * skip_parameters = options['not_requested'] * if type(skip_parameters) is not list: */ - __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_not_requested, __pyx_v_options, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 893, __pyx_L10_error) + __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_not_requested, __pyx_v_options, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 894, __pyx_L10_error) __pyx_t_1 = (__pyx_t_2 != 0); if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":894 + /* "pyrfc/_cyrfc.pyx":895 * try: # now we have a function module * if 'not_requested' in options: * skip_parameters = options['not_requested'] # <<<<<<<<<<<<<< * if type(skip_parameters) is not list: * skip_parameters = [skip_parameters] */ - __pyx_t_3 = __Pyx_PyObject_Dict_GetItem(__pyx_v_options, __pyx_n_u_not_requested); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 894, __pyx_L10_error) + __pyx_t_3 = __Pyx_PyObject_Dict_GetItem(__pyx_v_options, __pyx_n_u_not_requested); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 895, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_3); __pyx_v_skip_parameters = __pyx_t_3; __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":895 + /* "pyrfc/_cyrfc.pyx":896 * if 'not_requested' in options: * skip_parameters = options['not_requested'] * if type(skip_parameters) is not list: # <<<<<<<<<<<<<< @@ -10416,14 +10416,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __pyx_t_2 = (__pyx_t_1 != 0); if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":896 + /* "pyrfc/_cyrfc.pyx":897 * skip_parameters = options['not_requested'] * if type(skip_parameters) is not list: * skip_parameters = [skip_parameters] # <<<<<<<<<<<<<< * for name in skip_parameters: * cName = fillString(name) */ - __pyx_t_3 = PyList_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 896, __pyx_L10_error) + __pyx_t_3 = PyList_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 897, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(__pyx_v_skip_parameters); __Pyx_GIVEREF(__pyx_v_skip_parameters); @@ -10431,7 +10431,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __Pyx_DECREF_SET(__pyx_v_skip_parameters, __pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":895 + /* "pyrfc/_cyrfc.pyx":896 * if 'not_requested' in options: * skip_parameters = options['not_requested'] * if type(skip_parameters) is not list: # <<<<<<<<<<<<<< @@ -10440,7 +10440,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ } - /* "pyrfc/_cyrfc.pyx":897 + /* "pyrfc/_cyrfc.pyx":898 * if type(skip_parameters) is not list: * skip_parameters = [skip_parameters] * for name in skip_parameters: # <<<<<<<<<<<<<< @@ -10451,26 +10451,26 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __pyx_t_3 = __pyx_v_skip_parameters; __Pyx_INCREF(__pyx_t_3); __pyx_t_9 = 0; __pyx_t_11 = NULL; } else { - __pyx_t_9 = -1; __pyx_t_3 = PyObject_GetIter(__pyx_v_skip_parameters); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 897, __pyx_L10_error) + __pyx_t_9 = -1; __pyx_t_3 = PyObject_GetIter(__pyx_v_skip_parameters); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 898, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_11 = Py_TYPE(__pyx_t_3)->tp_iternext; if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 897, __pyx_L10_error) + __pyx_t_11 = Py_TYPE(__pyx_t_3)->tp_iternext; if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 898, __pyx_L10_error) } for (;;) { if (likely(!__pyx_t_11)) { if (likely(PyList_CheckExact(__pyx_t_3))) { if (__pyx_t_9 >= PyList_GET_SIZE(__pyx_t_3)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_4 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_9); __Pyx_INCREF(__pyx_t_4); __pyx_t_9++; if (unlikely(0 < 0)) __PYX_ERR(0, 897, __pyx_L10_error) + __pyx_t_4 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_9); __Pyx_INCREF(__pyx_t_4); __pyx_t_9++; if (unlikely(0 < 0)) __PYX_ERR(0, 898, __pyx_L10_error) #else - __pyx_t_4 = PySequence_ITEM(__pyx_t_3, __pyx_t_9); __pyx_t_9++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 897, __pyx_L10_error) + __pyx_t_4 = PySequence_ITEM(__pyx_t_3, __pyx_t_9); __pyx_t_9++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 898, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_4); #endif } else { if (__pyx_t_9 >= PyTuple_GET_SIZE(__pyx_t_3)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_4 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_9); __Pyx_INCREF(__pyx_t_4); __pyx_t_9++; if (unlikely(0 < 0)) __PYX_ERR(0, 897, __pyx_L10_error) + __pyx_t_4 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_9); __Pyx_INCREF(__pyx_t_4); __pyx_t_9++; if (unlikely(0 < 0)) __PYX_ERR(0, 898, __pyx_L10_error) #else - __pyx_t_4 = PySequence_ITEM(__pyx_t_3, __pyx_t_9); __pyx_t_9++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 897, __pyx_L10_error) + __pyx_t_4 = PySequence_ITEM(__pyx_t_3, __pyx_t_9); __pyx_t_9++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 898, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_4); #endif } @@ -10480,7 +10480,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 897, __pyx_L10_error) + else __PYX_ERR(0, 898, __pyx_L10_error) } break; } @@ -10489,17 +10489,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":898 + /* "pyrfc/_cyrfc.pyx":899 * skip_parameters = [skip_parameters] * for name in skip_parameters: * cName = fillString(name) # <<<<<<<<<<<<<< * rc = RfcSetParameterActive(funcCont, cName, isActive, &errorInfo) * free(cName) */ - __pyx_t_8 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_name); if (unlikely(__pyx_t_8 == ((SAP_UC *)NULL))) __PYX_ERR(0, 898, __pyx_L10_error) + __pyx_t_8 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_name); if (unlikely(__pyx_t_8 == ((SAP_UC *)NULL))) __PYX_ERR(0, 899, __pyx_L10_error) __pyx_v_cName = __pyx_t_8; - /* "pyrfc/_cyrfc.pyx":899 + /* "pyrfc/_cyrfc.pyx":900 * for name in skip_parameters: * cName = fillString(name) * rc = RfcSetParameterActive(funcCont, cName, isActive, &errorInfo) # <<<<<<<<<<<<<< @@ -10508,7 +10508,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ __pyx_v_rc = RfcSetParameterActive(__pyx_v_funcCont, __pyx_v_cName, __pyx_v_isActive, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":900 + /* "pyrfc/_cyrfc.pyx":901 * cName = fillString(name) * rc = RfcSetParameterActive(funcCont, cName, isActive, &errorInfo) * free(cName) # <<<<<<<<<<<<<< @@ -10517,7 +10517,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ free(__pyx_v_cName); - /* "pyrfc/_cyrfc.pyx":901 + /* "pyrfc/_cyrfc.pyx":902 * rc = RfcSetParameterActive(funcCont, cName, isActive, &errorInfo) * free(cName) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -10527,18 +10527,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __pyx_t_2 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":902 + /* "pyrfc/_cyrfc.pyx":903 * free(cName) * if rc != RFC_OK: * self._error(&errorInfo) # <<<<<<<<<<<<<< * # set connection timeout, starts before writing input parameters to container * cancel_timer = None */ - __pyx_t_4 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 902, __pyx_L10_error) + __pyx_t_4 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 903, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":901 + /* "pyrfc/_cyrfc.pyx":902 * rc = RfcSetParameterActive(funcCont, cName, isActive, &errorInfo) * free(cName) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -10547,7 +10547,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ } - /* "pyrfc/_cyrfc.pyx":897 + /* "pyrfc/_cyrfc.pyx":898 * if type(skip_parameters) is not list: * skip_parameters = [skip_parameters] * for name in skip_parameters: # <<<<<<<<<<<<<< @@ -10557,7 +10557,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":893 + /* "pyrfc/_cyrfc.pyx":894 * options = options or {} * try: # now we have a function module * if 'not_requested' in options: # <<<<<<<<<<<<<< @@ -10566,7 +10566,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ } - /* "pyrfc/_cyrfc.pyx":904 + /* "pyrfc/_cyrfc.pyx":905 * self._error(&errorInfo) * # set connection timeout, starts before writing input parameters to container * cancel_timer = None # <<<<<<<<<<<<<< @@ -10576,20 +10576,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __Pyx_INCREF(Py_None); __pyx_v_cancel_timer = Py_None; - /* "pyrfc/_cyrfc.pyx":905 + /* "pyrfc/_cyrfc.pyx":906 * # set connection timeout, starts before writing input parameters to container * cancel_timer = None * timeout = options.get('timeout', self.__config['timeout']) # <<<<<<<<<<<<<< * if timeout is not None: * cancel_timer = Timer(timeout, cancel_connection, (self,)) */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_options, __pyx_n_s_get); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 905, __pyx_L10_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_options, __pyx_n_s_get); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 906, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_4); if (unlikely(__pyx_v_self->__config == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); - __PYX_ERR(0, 905, __pyx_L10_error) + __PYX_ERR(0, 906, __pyx_L10_error) } - __pyx_t_5 = __Pyx_PyDict_GetItem(__pyx_v_self->__config, __pyx_n_u_timeout); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 905, __pyx_L10_error) + __pyx_t_5 = __Pyx_PyDict_GetItem(__pyx_v_self->__config, __pyx_n_u_timeout); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 906, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_7 = NULL; __pyx_t_6 = 0; @@ -10606,7 +10606,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_4)) { PyObject *__pyx_temp[3] = {__pyx_t_7, __pyx_n_u_timeout, __pyx_t_5}; - __pyx_t_3 = __Pyx_PyFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 905, __pyx_L10_error) + __pyx_t_3 = __Pyx_PyFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 906, __pyx_L10_error) __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; @@ -10615,14 +10615,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_4)) { PyObject *__pyx_temp[3] = {__pyx_t_7, __pyx_n_u_timeout, __pyx_t_5}; - __pyx_t_3 = __Pyx_PyCFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 905, __pyx_L10_error) + __pyx_t_3 = __Pyx_PyCFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 906, __pyx_L10_error) __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; } else #endif { - __pyx_t_12 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 905, __pyx_L10_error) + __pyx_t_12 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 906, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_12); if (__pyx_t_7) { __Pyx_GIVEREF(__pyx_t_7); PyTuple_SET_ITEM(__pyx_t_12, 0, __pyx_t_7); __pyx_t_7 = NULL; @@ -10633,7 +10633,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_12, 1+__pyx_t_6, __pyx_t_5); __pyx_t_5 = 0; - __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_12, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 905, __pyx_L10_error) + __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_12, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 906, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; } @@ -10641,7 +10641,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __pyx_v_timeout = __pyx_t_3; __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":906 + /* "pyrfc/_cyrfc.pyx":907 * cancel_timer = None * timeout = options.get('timeout', self.__config['timeout']) * if timeout is not None: # <<<<<<<<<<<<<< @@ -10652,18 +10652,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __pyx_t_1 = (__pyx_t_2 != 0); if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":907 + /* "pyrfc/_cyrfc.pyx":908 * timeout = options.get('timeout', self.__config['timeout']) * if timeout is not None: * cancel_timer = Timer(timeout, cancel_connection, (self,)) # <<<<<<<<<<<<<< * cancel_timer.start() * for name, value in params.iteritems(): */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Timer); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 907, __pyx_L10_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Timer); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 908, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_n_s_cancel_connection); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 907, __pyx_L10_error) + __Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_n_s_cancel_connection); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 908, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_12); - __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 907, __pyx_L10_error) + __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 908, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __Pyx_GIVEREF(((PyObject *)__pyx_v_self)); @@ -10683,7 +10683,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_4)) { PyObject *__pyx_temp[4] = {__pyx_t_7, __pyx_v_timeout, __pyx_t_12, __pyx_t_5}; - __pyx_t_3 = __Pyx_PyFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 3+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 907, __pyx_L10_error) + __pyx_t_3 = __Pyx_PyFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 3+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 908, __pyx_L10_error) __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; @@ -10693,7 +10693,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_4)) { PyObject *__pyx_temp[4] = {__pyx_t_7, __pyx_v_timeout, __pyx_t_12, __pyx_t_5}; - __pyx_t_3 = __Pyx_PyCFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 3+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 907, __pyx_L10_error) + __pyx_t_3 = __Pyx_PyCFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 3+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 908, __pyx_L10_error) __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; @@ -10701,7 +10701,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p } else #endif { - __pyx_t_13 = PyTuple_New(3+__pyx_t_6); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 907, __pyx_L10_error) + __pyx_t_13 = PyTuple_New(3+__pyx_t_6); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 908, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_13); if (__pyx_t_7) { __Pyx_GIVEREF(__pyx_t_7); PyTuple_SET_ITEM(__pyx_t_13, 0, __pyx_t_7); __pyx_t_7 = NULL; @@ -10715,7 +10715,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p PyTuple_SET_ITEM(__pyx_t_13, 2+__pyx_t_6, __pyx_t_5); __pyx_t_12 = 0; __pyx_t_5 = 0; - __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_13, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 907, __pyx_L10_error) + __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_13, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 908, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; } @@ -10723,14 +10723,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __Pyx_DECREF_SET(__pyx_v_cancel_timer, __pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":908 + /* "pyrfc/_cyrfc.pyx":909 * if timeout is not None: * cancel_timer = Timer(timeout, cancel_connection, (self,)) * cancel_timer.start() # <<<<<<<<<<<<<< * for name, value in params.iteritems(): * fillFunctionParameter(funcDesc, funcCont, name, value) */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_cancel_timer, __pyx_n_s_start); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 908, __pyx_L10_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_cancel_timer, __pyx_n_s_start); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 909, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_13 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) { @@ -10744,12 +10744,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p } __pyx_t_3 = (__pyx_t_13) ? __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_13) : __Pyx_PyObject_CallNoArg(__pyx_t_4); __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 908, __pyx_L10_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 909, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":906 + /* "pyrfc/_cyrfc.pyx":907 * cancel_timer = None * timeout = options.get('timeout', self.__config['timeout']) * if timeout is not None: # <<<<<<<<<<<<<< @@ -10758,7 +10758,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ } - /* "pyrfc/_cyrfc.pyx":909 + /* "pyrfc/_cyrfc.pyx":910 * cancel_timer = Timer(timeout, cancel_connection, (self,)) * cancel_timer.start() * for name, value in params.iteritems(): # <<<<<<<<<<<<<< @@ -10766,7 +10766,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p * # save old handle for troubleshooting */ __pyx_t_9 = 0; - __pyx_t_4 = __Pyx_dict_iterator(__pyx_v_params, 1, __pyx_n_s_iteritems, (&__pyx_t_14), (&__pyx_t_6)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 909, __pyx_L10_error) + __pyx_t_4 = __Pyx_dict_iterator(__pyx_v_params, 1, __pyx_n_s_iteritems, (&__pyx_t_14), (&__pyx_t_6)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 910, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = __pyx_t_4; @@ -10774,7 +10774,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p while (1) { __pyx_t_15 = __Pyx_dict_iter_next(__pyx_t_3, __pyx_t_14, &__pyx_t_9, &__pyx_t_4, &__pyx_t_13, NULL, __pyx_t_6); if (unlikely(__pyx_t_15 == 0)) break; - if (unlikely(__pyx_t_15 == -1)) __PYX_ERR(0, 909, __pyx_L10_error) + if (unlikely(__pyx_t_15 == -1)) __PYX_ERR(0, 910, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_GOTREF(__pyx_t_13); __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_4); @@ -10782,20 +10782,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __Pyx_XDECREF_SET(__pyx_v_value, __pyx_t_13); __pyx_t_13 = 0; - /* "pyrfc/_cyrfc.pyx":910 + /* "pyrfc/_cyrfc.pyx":911 * cancel_timer.start() * for name, value in params.iteritems(): * fillFunctionParameter(funcDesc, funcCont, name, value) # <<<<<<<<<<<<<< * # save old handle for troubleshooting * with nogil: */ - __pyx_t_13 = __pyx_f_5pyrfc_6_cyrfc_fillFunctionParameter(__pyx_v_funcDesc, __pyx_v_funcCont, __pyx_v_name, __pyx_v_value); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 910, __pyx_L10_error) + __pyx_t_13 = __pyx_f_5pyrfc_6_cyrfc_fillFunctionParameter(__pyx_v_funcDesc, __pyx_v_funcCont, __pyx_v_name, __pyx_v_value); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 911, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_13); __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":912 + /* "pyrfc/_cyrfc.pyx":913 * fillFunctionParameter(funcDesc, funcCont, name, value) * # save old handle for troubleshooting * with nogil: # <<<<<<<<<<<<<< @@ -10810,7 +10810,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p #endif /*try:*/ { - /* "pyrfc/_cyrfc.pyx":913 + /* "pyrfc/_cyrfc.pyx":914 * # save old handle for troubleshooting * with nogil: * rc = RfcInvoke(self._handle, funcCont, &errorInfo) # <<<<<<<<<<<<<< @@ -10820,7 +10820,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __pyx_v_rc = RfcInvoke(__pyx_v_self->_handle, __pyx_v_funcCont, (&__pyx_v_errorInfo)); } - /* "pyrfc/_cyrfc.pyx":912 + /* "pyrfc/_cyrfc.pyx":913 * fillFunctionParameter(funcDesc, funcCont, name, value) * # save old handle for troubleshooting * with nogil: # <<<<<<<<<<<<<< @@ -10839,7 +10839,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p } } - /* "pyrfc/_cyrfc.pyx":914 + /* "pyrfc/_cyrfc.pyx":915 * with nogil: * rc = RfcInvoke(self._handle, funcCont, &errorInfo) * if cancel_timer is not None: # <<<<<<<<<<<<<< @@ -10850,14 +10850,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __pyx_t_2 = (__pyx_t_1 != 0); if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":915 + /* "pyrfc/_cyrfc.pyx":916 * rc = RfcInvoke(self._handle, funcCont, &errorInfo) * if cancel_timer is not None: * cancel_timer.cancel() # <<<<<<<<<<<<<< * # print("invoke:", errorInfo.group, rc, self.handle, self.is_valid()) * if rc != RFC_OK: */ - __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_v_cancel_timer, __pyx_n_s_cancel); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 915, __pyx_L10_error) + __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_v_cancel_timer, __pyx_n_s_cancel); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 916, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_13); __pyx_t_4 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_13))) { @@ -10871,12 +10871,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p } __pyx_t_3 = (__pyx_t_4) ? __Pyx_PyObject_CallOneArg(__pyx_t_13, __pyx_t_4) : __Pyx_PyObject_CallNoArg(__pyx_t_13); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 915, __pyx_L10_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 916, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":914 + /* "pyrfc/_cyrfc.pyx":915 * with nogil: * rc = RfcInvoke(self._handle, funcCont, &errorInfo) * if cancel_timer is not None: # <<<<<<<<<<<<<< @@ -10885,7 +10885,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ } - /* "pyrfc/_cyrfc.pyx":917 + /* "pyrfc/_cyrfc.pyx":918 * cancel_timer.cancel() * # print("invoke:", errorInfo.group, rc, self.handle, self.is_valid()) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -10895,7 +10895,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __pyx_t_2 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":918 + /* "pyrfc/_cyrfc.pyx":919 * # print("invoke:", errorInfo.group, rc, self.handle, self.is_valid()) * if rc != RFC_OK: * if errorInfo.code in ( # <<<<<<<<<<<<<< @@ -10905,7 +10905,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p switch (__pyx_v_errorInfo.code) { case RFC_COMMUNICATION_FAILURE: - /* "pyrfc/_cyrfc.pyx":919 + /* "pyrfc/_cyrfc.pyx":920 * if rc != RFC_OK: * if errorInfo.code in ( * RFC_COMMUNICATION_FAILURE, # <<<<<<<<<<<<<< @@ -10914,7 +10914,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ case RFC_ABAP_RUNTIME_FAILURE: - /* "pyrfc/_cyrfc.pyx":920 + /* "pyrfc/_cyrfc.pyx":921 * if errorInfo.code in ( * RFC_COMMUNICATION_FAILURE, * RFC_ABAP_RUNTIME_FAILURE, # <<<<<<<<<<<<<< @@ -10923,7 +10923,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ case RFC_ABAP_MESSAGE: - /* "pyrfc/_cyrfc.pyx":921 + /* "pyrfc/_cyrfc.pyx":922 * RFC_COMMUNICATION_FAILURE, * RFC_ABAP_RUNTIME_FAILURE, * RFC_ABAP_MESSAGE, # <<<<<<<<<<<<<< @@ -10932,7 +10932,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ case RFC_EXTERNAL_FAILURE: - /* "pyrfc/_cyrfc.pyx":918 + /* "pyrfc/_cyrfc.pyx":919 * # print("invoke:", errorInfo.group, rc, self.handle, self.is_valid()) * if rc != RFC_OK: * if errorInfo.code in ( # <<<<<<<<<<<<<< @@ -10952,7 +10952,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p goto __pyx_L26_bool_binop_done; } - /* "pyrfc/_cyrfc.pyx":923 + /* "pyrfc/_cyrfc.pyx":924 * RFC_ABAP_MESSAGE, * RFC_EXTERNAL_FAILURE * ) or errorInfo.group in ( # <<<<<<<<<<<<<< @@ -10962,7 +10962,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p switch (__pyx_v_errorInfo.group) { case ABAP_RUNTIME_FAILURE: - /* "pyrfc/_cyrfc.pyx":924 + /* "pyrfc/_cyrfc.pyx":925 * RFC_EXTERNAL_FAILURE * ) or errorInfo.group in ( * ABAP_RUNTIME_FAILURE, # <<<<<<<<<<<<<< @@ -10971,7 +10971,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ case LOGON_FAILURE: - /* "pyrfc/_cyrfc.pyx":925 + /* "pyrfc/_cyrfc.pyx":926 * ) or errorInfo.group in ( * ABAP_RUNTIME_FAILURE, * LOGON_FAILURE, # <<<<<<<<<<<<<< @@ -10980,7 +10980,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ case COMMUNICATION_FAILURE: - /* "pyrfc/_cyrfc.pyx":926 + /* "pyrfc/_cyrfc.pyx":927 * ABAP_RUNTIME_FAILURE, * LOGON_FAILURE, * COMMUNICATION_FAILURE, # <<<<<<<<<<<<<< @@ -10989,7 +10989,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ case EXTERNAL_RUNTIME_FAILURE: - /* "pyrfc/_cyrfc.pyx":923 + /* "pyrfc/_cyrfc.pyx":924 * RFC_ABAP_MESSAGE, * RFC_EXTERNAL_FAILURE * ) or errorInfo.group in ( # <<<<<<<<<<<<<< @@ -11006,7 +11006,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __pyx_t_2 = __pyx_t_1; __pyx_L26_bool_binop_done:; - /* "pyrfc/_cyrfc.pyx":918 + /* "pyrfc/_cyrfc.pyx":919 * # print("invoke:", errorInfo.group, rc, self.handle, self.is_valid()) * if rc != RFC_OK: * if errorInfo.code in ( # <<<<<<<<<<<<<< @@ -11015,19 +11015,19 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":929 + /* "pyrfc/_cyrfc.pyx":930 * EXTERNAL_RUNTIME_FAILURE): * # Connection closed, re-open * closed_handle = self.handle # <<<<<<<<<<<<<< * self._handle = RfcOpenConnection(self._connection._params, self._connection._params_count, &openErrorInfo) * if openErrorInfo.code != RFC_OK: */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_handle); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 929, __pyx_L10_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_handle); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 930, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_3); __pyx_v_closed_handle = __pyx_t_3; __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":930 + /* "pyrfc/_cyrfc.pyx":931 * # Connection closed, re-open * closed_handle = self.handle * self._handle = RfcOpenConnection(self._connection._params, self._connection._params_count, &openErrorInfo) # <<<<<<<<<<<<<< @@ -11036,7 +11036,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ __pyx_v_self->_handle = RfcOpenConnection(__pyx_v_self->_connection->_params, __pyx_v_self->_connection->_params_count, (&__pyx_v_openErrorInfo)); - /* "pyrfc/_cyrfc.pyx":931 + /* "pyrfc/_cyrfc.pyx":932 * closed_handle = self.handle * self._handle = RfcOpenConnection(self._connection._params, self._connection._params_count, &openErrorInfo) * if openErrorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -11046,7 +11046,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __pyx_t_2 = ((__pyx_v_openErrorInfo.code != RFC_OK) != 0); if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":932 + /* "pyrfc/_cyrfc.pyx":933 * self._handle = RfcOpenConnection(self._connection._params, self._connection._params_count, &openErrorInfo) * if openErrorInfo.code != RFC_OK: * self._handle = NULL # <<<<<<<<<<<<<< @@ -11055,7 +11055,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ __pyx_v_self->_handle = NULL; - /* "pyrfc/_cyrfc.pyx":934 + /* "pyrfc/_cyrfc.pyx":935 * self._handle = NULL * # Communication error returned as error * errorInfo = openErrorInfo # <<<<<<<<<<<<<< @@ -11064,7 +11064,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ __pyx_v_errorInfo = __pyx_v_openErrorInfo; - /* "pyrfc/_cyrfc.pyx":931 + /* "pyrfc/_cyrfc.pyx":932 * closed_handle = self.handle * self._handle = RfcOpenConnection(self._connection._params, self._connection._params_count, &openErrorInfo) * if openErrorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -11074,7 +11074,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p goto __pyx_L28; } - /* "pyrfc/_cyrfc.pyx":935 + /* "pyrfc/_cyrfc.pyx":936 * # Communication error returned as error * errorInfo = openErrorInfo * elif errorInfo.code == RFC_CANCELED: # <<<<<<<<<<<<<< @@ -11084,14 +11084,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __pyx_t_2 = ((__pyx_v_errorInfo.code == RFC_CANCELED) != 0); if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":936 + /* "pyrfc/_cyrfc.pyx":937 * errorInfo = openErrorInfo * elif errorInfo.code == RFC_CANCELED: * errorInfo.message = fillString(f"Connection was canceled: {closed_handle}. New handle: {self.handle}") # <<<<<<<<<<<<<< * self._error(&errorInfo) * if self.__bconfig & _MASK_RETURN_IMPORT_PARAMS: */ - __pyx_t_3 = PyTuple_New(4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 936, __pyx_L10_error) + __pyx_t_3 = PyTuple_New(4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 937, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_14 = 0; __pyx_t_10 = 127; @@ -11099,7 +11099,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __pyx_t_14 += 25; __Pyx_GIVEREF(__pyx_kp_u_Connection_was_canceled); PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_kp_u_Connection_was_canceled); - __pyx_t_13 = __Pyx_PyObject_FormatSimple(__pyx_v_closed_handle, __pyx_empty_unicode); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 936, __pyx_L10_error) + __pyx_t_13 = __Pyx_PyObject_FormatSimple(__pyx_v_closed_handle, __pyx_empty_unicode); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 937, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_13); __pyx_t_10 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_13) > __pyx_t_10) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_13) : __pyx_t_10; __pyx_t_14 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_13); @@ -11110,9 +11110,9 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __pyx_t_14 += 14; __Pyx_GIVEREF(__pyx_kp_u_New_handle); PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_kp_u_New_handle); - __pyx_t_13 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_handle); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 936, __pyx_L10_error) + __pyx_t_13 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_handle); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 937, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_13); - __pyx_t_4 = __Pyx_PyObject_FormatSimple(__pyx_t_13, __pyx_empty_unicode); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 936, __pyx_L10_error) + __pyx_t_4 = __Pyx_PyObject_FormatSimple(__pyx_t_13, __pyx_empty_unicode); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 937, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; __pyx_t_10 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_4) > __pyx_t_10) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_4) : __pyx_t_10; @@ -11120,14 +11120,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_3, 3, __pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyUnicode_Join(__pyx_t_3, 4, __pyx_t_14, __pyx_t_10); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 936, __pyx_L10_error) + __pyx_t_4 = __Pyx_PyUnicode_Join(__pyx_t_3, 4, __pyx_t_14, __pyx_t_10); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 937, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_8 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_4); if (unlikely(__pyx_t_8 == ((SAP_UC *)NULL))) __PYX_ERR(0, 936, __pyx_L10_error) + __pyx_t_8 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_4); if (unlikely(__pyx_t_8 == ((SAP_UC *)NULL))) __PYX_ERR(0, 937, __pyx_L10_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; memcpy(&(__pyx_v_errorInfo.message[0]), __pyx_t_8, sizeof(__pyx_v_errorInfo.message[0]) * (0x200 - 0)); - /* "pyrfc/_cyrfc.pyx":935 + /* "pyrfc/_cyrfc.pyx":936 * # Communication error returned as error * errorInfo = openErrorInfo * elif errorInfo.code == RFC_CANCELED: # <<<<<<<<<<<<<< @@ -11137,7 +11137,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p } __pyx_L28:; - /* "pyrfc/_cyrfc.pyx":918 + /* "pyrfc/_cyrfc.pyx":919 * # print("invoke:", errorInfo.group, rc, self.handle, self.is_valid()) * if rc != RFC_OK: * if errorInfo.code in ( # <<<<<<<<<<<<<< @@ -11146,18 +11146,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ } - /* "pyrfc/_cyrfc.pyx":937 + /* "pyrfc/_cyrfc.pyx":938 * elif errorInfo.code == RFC_CANCELED: * errorInfo.message = fillString(f"Connection was canceled: {closed_handle}. New handle: {self.handle}") * self._error(&errorInfo) # <<<<<<<<<<<<<< * if self.__bconfig & _MASK_RETURN_IMPORT_PARAMS: * return wrapResult(funcDesc, funcCont, 0, self.__bconfig) */ - __pyx_t_4 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 937, __pyx_L10_error) + __pyx_t_4 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 938, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":917 + /* "pyrfc/_cyrfc.pyx":918 * cancel_timer.cancel() * # print("invoke:", errorInfo.group, rc, self.handle, self.is_valid()) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -11166,26 +11166,26 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ } - /* "pyrfc/_cyrfc.pyx":938 + /* "pyrfc/_cyrfc.pyx":939 * errorInfo.message = fillString(f"Connection was canceled: {closed_handle}. New handle: {self.handle}") * self._error(&errorInfo) * if self.__bconfig & _MASK_RETURN_IMPORT_PARAMS: # <<<<<<<<<<<<<< * return wrapResult(funcDesc, funcCont, 0, self.__bconfig) * else: */ - __pyx_t_4 = __Pyx_PyInt_From_unsigned_int(__pyx_v_self->__pyx___bconfig); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 938, __pyx_L10_error) + __pyx_t_4 = __Pyx_PyInt_From_unsigned_int(__pyx_v_self->__pyx___bconfig); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 939, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_MASK_RETURN_IMPORT_PARAMS); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 938, __pyx_L10_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_MASK_RETURN_IMPORT_PARAMS); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 939, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_13 = PyNumber_And(__pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 938, __pyx_L10_error) + __pyx_t_13 = PyNumber_And(__pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 939, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_13); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_13); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 938, __pyx_L10_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_13); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 939, __pyx_L10_error) __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":939 + /* "pyrfc/_cyrfc.pyx":940 * self._error(&errorInfo) * if self.__bconfig & _MASK_RETURN_IMPORT_PARAMS: * return wrapResult(funcDesc, funcCont, 0, self.__bconfig) # <<<<<<<<<<<<<< @@ -11193,16 +11193,16 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p * return wrapResult(funcDesc, funcCont, RFC_IMPORT, self.__bconfig) */ __Pyx_XDECREF(__pyx_r); - __pyx_t_13 = __Pyx_PyInt_From_unsigned_int(__pyx_v_self->__pyx___bconfig); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 939, __pyx_L10_error) + __pyx_t_13 = __Pyx_PyInt_From_unsigned_int(__pyx_v_self->__pyx___bconfig); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 940, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_13); - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapResult(__pyx_v_funcDesc, __pyx_v_funcCont, ((RFC_DIRECTION)0), __pyx_t_13); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 939, __pyx_L10_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapResult(__pyx_v_funcDesc, __pyx_v_funcCont, ((RFC_DIRECTION)0), __pyx_t_13); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 940, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; __pyx_r = __pyx_t_3; __pyx_t_3 = 0; goto __pyx_L9_return; - /* "pyrfc/_cyrfc.pyx":938 + /* "pyrfc/_cyrfc.pyx":939 * errorInfo.message = fillString(f"Connection was canceled: {closed_handle}. New handle: {self.handle}") * self._error(&errorInfo) * if self.__bconfig & _MASK_RETURN_IMPORT_PARAMS: # <<<<<<<<<<<<<< @@ -11211,7 +11211,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ } - /* "pyrfc/_cyrfc.pyx":941 + /* "pyrfc/_cyrfc.pyx":942 * return wrapResult(funcDesc, funcCont, 0, self.__bconfig) * else: * return wrapResult(funcDesc, funcCont, RFC_IMPORT, self.__bconfig) # <<<<<<<<<<<<<< @@ -11220,9 +11220,9 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p */ /*else*/ { __Pyx_XDECREF(__pyx_r); - __pyx_t_3 = __Pyx_PyInt_From_unsigned_int(__pyx_v_self->__pyx___bconfig); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 941, __pyx_L10_error) + __pyx_t_3 = __Pyx_PyInt_From_unsigned_int(__pyx_v_self->__pyx___bconfig); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 942, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_13 = __pyx_f_5pyrfc_6_cyrfc_wrapResult(__pyx_v_funcDesc, __pyx_v_funcCont, RFC_IMPORT, __pyx_t_3); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 941, __pyx_L10_error) + __pyx_t_13 = __pyx_f_5pyrfc_6_cyrfc_wrapResult(__pyx_v_funcDesc, __pyx_v_funcCont, RFC_IMPORT, __pyx_t_3); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 942, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_13); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_r = __pyx_t_13; @@ -11231,7 +11231,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p } } - /* "pyrfc/_cyrfc.pyx":943 + /* "pyrfc/_cyrfc.pyx":944 * return wrapResult(funcDesc, funcCont, RFC_IMPORT, self.__bconfig) * finally: * RfcDestroyFunction(funcCont, NULL) # <<<<<<<<<<<<<< @@ -11286,7 +11286,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p } } - /* "pyrfc/_cyrfc.pyx":840 + /* "pyrfc/_cyrfc.pyx":841 * return wrapFunctionDescription(funcDesc) * * def call(self, func_name, options=None, **params): # <<<<<<<<<<<<<< @@ -11317,7 +11317,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_32call(struct __pyx_obj_5p return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":948 +/* "pyrfc/_cyrfc.pyx":949 * # HELPER METHODS * * def type_desc_get(self, type_name): # <<<<<<<<<<<<<< @@ -11355,14 +11355,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_34type_desc_get(struct __p int __pyx_clineno = 0; __Pyx_RefNannySetupContext("type_desc_get", 0); - /* "pyrfc/_cyrfc.pyx":957 + /* "pyrfc/_cyrfc.pyx":958 * """ * cdef RFC_ERROR_INFO errorInfo * typeName = fillString(type_name.upper()) # <<<<<<<<<<<<<< * cdef RFC_TYPE_DESC_HANDLE typeDesc = RfcGetTypeDesc(self._handle, typeName, &errorInfo) * free(typeName) */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_type_name, __pyx_n_s_upper); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 957, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_type_name, __pyx_n_s_upper); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 958, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -11376,14 +11376,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_34type_desc_get(struct __p } __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 957, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 958, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_1); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 957, __pyx_L1_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_1); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 958, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_typeName = __pyx_t_4; - /* "pyrfc/_cyrfc.pyx":958 + /* "pyrfc/_cyrfc.pyx":959 * cdef RFC_ERROR_INFO errorInfo * typeName = fillString(type_name.upper()) * cdef RFC_TYPE_DESC_HANDLE typeDesc = RfcGetTypeDesc(self._handle, typeName, &errorInfo) # <<<<<<<<<<<<<< @@ -11392,7 +11392,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_34type_desc_get(struct __p */ __pyx_v_typeDesc = RfcGetTypeDesc(__pyx_v_self->_handle, __pyx_v_typeName, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":959 + /* "pyrfc/_cyrfc.pyx":960 * typeName = fillString(type_name.upper()) * cdef RFC_TYPE_DESC_HANDLE typeDesc = RfcGetTypeDesc(self._handle, typeName, &errorInfo) * free(typeName) # <<<<<<<<<<<<<< @@ -11401,7 +11401,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_34type_desc_get(struct __p */ free(__pyx_v_typeName); - /* "pyrfc/_cyrfc.pyx":960 + /* "pyrfc/_cyrfc.pyx":961 * cdef RFC_TYPE_DESC_HANDLE typeDesc = RfcGetTypeDesc(self._handle, typeName, &errorInfo) * free(typeName) * if typeDesc == NULL: # <<<<<<<<<<<<<< @@ -11411,18 +11411,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_34type_desc_get(struct __p __pyx_t_5 = ((__pyx_v_typeDesc == NULL) != 0); if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":961 + /* "pyrfc/_cyrfc.pyx":962 * free(typeName) * if typeDesc == NULL: * self._error(&errorInfo) # <<<<<<<<<<<<<< * return wrapTypeDescription(typeDesc) * */ - __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 961, __pyx_L1_error) + __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 962, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":960 + /* "pyrfc/_cyrfc.pyx":961 * cdef RFC_TYPE_DESC_HANDLE typeDesc = RfcGetTypeDesc(self._handle, typeName, &errorInfo) * free(typeName) * if typeDesc == NULL: # <<<<<<<<<<<<<< @@ -11431,7 +11431,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_34type_desc_get(struct __p */ } - /* "pyrfc/_cyrfc.pyx":962 + /* "pyrfc/_cyrfc.pyx":963 * if typeDesc == NULL: * self._error(&errorInfo) * return wrapTypeDescription(typeDesc) # <<<<<<<<<<<<<< @@ -11439,13 +11439,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_34type_desc_get(struct __p * def type_desc_remove(self, sysid, type_name): */ __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(__pyx_v_typeDesc); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 962, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(__pyx_v_typeDesc); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 963, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":948 + /* "pyrfc/_cyrfc.pyx":949 * # HELPER METHODS * * def type_desc_get(self, type_name): # <<<<<<<<<<<<<< @@ -11466,7 +11466,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_34type_desc_get(struct __p return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":964 +/* "pyrfc/_cyrfc.pyx":965 * return wrapTypeDescription(typeDesc) * * def type_desc_remove(self, sysid, type_name): # <<<<<<<<<<<<<< @@ -11509,11 +11509,11 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Connection_37type_desc_remove(PyObjec case 1: if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_type_name)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("type_desc_remove", 1, 2, 2, 1); __PYX_ERR(0, 964, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("type_desc_remove", 1, 2, 2, 1); __PYX_ERR(0, 965, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "type_desc_remove") < 0)) __PYX_ERR(0, 964, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "type_desc_remove") < 0)) __PYX_ERR(0, 965, __pyx_L3_error) } } else if (PyTuple_GET_SIZE(__pyx_args) != 2) { goto __pyx_L5_argtuple_error; @@ -11526,7 +11526,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Connection_37type_desc_remove(PyObjec } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("type_desc_remove", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 964, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("type_desc_remove", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 965, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("pyrfc._cyrfc.Connection.type_desc_remove", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -11554,27 +11554,27 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_36type_desc_remove(struct int __pyx_clineno = 0; __Pyx_RefNannySetupContext("type_desc_remove", 0); - /* "pyrfc/_cyrfc.pyx":976 + /* "pyrfc/_cyrfc.pyx":977 * """ * cdef RFC_ERROR_INFO errorInfo * sysId = fillString(sysid) # <<<<<<<<<<<<<< * typeName = fillString(type_name) * cdef RFC_RC rc = RfcRemoveTypeDesc(sysId, typeName, &errorInfo) */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_sysid); if (unlikely(__pyx_t_1 == ((SAP_UC *)NULL))) __PYX_ERR(0, 976, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_sysid); if (unlikely(__pyx_t_1 == ((SAP_UC *)NULL))) __PYX_ERR(0, 977, __pyx_L1_error) __pyx_v_sysId = __pyx_t_1; - /* "pyrfc/_cyrfc.pyx":977 + /* "pyrfc/_cyrfc.pyx":978 * cdef RFC_ERROR_INFO errorInfo * sysId = fillString(sysid) * typeName = fillString(type_name) # <<<<<<<<<<<<<< * cdef RFC_RC rc = RfcRemoveTypeDesc(sysId, typeName, &errorInfo) * free(sysId) */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_type_name); if (unlikely(__pyx_t_1 == ((SAP_UC *)NULL))) __PYX_ERR(0, 977, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_type_name); if (unlikely(__pyx_t_1 == ((SAP_UC *)NULL))) __PYX_ERR(0, 978, __pyx_L1_error) __pyx_v_typeName = __pyx_t_1; - /* "pyrfc/_cyrfc.pyx":978 + /* "pyrfc/_cyrfc.pyx":979 * sysId = fillString(sysid) * typeName = fillString(type_name) * cdef RFC_RC rc = RfcRemoveTypeDesc(sysId, typeName, &errorInfo) # <<<<<<<<<<<<<< @@ -11583,7 +11583,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_36type_desc_remove(struct */ __pyx_v_rc = RfcRemoveTypeDesc(__pyx_v_sysId, __pyx_v_typeName, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":979 + /* "pyrfc/_cyrfc.pyx":980 * typeName = fillString(type_name) * cdef RFC_RC rc = RfcRemoveTypeDesc(sysId, typeName, &errorInfo) * free(sysId) # <<<<<<<<<<<<<< @@ -11592,7 +11592,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_36type_desc_remove(struct */ free(__pyx_v_sysId); - /* "pyrfc/_cyrfc.pyx":980 + /* "pyrfc/_cyrfc.pyx":981 * cdef RFC_RC rc = RfcRemoveTypeDesc(sysId, typeName, &errorInfo) * free(sysId) * free(typeName) # <<<<<<<<<<<<<< @@ -11601,7 +11601,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_36type_desc_remove(struct */ free(__pyx_v_typeName); - /* "pyrfc/_cyrfc.pyx":981 + /* "pyrfc/_cyrfc.pyx":982 * free(sysId) * free(typeName) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -11611,18 +11611,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_36type_desc_remove(struct __pyx_t_2 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":982 + /* "pyrfc/_cyrfc.pyx":983 * free(typeName) * if rc != RFC_OK: * self._error(&errorInfo) # <<<<<<<<<<<<<< * return rc * */ - __pyx_t_3 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 982, __pyx_L1_error) + __pyx_t_3 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 983, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":981 + /* "pyrfc/_cyrfc.pyx":982 * free(sysId) * free(typeName) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -11631,7 +11631,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_36type_desc_remove(struct */ } - /* "pyrfc/_cyrfc.pyx":983 + /* "pyrfc/_cyrfc.pyx":984 * if rc != RFC_OK: * self._error(&errorInfo) * return rc # <<<<<<<<<<<<<< @@ -11639,13 +11639,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_36type_desc_remove(struct * def func_desc_remove(self, sysid, func_name): */ __Pyx_XDECREF(__pyx_r); - __pyx_t_3 = __Pyx_PyInt_From_RFC_RC(__pyx_v_rc); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 983, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_From_RFC_RC(__pyx_v_rc); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 984, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_r = __pyx_t_3; __pyx_t_3 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":964 + /* "pyrfc/_cyrfc.pyx":965 * return wrapTypeDescription(typeDesc) * * def type_desc_remove(self, sysid, type_name): # <<<<<<<<<<<<<< @@ -11664,7 +11664,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_36type_desc_remove(struct return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":985 +/* "pyrfc/_cyrfc.pyx":986 * return rc * * def func_desc_remove(self, sysid, func_name): # <<<<<<<<<<<<<< @@ -11707,11 +11707,11 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Connection_39func_desc_remove(PyObjec case 1: if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_func_name)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("func_desc_remove", 1, 2, 2, 1); __PYX_ERR(0, 985, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("func_desc_remove", 1, 2, 2, 1); __PYX_ERR(0, 986, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "func_desc_remove") < 0)) __PYX_ERR(0, 985, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "func_desc_remove") < 0)) __PYX_ERR(0, 986, __pyx_L3_error) } } else if (PyTuple_GET_SIZE(__pyx_args) != 2) { goto __pyx_L5_argtuple_error; @@ -11724,7 +11724,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Connection_39func_desc_remove(PyObjec } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("func_desc_remove", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 985, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("func_desc_remove", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 986, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("pyrfc._cyrfc.Connection.func_desc_remove", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -11752,27 +11752,27 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_38func_desc_remove(struct int __pyx_clineno = 0; __Pyx_RefNannySetupContext("func_desc_remove", 0); - /* "pyrfc/_cyrfc.pyx":997 + /* "pyrfc/_cyrfc.pyx":998 * """ * cdef RFC_ERROR_INFO errorInfo * sysId = fillString(sysid) # <<<<<<<<<<<<<< * funcName = fillString(func_name) * cdef RFC_RC rc = RfcRemoveFunctionDesc(sysId, funcName, &errorInfo) */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_sysid); if (unlikely(__pyx_t_1 == ((SAP_UC *)NULL))) __PYX_ERR(0, 997, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_sysid); if (unlikely(__pyx_t_1 == ((SAP_UC *)NULL))) __PYX_ERR(0, 998, __pyx_L1_error) __pyx_v_sysId = __pyx_t_1; - /* "pyrfc/_cyrfc.pyx":998 + /* "pyrfc/_cyrfc.pyx":999 * cdef RFC_ERROR_INFO errorInfo * sysId = fillString(sysid) * funcName = fillString(func_name) # <<<<<<<<<<<<<< * cdef RFC_RC rc = RfcRemoveFunctionDesc(sysId, funcName, &errorInfo) * free(sysId) */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_func_name); if (unlikely(__pyx_t_1 == ((SAP_UC *)NULL))) __PYX_ERR(0, 998, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_func_name); if (unlikely(__pyx_t_1 == ((SAP_UC *)NULL))) __PYX_ERR(0, 999, __pyx_L1_error) __pyx_v_funcName = __pyx_t_1; - /* "pyrfc/_cyrfc.pyx":999 + /* "pyrfc/_cyrfc.pyx":1000 * sysId = fillString(sysid) * funcName = fillString(func_name) * cdef RFC_RC rc = RfcRemoveFunctionDesc(sysId, funcName, &errorInfo) # <<<<<<<<<<<<<< @@ -11781,7 +11781,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_38func_desc_remove(struct */ __pyx_v_rc = RfcRemoveFunctionDesc(__pyx_v_sysId, __pyx_v_funcName, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1000 + /* "pyrfc/_cyrfc.pyx":1001 * funcName = fillString(func_name) * cdef RFC_RC rc = RfcRemoveFunctionDesc(sysId, funcName, &errorInfo) * free(sysId) # <<<<<<<<<<<<<< @@ -11790,7 +11790,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_38func_desc_remove(struct */ free(__pyx_v_sysId); - /* "pyrfc/_cyrfc.pyx":1001 + /* "pyrfc/_cyrfc.pyx":1002 * cdef RFC_RC rc = RfcRemoveFunctionDesc(sysId, funcName, &errorInfo) * free(sysId) * free(funcName) # <<<<<<<<<<<<<< @@ -11799,7 +11799,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_38func_desc_remove(struct */ free(__pyx_v_funcName); - /* "pyrfc/_cyrfc.pyx":1002 + /* "pyrfc/_cyrfc.pyx":1003 * free(sysId) * free(funcName) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -11809,18 +11809,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_38func_desc_remove(struct __pyx_t_2 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":1003 + /* "pyrfc/_cyrfc.pyx":1004 * free(funcName) * if rc != RFC_OK: * self._error(&errorInfo) # <<<<<<<<<<<<<< * return rc * */ - __pyx_t_3 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1003, __pyx_L1_error) + __pyx_t_3 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1004, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":1002 + /* "pyrfc/_cyrfc.pyx":1003 * free(sysId) * free(funcName) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -11829,7 +11829,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_38func_desc_remove(struct */ } - /* "pyrfc/_cyrfc.pyx":1004 + /* "pyrfc/_cyrfc.pyx":1005 * if rc != RFC_OK: * self._error(&errorInfo) * return rc # <<<<<<<<<<<<<< @@ -11837,13 +11837,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_38func_desc_remove(struct * ########################################################################## */ __Pyx_XDECREF(__pyx_r); - __pyx_t_3 = __Pyx_PyInt_From_RFC_RC(__pyx_v_rc); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1004, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_From_RFC_RC(__pyx_v_rc); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1005, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_r = __pyx_t_3; __pyx_t_3 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":985 + /* "pyrfc/_cyrfc.pyx":986 * return rc * * def func_desc_remove(self, sysid, func_name): # <<<<<<<<<<<<<< @@ -11862,7 +11862,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_38func_desc_remove(struct return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1009 +/* "pyrfc/_cyrfc.pyx":1010 * # TRANSACTIONAL / QUEUED RFC * * def _get_transaction_id(self): # <<<<<<<<<<<<<< @@ -11900,32 +11900,32 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_40_get_transaction_id(stru int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_get_transaction_id", 0); - /* "pyrfc/_cyrfc.pyx":1015 + /* "pyrfc/_cyrfc.pyx":1016 * cdef RFC_TID tid * * if not self.alive: # <<<<<<<<<<<<<< * self._open() * rc = RfcGetTransactionID(self._handle, tid, &errorInfo) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_alive); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1015, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_alive); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1016, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1015, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1016, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_3 = ((!__pyx_t_2) != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1016 + /* "pyrfc/_cyrfc.pyx":1017 * * if not self.alive: * self._open() # <<<<<<<<<<<<<< * rc = RfcGetTransactionID(self._handle, tid, &errorInfo) * if rc != RFC_OK: */ - __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1016, __pyx_L1_error) + __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1017, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1015 + /* "pyrfc/_cyrfc.pyx":1016 * cdef RFC_TID tid * * if not self.alive: # <<<<<<<<<<<<<< @@ -11934,7 +11934,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_40_get_transaction_id(stru */ } - /* "pyrfc/_cyrfc.pyx":1017 + /* "pyrfc/_cyrfc.pyx":1018 * if not self.alive: * self._open() * rc = RfcGetTransactionID(self._handle, tid, &errorInfo) # <<<<<<<<<<<<<< @@ -11943,7 +11943,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_40_get_transaction_id(stru */ __pyx_v_rc = RfcGetTransactionID(__pyx_v_self->_handle, __pyx_v_tid, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1018 + /* "pyrfc/_cyrfc.pyx":1019 * self._open() * rc = RfcGetTransactionID(self._handle, tid, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -11953,18 +11953,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_40_get_transaction_id(stru __pyx_t_3 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1019 + /* "pyrfc/_cyrfc.pyx":1020 * rc = RfcGetTransactionID(self._handle, tid, &errorInfo) * if rc != RFC_OK: * self._error(&errorInfo) # <<<<<<<<<<<<<< * return wrapString(tid, RFC_TID_LN) * */ - __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1019, __pyx_L1_error) + __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1020, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1018 + /* "pyrfc/_cyrfc.pyx":1019 * self._open() * rc = RfcGetTransactionID(self._handle, tid, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -11973,7 +11973,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_40_get_transaction_id(stru */ } - /* "pyrfc/_cyrfc.pyx":1020 + /* "pyrfc/_cyrfc.pyx":1021 * if rc != RFC_OK: * self._error(&errorInfo) * return wrapString(tid, RFC_TID_LN) # <<<<<<<<<<<<<< @@ -11981,18 +11981,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_40_get_transaction_id(stru * def _create_and_submit_transaction(self, transaction_id, calls, queue_name=None): */ __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_From_int(RFC_TID_LN); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1020, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_int(RFC_TID_LN); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1021, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_5.__pyx_n = 1; __pyx_t_5.uclen = __pyx_t_1; - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_tid, &__pyx_t_5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1020, __pyx_L1_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_tid, &__pyx_t_5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1021, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_r = __pyx_t_4; __pyx_t_4 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1009 + /* "pyrfc/_cyrfc.pyx":1010 * # TRANSACTIONAL / QUEUED RFC * * def _get_transaction_id(self): # <<<<<<<<<<<<<< @@ -12012,7 +12012,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_40_get_transaction_id(stru return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1022 +/* "pyrfc/_cyrfc.pyx":1023 * return wrapString(tid, RFC_TID_LN) * * def _create_and_submit_transaction(self, transaction_id, calls, queue_name=None): # <<<<<<<<<<<<<< @@ -12058,7 +12058,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Connection_43_create_and_submit_trans case 1: if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_calls)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("_create_and_submit_transaction", 0, 2, 3, 1); __PYX_ERR(0, 1022, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("_create_and_submit_transaction", 0, 2, 3, 1); __PYX_ERR(0, 1023, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 2: @@ -12068,7 +12068,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Connection_43_create_and_submit_trans } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_create_and_submit_transaction") < 0)) __PYX_ERR(0, 1022, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_create_and_submit_transaction") < 0)) __PYX_ERR(0, 1023, __pyx_L3_error) } } else { switch (PyTuple_GET_SIZE(__pyx_args)) { @@ -12086,7 +12086,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Connection_43_create_and_submit_trans } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("_create_and_submit_transaction", 0, 2, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1022, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("_create_and_submit_transaction", 0, 2, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1023, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("pyrfc._cyrfc.Connection._create_and_submit_transaction", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -12145,32 +12145,32 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_create_and_submit_transaction", 0); - /* "pyrfc/_cyrfc.pyx":1030 + /* "pyrfc/_cyrfc.pyx":1031 * cdef RFC_FUNCTION_HANDLE funcCont * * if not self.alive: # <<<<<<<<<<<<<< * self._open() * */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_alive); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1030, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_alive); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1031, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1030, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1031, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_3 = ((!__pyx_t_2) != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1031 + /* "pyrfc/_cyrfc.pyx":1032 * * if not self.alive: * self._open() # <<<<<<<<<<<<<< * * tid = fillString(transaction_id) */ - __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1031, __pyx_L1_error) + __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1032, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1030 + /* "pyrfc/_cyrfc.pyx":1031 * cdef RFC_FUNCTION_HANDLE funcCont * * if not self.alive: # <<<<<<<<<<<<<< @@ -12179,17 +12179,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans */ } - /* "pyrfc/_cyrfc.pyx":1033 + /* "pyrfc/_cyrfc.pyx":1034 * self._open() * * tid = fillString(transaction_id) # <<<<<<<<<<<<<< * queueName = NULL * if queue_name: */ - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_transaction_id); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1033, __pyx_L1_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_transaction_id); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1034, __pyx_L1_error) __pyx_v_tid = __pyx_t_4; - /* "pyrfc/_cyrfc.pyx":1034 + /* "pyrfc/_cyrfc.pyx":1035 * * tid = fillString(transaction_id) * queueName = NULL # <<<<<<<<<<<<<< @@ -12198,27 +12198,27 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans */ __pyx_v_queueName = NULL; - /* "pyrfc/_cyrfc.pyx":1035 + /* "pyrfc/_cyrfc.pyx":1036 * tid = fillString(transaction_id) * queueName = NULL * if queue_name: # <<<<<<<<<<<<<< * queueName = fillString(queue_name) * self._tHandle = RfcCreateTransaction(self._handle, tid, queueName, &errorInfo) */ - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_v_queue_name); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1035, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_v_queue_name); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1036, __pyx_L1_error) if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1036 + /* "pyrfc/_cyrfc.pyx":1037 * queueName = NULL * if queue_name: * queueName = fillString(queue_name) # <<<<<<<<<<<<<< * self._tHandle = RfcCreateTransaction(self._handle, tid, queueName, &errorInfo) * */ - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_queue_name); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1036, __pyx_L1_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_queue_name); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1037, __pyx_L1_error) __pyx_v_queueName = __pyx_t_4; - /* "pyrfc/_cyrfc.pyx":1035 + /* "pyrfc/_cyrfc.pyx":1036 * tid = fillString(transaction_id) * queueName = NULL * if queue_name: # <<<<<<<<<<<<<< @@ -12227,7 +12227,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans */ } - /* "pyrfc/_cyrfc.pyx":1037 + /* "pyrfc/_cyrfc.pyx":1038 * if queue_name: * queueName = fillString(queue_name) * self._tHandle = RfcCreateTransaction(self._handle, tid, queueName, &errorInfo) # <<<<<<<<<<<<<< @@ -12236,17 +12236,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans */ __pyx_v_self->_tHandle = RfcCreateTransaction(__pyx_v_self->_handle, __pyx_v_tid, __pyx_v_queueName, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1039 + /* "pyrfc/_cyrfc.pyx":1040 * self._tHandle = RfcCreateTransaction(self._handle, tid, queueName, &errorInfo) * * if queue_name: # <<<<<<<<<<<<<< * free(queueName) * free(tid) */ - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_v_queue_name); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1039, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_v_queue_name); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1040, __pyx_L1_error) if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1040 + /* "pyrfc/_cyrfc.pyx":1041 * * if queue_name: * free(queueName) # <<<<<<<<<<<<<< @@ -12255,7 +12255,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans */ free(__pyx_v_queueName); - /* "pyrfc/_cyrfc.pyx":1039 + /* "pyrfc/_cyrfc.pyx":1040 * self._tHandle = RfcCreateTransaction(self._handle, tid, queueName, &errorInfo) * * if queue_name: # <<<<<<<<<<<<<< @@ -12264,7 +12264,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans */ } - /* "pyrfc/_cyrfc.pyx":1041 + /* "pyrfc/_cyrfc.pyx":1042 * if queue_name: * free(queueName) * free(tid) # <<<<<<<<<<<<<< @@ -12273,7 +12273,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans */ free(__pyx_v_tid); - /* "pyrfc/_cyrfc.pyx":1042 + /* "pyrfc/_cyrfc.pyx":1043 * free(queueName) * free(tid) * if self._tHandle == NULL: # <<<<<<<<<<<<<< @@ -12283,18 +12283,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans __pyx_t_3 = ((__pyx_v_self->_tHandle == NULL) != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1043 + /* "pyrfc/_cyrfc.pyx":1044 * free(tid) * if self._tHandle == NULL: * self._error(&errorInfo) # <<<<<<<<<<<<<< * self.active_transaction = True * */ - __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1043, __pyx_L1_error) + __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1044, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1042 + /* "pyrfc/_cyrfc.pyx":1043 * free(queueName) * free(tid) * if self._tHandle == NULL: # <<<<<<<<<<<<<< @@ -12303,7 +12303,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans */ } - /* "pyrfc/_cyrfc.pyx":1044 + /* "pyrfc/_cyrfc.pyx":1045 * if self._tHandle == NULL: * self._error(&errorInfo) * self.active_transaction = True # <<<<<<<<<<<<<< @@ -12312,7 +12312,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans */ __pyx_v_self->active_transaction = 1; - /* "pyrfc/_cyrfc.pyx":1046 + /* "pyrfc/_cyrfc.pyx":1047 * self.active_transaction = True * * try: # <<<<<<<<<<<<<< @@ -12328,7 +12328,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans __Pyx_XGOTREF(__pyx_t_7); /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1047 + /* "pyrfc/_cyrfc.pyx":1048 * * try: * for func_name, params in calls: # <<<<<<<<<<<<<< @@ -12339,26 +12339,26 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans __pyx_t_1 = __pyx_v_calls; __Pyx_INCREF(__pyx_t_1); __pyx_t_8 = 0; __pyx_t_9 = NULL; } else { - __pyx_t_8 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_v_calls); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1047, __pyx_L7_error) + __pyx_t_8 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_v_calls); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1048, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_9 = Py_TYPE(__pyx_t_1)->tp_iternext; if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1047, __pyx_L7_error) + __pyx_t_9 = Py_TYPE(__pyx_t_1)->tp_iternext; if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1048, __pyx_L7_error) } for (;;) { if (likely(!__pyx_t_9)) { if (likely(PyList_CheckExact(__pyx_t_1))) { if (__pyx_t_8 >= PyList_GET_SIZE(__pyx_t_1)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_10 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_8); __Pyx_INCREF(__pyx_t_10); __pyx_t_8++; if (unlikely(0 < 0)) __PYX_ERR(0, 1047, __pyx_L7_error) + __pyx_t_10 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_8); __Pyx_INCREF(__pyx_t_10); __pyx_t_8++; if (unlikely(0 < 0)) __PYX_ERR(0, 1048, __pyx_L7_error) #else - __pyx_t_10 = PySequence_ITEM(__pyx_t_1, __pyx_t_8); __pyx_t_8++; if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1047, __pyx_L7_error) + __pyx_t_10 = PySequence_ITEM(__pyx_t_1, __pyx_t_8); __pyx_t_8++; if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1048, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_10); #endif } else { if (__pyx_t_8 >= PyTuple_GET_SIZE(__pyx_t_1)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_10 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_8); __Pyx_INCREF(__pyx_t_10); __pyx_t_8++; if (unlikely(0 < 0)) __PYX_ERR(0, 1047, __pyx_L7_error) + __pyx_t_10 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_8); __Pyx_INCREF(__pyx_t_10); __pyx_t_8++; if (unlikely(0 < 0)) __PYX_ERR(0, 1048, __pyx_L7_error) #else - __pyx_t_10 = PySequence_ITEM(__pyx_t_1, __pyx_t_8); __pyx_t_8++; if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1047, __pyx_L7_error) + __pyx_t_10 = PySequence_ITEM(__pyx_t_1, __pyx_t_8); __pyx_t_8++; if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1048, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_10); #endif } @@ -12368,7 +12368,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 1047, __pyx_L7_error) + else __PYX_ERR(0, 1048, __pyx_L7_error) } break; } @@ -12380,7 +12380,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans if (unlikely(size != 2)) { if (size > 2) __Pyx_RaiseTooManyValuesError(2); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 1047, __pyx_L7_error) + __PYX_ERR(0, 1048, __pyx_L7_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -12393,15 +12393,15 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans __Pyx_INCREF(__pyx_t_11); __Pyx_INCREF(__pyx_t_12); #else - __pyx_t_11 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1047, __pyx_L7_error) + __pyx_t_11 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1048, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_11); - __pyx_t_12 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1047, __pyx_L7_error) + __pyx_t_12 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1048, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_12); #endif __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; } else { Py_ssize_t index = -1; - __pyx_t_13 = PyObject_GetIter(__pyx_t_10); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 1047, __pyx_L7_error) + __pyx_t_13 = PyObject_GetIter(__pyx_t_10); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 1048, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_13); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __pyx_t_14 = Py_TYPE(__pyx_t_13)->tp_iternext; @@ -12409,7 +12409,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans __Pyx_GOTREF(__pyx_t_11); index = 1; __pyx_t_12 = __pyx_t_14(__pyx_t_13); if (unlikely(!__pyx_t_12)) goto __pyx_L15_unpacking_failed; __Pyx_GOTREF(__pyx_t_12); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_14(__pyx_t_13), 2) < 0) __PYX_ERR(0, 1047, __pyx_L7_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_14(__pyx_t_13), 2) < 0) __PYX_ERR(0, 1048, __pyx_L7_error) __pyx_t_14 = NULL; __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; goto __pyx_L16_unpacking_done; @@ -12417,7 +12417,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; __pyx_t_14 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 1047, __pyx_L7_error) + __PYX_ERR(0, 1048, __pyx_L7_error) __pyx_L16_unpacking_done:; } __Pyx_XDECREF_SET(__pyx_v_func_name, __pyx_t_11); @@ -12425,17 +12425,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans __Pyx_XDECREF_SET(__pyx_v_params, __pyx_t_12); __pyx_t_12 = 0; - /* "pyrfc/_cyrfc.pyx":1048 + /* "pyrfc/_cyrfc.pyx":1049 * try: * for func_name, params in calls: * funcName = fillString(func_name) # <<<<<<<<<<<<<< * funcDesc = RfcGetFunctionDesc(self._handle, funcName, &errorInfo) * free(funcName) */ - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_func_name); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1048, __pyx_L7_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_func_name); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1049, __pyx_L7_error) __pyx_v_funcName = __pyx_t_4; - /* "pyrfc/_cyrfc.pyx":1049 + /* "pyrfc/_cyrfc.pyx":1050 * for func_name, params in calls: * funcName = fillString(func_name) * funcDesc = RfcGetFunctionDesc(self._handle, funcName, &errorInfo) # <<<<<<<<<<<<<< @@ -12444,7 +12444,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans */ __pyx_v_funcDesc = RfcGetFunctionDesc(__pyx_v_self->_handle, __pyx_v_funcName, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1050 + /* "pyrfc/_cyrfc.pyx":1051 * funcName = fillString(func_name) * funcDesc = RfcGetFunctionDesc(self._handle, funcName, &errorInfo) * free(funcName) # <<<<<<<<<<<<<< @@ -12453,7 +12453,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans */ free(__pyx_v_funcName); - /* "pyrfc/_cyrfc.pyx":1051 + /* "pyrfc/_cyrfc.pyx":1052 * funcDesc = RfcGetFunctionDesc(self._handle, funcName, &errorInfo) * free(funcName) * if not funcDesc: # <<<<<<<<<<<<<< @@ -12463,18 +12463,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans __pyx_t_3 = ((!(__pyx_v_funcDesc != 0)) != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1052 + /* "pyrfc/_cyrfc.pyx":1053 * free(funcName) * if not funcDesc: * self._error(&errorInfo) # <<<<<<<<<<<<<< * funcCont = RfcCreateFunction(funcDesc, &errorInfo) * if not funcCont: */ - __pyx_t_10 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1052, __pyx_L7_error) + __pyx_t_10 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1053, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - /* "pyrfc/_cyrfc.pyx":1051 + /* "pyrfc/_cyrfc.pyx":1052 * funcDesc = RfcGetFunctionDesc(self._handle, funcName, &errorInfo) * free(funcName) * if not funcDesc: # <<<<<<<<<<<<<< @@ -12483,7 +12483,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans */ } - /* "pyrfc/_cyrfc.pyx":1053 + /* "pyrfc/_cyrfc.pyx":1054 * if not funcDesc: * self._error(&errorInfo) * funcCont = RfcCreateFunction(funcDesc, &errorInfo) # <<<<<<<<<<<<<< @@ -12492,7 +12492,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans */ __pyx_v_funcCont = RfcCreateFunction(__pyx_v_funcDesc, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1054 + /* "pyrfc/_cyrfc.pyx":1055 * self._error(&errorInfo) * funcCont = RfcCreateFunction(funcDesc, &errorInfo) * if not funcCont: # <<<<<<<<<<<<<< @@ -12502,18 +12502,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans __pyx_t_3 = ((!(__pyx_v_funcCont != 0)) != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1055 + /* "pyrfc/_cyrfc.pyx":1056 * funcCont = RfcCreateFunction(funcDesc, &errorInfo) * if not funcCont: * self._error(&errorInfo) # <<<<<<<<<<<<<< * try: * for name, value in params.iteritems(): */ - __pyx_t_10 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1055, __pyx_L7_error) + __pyx_t_10 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1056, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - /* "pyrfc/_cyrfc.pyx":1054 + /* "pyrfc/_cyrfc.pyx":1055 * self._error(&errorInfo) * funcCont = RfcCreateFunction(funcDesc, &errorInfo) * if not funcCont: # <<<<<<<<<<<<<< @@ -12522,7 +12522,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans */ } - /* "pyrfc/_cyrfc.pyx":1056 + /* "pyrfc/_cyrfc.pyx":1057 * if not funcCont: * self._error(&errorInfo) * try: # <<<<<<<<<<<<<< @@ -12531,7 +12531,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans */ /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1057 + /* "pyrfc/_cyrfc.pyx":1058 * self._error(&errorInfo) * try: * for name, value in params.iteritems(): # <<<<<<<<<<<<<< @@ -12541,9 +12541,9 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans __pyx_t_15 = 0; if (unlikely(__pyx_v_params == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "iteritems"); - __PYX_ERR(0, 1057, __pyx_L22_error) + __PYX_ERR(0, 1058, __pyx_L22_error) } - __pyx_t_12 = __Pyx_dict_iterator(__pyx_v_params, 0, __pyx_n_s_iteritems, (&__pyx_t_16), (&__pyx_t_17)); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1057, __pyx_L22_error) + __pyx_t_12 = __Pyx_dict_iterator(__pyx_v_params, 0, __pyx_n_s_iteritems, (&__pyx_t_16), (&__pyx_t_17)); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1058, __pyx_L22_error) __Pyx_GOTREF(__pyx_t_12); __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = __pyx_t_12; @@ -12551,7 +12551,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans while (1) { __pyx_t_18 = __Pyx_dict_iter_next(__pyx_t_10, __pyx_t_16, &__pyx_t_15, &__pyx_t_12, &__pyx_t_11, NULL, __pyx_t_17); if (unlikely(__pyx_t_18 == 0)) break; - if (unlikely(__pyx_t_18 == -1)) __PYX_ERR(0, 1057, __pyx_L22_error) + if (unlikely(__pyx_t_18 == -1)) __PYX_ERR(0, 1058, __pyx_L22_error) __Pyx_GOTREF(__pyx_t_12); __Pyx_GOTREF(__pyx_t_11); __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_12); @@ -12559,20 +12559,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans __Pyx_XDECREF_SET(__pyx_v_value, __pyx_t_11); __pyx_t_11 = 0; - /* "pyrfc/_cyrfc.pyx":1058 + /* "pyrfc/_cyrfc.pyx":1059 * try: * for name, value in params.iteritems(): * fillFunctionParameter(funcDesc, funcCont, name, value) # <<<<<<<<<<<<<< * # Add RFC call to transaction * rc = RfcInvokeInTransaction(self._tHandle, funcCont, &errorInfo) */ - __pyx_t_11 = __pyx_f_5pyrfc_6_cyrfc_fillFunctionParameter(__pyx_v_funcDesc, __pyx_v_funcCont, __pyx_v_name, __pyx_v_value); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1058, __pyx_L22_error) + __pyx_t_11 = __pyx_f_5pyrfc_6_cyrfc_fillFunctionParameter(__pyx_v_funcDesc, __pyx_v_funcCont, __pyx_v_name, __pyx_v_value); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1059, __pyx_L22_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; } __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - /* "pyrfc/_cyrfc.pyx":1060 + /* "pyrfc/_cyrfc.pyx":1061 * fillFunctionParameter(funcDesc, funcCont, name, value) * # Add RFC call to transaction * rc = RfcInvokeInTransaction(self._tHandle, funcCont, &errorInfo) # <<<<<<<<<<<<<< @@ -12581,7 +12581,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans */ __pyx_v_rc = RfcInvokeInTransaction(__pyx_v_self->_tHandle, __pyx_v_funcCont, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1061 + /* "pyrfc/_cyrfc.pyx":1062 * # Add RFC call to transaction * rc = RfcInvokeInTransaction(self._tHandle, funcCont, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -12591,18 +12591,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans __pyx_t_3 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1062 + /* "pyrfc/_cyrfc.pyx":1063 * rc = RfcInvokeInTransaction(self._tHandle, funcCont, &errorInfo) * if rc != RFC_OK: * self._error(&errorInfo) # <<<<<<<<<<<<<< * finally: * RfcDestroyFunction(funcCont, NULL) */ - __pyx_t_10 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1062, __pyx_L22_error) + __pyx_t_10 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1063, __pyx_L22_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - /* "pyrfc/_cyrfc.pyx":1061 + /* "pyrfc/_cyrfc.pyx":1062 * # Add RFC call to transaction * rc = RfcInvokeInTransaction(self._tHandle, funcCont, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -12612,7 +12612,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans } } - /* "pyrfc/_cyrfc.pyx":1064 + /* "pyrfc/_cyrfc.pyx":1065 * self._error(&errorInfo) * finally: * RfcDestroyFunction(funcCont, NULL) # <<<<<<<<<<<<<< @@ -12662,7 +12662,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans __pyx_L23:; } - /* "pyrfc/_cyrfc.pyx":1047 + /* "pyrfc/_cyrfc.pyx":1048 * * try: * for func_name, params in calls: # <<<<<<<<<<<<<< @@ -12672,7 +12672,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1066 + /* "pyrfc/_cyrfc.pyx":1067 * RfcDestroyFunction(funcCont, NULL) * # execute * with nogil: # <<<<<<<<<<<<<< @@ -12687,7 +12687,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans #endif /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1067 + /* "pyrfc/_cyrfc.pyx":1068 * # execute * with nogil: * rc = RfcSubmitTransaction(self._tHandle, &errorInfo) # <<<<<<<<<<<<<< @@ -12697,7 +12697,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans __pyx_v_rc = RfcSubmitTransaction(__pyx_v_self->_tHandle, (&__pyx_v_errorInfo)); } - /* "pyrfc/_cyrfc.pyx":1066 + /* "pyrfc/_cyrfc.pyx":1067 * RfcDestroyFunction(funcCont, NULL) * # execute * with nogil: # <<<<<<<<<<<<<< @@ -12716,7 +12716,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans } } - /* "pyrfc/_cyrfc.pyx":1068 + /* "pyrfc/_cyrfc.pyx":1069 * with nogil: * rc = RfcSubmitTransaction(self._tHandle, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -12726,18 +12726,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans __pyx_t_3 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1069 + /* "pyrfc/_cyrfc.pyx":1070 * rc = RfcSubmitTransaction(self._tHandle, &errorInfo) * if rc != RFC_OK: * self._error(&errorInfo) # <<<<<<<<<<<<<< * * except RFCError as e: */ - __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1069, __pyx_L7_error) + __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1070, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1068 + /* "pyrfc/_cyrfc.pyx":1069 * with nogil: * rc = RfcSubmitTransaction(self._tHandle, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -12746,7 +12746,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans */ } - /* "pyrfc/_cyrfc.pyx":1046 + /* "pyrfc/_cyrfc.pyx":1047 * self.active_transaction = True * * try: # <<<<<<<<<<<<<< @@ -12765,7 +12765,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0; __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0; - /* "pyrfc/_cyrfc.pyx":1071 + /* "pyrfc/_cyrfc.pyx":1072 * self._error(&errorInfo) * * except RFCError as e: # <<<<<<<<<<<<<< @@ -12773,7 +12773,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans * RfcDestroyTransaction(self._tHandle, NULL) */ __Pyx_ErrFetch(&__pyx_t_1, &__pyx_t_10, &__pyx_t_11); - __Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1071, __pyx_L9_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1072, __pyx_L9_except_error) __Pyx_GOTREF(__pyx_t_12); __pyx_t_18 = __Pyx_PyErr_GivenExceptionMatches(__pyx_t_1, __pyx_t_12); __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; @@ -12781,7 +12781,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans __pyx_t_1 = 0; __pyx_t_10 = 0; __pyx_t_11 = 0; if (__pyx_t_18) { __Pyx_AddTraceback("pyrfc._cyrfc.Connection._create_and_submit_transaction", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_11, &__pyx_t_10, &__pyx_t_1) < 0) __PYX_ERR(0, 1071, __pyx_L9_except_error) + if (__Pyx_GetException(&__pyx_t_11, &__pyx_t_10, &__pyx_t_1) < 0) __PYX_ERR(0, 1072, __pyx_L9_except_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_GOTREF(__pyx_t_10); __Pyx_GOTREF(__pyx_t_1); @@ -12789,7 +12789,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans __pyx_v_e = __pyx_t_10; /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1073 + /* "pyrfc/_cyrfc.pyx":1074 * except RFCError as e: * # clean up actions * RfcDestroyTransaction(self._tHandle, NULL) # <<<<<<<<<<<<<< @@ -12798,7 +12798,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans */ (void)(RfcDestroyTransaction(__pyx_v_self->_tHandle, NULL)); - /* "pyrfc/_cyrfc.pyx":1074 + /* "pyrfc/_cyrfc.pyx":1075 * # clean up actions * RfcDestroyTransaction(self._tHandle, NULL) * raise # <<<<<<<<<<<<<< @@ -12810,10 +12810,10 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans __Pyx_XGIVEREF(__pyx_t_1); __Pyx_ErrRestoreWithState(__pyx_t_11, __pyx_t_10, __pyx_t_1); __pyx_t_11 = 0; __pyx_t_10 = 0; __pyx_t_1 = 0; - __PYX_ERR(0, 1074, __pyx_L40_error) + __PYX_ERR(0, 1075, __pyx_L40_error) } - /* "pyrfc/_cyrfc.pyx":1071 + /* "pyrfc/_cyrfc.pyx":1072 * self._error(&errorInfo) * * except RFCError as e: # <<<<<<<<<<<<<< @@ -12860,7 +12860,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans goto __pyx_L9_except_error; __pyx_L9_except_error:; - /* "pyrfc/_cyrfc.pyx":1046 + /* "pyrfc/_cyrfc.pyx":1047 * self.active_transaction = True * * try: # <<<<<<<<<<<<<< @@ -12875,7 +12875,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans __pyx_L12_try_end:; } - /* "pyrfc/_cyrfc.pyx":1022 + /* "pyrfc/_cyrfc.pyx":1023 * return wrapString(tid, RFC_TID_LN) * * def _create_and_submit_transaction(self, transaction_id, calls, queue_name=None): # <<<<<<<<<<<<<< @@ -12905,7 +12905,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_42_create_and_submit_trans return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1076 +/* "pyrfc/_cyrfc.pyx":1077 * raise * * def _destroy_transaction(self): # <<<<<<<<<<<<<< @@ -12941,7 +12941,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_44_destroy_transaction(str int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_destroy_transaction", 0); - /* "pyrfc/_cyrfc.pyx":1079 + /* "pyrfc/_cyrfc.pyx":1080 * cdef RFC_RC rc * cdef RFC_ERROR_INFO errorInfo * if not self.active_transaction: # <<<<<<<<<<<<<< @@ -12951,14 +12951,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_44_destroy_transaction(str __pyx_t_1 = ((!(__pyx_v_self->active_transaction != 0)) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":1080 + /* "pyrfc/_cyrfc.pyx":1081 * cdef RFC_ERROR_INFO errorInfo * if not self.active_transaction: * raise RFCError("No transaction handle for this connection available.") # <<<<<<<<<<<<<< * if not self.alive: * self._open() */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1080, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1081, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) { @@ -12972,14 +12972,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_44_destroy_transaction(str } __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_kp_u_No_transaction_handle_for_this_c) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_kp_u_No_transaction_handle_for_this_c); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1080, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1081, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 1080, __pyx_L1_error) + __PYX_ERR(0, 1081, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1079 + /* "pyrfc/_cyrfc.pyx":1080 * cdef RFC_RC rc * cdef RFC_ERROR_INFO errorInfo * if not self.active_transaction: # <<<<<<<<<<<<<< @@ -12988,32 +12988,32 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_44_destroy_transaction(str */ } - /* "pyrfc/_cyrfc.pyx":1081 + /* "pyrfc/_cyrfc.pyx":1082 * if not self.active_transaction: * raise RFCError("No transaction handle for this connection available.") * if not self.alive: # <<<<<<<<<<<<<< * self._open() * rc = RfcDestroyTransaction(self._tHandle, &errorInfo) */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_alive); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1081, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_alive); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1082, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 1081, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 1082, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_5 = ((!__pyx_t_1) != 0); if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":1082 + /* "pyrfc/_cyrfc.pyx":1083 * raise RFCError("No transaction handle for this connection available.") * if not self.alive: * self._open() # <<<<<<<<<<<<<< * rc = RfcDestroyTransaction(self._tHandle, &errorInfo) * self.active_transaction = False */ - __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1082, __pyx_L1_error) + __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1083, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1081 + /* "pyrfc/_cyrfc.pyx":1082 * if not self.active_transaction: * raise RFCError("No transaction handle for this connection available.") * if not self.alive: # <<<<<<<<<<<<<< @@ -13022,7 +13022,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_44_destroy_transaction(str */ } - /* "pyrfc/_cyrfc.pyx":1083 + /* "pyrfc/_cyrfc.pyx":1084 * if not self.alive: * self._open() * rc = RfcDestroyTransaction(self._tHandle, &errorInfo) # <<<<<<<<<<<<<< @@ -13031,7 +13031,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_44_destroy_transaction(str */ __pyx_v_rc = RfcDestroyTransaction(__pyx_v_self->_tHandle, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1084 + /* "pyrfc/_cyrfc.pyx":1085 * self._open() * rc = RfcDestroyTransaction(self._tHandle, &errorInfo) * self.active_transaction = False # <<<<<<<<<<<<<< @@ -13040,7 +13040,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_44_destroy_transaction(str */ __pyx_v_self->active_transaction = 0; - /* "pyrfc/_cyrfc.pyx":1085 + /* "pyrfc/_cyrfc.pyx":1086 * rc = RfcDestroyTransaction(self._tHandle, &errorInfo) * self.active_transaction = False * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -13050,18 +13050,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_44_destroy_transaction(str __pyx_t_5 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":1086 + /* "pyrfc/_cyrfc.pyx":1087 * self.active_transaction = False * if rc != RFC_OK: * self._error(&errorInfo) # <<<<<<<<<<<<<< * * def _confirm_transaction(self): */ - __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1086, __pyx_L1_error) + __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1087, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1085 + /* "pyrfc/_cyrfc.pyx":1086 * rc = RfcDestroyTransaction(self._tHandle, &errorInfo) * self.active_transaction = False * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -13070,7 +13070,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_44_destroy_transaction(str */ } - /* "pyrfc/_cyrfc.pyx":1076 + /* "pyrfc/_cyrfc.pyx":1077 * raise * * def _destroy_transaction(self): # <<<<<<<<<<<<<< @@ -13093,7 +13093,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_44_destroy_transaction(str return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1088 +/* "pyrfc/_cyrfc.pyx":1089 * self._error(&errorInfo) * * def _confirm_transaction(self): # <<<<<<<<<<<<<< @@ -13129,7 +13129,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_46_confirm_transaction(str int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_confirm_transaction", 0); - /* "pyrfc/_cyrfc.pyx":1091 + /* "pyrfc/_cyrfc.pyx":1092 * cdef RFC_RC rc * cdef RFC_ERROR_INFO errorInfo * if not self.active_transaction: # <<<<<<<<<<<<<< @@ -13139,14 +13139,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_46_confirm_transaction(str __pyx_t_1 = ((!(__pyx_v_self->active_transaction != 0)) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":1092 + /* "pyrfc/_cyrfc.pyx":1093 * cdef RFC_ERROR_INFO errorInfo * if not self.active_transaction: * raise RFCError("No transaction handle for this connection available.") # <<<<<<<<<<<<<< * if not self.alive: * self._open() */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1092, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1093, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) { @@ -13160,14 +13160,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_46_confirm_transaction(str } __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_kp_u_No_transaction_handle_for_this_c) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_kp_u_No_transaction_handle_for_this_c); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1092, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1093, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 1092, __pyx_L1_error) + __PYX_ERR(0, 1093, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1091 + /* "pyrfc/_cyrfc.pyx":1092 * cdef RFC_RC rc * cdef RFC_ERROR_INFO errorInfo * if not self.active_transaction: # <<<<<<<<<<<<<< @@ -13176,32 +13176,32 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_46_confirm_transaction(str */ } - /* "pyrfc/_cyrfc.pyx":1093 + /* "pyrfc/_cyrfc.pyx":1094 * if not self.active_transaction: * raise RFCError("No transaction handle for this connection available.") * if not self.alive: # <<<<<<<<<<<<<< * self._open() * rc = RfcConfirmTransaction(self._tHandle, &errorInfo) */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_alive); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1093, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_alive); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1094, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 1093, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 1094, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_5 = ((!__pyx_t_1) != 0); if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":1094 + /* "pyrfc/_cyrfc.pyx":1095 * raise RFCError("No transaction handle for this connection available.") * if not self.alive: * self._open() # <<<<<<<<<<<<<< * rc = RfcConfirmTransaction(self._tHandle, &errorInfo) * if rc != RFC_OK: */ - __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1094, __pyx_L1_error) + __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1095, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1093 + /* "pyrfc/_cyrfc.pyx":1094 * if not self.active_transaction: * raise RFCError("No transaction handle for this connection available.") * if not self.alive: # <<<<<<<<<<<<<< @@ -13210,7 +13210,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_46_confirm_transaction(str */ } - /* "pyrfc/_cyrfc.pyx":1095 + /* "pyrfc/_cyrfc.pyx":1096 * if not self.alive: * self._open() * rc = RfcConfirmTransaction(self._tHandle, &errorInfo) # <<<<<<<<<<<<<< @@ -13219,7 +13219,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_46_confirm_transaction(str */ __pyx_v_rc = RfcConfirmTransaction(__pyx_v_self->_tHandle, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1096 + /* "pyrfc/_cyrfc.pyx":1097 * self._open() * rc = RfcConfirmTransaction(self._tHandle, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -13229,18 +13229,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_46_confirm_transaction(str __pyx_t_5 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":1097 + /* "pyrfc/_cyrfc.pyx":1098 * rc = RfcConfirmTransaction(self._tHandle, &errorInfo) * if rc != RFC_OK: * self._error(&errorInfo) # <<<<<<<<<<<<<< * rc = RfcDestroyTransaction(self._tHandle, &errorInfo) * self.active_transaction = False */ - __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1097, __pyx_L1_error) + __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1098, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1096 + /* "pyrfc/_cyrfc.pyx":1097 * self._open() * rc = RfcConfirmTransaction(self._tHandle, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -13249,7 +13249,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_46_confirm_transaction(str */ } - /* "pyrfc/_cyrfc.pyx":1098 + /* "pyrfc/_cyrfc.pyx":1099 * if rc != RFC_OK: * self._error(&errorInfo) * rc = RfcDestroyTransaction(self._tHandle, &errorInfo) # <<<<<<<<<<<<<< @@ -13258,7 +13258,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_46_confirm_transaction(str */ __pyx_v_rc = RfcDestroyTransaction(__pyx_v_self->_tHandle, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1099 + /* "pyrfc/_cyrfc.pyx":1100 * self._error(&errorInfo) * rc = RfcDestroyTransaction(self._tHandle, &errorInfo) * self.active_transaction = False # <<<<<<<<<<<<<< @@ -13267,7 +13267,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_46_confirm_transaction(str */ __pyx_v_self->active_transaction = 0; - /* "pyrfc/_cyrfc.pyx":1100 + /* "pyrfc/_cyrfc.pyx":1101 * rc = RfcDestroyTransaction(self._tHandle, &errorInfo) * self.active_transaction = False * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -13277,18 +13277,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_46_confirm_transaction(str __pyx_t_5 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":1101 + /* "pyrfc/_cyrfc.pyx":1102 * self.active_transaction = False * if rc != RFC_OK: * self._error(&errorInfo) # <<<<<<<<<<<<<< * * ########################################################################## */ - __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1101, __pyx_L1_error) + __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1102, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1100 + /* "pyrfc/_cyrfc.pyx":1101 * rc = RfcDestroyTransaction(self._tHandle, &errorInfo) * self.active_transaction = False * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -13297,7 +13297,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_46_confirm_transaction(str */ } - /* "pyrfc/_cyrfc.pyx":1088 + /* "pyrfc/_cyrfc.pyx":1089 * self._error(&errorInfo) * * def _confirm_transaction(self): # <<<<<<<<<<<<<< @@ -13320,7 +13320,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_46_confirm_transaction(str return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1106 +/* "pyrfc/_cyrfc.pyx":1107 * # BACKGROUND RFC * * def _get_unit_id(self): # <<<<<<<<<<<<<< @@ -13358,32 +13358,32 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_48_get_unit_id(struct __py int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_get_unit_id", 0); - /* "pyrfc/_cyrfc.pyx":1112 + /* "pyrfc/_cyrfc.pyx":1113 * cdef RFC_UNITID uid * * if not self.alive: # <<<<<<<<<<<<<< * self._open() * rc = RfcGetUnitID(self._handle, uid, &errorInfo) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_alive); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1112, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_alive); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1113, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1112, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1113, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_3 = ((!__pyx_t_2) != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1113 + /* "pyrfc/_cyrfc.pyx":1114 * * if not self.alive: * self._open() # <<<<<<<<<<<<<< * rc = RfcGetUnitID(self._handle, uid, &errorInfo) * if rc != RFC_OK: */ - __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1113, __pyx_L1_error) + __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1114, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1112 + /* "pyrfc/_cyrfc.pyx":1113 * cdef RFC_UNITID uid * * if not self.alive: # <<<<<<<<<<<<<< @@ -13392,7 +13392,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_48_get_unit_id(struct __py */ } - /* "pyrfc/_cyrfc.pyx":1114 + /* "pyrfc/_cyrfc.pyx":1115 * if not self.alive: * self._open() * rc = RfcGetUnitID(self._handle, uid, &errorInfo) # <<<<<<<<<<<<<< @@ -13401,7 +13401,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_48_get_unit_id(struct __py */ __pyx_v_rc = RfcGetUnitID(__pyx_v_self->_handle, __pyx_v_uid, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1115 + /* "pyrfc/_cyrfc.pyx":1116 * self._open() * rc = RfcGetUnitID(self._handle, uid, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -13411,18 +13411,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_48_get_unit_id(struct __py __pyx_t_3 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1116 + /* "pyrfc/_cyrfc.pyx":1117 * rc = RfcGetUnitID(self._handle, uid, &errorInfo) * if rc != RFC_OK: * self._error(&errorInfo) # <<<<<<<<<<<<<< * return wrapString(uid, RFC_UNITID_LN) * */ - __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1116, __pyx_L1_error) + __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1117, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1115 + /* "pyrfc/_cyrfc.pyx":1116 * self._open() * rc = RfcGetUnitID(self._handle, uid, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -13431,7 +13431,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_48_get_unit_id(struct __py */ } - /* "pyrfc/_cyrfc.pyx":1117 + /* "pyrfc/_cyrfc.pyx":1118 * if rc != RFC_OK: * self._error(&errorInfo) * return wrapString(uid, RFC_UNITID_LN) # <<<<<<<<<<<<<< @@ -13439,18 +13439,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_48_get_unit_id(struct __py * def _create_and_submit_unit(self, unit_id, calls, queue_names=None, attributes=None): */ __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_From_int(RFC_UNITID_LN); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1117, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_int(RFC_UNITID_LN); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1118, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_5.__pyx_n = 1; __pyx_t_5.uclen = __pyx_t_1; - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_uid, &__pyx_t_5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1117, __pyx_L1_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_uid, &__pyx_t_5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1118, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_r = __pyx_t_4; __pyx_t_4 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1106 + /* "pyrfc/_cyrfc.pyx":1107 * # BACKGROUND RFC * * def _get_unit_id(self): # <<<<<<<<<<<<<< @@ -13470,7 +13470,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_48_get_unit_id(struct __py return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1119 +/* "pyrfc/_cyrfc.pyx":1120 * return wrapString(uid, RFC_UNITID_LN) * * def _create_and_submit_unit(self, unit_id, calls, queue_names=None, attributes=None): # <<<<<<<<<<<<<< @@ -13520,7 +13520,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Connection_51_create_and_submit_unit( case 1: if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_calls)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("_create_and_submit_unit", 0, 2, 4, 1); __PYX_ERR(0, 1119, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("_create_and_submit_unit", 0, 2, 4, 1); __PYX_ERR(0, 1120, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 2: @@ -13536,7 +13536,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Connection_51_create_and_submit_unit( } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_create_and_submit_unit") < 0)) __PYX_ERR(0, 1119, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_create_and_submit_unit") < 0)) __PYX_ERR(0, 1120, __pyx_L3_error) } } else { switch (PyTuple_GET_SIZE(__pyx_args)) { @@ -13557,7 +13557,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Connection_51_create_and_submit_unit( } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("_create_and_submit_unit", 0, 2, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1119, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("_create_and_submit_unit", 0, 2, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1120, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("pyrfc._cyrfc.Connection._create_and_submit_unit", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -13626,32 +13626,32 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __Pyx_RefNannySetupContext("_create_and_submit_unit", 0); __Pyx_INCREF(__pyx_v_queue_names); - /* "pyrfc/_cyrfc.pyx":1132 + /* "pyrfc/_cyrfc.pyx":1133 * cdef SAP_UC* sapuc * * if not self.alive: # <<<<<<<<<<<<<< * self._open() * */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_alive); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1132, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_alive); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1133, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1132, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1133, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_3 = ((!__pyx_t_2) != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1133 + /* "pyrfc/_cyrfc.pyx":1134 * * if not self.alive: * self._open() # <<<<<<<<<<<<<< * * # uid */ - __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1133, __pyx_L1_error) + __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1134, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1132 + /* "pyrfc/_cyrfc.pyx":1133 * cdef SAP_UC* sapuc * * if not self.alive: # <<<<<<<<<<<<<< @@ -13660,31 +13660,31 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ } - /* "pyrfc/_cyrfc.pyx":1136 + /* "pyrfc/_cyrfc.pyx":1137 * * # uid * uid = fillString(unit_id) # <<<<<<<<<<<<<< * # queue * queue_names = queue_names or [] */ - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_unit_id); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1136, __pyx_L1_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_unit_id); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1137, __pyx_L1_error) __pyx_v_uid = __pyx_t_4; - /* "pyrfc/_cyrfc.pyx":1138 + /* "pyrfc/_cyrfc.pyx":1139 * uid = fillString(unit_id) * # queue * queue_names = queue_names or [] # <<<<<<<<<<<<<< * if len(queue_names) == 0: * queueNameCount = 0 */ - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_v_queue_names); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1138, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_v_queue_names); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1139, __pyx_L1_error) if (!__pyx_t_3) { } else { __Pyx_INCREF(__pyx_v_queue_names); __pyx_t_1 = __pyx_v_queue_names; goto __pyx_L4_bool_binop_done; } - __pyx_t_5 = PyList_New(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1138, __pyx_L1_error) + __pyx_t_5 = PyList_New(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1139, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_INCREF(__pyx_t_5); __pyx_t_1 = __pyx_t_5; @@ -13693,18 +13693,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __Pyx_DECREF_SET(__pyx_v_queue_names, __pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1139 + /* "pyrfc/_cyrfc.pyx":1140 * # queue * queue_names = queue_names or [] * if len(queue_names) == 0: # <<<<<<<<<<<<<< * queueNameCount = 0 * queueNames = NULL */ - __pyx_t_6 = PyObject_Length(__pyx_v_queue_names); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1139, __pyx_L1_error) + __pyx_t_6 = PyObject_Length(__pyx_v_queue_names); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1140, __pyx_L1_error) __pyx_t_3 = ((__pyx_t_6 == 0) != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1140 + /* "pyrfc/_cyrfc.pyx":1141 * queue_names = queue_names or [] * if len(queue_names) == 0: * queueNameCount = 0 # <<<<<<<<<<<<<< @@ -13713,7 +13713,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ __pyx_v_queueNameCount = 0; - /* "pyrfc/_cyrfc.pyx":1141 + /* "pyrfc/_cyrfc.pyx":1142 * if len(queue_names) == 0: * queueNameCount = 0 * queueNames = NULL # <<<<<<<<<<<<<< @@ -13722,7 +13722,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ __pyx_v_queueNames = NULL; - /* "pyrfc/_cyrfc.pyx":1139 + /* "pyrfc/_cyrfc.pyx":1140 * # queue * queue_names = queue_names or [] * if len(queue_names) == 0: # <<<<<<<<<<<<<< @@ -13732,7 +13732,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( goto __pyx_L6; } - /* "pyrfc/_cyrfc.pyx":1143 + /* "pyrfc/_cyrfc.pyx":1144 * queueNames = NULL * else: * queueNameCount = int(len(queue_names)) # <<<<<<<<<<<<<< @@ -13740,10 +13740,10 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( * for i, queue_name in enumerate(queue_names): */ /*else*/ { - __pyx_t_6 = PyObject_Length(__pyx_v_queue_names); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1143, __pyx_L1_error) + __pyx_t_6 = PyObject_Length(__pyx_v_queue_names); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1144, __pyx_L1_error) __pyx_v_queueNameCount = ((int)__pyx_t_6); - /* "pyrfc/_cyrfc.pyx":1144 + /* "pyrfc/_cyrfc.pyx":1145 * else: * queueNameCount = int(len(queue_names)) * queueNames = mallocU(queueNameCount * sizeof(SAP_UC*)) # <<<<<<<<<<<<<< @@ -13752,7 +13752,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ __pyx_v_queueNames = ((SAP_UC **)mallocU((__pyx_v_queueNameCount * (sizeof(SAP_UC *))))); - /* "pyrfc/_cyrfc.pyx":1145 + /* "pyrfc/_cyrfc.pyx":1146 * queueNameCount = int(len(queue_names)) * queueNames = mallocU(queueNameCount * sizeof(SAP_UC*)) * for i, queue_name in enumerate(queue_names): # <<<<<<<<<<<<<< @@ -13765,26 +13765,26 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __pyx_t_5 = __pyx_v_queue_names; __Pyx_INCREF(__pyx_t_5); __pyx_t_6 = 0; __pyx_t_7 = NULL; } else { - __pyx_t_6 = -1; __pyx_t_5 = PyObject_GetIter(__pyx_v_queue_names); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1145, __pyx_L1_error) + __pyx_t_6 = -1; __pyx_t_5 = PyObject_GetIter(__pyx_v_queue_names); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1146, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_7 = Py_TYPE(__pyx_t_5)->tp_iternext; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1145, __pyx_L1_error) + __pyx_t_7 = Py_TYPE(__pyx_t_5)->tp_iternext; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1146, __pyx_L1_error) } for (;;) { if (likely(!__pyx_t_7)) { if (likely(PyList_CheckExact(__pyx_t_5))) { if (__pyx_t_6 >= PyList_GET_SIZE(__pyx_t_5)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_8 = PyList_GET_ITEM(__pyx_t_5, __pyx_t_6); __Pyx_INCREF(__pyx_t_8); __pyx_t_6++; if (unlikely(0 < 0)) __PYX_ERR(0, 1145, __pyx_L1_error) + __pyx_t_8 = PyList_GET_ITEM(__pyx_t_5, __pyx_t_6); __Pyx_INCREF(__pyx_t_8); __pyx_t_6++; if (unlikely(0 < 0)) __PYX_ERR(0, 1146, __pyx_L1_error) #else - __pyx_t_8 = PySequence_ITEM(__pyx_t_5, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1145, __pyx_L1_error) + __pyx_t_8 = PySequence_ITEM(__pyx_t_5, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1146, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); #endif } else { if (__pyx_t_6 >= PyTuple_GET_SIZE(__pyx_t_5)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_8 = PyTuple_GET_ITEM(__pyx_t_5, __pyx_t_6); __Pyx_INCREF(__pyx_t_8); __pyx_t_6++; if (unlikely(0 < 0)) __PYX_ERR(0, 1145, __pyx_L1_error) + __pyx_t_8 = PyTuple_GET_ITEM(__pyx_t_5, __pyx_t_6); __Pyx_INCREF(__pyx_t_8); __pyx_t_6++; if (unlikely(0 < 0)) __PYX_ERR(0, 1146, __pyx_L1_error) #else - __pyx_t_8 = PySequence_ITEM(__pyx_t_5, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1145, __pyx_L1_error) + __pyx_t_8 = PySequence_ITEM(__pyx_t_5, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1146, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); #endif } @@ -13794,7 +13794,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 1145, __pyx_L1_error) + else __PYX_ERR(0, 1146, __pyx_L1_error) } break; } @@ -13804,24 +13804,24 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __pyx_t_8 = 0; __Pyx_INCREF(__pyx_t_1); __Pyx_XDECREF_SET(__pyx_v_i, __pyx_t_1); - __pyx_t_8 = __Pyx_PyInt_AddObjC(__pyx_t_1, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1145, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyInt_AddObjC(__pyx_t_1, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1146, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = __pyx_t_8; __pyx_t_8 = 0; - /* "pyrfc/_cyrfc.pyx":1146 + /* "pyrfc/_cyrfc.pyx":1147 * queueNames = mallocU(queueNameCount * sizeof(SAP_UC*)) * for i, queue_name in enumerate(queue_names): * queueNames[i] = fillString(queue_name) # <<<<<<<<<<<<<< * # attributes * # set default values */ - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_queue_name); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1146, __pyx_L1_error) - __pyx_t_9 = __Pyx_PyIndex_AsSsize_t(__pyx_v_i); if (unlikely((__pyx_t_9 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 1146, __pyx_L1_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_queue_name); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1147, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyIndex_AsSsize_t(__pyx_v_i); if (unlikely((__pyx_t_9 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 1147, __pyx_L1_error) (__pyx_v_queueNames[__pyx_t_9]) = __pyx_t_4; - /* "pyrfc/_cyrfc.pyx":1145 + /* "pyrfc/_cyrfc.pyx":1146 * queueNameCount = int(len(queue_names)) * queueNames = mallocU(queueNameCount * sizeof(SAP_UC*)) * for i, queue_name in enumerate(queue_names): # <<<<<<<<<<<<<< @@ -13834,7 +13834,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( } __pyx_L6:; - /* "pyrfc/_cyrfc.pyx":1149 + /* "pyrfc/_cyrfc.pyx":1150 * # attributes * # set default values * memsetR(&unitAttr, 0, sizeof(RFC_UNIT_ATTRIBUTES)) # <<<<<<<<<<<<<< @@ -13843,7 +13843,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ memsetR((&__pyx_v_unitAttr), 0, (sizeof(RFC_UNIT_ATTRIBUTES))); - /* "pyrfc/_cyrfc.pyx":1150 + /* "pyrfc/_cyrfc.pyx":1151 * # set default values * memsetR(&unitAttr, 0, sizeof(RFC_UNIT_ATTRIBUTES)) * memsetR(&uIdentifier, 0, sizeof(RFC_UNIT_IDENTIFIER)) # <<<<<<<<<<<<<< @@ -13852,7 +13852,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ memsetR((&__pyx_v_uIdentifier), 0, (sizeof(RFC_UNIT_IDENTIFIER))); - /* "pyrfc/_cyrfc.pyx":1177 + /* "pyrfc/_cyrfc.pyx":1178 * # Sending time in UTC (GMT-0). Used only when the external program is server. * # In the client case the nwrfclib fills this automatically. * if attributes is not None: # <<<<<<<<<<<<<< @@ -13863,31 +13863,31 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __pyx_t_2 = (__pyx_t_3 != 0); if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":1178 + /* "pyrfc/_cyrfc.pyx":1179 * # In the client case the nwrfclib fills this automatically. * if attributes is not None: * if 'kernel_trace' in attributes: # <<<<<<<<<<<<<< * unitAttr.kernelTrace = attributes['kernel_trace'] * if 'sat_trace' in attributes: */ - __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_kernel_trace, __pyx_v_attributes, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1178, __pyx_L1_error) + __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_kernel_trace, __pyx_v_attributes, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1179, __pyx_L1_error) __pyx_t_3 = (__pyx_t_2 != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1179 + /* "pyrfc/_cyrfc.pyx":1180 * if attributes is not None: * if 'kernel_trace' in attributes: * unitAttr.kernelTrace = attributes['kernel_trace'] # <<<<<<<<<<<<<< * if 'sat_trace' in attributes: * unitAttr.satTrace = attributes['sat_trace'] */ - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_kernel_trace); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1179, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_kernel_trace); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1180, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_10 = __Pyx_PyInt_As_short(__pyx_t_1); if (unlikely((__pyx_t_10 == (short)-1) && PyErr_Occurred())) __PYX_ERR(0, 1179, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyInt_As_short(__pyx_t_1); if (unlikely((__pyx_t_10 == (short)-1) && PyErr_Occurred())) __PYX_ERR(0, 1180, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_unitAttr.kernelTrace = __pyx_t_10; - /* "pyrfc/_cyrfc.pyx":1178 + /* "pyrfc/_cyrfc.pyx":1179 * # In the client case the nwrfclib fills this automatically. * if attributes is not None: * if 'kernel_trace' in attributes: # <<<<<<<<<<<<<< @@ -13896,31 +13896,31 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ } - /* "pyrfc/_cyrfc.pyx":1180 + /* "pyrfc/_cyrfc.pyx":1181 * if 'kernel_trace' in attributes: * unitAttr.kernelTrace = attributes['kernel_trace'] * if 'sat_trace' in attributes: # <<<<<<<<<<<<<< * unitAttr.satTrace = attributes['sat_trace'] * if 'unit_history' in attributes: */ - __pyx_t_3 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_sat_trace, __pyx_v_attributes, Py_EQ)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1180, __pyx_L1_error) + __pyx_t_3 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_sat_trace, __pyx_v_attributes, Py_EQ)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1181, __pyx_L1_error) __pyx_t_2 = (__pyx_t_3 != 0); if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":1181 + /* "pyrfc/_cyrfc.pyx":1182 * unitAttr.kernelTrace = attributes['kernel_trace'] * if 'sat_trace' in attributes: * unitAttr.satTrace = attributes['sat_trace'] # <<<<<<<<<<<<<< * if 'unit_history' in attributes: * unitAttr.unitHistory = attributes['unit_history'] */ - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_sat_trace); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1181, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_sat_trace); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1182, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_10 = __Pyx_PyInt_As_short(__pyx_t_1); if (unlikely((__pyx_t_10 == (short)-1) && PyErr_Occurred())) __PYX_ERR(0, 1181, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyInt_As_short(__pyx_t_1); if (unlikely((__pyx_t_10 == (short)-1) && PyErr_Occurred())) __PYX_ERR(0, 1182, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_unitAttr.satTrace = __pyx_t_10; - /* "pyrfc/_cyrfc.pyx":1180 + /* "pyrfc/_cyrfc.pyx":1181 * if 'kernel_trace' in attributes: * unitAttr.kernelTrace = attributes['kernel_trace'] * if 'sat_trace' in attributes: # <<<<<<<<<<<<<< @@ -13929,31 +13929,31 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ } - /* "pyrfc/_cyrfc.pyx":1182 + /* "pyrfc/_cyrfc.pyx":1183 * if 'sat_trace' in attributes: * unitAttr.satTrace = attributes['sat_trace'] * if 'unit_history' in attributes: # <<<<<<<<<<<<<< * unitAttr.unitHistory = attributes['unit_history'] * if 'lock' in attributes: */ - __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_unit_history, __pyx_v_attributes, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1182, __pyx_L1_error) + __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_unit_history, __pyx_v_attributes, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1183, __pyx_L1_error) __pyx_t_3 = (__pyx_t_2 != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1183 + /* "pyrfc/_cyrfc.pyx":1184 * unitAttr.satTrace = attributes['sat_trace'] * if 'unit_history' in attributes: * unitAttr.unitHistory = attributes['unit_history'] # <<<<<<<<<<<<<< * if 'lock' in attributes: * unitAttr.lock = attributes['lock'] */ - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_unit_history); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1183, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_unit_history); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1184, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_10 = __Pyx_PyInt_As_short(__pyx_t_1); if (unlikely((__pyx_t_10 == (short)-1) && PyErr_Occurred())) __PYX_ERR(0, 1183, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyInt_As_short(__pyx_t_1); if (unlikely((__pyx_t_10 == (short)-1) && PyErr_Occurred())) __PYX_ERR(0, 1184, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_unitAttr.unitHistory = __pyx_t_10; - /* "pyrfc/_cyrfc.pyx":1182 + /* "pyrfc/_cyrfc.pyx":1183 * if 'sat_trace' in attributes: * unitAttr.satTrace = attributes['sat_trace'] * if 'unit_history' in attributes: # <<<<<<<<<<<<<< @@ -13962,31 +13962,31 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ } - /* "pyrfc/_cyrfc.pyx":1184 + /* "pyrfc/_cyrfc.pyx":1185 * if 'unit_history' in attributes: * unitAttr.unitHistory = attributes['unit_history'] * if 'lock' in attributes: # <<<<<<<<<<<<<< * unitAttr.lock = attributes['lock'] * if 'no_commit_check' in attributes: */ - __pyx_t_3 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_lock, __pyx_v_attributes, Py_EQ)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1184, __pyx_L1_error) + __pyx_t_3 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_lock, __pyx_v_attributes, Py_EQ)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1185, __pyx_L1_error) __pyx_t_2 = (__pyx_t_3 != 0); if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":1185 + /* "pyrfc/_cyrfc.pyx":1186 * unitAttr.unitHistory = attributes['unit_history'] * if 'lock' in attributes: * unitAttr.lock = attributes['lock'] # <<<<<<<<<<<<<< * if 'no_commit_check' in attributes: * unitAttr.noCommitCheck = attributes['no_commit_check'] */ - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_lock); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1185, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_lock); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1186, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_10 = __Pyx_PyInt_As_short(__pyx_t_1); if (unlikely((__pyx_t_10 == (short)-1) && PyErr_Occurred())) __PYX_ERR(0, 1185, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyInt_As_short(__pyx_t_1); if (unlikely((__pyx_t_10 == (short)-1) && PyErr_Occurred())) __PYX_ERR(0, 1186, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_unitAttr.lock = __pyx_t_10; - /* "pyrfc/_cyrfc.pyx":1184 + /* "pyrfc/_cyrfc.pyx":1185 * if 'unit_history' in attributes: * unitAttr.unitHistory = attributes['unit_history'] * if 'lock' in attributes: # <<<<<<<<<<<<<< @@ -13995,31 +13995,31 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ } - /* "pyrfc/_cyrfc.pyx":1186 + /* "pyrfc/_cyrfc.pyx":1187 * if 'lock' in attributes: * unitAttr.lock = attributes['lock'] * if 'no_commit_check' in attributes: # <<<<<<<<<<<<<< * unitAttr.noCommitCheck = attributes['no_commit_check'] * if 'user' in attributes and attributes['user'] is not None: */ - __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_no_commit_check, __pyx_v_attributes, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1186, __pyx_L1_error) + __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_no_commit_check, __pyx_v_attributes, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1187, __pyx_L1_error) __pyx_t_3 = (__pyx_t_2 != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1187 + /* "pyrfc/_cyrfc.pyx":1188 * unitAttr.lock = attributes['lock'] * if 'no_commit_check' in attributes: * unitAttr.noCommitCheck = attributes['no_commit_check'] # <<<<<<<<<<<<<< * if 'user' in attributes and attributes['user'] is not None: * # (SAP_UC[12+1]) Sender User (optional). Default is current operating system User. */ - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_no_commit_check); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1187, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_no_commit_check); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1188, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_10 = __Pyx_PyInt_As_short(__pyx_t_1); if (unlikely((__pyx_t_10 == (short)-1) && PyErr_Occurred())) __PYX_ERR(0, 1187, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyInt_As_short(__pyx_t_1); if (unlikely((__pyx_t_10 == (short)-1) && PyErr_Occurred())) __PYX_ERR(0, 1188, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_unitAttr.noCommitCheck = __pyx_t_10; - /* "pyrfc/_cyrfc.pyx":1186 + /* "pyrfc/_cyrfc.pyx":1187 * if 'lock' in attributes: * unitAttr.lock = attributes['lock'] * if 'no_commit_check' in attributes: # <<<<<<<<<<<<<< @@ -14028,21 +14028,21 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ } - /* "pyrfc/_cyrfc.pyx":1188 + /* "pyrfc/_cyrfc.pyx":1189 * if 'no_commit_check' in attributes: * unitAttr.noCommitCheck = attributes['no_commit_check'] * if 'user' in attributes and attributes['user'] is not None: # <<<<<<<<<<<<<< * # (SAP_UC[12+1]) Sender User (optional). Default is current operating system User. * sapuc = fillString(attributes['user'][0:12]) */ - __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_user, __pyx_v_attributes, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1188, __pyx_L1_error) + __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_user, __pyx_v_attributes, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1189, __pyx_L1_error) __pyx_t_11 = (__pyx_t_2 != 0); if (__pyx_t_11) { } else { __pyx_t_3 = __pyx_t_11; goto __pyx_L16_bool_binop_done; } - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_user); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1188, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_user); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1189, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_11 = (__pyx_t_1 != Py_None); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -14051,39 +14051,39 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __pyx_L16_bool_binop_done:; if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1190 + /* "pyrfc/_cyrfc.pyx":1191 * if 'user' in attributes and attributes['user'] is not None: * # (SAP_UC[12+1]) Sender User (optional). Default is current operating system User. * sapuc = fillString(attributes['user'][0:12]) # <<<<<<<<<<<<<< * strncpyU(unitAttr.user, sapuc, len(attributes['user'][0:12]) + 1) * free(sapuc) */ - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_user); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1190, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_user); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1191, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 12, NULL, NULL, &__pyx_slice__12, 1, 1, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1190, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 12, NULL, NULL, &__pyx_slice__12, 1, 1, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1191, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_5); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1190, __pyx_L1_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_5); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1191, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_v_sapuc = __pyx_t_4; - /* "pyrfc/_cyrfc.pyx":1191 + /* "pyrfc/_cyrfc.pyx":1192 * # (SAP_UC[12+1]) Sender User (optional). Default is current operating system User. * sapuc = fillString(attributes['user'][0:12]) * strncpyU(unitAttr.user, sapuc, len(attributes['user'][0:12]) + 1) # <<<<<<<<<<<<<< * free(sapuc) * if 'client' in attributes: */ - __pyx_t_5 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_user); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1191, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_user); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1192, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_5, 0, 12, NULL, NULL, &__pyx_slice__12, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1191, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_5, 0, 12, NULL, NULL, &__pyx_slice__12, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1192, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_6 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1191, __pyx_L1_error) + __pyx_t_6 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1192, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; strncpyU(__pyx_v_unitAttr.user, __pyx_v_sapuc, (__pyx_t_6 + 1)); - /* "pyrfc/_cyrfc.pyx":1192 + /* "pyrfc/_cyrfc.pyx":1193 * sapuc = fillString(attributes['user'][0:12]) * strncpyU(unitAttr.user, sapuc, len(attributes['user'][0:12]) + 1) * free(sapuc) # <<<<<<<<<<<<<< @@ -14092,7 +14092,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ free(__pyx_v_sapuc); - /* "pyrfc/_cyrfc.pyx":1188 + /* "pyrfc/_cyrfc.pyx":1189 * if 'no_commit_check' in attributes: * unitAttr.noCommitCheck = attributes['no_commit_check'] * if 'user' in attributes and attributes['user'] is not None: # <<<<<<<<<<<<<< @@ -14101,50 +14101,50 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ } - /* "pyrfc/_cyrfc.pyx":1193 + /* "pyrfc/_cyrfc.pyx":1194 * strncpyU(unitAttr.user, sapuc, len(attributes['user'][0:12]) + 1) * free(sapuc) * if 'client' in attributes: # <<<<<<<<<<<<<< * # (SAP_UC[3+1]) Sender Client ("Mandant") (optional). Default is "000". * sapuc = fillString(attributes['client'][0:3]) */ - __pyx_t_3 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_client, __pyx_v_attributes, Py_EQ)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1193, __pyx_L1_error) + __pyx_t_3 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_client, __pyx_v_attributes, Py_EQ)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1194, __pyx_L1_error) __pyx_t_2 = (__pyx_t_3 != 0); if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":1195 + /* "pyrfc/_cyrfc.pyx":1196 * if 'client' in attributes: * # (SAP_UC[3+1]) Sender Client ("Mandant") (optional). Default is "000". * sapuc = fillString(attributes['client'][0:3]) # <<<<<<<<<<<<<< * strncpyU(unitAttr.client, sapuc, len(attributes['client'][0:3]) + 1) * free(sapuc) */ - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_client); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1195, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_client); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1196, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 3, NULL, NULL, &__pyx_slice__13, 1, 1, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1195, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 3, NULL, NULL, &__pyx_slice__13, 1, 1, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1196, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_5); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1195, __pyx_L1_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_5); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1196, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_v_sapuc = __pyx_t_4; - /* "pyrfc/_cyrfc.pyx":1196 + /* "pyrfc/_cyrfc.pyx":1197 * # (SAP_UC[3+1]) Sender Client ("Mandant") (optional). Default is "000". * sapuc = fillString(attributes['client'][0:3]) * strncpyU(unitAttr.client, sapuc, len(attributes['client'][0:3]) + 1) # <<<<<<<<<<<<<< * free(sapuc) * if 't_code' in attributes: */ - __pyx_t_5 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_client); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1196, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_client); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1197, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_5, 0, 3, NULL, NULL, &__pyx_slice__13, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1196, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_5, 0, 3, NULL, NULL, &__pyx_slice__13, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1197, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_6 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1196, __pyx_L1_error) + __pyx_t_6 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1197, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; strncpyU(__pyx_v_unitAttr.client, __pyx_v_sapuc, (__pyx_t_6 + 1)); - /* "pyrfc/_cyrfc.pyx":1197 + /* "pyrfc/_cyrfc.pyx":1198 * sapuc = fillString(attributes['client'][0:3]) * strncpyU(unitAttr.client, sapuc, len(attributes['client'][0:3]) + 1) * free(sapuc) # <<<<<<<<<<<<<< @@ -14153,7 +14153,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ free(__pyx_v_sapuc); - /* "pyrfc/_cyrfc.pyx":1193 + /* "pyrfc/_cyrfc.pyx":1194 * strncpyU(unitAttr.user, sapuc, len(attributes['user'][0:12]) + 1) * free(sapuc) * if 'client' in attributes: # <<<<<<<<<<<<<< @@ -14162,50 +14162,50 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ } - /* "pyrfc/_cyrfc.pyx":1198 + /* "pyrfc/_cyrfc.pyx":1199 * strncpyU(unitAttr.client, sapuc, len(attributes['client'][0:3]) + 1) * free(sapuc) * if 't_code' in attributes: # <<<<<<<<<<<<<< * # (SAP_UC[20+1]) Sender Transaction Code (optional). Default is "". * sapuc = fillString(attributes['t_code'][0:20]) */ - __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_t_code, __pyx_v_attributes, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1198, __pyx_L1_error) + __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_t_code, __pyx_v_attributes, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1199, __pyx_L1_error) __pyx_t_3 = (__pyx_t_2 != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1200 + /* "pyrfc/_cyrfc.pyx":1201 * if 't_code' in attributes: * # (SAP_UC[20+1]) Sender Transaction Code (optional). Default is "". * sapuc = fillString(attributes['t_code'][0:20]) # <<<<<<<<<<<<<< * strncpyU(unitAttr.tCode, sapuc, len(attributes['t_code'][0:20]) + 1) * free(sapuc) */ - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_t_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1200, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_t_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1201, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 20, NULL, NULL, &__pyx_slice__14, 1, 1, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1200, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 20, NULL, NULL, &__pyx_slice__14, 1, 1, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1201, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_5); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1200, __pyx_L1_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_5); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1201, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_v_sapuc = __pyx_t_4; - /* "pyrfc/_cyrfc.pyx":1201 + /* "pyrfc/_cyrfc.pyx":1202 * # (SAP_UC[20+1]) Sender Transaction Code (optional). Default is "". * sapuc = fillString(attributes['t_code'][0:20]) * strncpyU(unitAttr.tCode, sapuc, len(attributes['t_code'][0:20]) + 1) # <<<<<<<<<<<<<< * free(sapuc) * if 'program' in attributes and attributes['program'] is not None: */ - __pyx_t_5 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_t_code); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1201, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_t_code); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1202, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_5, 0, 20, NULL, NULL, &__pyx_slice__14, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1201, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_5, 0, 20, NULL, NULL, &__pyx_slice__14, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1202, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_6 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1201, __pyx_L1_error) + __pyx_t_6 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1202, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; strncpyU(__pyx_v_unitAttr.tCode, __pyx_v_sapuc, (__pyx_t_6 + 1)); - /* "pyrfc/_cyrfc.pyx":1202 + /* "pyrfc/_cyrfc.pyx":1203 * sapuc = fillString(attributes['t_code'][0:20]) * strncpyU(unitAttr.tCode, sapuc, len(attributes['t_code'][0:20]) + 1) * free(sapuc) # <<<<<<<<<<<<<< @@ -14214,7 +14214,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ free(__pyx_v_sapuc); - /* "pyrfc/_cyrfc.pyx":1198 + /* "pyrfc/_cyrfc.pyx":1199 * strncpyU(unitAttr.client, sapuc, len(attributes['client'][0:3]) + 1) * free(sapuc) * if 't_code' in attributes: # <<<<<<<<<<<<<< @@ -14223,21 +14223,21 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ } - /* "pyrfc/_cyrfc.pyx":1203 + /* "pyrfc/_cyrfc.pyx":1204 * strncpyU(unitAttr.tCode, sapuc, len(attributes['t_code'][0:20]) + 1) * free(sapuc) * if 'program' in attributes and attributes['program'] is not None: # <<<<<<<<<<<<<< * # (SAP_UC[40+1]) Sender Program (optional). Default is current executable name. * sapuc = fillString(attributes['program'][0:40]) */ - __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_program, __pyx_v_attributes, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1203, __pyx_L1_error) + __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_program, __pyx_v_attributes, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1204, __pyx_L1_error) __pyx_t_11 = (__pyx_t_2 != 0); if (__pyx_t_11) { } else { __pyx_t_3 = __pyx_t_11; goto __pyx_L21_bool_binop_done; } - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_program); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1203, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_program); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1204, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_11 = (__pyx_t_1 != Py_None); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -14246,39 +14246,39 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __pyx_L21_bool_binop_done:; if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1205 + /* "pyrfc/_cyrfc.pyx":1206 * if 'program' in attributes and attributes['program'] is not None: * # (SAP_UC[40+1]) Sender Program (optional). Default is current executable name. * sapuc = fillString(attributes['program'][0:40]) # <<<<<<<<<<<<<< * strncpyU(unitAttr.program, sapuc, len(attributes['program'][0:40]) + 1) * free(sapuc) */ - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_program); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1205, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_program); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1206, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 40, NULL, NULL, &__pyx_slice__15, 1, 1, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1205, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 40, NULL, NULL, &__pyx_slice__15, 1, 1, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1206, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_5); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1205, __pyx_L1_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_5); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1206, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_v_sapuc = __pyx_t_4; - /* "pyrfc/_cyrfc.pyx":1206 + /* "pyrfc/_cyrfc.pyx":1207 * # (SAP_UC[40+1]) Sender Program (optional). Default is current executable name. * sapuc = fillString(attributes['program'][0:40]) * strncpyU(unitAttr.program, sapuc, len(attributes['program'][0:40]) + 1) # <<<<<<<<<<<<<< * free(sapuc) * */ - __pyx_t_5 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_program); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1206, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_Dict_GetItem(__pyx_v_attributes, __pyx_n_u_program); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1207, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_5, 0, 40, NULL, NULL, &__pyx_slice__15, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1206, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_5, 0, 40, NULL, NULL, &__pyx_slice__15, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1207, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_6 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1206, __pyx_L1_error) + __pyx_t_6 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1207, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; strncpyU(__pyx_v_unitAttr.program, __pyx_v_sapuc, (__pyx_t_6 + 1)); - /* "pyrfc/_cyrfc.pyx":1207 + /* "pyrfc/_cyrfc.pyx":1208 * sapuc = fillString(attributes['program'][0:40]) * strncpyU(unitAttr.program, sapuc, len(attributes['program'][0:40]) + 1) * free(sapuc) # <<<<<<<<<<<<<< @@ -14287,7 +14287,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ free(__pyx_v_sapuc); - /* "pyrfc/_cyrfc.pyx":1203 + /* "pyrfc/_cyrfc.pyx":1204 * strncpyU(unitAttr.tCode, sapuc, len(attributes['t_code'][0:20]) + 1) * free(sapuc) * if 'program' in attributes and attributes['program'] is not None: # <<<<<<<<<<<<<< @@ -14296,7 +14296,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ } - /* "pyrfc/_cyrfc.pyx":1177 + /* "pyrfc/_cyrfc.pyx":1178 * # Sending time in UTC (GMT-0). Used only when the external program is server. * # In the client case the nwrfclib fills this automatically. * if attributes is not None: # <<<<<<<<<<<<<< @@ -14305,7 +14305,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ } - /* "pyrfc/_cyrfc.pyx":1209 + /* "pyrfc/_cyrfc.pyx":1210 * free(sapuc) * * self._uHandle = RfcCreateUnit(self._handle, uid, queueNames, queueNameCount, &unitAttr, &uIdentifier, &errorInfo) # <<<<<<<<<<<<<< @@ -14314,18 +14314,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ __pyx_v_self->_uHandle = RfcCreateUnit(__pyx_v_self->_handle, __pyx_v_uid, ((const SAP_UC* *)__pyx_v_queueNames), __pyx_v_queueNameCount, (&__pyx_v_unitAttr), (&__pyx_v_uIdentifier), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1212 + /* "pyrfc/_cyrfc.pyx":1213 * * # queue (deallocate) * if len(queue_names) > 0: # <<<<<<<<<<<<<< * for i, queue_name in enumerate(queue_names): * free(queueNames[i]) */ - __pyx_t_6 = PyObject_Length(__pyx_v_queue_names); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1212, __pyx_L1_error) + __pyx_t_6 = PyObject_Length(__pyx_v_queue_names); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1213, __pyx_L1_error) __pyx_t_3 = ((__pyx_t_6 > 0) != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1213 + /* "pyrfc/_cyrfc.pyx":1214 * # queue (deallocate) * if len(queue_names) > 0: * for i, queue_name in enumerate(queue_names): # <<<<<<<<<<<<<< @@ -14338,26 +14338,26 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __pyx_t_5 = __pyx_v_queue_names; __Pyx_INCREF(__pyx_t_5); __pyx_t_6 = 0; __pyx_t_7 = NULL; } else { - __pyx_t_6 = -1; __pyx_t_5 = PyObject_GetIter(__pyx_v_queue_names); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1213, __pyx_L1_error) + __pyx_t_6 = -1; __pyx_t_5 = PyObject_GetIter(__pyx_v_queue_names); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1214, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_7 = Py_TYPE(__pyx_t_5)->tp_iternext; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1213, __pyx_L1_error) + __pyx_t_7 = Py_TYPE(__pyx_t_5)->tp_iternext; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1214, __pyx_L1_error) } for (;;) { if (likely(!__pyx_t_7)) { if (likely(PyList_CheckExact(__pyx_t_5))) { if (__pyx_t_6 >= PyList_GET_SIZE(__pyx_t_5)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_8 = PyList_GET_ITEM(__pyx_t_5, __pyx_t_6); __Pyx_INCREF(__pyx_t_8); __pyx_t_6++; if (unlikely(0 < 0)) __PYX_ERR(0, 1213, __pyx_L1_error) + __pyx_t_8 = PyList_GET_ITEM(__pyx_t_5, __pyx_t_6); __Pyx_INCREF(__pyx_t_8); __pyx_t_6++; if (unlikely(0 < 0)) __PYX_ERR(0, 1214, __pyx_L1_error) #else - __pyx_t_8 = PySequence_ITEM(__pyx_t_5, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1213, __pyx_L1_error) + __pyx_t_8 = PySequence_ITEM(__pyx_t_5, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1214, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); #endif } else { if (__pyx_t_6 >= PyTuple_GET_SIZE(__pyx_t_5)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_8 = PyTuple_GET_ITEM(__pyx_t_5, __pyx_t_6); __Pyx_INCREF(__pyx_t_8); __pyx_t_6++; if (unlikely(0 < 0)) __PYX_ERR(0, 1213, __pyx_L1_error) + __pyx_t_8 = PyTuple_GET_ITEM(__pyx_t_5, __pyx_t_6); __Pyx_INCREF(__pyx_t_8); __pyx_t_6++; if (unlikely(0 < 0)) __PYX_ERR(0, 1214, __pyx_L1_error) #else - __pyx_t_8 = PySequence_ITEM(__pyx_t_5, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1213, __pyx_L1_error) + __pyx_t_8 = PySequence_ITEM(__pyx_t_5, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1214, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); #endif } @@ -14367,7 +14367,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 1213, __pyx_L1_error) + else __PYX_ERR(0, 1214, __pyx_L1_error) } break; } @@ -14377,23 +14377,23 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __pyx_t_8 = 0; __Pyx_INCREF(__pyx_t_1); __Pyx_XDECREF_SET(__pyx_v_i, __pyx_t_1); - __pyx_t_8 = __Pyx_PyInt_AddObjC(__pyx_t_1, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1213, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyInt_AddObjC(__pyx_t_1, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1214, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = __pyx_t_8; __pyx_t_8 = 0; - /* "pyrfc/_cyrfc.pyx":1214 + /* "pyrfc/_cyrfc.pyx":1215 * if len(queue_names) > 0: * for i, queue_name in enumerate(queue_names): * free(queueNames[i]) # <<<<<<<<<<<<<< * free(queueNames) * # uid (deallocate) */ - __pyx_t_9 = __Pyx_PyIndex_AsSsize_t(__pyx_v_i); if (unlikely((__pyx_t_9 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 1214, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyIndex_AsSsize_t(__pyx_v_i); if (unlikely((__pyx_t_9 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 1215, __pyx_L1_error) free((__pyx_v_queueNames[__pyx_t_9])); - /* "pyrfc/_cyrfc.pyx":1213 + /* "pyrfc/_cyrfc.pyx":1214 * # queue (deallocate) * if len(queue_names) > 0: * for i, queue_name in enumerate(queue_names): # <<<<<<<<<<<<<< @@ -14404,7 +14404,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1215 + /* "pyrfc/_cyrfc.pyx":1216 * for i, queue_name in enumerate(queue_names): * free(queueNames[i]) * free(queueNames) # <<<<<<<<<<<<<< @@ -14413,7 +14413,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ free(__pyx_v_queueNames); - /* "pyrfc/_cyrfc.pyx":1212 + /* "pyrfc/_cyrfc.pyx":1213 * * # queue (deallocate) * if len(queue_names) > 0: # <<<<<<<<<<<<<< @@ -14422,7 +14422,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ } - /* "pyrfc/_cyrfc.pyx":1217 + /* "pyrfc/_cyrfc.pyx":1218 * free(queueNames) * # uid (deallocate) * free(uid) # <<<<<<<<<<<<<< @@ -14431,7 +14431,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ free(__pyx_v_uid); - /* "pyrfc/_cyrfc.pyx":1219 + /* "pyrfc/_cyrfc.pyx":1220 * free(uid) * * if self._uHandle == NULL: # <<<<<<<<<<<<<< @@ -14441,18 +14441,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __pyx_t_3 = ((__pyx_v_self->_uHandle == NULL) != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1220 + /* "pyrfc/_cyrfc.pyx":1221 * * if self._uHandle == NULL: * self._error(&errorInfo) # <<<<<<<<<<<<<< * self.active_unit = True * */ - __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1220, __pyx_L1_error) + __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1221, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1219 + /* "pyrfc/_cyrfc.pyx":1220 * free(uid) * * if self._uHandle == NULL: # <<<<<<<<<<<<<< @@ -14461,7 +14461,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ } - /* "pyrfc/_cyrfc.pyx":1221 + /* "pyrfc/_cyrfc.pyx":1222 * if self._uHandle == NULL: * self._error(&errorInfo) * self.active_unit = True # <<<<<<<<<<<<<< @@ -14470,7 +14470,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ __pyx_v_self->active_unit = 1; - /* "pyrfc/_cyrfc.pyx":1223 + /* "pyrfc/_cyrfc.pyx":1224 * self.active_unit = True * * try: # <<<<<<<<<<<<<< @@ -14486,7 +14486,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __Pyx_XGOTREF(__pyx_t_14); /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1224 + /* "pyrfc/_cyrfc.pyx":1225 * * try: * for func_name, params in calls: # <<<<<<<<<<<<<< @@ -14497,26 +14497,26 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __pyx_t_1 = __pyx_v_calls; __Pyx_INCREF(__pyx_t_1); __pyx_t_6 = 0; __pyx_t_7 = NULL; } else { - __pyx_t_6 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_v_calls); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1224, __pyx_L27_error) + __pyx_t_6 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_v_calls); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1225, __pyx_L27_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_7 = Py_TYPE(__pyx_t_1)->tp_iternext; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1224, __pyx_L27_error) + __pyx_t_7 = Py_TYPE(__pyx_t_1)->tp_iternext; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1225, __pyx_L27_error) } for (;;) { if (likely(!__pyx_t_7)) { if (likely(PyList_CheckExact(__pyx_t_1))) { if (__pyx_t_6 >= PyList_GET_SIZE(__pyx_t_1)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_5 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_6); __Pyx_INCREF(__pyx_t_5); __pyx_t_6++; if (unlikely(0 < 0)) __PYX_ERR(0, 1224, __pyx_L27_error) + __pyx_t_5 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_6); __Pyx_INCREF(__pyx_t_5); __pyx_t_6++; if (unlikely(0 < 0)) __PYX_ERR(0, 1225, __pyx_L27_error) #else - __pyx_t_5 = PySequence_ITEM(__pyx_t_1, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1224, __pyx_L27_error) + __pyx_t_5 = PySequence_ITEM(__pyx_t_1, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1225, __pyx_L27_error) __Pyx_GOTREF(__pyx_t_5); #endif } else { if (__pyx_t_6 >= PyTuple_GET_SIZE(__pyx_t_1)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_5 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_6); __Pyx_INCREF(__pyx_t_5); __pyx_t_6++; if (unlikely(0 < 0)) __PYX_ERR(0, 1224, __pyx_L27_error) + __pyx_t_5 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_6); __Pyx_INCREF(__pyx_t_5); __pyx_t_6++; if (unlikely(0 < 0)) __PYX_ERR(0, 1225, __pyx_L27_error) #else - __pyx_t_5 = PySequence_ITEM(__pyx_t_1, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1224, __pyx_L27_error) + __pyx_t_5 = PySequence_ITEM(__pyx_t_1, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1225, __pyx_L27_error) __Pyx_GOTREF(__pyx_t_5); #endif } @@ -14526,7 +14526,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 1224, __pyx_L27_error) + else __PYX_ERR(0, 1225, __pyx_L27_error) } break; } @@ -14538,7 +14538,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( if (unlikely(size != 2)) { if (size > 2) __Pyx_RaiseTooManyValuesError(2); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 1224, __pyx_L27_error) + __PYX_ERR(0, 1225, __pyx_L27_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -14551,15 +14551,15 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __Pyx_INCREF(__pyx_t_8); __Pyx_INCREF(__pyx_t_15); #else - __pyx_t_8 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1224, __pyx_L27_error) + __pyx_t_8 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1225, __pyx_L27_error) __Pyx_GOTREF(__pyx_t_8); - __pyx_t_15 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1224, __pyx_L27_error) + __pyx_t_15 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1225, __pyx_L27_error) __Pyx_GOTREF(__pyx_t_15); #endif __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; } else { Py_ssize_t index = -1; - __pyx_t_16 = PyObject_GetIter(__pyx_t_5); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 1224, __pyx_L27_error) + __pyx_t_16 = PyObject_GetIter(__pyx_t_5); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 1225, __pyx_L27_error) __Pyx_GOTREF(__pyx_t_16); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_17 = Py_TYPE(__pyx_t_16)->tp_iternext; @@ -14567,7 +14567,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __Pyx_GOTREF(__pyx_t_8); index = 1; __pyx_t_15 = __pyx_t_17(__pyx_t_16); if (unlikely(!__pyx_t_15)) goto __pyx_L35_unpacking_failed; __Pyx_GOTREF(__pyx_t_15); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_17(__pyx_t_16), 2) < 0) __PYX_ERR(0, 1224, __pyx_L27_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_17(__pyx_t_16), 2) < 0) __PYX_ERR(0, 1225, __pyx_L27_error) __pyx_t_17 = NULL; __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0; goto __pyx_L36_unpacking_done; @@ -14575,7 +14575,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0; __pyx_t_17 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 1224, __pyx_L27_error) + __PYX_ERR(0, 1225, __pyx_L27_error) __pyx_L36_unpacking_done:; } __Pyx_XDECREF_SET(__pyx_v_func_name, __pyx_t_8); @@ -14583,17 +14583,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __Pyx_XDECREF_SET(__pyx_v_params, __pyx_t_15); __pyx_t_15 = 0; - /* "pyrfc/_cyrfc.pyx":1225 + /* "pyrfc/_cyrfc.pyx":1226 * try: * for func_name, params in calls: * funcName = fillString(func_name) # <<<<<<<<<<<<<< * funcDesc = RfcGetFunctionDesc(self._handle, funcName, &errorInfo) * free(funcName) */ - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_func_name); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1225, __pyx_L27_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_func_name); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1226, __pyx_L27_error) __pyx_v_funcName = __pyx_t_4; - /* "pyrfc/_cyrfc.pyx":1226 + /* "pyrfc/_cyrfc.pyx":1227 * for func_name, params in calls: * funcName = fillString(func_name) * funcDesc = RfcGetFunctionDesc(self._handle, funcName, &errorInfo) # <<<<<<<<<<<<<< @@ -14602,7 +14602,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ __pyx_v_funcDesc = RfcGetFunctionDesc(__pyx_v_self->_handle, __pyx_v_funcName, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1227 + /* "pyrfc/_cyrfc.pyx":1228 * funcName = fillString(func_name) * funcDesc = RfcGetFunctionDesc(self._handle, funcName, &errorInfo) * free(funcName) # <<<<<<<<<<<<<< @@ -14611,7 +14611,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ free(__pyx_v_funcName); - /* "pyrfc/_cyrfc.pyx":1228 + /* "pyrfc/_cyrfc.pyx":1229 * funcDesc = RfcGetFunctionDesc(self._handle, funcName, &errorInfo) * free(funcName) * if not funcDesc: # <<<<<<<<<<<<<< @@ -14621,18 +14621,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __pyx_t_3 = ((!(__pyx_v_funcDesc != 0)) != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1229 + /* "pyrfc/_cyrfc.pyx":1230 * free(funcName) * if not funcDesc: * self._error(&errorInfo) # <<<<<<<<<<<<<< * funcCont = RfcCreateFunction(funcDesc, &errorInfo) * if not funcCont: */ - __pyx_t_5 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1229, __pyx_L27_error) + __pyx_t_5 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1230, __pyx_L27_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "pyrfc/_cyrfc.pyx":1228 + /* "pyrfc/_cyrfc.pyx":1229 * funcDesc = RfcGetFunctionDesc(self._handle, funcName, &errorInfo) * free(funcName) * if not funcDesc: # <<<<<<<<<<<<<< @@ -14641,7 +14641,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ } - /* "pyrfc/_cyrfc.pyx":1230 + /* "pyrfc/_cyrfc.pyx":1231 * if not funcDesc: * self._error(&errorInfo) * funcCont = RfcCreateFunction(funcDesc, &errorInfo) # <<<<<<<<<<<<<< @@ -14650,7 +14650,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ __pyx_v_funcCont = RfcCreateFunction(__pyx_v_funcDesc, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1231 + /* "pyrfc/_cyrfc.pyx":1232 * self._error(&errorInfo) * funcCont = RfcCreateFunction(funcDesc, &errorInfo) * if not funcCont: # <<<<<<<<<<<<<< @@ -14660,18 +14660,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __pyx_t_3 = ((!(__pyx_v_funcCont != 0)) != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1232 + /* "pyrfc/_cyrfc.pyx":1233 * funcCont = RfcCreateFunction(funcDesc, &errorInfo) * if not funcCont: * self._error(&errorInfo) # <<<<<<<<<<<<<< * try: * for name, value in params.iteritems(): */ - __pyx_t_5 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1232, __pyx_L27_error) + __pyx_t_5 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1233, __pyx_L27_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "pyrfc/_cyrfc.pyx":1231 + /* "pyrfc/_cyrfc.pyx":1232 * self._error(&errorInfo) * funcCont = RfcCreateFunction(funcDesc, &errorInfo) * if not funcCont: # <<<<<<<<<<<<<< @@ -14680,7 +14680,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ } - /* "pyrfc/_cyrfc.pyx":1233 + /* "pyrfc/_cyrfc.pyx":1234 * if not funcCont: * self._error(&errorInfo) * try: # <<<<<<<<<<<<<< @@ -14689,7 +14689,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1234 + /* "pyrfc/_cyrfc.pyx":1235 * self._error(&errorInfo) * try: * for name, value in params.iteritems(): # <<<<<<<<<<<<<< @@ -14699,9 +14699,9 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __pyx_t_9 = 0; if (unlikely(__pyx_v_params == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "iteritems"); - __PYX_ERR(0, 1234, __pyx_L42_error) + __PYX_ERR(0, 1235, __pyx_L42_error) } - __pyx_t_15 = __Pyx_dict_iterator(__pyx_v_params, 0, __pyx_n_s_iteritems, (&__pyx_t_18), (&__pyx_t_19)); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1234, __pyx_L42_error) + __pyx_t_15 = __Pyx_dict_iterator(__pyx_v_params, 0, __pyx_n_s_iteritems, (&__pyx_t_18), (&__pyx_t_19)); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1235, __pyx_L42_error) __Pyx_GOTREF(__pyx_t_15); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = __pyx_t_15; @@ -14709,7 +14709,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( while (1) { __pyx_t_20 = __Pyx_dict_iter_next(__pyx_t_5, __pyx_t_18, &__pyx_t_9, &__pyx_t_15, &__pyx_t_8, NULL, __pyx_t_19); if (unlikely(__pyx_t_20 == 0)) break; - if (unlikely(__pyx_t_20 == -1)) __PYX_ERR(0, 1234, __pyx_L42_error) + if (unlikely(__pyx_t_20 == -1)) __PYX_ERR(0, 1235, __pyx_L42_error) __Pyx_GOTREF(__pyx_t_15); __Pyx_GOTREF(__pyx_t_8); __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_15); @@ -14717,20 +14717,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __Pyx_XDECREF_SET(__pyx_v_value, __pyx_t_8); __pyx_t_8 = 0; - /* "pyrfc/_cyrfc.pyx":1235 + /* "pyrfc/_cyrfc.pyx":1236 * try: * for name, value in params.iteritems(): * fillFunctionParameter(funcDesc, funcCont, name, value) # <<<<<<<<<<<<<< * # Add RFC call to unit * rc = RfcInvokeInUnit(self._uHandle, funcCont, &errorInfo) */ - __pyx_t_8 = __pyx_f_5pyrfc_6_cyrfc_fillFunctionParameter(__pyx_v_funcDesc, __pyx_v_funcCont, __pyx_v_name, __pyx_v_value); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1235, __pyx_L42_error) + __pyx_t_8 = __pyx_f_5pyrfc_6_cyrfc_fillFunctionParameter(__pyx_v_funcDesc, __pyx_v_funcCont, __pyx_v_name, __pyx_v_value); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1236, __pyx_L42_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; } __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "pyrfc/_cyrfc.pyx":1237 + /* "pyrfc/_cyrfc.pyx":1238 * fillFunctionParameter(funcDesc, funcCont, name, value) * # Add RFC call to unit * rc = RfcInvokeInUnit(self._uHandle, funcCont, &errorInfo) # <<<<<<<<<<<<<< @@ -14739,7 +14739,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ __pyx_v_rc = RfcInvokeInUnit(__pyx_v_self->_uHandle, __pyx_v_funcCont, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1238 + /* "pyrfc/_cyrfc.pyx":1239 * # Add RFC call to unit * rc = RfcInvokeInUnit(self._uHandle, funcCont, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -14749,18 +14749,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __pyx_t_3 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1239 + /* "pyrfc/_cyrfc.pyx":1240 * rc = RfcInvokeInUnit(self._uHandle, funcCont, &errorInfo) * if rc != RFC_OK: * self._error(&errorInfo) # <<<<<<<<<<<<<< * finally: * RfcDestroyFunction(funcCont, NULL) */ - __pyx_t_5 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1239, __pyx_L42_error) + __pyx_t_5 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1240, __pyx_L42_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "pyrfc/_cyrfc.pyx":1238 + /* "pyrfc/_cyrfc.pyx":1239 * # Add RFC call to unit * rc = RfcInvokeInUnit(self._uHandle, funcCont, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -14770,7 +14770,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( } } - /* "pyrfc/_cyrfc.pyx":1241 + /* "pyrfc/_cyrfc.pyx":1242 * self._error(&errorInfo) * finally: * RfcDestroyFunction(funcCont, NULL) # <<<<<<<<<<<<<< @@ -14820,7 +14820,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __pyx_L43:; } - /* "pyrfc/_cyrfc.pyx":1224 + /* "pyrfc/_cyrfc.pyx":1225 * * try: * for func_name, params in calls: # <<<<<<<<<<<<<< @@ -14830,18 +14830,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1243 + /* "pyrfc/_cyrfc.pyx":1244 * RfcDestroyFunction(funcCont, NULL) * # execute * print (" Invocation finished. submitting unit.") # <<<<<<<<<<<<<< * with nogil: * rc = RfcSubmitUnit(self._uHandle, &errorInfo) */ - __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_print, __pyx_tuple__16, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1243, __pyx_L27_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_print, __pyx_tuple__16, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1244, __pyx_L27_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1244 + /* "pyrfc/_cyrfc.pyx":1245 * # execute * print (" Invocation finished. submitting unit.") * with nogil: # <<<<<<<<<<<<<< @@ -14856,7 +14856,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( #endif /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1245 + /* "pyrfc/_cyrfc.pyx":1246 * print (" Invocation finished. submitting unit.") * with nogil: * rc = RfcSubmitUnit(self._uHandle, &errorInfo) # <<<<<<<<<<<<<< @@ -14866,7 +14866,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __pyx_v_rc = RfcSubmitUnit(__pyx_v_self->_uHandle, (&__pyx_v_errorInfo)); } - /* "pyrfc/_cyrfc.pyx":1244 + /* "pyrfc/_cyrfc.pyx":1245 * # execute * print (" Invocation finished. submitting unit.") * with nogil: # <<<<<<<<<<<<<< @@ -14885,7 +14885,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( } } - /* "pyrfc/_cyrfc.pyx":1246 + /* "pyrfc/_cyrfc.pyx":1247 * with nogil: * rc = RfcSubmitUnit(self._uHandle, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -14895,18 +14895,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __pyx_t_3 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1247 + /* "pyrfc/_cyrfc.pyx":1248 * rc = RfcSubmitUnit(self._uHandle, &errorInfo) * if rc != RFC_OK: * self._error(&errorInfo) # <<<<<<<<<<<<<< * * except RFCError as e: */ - __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1247, __pyx_L27_error) + __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1248, __pyx_L27_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1246 + /* "pyrfc/_cyrfc.pyx":1247 * with nogil: * rc = RfcSubmitUnit(self._uHandle, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -14915,7 +14915,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ } - /* "pyrfc/_cyrfc.pyx":1223 + /* "pyrfc/_cyrfc.pyx":1224 * self.active_unit = True * * try: # <<<<<<<<<<<<<< @@ -14934,7 +14934,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; - /* "pyrfc/_cyrfc.pyx":1249 + /* "pyrfc/_cyrfc.pyx":1250 * self._error(&errorInfo) * * except RFCError as e: # <<<<<<<<<<<<<< @@ -14942,7 +14942,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( * RfcDestroyUnit(self._uHandle, NULL) */ __Pyx_ErrFetch(&__pyx_t_1, &__pyx_t_5, &__pyx_t_8); - __Pyx_GetModuleGlobalName(__pyx_t_15, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1249, __pyx_L29_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_15, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1250, __pyx_L29_except_error) __Pyx_GOTREF(__pyx_t_15); __pyx_t_20 = __Pyx_PyErr_GivenExceptionMatches(__pyx_t_1, __pyx_t_15); __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; @@ -14950,7 +14950,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __pyx_t_1 = 0; __pyx_t_5 = 0; __pyx_t_8 = 0; if (__pyx_t_20) { __Pyx_AddTraceback("pyrfc._cyrfc.Connection._create_and_submit_unit", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_8, &__pyx_t_5, &__pyx_t_1) < 0) __PYX_ERR(0, 1249, __pyx_L29_except_error) + if (__Pyx_GetException(&__pyx_t_8, &__pyx_t_5, &__pyx_t_1) < 0) __PYX_ERR(0, 1250, __pyx_L29_except_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_GOTREF(__pyx_t_5); __Pyx_GOTREF(__pyx_t_1); @@ -14958,7 +14958,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __pyx_v_e = __pyx_t_5; /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1251 + /* "pyrfc/_cyrfc.pyx":1252 * except RFCError as e: * # clean up actions * RfcDestroyUnit(self._uHandle, NULL) # <<<<<<<<<<<<<< @@ -14967,7 +14967,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( */ (void)(RfcDestroyUnit(__pyx_v_self->_uHandle, NULL)); - /* "pyrfc/_cyrfc.pyx":1252 + /* "pyrfc/_cyrfc.pyx":1253 * # clean up actions * RfcDestroyUnit(self._uHandle, NULL) * raise # <<<<<<<<<<<<<< @@ -14979,10 +14979,10 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __Pyx_XGIVEREF(__pyx_t_1); __Pyx_ErrRestoreWithState(__pyx_t_8, __pyx_t_5, __pyx_t_1); __pyx_t_8 = 0; __pyx_t_5 = 0; __pyx_t_1 = 0; - __PYX_ERR(0, 1252, __pyx_L60_error) + __PYX_ERR(0, 1253, __pyx_L60_error) } - /* "pyrfc/_cyrfc.pyx":1249 + /* "pyrfc/_cyrfc.pyx":1250 * self._error(&errorInfo) * * except RFCError as e: # <<<<<<<<<<<<<< @@ -15029,7 +15029,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( goto __pyx_L29_except_error; __pyx_L29_except_error:; - /* "pyrfc/_cyrfc.pyx":1223 + /* "pyrfc/_cyrfc.pyx":1224 * self.active_unit = True * * try: # <<<<<<<<<<<<<< @@ -15044,19 +15044,19 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( __pyx_L32_try_end:; } - /* "pyrfc/_cyrfc.pyx":1254 + /* "pyrfc/_cyrfc.pyx":1255 * raise * * unit_identifier = wrapUnitIdentifier(uIdentifier) # <<<<<<<<<<<<<< * return unit_identifier["queued"] * */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapUnitIdentifier(__pyx_v_uIdentifier); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1254, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapUnitIdentifier(__pyx_v_uIdentifier); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1255, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_unit_identifier = __pyx_t_1; __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1255 + /* "pyrfc/_cyrfc.pyx":1256 * * unit_identifier = wrapUnitIdentifier(uIdentifier) * return unit_identifier["queued"] # <<<<<<<<<<<<<< @@ -15064,13 +15064,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( * def _get_unit_state(self, unit): */ __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit_identifier, __pyx_n_u_queued); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1255, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit_identifier, __pyx_n_u_queued); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1256, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1119 + /* "pyrfc/_cyrfc.pyx":1120 * return wrapString(uid, RFC_UNITID_LN) * * def _create_and_submit_unit(self, unit_id, calls, queue_names=None, attributes=None): # <<<<<<<<<<<<<< @@ -15102,7 +15102,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_50_create_and_submit_unit( return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1257 +/* "pyrfc/_cyrfc.pyx":1258 * return unit_identifier["queued"] * * def _get_unit_state(self, unit): # <<<<<<<<<<<<<< @@ -15145,17 +15145,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_52_get_unit_state(struct _ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_get_unit_state", 0); - /* "pyrfc/_cyrfc.pyx":1260 + /* "pyrfc/_cyrfc.pyx":1261 * cdef RFC_RC rc * cdef RFC_ERROR_INFO errorInfo * cdef RFC_UNIT_IDENTIFIER uIdentifier = fillUnitIdentifier(unit) # <<<<<<<<<<<<<< * cdef RFC_UNIT_STATE state * */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_fillUnitIdentifier(__pyx_v_unit); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1260, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_fillUnitIdentifier(__pyx_v_unit); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1261, __pyx_L1_error) __pyx_v_uIdentifier = __pyx_t_1; - /* "pyrfc/_cyrfc.pyx":1263 + /* "pyrfc/_cyrfc.pyx":1264 * cdef RFC_UNIT_STATE state * * if not self.active_unit: # <<<<<<<<<<<<<< @@ -15165,14 +15165,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_52_get_unit_state(struct _ __pyx_t_2 = ((!(__pyx_v_self->active_unit != 0)) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":1264 + /* "pyrfc/_cyrfc.pyx":1265 * * if not self.active_unit: * raise RFCError("No unit handle for this connection available.") # <<<<<<<<<<<<<< * if not self.alive: * self._open() */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1264, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1265, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_4))) { @@ -15186,14 +15186,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_52_get_unit_state(struct _ } __pyx_t_3 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_5, __pyx_kp_u_No_unit_handle_for_this_connecti) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_kp_u_No_unit_handle_for_this_connecti); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1264, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1265, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 1264, __pyx_L1_error) + __PYX_ERR(0, 1265, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1263 + /* "pyrfc/_cyrfc.pyx":1264 * cdef RFC_UNIT_STATE state * * if not self.active_unit: # <<<<<<<<<<<<<< @@ -15202,32 +15202,32 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_52_get_unit_state(struct _ */ } - /* "pyrfc/_cyrfc.pyx":1265 + /* "pyrfc/_cyrfc.pyx":1266 * if not self.active_unit: * raise RFCError("No unit handle for this connection available.") * if not self.alive: # <<<<<<<<<<<<<< * self._open() * rc = RfcGetUnitState(self._handle, &uIdentifier, &state, &errorInfo) */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_alive); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1265, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_alive); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1266, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1265, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1266, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_6 = ((!__pyx_t_2) != 0); if (__pyx_t_6) { - /* "pyrfc/_cyrfc.pyx":1266 + /* "pyrfc/_cyrfc.pyx":1267 * raise RFCError("No unit handle for this connection available.") * if not self.alive: * self._open() # <<<<<<<<<<<<<< * rc = RfcGetUnitState(self._handle, &uIdentifier, &state, &errorInfo) * if rc != RFC_OK: */ - __pyx_t_3 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1266, __pyx_L1_error) + __pyx_t_3 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1267, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":1265 + /* "pyrfc/_cyrfc.pyx":1266 * if not self.active_unit: * raise RFCError("No unit handle for this connection available.") * if not self.alive: # <<<<<<<<<<<<<< @@ -15236,7 +15236,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_52_get_unit_state(struct _ */ } - /* "pyrfc/_cyrfc.pyx":1267 + /* "pyrfc/_cyrfc.pyx":1268 * if not self.alive: * self._open() * rc = RfcGetUnitState(self._handle, &uIdentifier, &state, &errorInfo) # <<<<<<<<<<<<<< @@ -15245,7 +15245,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_52_get_unit_state(struct _ */ __pyx_v_rc = RfcGetUnitState(__pyx_v_self->_handle, (&__pyx_v_uIdentifier), (&__pyx_v_state), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1268 + /* "pyrfc/_cyrfc.pyx":1269 * self._open() * rc = RfcGetUnitState(self._handle, &uIdentifier, &state, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -15255,18 +15255,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_52_get_unit_state(struct _ __pyx_t_6 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_6) { - /* "pyrfc/_cyrfc.pyx":1269 + /* "pyrfc/_cyrfc.pyx":1270 * rc = RfcGetUnitState(self._handle, &uIdentifier, &state, &errorInfo) * if rc != RFC_OK: * self._error(&errorInfo) # <<<<<<<<<<<<<< * if state not in enum_values(UnitState): * raise RFCError(f"Unit {unit['id']} has invalid state '{state}'") */ - __pyx_t_3 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1269, __pyx_L1_error) + __pyx_t_3 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1270, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":1268 + /* "pyrfc/_cyrfc.pyx":1269 * self._open() * rc = RfcGetUnitState(self._handle, &uIdentifier, &state, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -15275,18 +15275,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_52_get_unit_state(struct _ */ } - /* "pyrfc/_cyrfc.pyx":1270 + /* "pyrfc/_cyrfc.pyx":1271 * if rc != RFC_OK: * self._error(&errorInfo) * if state not in enum_values(UnitState): # <<<<<<<<<<<<<< * raise RFCError(f"Unit {unit['id']} has invalid state '{state}'") * return UnitState(state).name */ - __pyx_t_3 = __Pyx_PyInt_From_RFC_UNIT_STATE(__pyx_v_state); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1270, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_From_RFC_UNIT_STATE(__pyx_v_state); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1271, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_enum_values); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1270, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_enum_values); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1271, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_UnitState); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1270, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_UnitState); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1271, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_5))) { @@ -15301,25 +15301,25 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_52_get_unit_state(struct _ __pyx_t_4 = (__pyx_t_8) ? __Pyx_PyObject_Call2Args(__pyx_t_5, __pyx_t_8, __pyx_t_7) : __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_t_7); __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1270, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1271, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_6 = (__Pyx_PySequence_ContainsTF(__pyx_t_3, __pyx_t_4, Py_NE)); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(0, 1270, __pyx_L1_error) + __pyx_t_6 = (__Pyx_PySequence_ContainsTF(__pyx_t_3, __pyx_t_4, Py_NE)); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(0, 1271, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_2 = (__pyx_t_6 != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":1271 + /* "pyrfc/_cyrfc.pyx":1272 * self._error(&errorInfo) * if state not in enum_values(UnitState): * raise RFCError(f"Unit {unit['id']} has invalid state '{state}'") # <<<<<<<<<<<<<< * return UnitState(state).name * */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1271, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1272, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = PyTuple_New(5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1271, __pyx_L1_error) + __pyx_t_5 = PyTuple_New(5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1272, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_9 = 0; __pyx_t_10 = 127; @@ -15327,9 +15327,9 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_52_get_unit_state(struct _ __pyx_t_9 += 5; __Pyx_GIVEREF(__pyx_kp_u_Unit); PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_kp_u_Unit); - __pyx_t_7 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit, __pyx_n_u_id); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1271, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit, __pyx_n_u_id); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1272, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_8 = __Pyx_PyObject_FormatSimple(__pyx_t_7, __pyx_empty_unicode); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1271, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_FormatSimple(__pyx_t_7, __pyx_empty_unicode); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1272, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_10 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_8) > __pyx_t_10) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_8) : __pyx_t_10; @@ -15341,7 +15341,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_52_get_unit_state(struct _ __pyx_t_9 += 20; __Pyx_GIVEREF(__pyx_kp_u_has_invalid_state); PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_kp_u_has_invalid_state); - __pyx_t_8 = __Pyx_PyUnicode_From_RFC_UNIT_STATE(__pyx_v_state, 0, ' ', 'd'); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1271, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyUnicode_From_RFC_UNIT_STATE(__pyx_v_state, 0, ' ', 'd'); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1272, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_10 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_8) > __pyx_t_10) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_8) : __pyx_t_10; __pyx_t_9 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_8); @@ -15352,7 +15352,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_52_get_unit_state(struct _ __pyx_t_9 += 1; __Pyx_GIVEREF(__pyx_kp_u__6); PyTuple_SET_ITEM(__pyx_t_5, 4, __pyx_kp_u__6); - __pyx_t_8 = __Pyx_PyUnicode_Join(__pyx_t_5, 5, __pyx_t_9, __pyx_t_10); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1271, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyUnicode_Join(__pyx_t_5, 5, __pyx_t_9, __pyx_t_10); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1272, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_5 = NULL; @@ -15368,14 +15368,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_52_get_unit_state(struct _ __pyx_t_4 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_5, __pyx_t_8) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_8); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1271, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1272, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __PYX_ERR(0, 1271, __pyx_L1_error) + __PYX_ERR(0, 1272, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1270 + /* "pyrfc/_cyrfc.pyx":1271 * if rc != RFC_OK: * self._error(&errorInfo) * if state not in enum_values(UnitState): # <<<<<<<<<<<<<< @@ -15384,7 +15384,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_52_get_unit_state(struct _ */ } - /* "pyrfc/_cyrfc.pyx":1272 + /* "pyrfc/_cyrfc.pyx":1273 * if state not in enum_values(UnitState): * raise RFCError(f"Unit {unit['id']} has invalid state '{state}'") * return UnitState(state).name # <<<<<<<<<<<<<< @@ -15392,9 +15392,9 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_52_get_unit_state(struct _ * def _destroy_unit(self): */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_UnitState); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1272, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_UnitState); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1273, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_8 = __Pyx_PyInt_From_RFC_UNIT_STATE(__pyx_v_state); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1272, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyInt_From_RFC_UNIT_STATE(__pyx_v_state); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1273, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_5 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) { @@ -15409,17 +15409,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_52_get_unit_state(struct _ __pyx_t_4 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_5, __pyx_t_8) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_8); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1272, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1273, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_name); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1272, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_name); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1273, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_r = __pyx_t_3; __pyx_t_3 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1257 + /* "pyrfc/_cyrfc.pyx":1258 * return unit_identifier["queued"] * * def _get_unit_state(self, unit): # <<<<<<<<<<<<<< @@ -15442,7 +15442,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_52_get_unit_state(struct _ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1274 +/* "pyrfc/_cyrfc.pyx":1275 * return UnitState(state).name * * def _destroy_unit(self): # <<<<<<<<<<<<<< @@ -15478,7 +15478,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_54_destroy_unit(struct __p int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_destroy_unit", 0); - /* "pyrfc/_cyrfc.pyx":1277 + /* "pyrfc/_cyrfc.pyx":1278 * cdef RFC_RC rc * cdef RFC_ERROR_INFO errorInfo * if not self.active_unit: # <<<<<<<<<<<<<< @@ -15488,14 +15488,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_54_destroy_unit(struct __p __pyx_t_1 = ((!(__pyx_v_self->active_unit != 0)) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":1278 + /* "pyrfc/_cyrfc.pyx":1279 * cdef RFC_ERROR_INFO errorInfo * if not self.active_unit: * raise RFCError("No unit handle for this connection available.") # <<<<<<<<<<<<<< * if not self.alive: * self._open() */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1278, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1279, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) { @@ -15509,14 +15509,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_54_destroy_unit(struct __p } __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_kp_u_No_unit_handle_for_this_connecti) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_kp_u_No_unit_handle_for_this_connecti); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1278, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1279, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 1278, __pyx_L1_error) + __PYX_ERR(0, 1279, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1277 + /* "pyrfc/_cyrfc.pyx":1278 * cdef RFC_RC rc * cdef RFC_ERROR_INFO errorInfo * if not self.active_unit: # <<<<<<<<<<<<<< @@ -15525,32 +15525,32 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_54_destroy_unit(struct __p */ } - /* "pyrfc/_cyrfc.pyx":1279 + /* "pyrfc/_cyrfc.pyx":1280 * if not self.active_unit: * raise RFCError("No unit handle for this connection available.") * if not self.alive: # <<<<<<<<<<<<<< * self._open() * rc = RfcDestroyUnit(self._uHandle, &errorInfo) */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_alive); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1279, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_alive); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1280, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 1279, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 1280, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_5 = ((!__pyx_t_1) != 0); if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":1280 + /* "pyrfc/_cyrfc.pyx":1281 * raise RFCError("No unit handle for this connection available.") * if not self.alive: * self._open() # <<<<<<<<<<<<<< * rc = RfcDestroyUnit(self._uHandle, &errorInfo) * self.active_unit = False */ - __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1280, __pyx_L1_error) + __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1281, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1279 + /* "pyrfc/_cyrfc.pyx":1280 * if not self.active_unit: * raise RFCError("No unit handle for this connection available.") * if not self.alive: # <<<<<<<<<<<<<< @@ -15559,7 +15559,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_54_destroy_unit(struct __p */ } - /* "pyrfc/_cyrfc.pyx":1281 + /* "pyrfc/_cyrfc.pyx":1282 * if not self.alive: * self._open() * rc = RfcDestroyUnit(self._uHandle, &errorInfo) # <<<<<<<<<<<<<< @@ -15568,7 +15568,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_54_destroy_unit(struct __p */ __pyx_v_rc = RfcDestroyUnit(__pyx_v_self->_uHandle, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1282 + /* "pyrfc/_cyrfc.pyx":1283 * self._open() * rc = RfcDestroyUnit(self._uHandle, &errorInfo) * self.active_unit = False # <<<<<<<<<<<<<< @@ -15577,7 +15577,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_54_destroy_unit(struct __p */ __pyx_v_self->active_unit = 0; - /* "pyrfc/_cyrfc.pyx":1283 + /* "pyrfc/_cyrfc.pyx":1284 * rc = RfcDestroyUnit(self._uHandle, &errorInfo) * self.active_unit = False * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -15587,18 +15587,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_54_destroy_unit(struct __p __pyx_t_5 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":1284 + /* "pyrfc/_cyrfc.pyx":1285 * self.active_unit = False * if rc != RFC_OK: * self._error(&errorInfo) # <<<<<<<<<<<<<< * * def _confirm_unit(self, unit): */ - __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1284, __pyx_L1_error) + __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1285, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1283 + /* "pyrfc/_cyrfc.pyx":1284 * rc = RfcDestroyUnit(self._uHandle, &errorInfo) * self.active_unit = False * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -15607,7 +15607,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_54_destroy_unit(struct __p */ } - /* "pyrfc/_cyrfc.pyx":1274 + /* "pyrfc/_cyrfc.pyx":1275 * return UnitState(state).name * * def _destroy_unit(self): # <<<<<<<<<<<<<< @@ -15630,7 +15630,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_54_destroy_unit(struct __p return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1286 +/* "pyrfc/_cyrfc.pyx":1287 * self._error(&errorInfo) * * def _confirm_unit(self, unit): # <<<<<<<<<<<<<< @@ -15668,17 +15668,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_56_confirm_unit(struct __p int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_confirm_unit", 0); - /* "pyrfc/_cyrfc.pyx":1289 + /* "pyrfc/_cyrfc.pyx":1290 * cdef RFC_RC rc * cdef RFC_ERROR_INFO errorInfo * cdef RFC_UNIT_IDENTIFIER uIdentifier = fillUnitIdentifier(unit) # <<<<<<<<<<<<<< * * if not self.active_unit: */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_fillUnitIdentifier(__pyx_v_unit); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1289, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_fillUnitIdentifier(__pyx_v_unit); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1290, __pyx_L1_error) __pyx_v_uIdentifier = __pyx_t_1; - /* "pyrfc/_cyrfc.pyx":1291 + /* "pyrfc/_cyrfc.pyx":1292 * cdef RFC_UNIT_IDENTIFIER uIdentifier = fillUnitIdentifier(unit) * * if not self.active_unit: # <<<<<<<<<<<<<< @@ -15688,14 +15688,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_56_confirm_unit(struct __p __pyx_t_2 = ((!(__pyx_v_self->active_unit != 0)) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":1292 + /* "pyrfc/_cyrfc.pyx":1293 * * if not self.active_unit: * raise RFCError("No unit handle for this connection available.") # <<<<<<<<<<<<<< * if not self.alive: * self._open() */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1292, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1293, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_4))) { @@ -15709,14 +15709,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_56_confirm_unit(struct __p } __pyx_t_3 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_5, __pyx_kp_u_No_unit_handle_for_this_connecti) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_kp_u_No_unit_handle_for_this_connecti); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1292, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1293, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 1292, __pyx_L1_error) + __PYX_ERR(0, 1293, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1291 + /* "pyrfc/_cyrfc.pyx":1292 * cdef RFC_UNIT_IDENTIFIER uIdentifier = fillUnitIdentifier(unit) * * if not self.active_unit: # <<<<<<<<<<<<<< @@ -15725,32 +15725,32 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_56_confirm_unit(struct __p */ } - /* "pyrfc/_cyrfc.pyx":1293 + /* "pyrfc/_cyrfc.pyx":1294 * if not self.active_unit: * raise RFCError("No unit handle for this connection available.") * if not self.alive: # <<<<<<<<<<<<<< * self._open() * rc = RfcConfirmUnit(self._handle, &uIdentifier, &errorInfo) */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_alive); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1293, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_alive); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1294, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1293, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1294, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_6 = ((!__pyx_t_2) != 0); if (__pyx_t_6) { - /* "pyrfc/_cyrfc.pyx":1294 + /* "pyrfc/_cyrfc.pyx":1295 * raise RFCError("No unit handle for this connection available.") * if not self.alive: * self._open() # <<<<<<<<<<<<<< * rc = RfcConfirmUnit(self._handle, &uIdentifier, &errorInfo) * if rc != RFC_OK: */ - __pyx_t_3 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1294, __pyx_L1_error) + __pyx_t_3 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":1293 + /* "pyrfc/_cyrfc.pyx":1294 * if not self.active_unit: * raise RFCError("No unit handle for this connection available.") * if not self.alive: # <<<<<<<<<<<<<< @@ -15759,7 +15759,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_56_confirm_unit(struct __p */ } - /* "pyrfc/_cyrfc.pyx":1295 + /* "pyrfc/_cyrfc.pyx":1296 * if not self.alive: * self._open() * rc = RfcConfirmUnit(self._handle, &uIdentifier, &errorInfo) # <<<<<<<<<<<<<< @@ -15768,7 +15768,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_56_confirm_unit(struct __p */ __pyx_v_rc = RfcConfirmUnit(__pyx_v_self->_handle, (&__pyx_v_uIdentifier), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1296 + /* "pyrfc/_cyrfc.pyx":1297 * self._open() * rc = RfcConfirmUnit(self._handle, &uIdentifier, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -15778,18 +15778,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_56_confirm_unit(struct __p __pyx_t_6 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_6) { - /* "pyrfc/_cyrfc.pyx":1297 + /* "pyrfc/_cyrfc.pyx":1298 * rc = RfcConfirmUnit(self._handle, &uIdentifier, &errorInfo) * if rc != RFC_OK: * self._error(&errorInfo) # <<<<<<<<<<<<<< * rc = RfcDestroyUnit(self._uHandle, &errorInfo) * self.active_unit = False */ - __pyx_t_3 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1297, __pyx_L1_error) + __pyx_t_3 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1298, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":1296 + /* "pyrfc/_cyrfc.pyx":1297 * self._open() * rc = RfcConfirmUnit(self._handle, &uIdentifier, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -15798,7 +15798,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_56_confirm_unit(struct __p */ } - /* "pyrfc/_cyrfc.pyx":1298 + /* "pyrfc/_cyrfc.pyx":1299 * if rc != RFC_OK: * self._error(&errorInfo) * rc = RfcDestroyUnit(self._uHandle, &errorInfo) # <<<<<<<<<<<<<< @@ -15807,7 +15807,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_56_confirm_unit(struct __p */ __pyx_v_rc = RfcDestroyUnit(__pyx_v_self->_uHandle, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1299 + /* "pyrfc/_cyrfc.pyx":1300 * self._error(&errorInfo) * rc = RfcDestroyUnit(self._uHandle, &errorInfo) * self.active_unit = False # <<<<<<<<<<<<<< @@ -15816,7 +15816,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_56_confirm_unit(struct __p */ __pyx_v_self->active_unit = 0; - /* "pyrfc/_cyrfc.pyx":1300 + /* "pyrfc/_cyrfc.pyx":1301 * rc = RfcDestroyUnit(self._uHandle, &errorInfo) * self.active_unit = False * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -15826,18 +15826,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_56_confirm_unit(struct __p __pyx_t_6 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_6) { - /* "pyrfc/_cyrfc.pyx":1301 + /* "pyrfc/_cyrfc.pyx":1302 * self.active_unit = False * if rc != RFC_OK: * self._error(&errorInfo) # <<<<<<<<<<<<<< * * ########################################################################## */ - __pyx_t_3 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1301, __pyx_L1_error) + __pyx_t_3 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Connection *)__pyx_v_self->__pyx_vtab)->_error(__pyx_v_self, (&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1302, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":1300 + /* "pyrfc/_cyrfc.pyx":1301 * rc = RfcDestroyUnit(self._uHandle, &errorInfo) * self.active_unit = False * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -15846,7 +15846,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_56_confirm_unit(struct __p */ } - /* "pyrfc/_cyrfc.pyx":1286 + /* "pyrfc/_cyrfc.pyx":1287 * self._error(&errorInfo) * * def _confirm_unit(self, unit): # <<<<<<<<<<<<<< @@ -15869,7 +15869,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_56_confirm_unit(struct __p return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1311 +/* "pyrfc/_cyrfc.pyx":1312 * # * queued - boolean, set on fill_and_submit_unit() call * * def initialize_unit(self, background=True): # <<<<<<<<<<<<<< @@ -15910,7 +15910,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Connection_59initialize_unit(PyObject } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "initialize_unit") < 0)) __PYX_ERR(0, 1311, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "initialize_unit") < 0)) __PYX_ERR(0, 1312, __pyx_L3_error) } } else { switch (PyTuple_GET_SIZE(__pyx_args)) { @@ -15924,7 +15924,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Connection_59initialize_unit(PyObject } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("initialize_unit", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1311, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("initialize_unit", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1312, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("pyrfc._cyrfc.Connection.initialize_unit", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -15951,7 +15951,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_58initialize_unit(struct _ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("initialize_unit", 0); - /* "pyrfc/_cyrfc.pyx":1326 + /* "pyrfc/_cyrfc.pyx":1327 * :returns: A dictionary describing the unit. * """ * if background is True: # use bgRFC # <<<<<<<<<<<<<< @@ -15962,14 +15962,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_58initialize_unit(struct _ __pyx_t_2 = (__pyx_t_1 != 0); if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":1327 + /* "pyrfc/_cyrfc.pyx":1328 * """ * if background is True: # use bgRFC * id = self._get_unit_id() # <<<<<<<<<<<<<< * elif background is False: # classic t/qRFC * id = self._get_transaction_id() */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_get_unit_id); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1327, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_get_unit_id); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1328, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) { @@ -15983,13 +15983,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_58initialize_unit(struct _ } __pyx_t_3 = (__pyx_t_5) ? __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_5) : __Pyx_PyObject_CallNoArg(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1327, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1328, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_v_id = __pyx_t_3; __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":1326 + /* "pyrfc/_cyrfc.pyx":1327 * :returns: A dictionary describing the unit. * """ * if background is True: # use bgRFC # <<<<<<<<<<<<<< @@ -15999,7 +15999,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_58initialize_unit(struct _ goto __pyx_L3; } - /* "pyrfc/_cyrfc.pyx":1328 + /* "pyrfc/_cyrfc.pyx":1329 * if background is True: # use bgRFC * id = self._get_unit_id() * elif background is False: # classic t/qRFC # <<<<<<<<<<<<<< @@ -16010,14 +16010,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_58initialize_unit(struct _ __pyx_t_1 = (__pyx_t_2 != 0); if (likely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":1329 + /* "pyrfc/_cyrfc.pyx":1330 * id = self._get_unit_id() * elif background is False: # classic t/qRFC * id = self._get_transaction_id() # <<<<<<<<<<<<<< * else: * raise RFCError("Argument 'background' must be a boolean value.") */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_get_transaction_id); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1329, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_get_transaction_id); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1330, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) { @@ -16031,13 +16031,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_58initialize_unit(struct _ } __pyx_t_3 = (__pyx_t_5) ? __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_5) : __Pyx_PyObject_CallNoArg(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1329, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1330, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_v_id = __pyx_t_3; __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":1328 + /* "pyrfc/_cyrfc.pyx":1329 * if background is True: # use bgRFC * id = self._get_unit_id() * elif background is False: # classic t/qRFC # <<<<<<<<<<<<<< @@ -16047,7 +16047,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_58initialize_unit(struct _ goto __pyx_L3; } - /* "pyrfc/_cyrfc.pyx":1331 + /* "pyrfc/_cyrfc.pyx":1332 * id = self._get_transaction_id() * else: * raise RFCError("Argument 'background' must be a boolean value.") # <<<<<<<<<<<<<< @@ -16055,7 +16055,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_58initialize_unit(struct _ * */ /*else*/ { - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1331, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1332, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_4))) { @@ -16069,16 +16069,16 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_58initialize_unit(struct _ } __pyx_t_3 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_5, __pyx_kp_u_Argument_background_must_be_a_bo) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_kp_u_Argument_background_must_be_a_bo); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1331, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1332, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 1331, __pyx_L1_error) + __PYX_ERR(0, 1332, __pyx_L1_error) } __pyx_L3:; - /* "pyrfc/_cyrfc.pyx":1332 + /* "pyrfc/_cyrfc.pyx":1333 * else: * raise RFCError("Argument 'background' must be a boolean value.") * return {'background': background, 'id': id, "queued": False} # <<<<<<<<<<<<<< @@ -16086,16 +16086,16 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_58initialize_unit(struct _ * def fill_and_submit_unit(self, unit, calls, queue_names=None, attributes=None): */ __Pyx_XDECREF(__pyx_r); - __pyx_t_3 = __Pyx_PyDict_NewPresized(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1332, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyDict_NewPresized(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1333, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_background, __pyx_v_background) < 0) __PYX_ERR(0, 1332, __pyx_L1_error) - if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_id, __pyx_v_id) < 0) __PYX_ERR(0, 1332, __pyx_L1_error) - if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_queued, Py_False) < 0) __PYX_ERR(0, 1332, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_background, __pyx_v_background) < 0) __PYX_ERR(0, 1333, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_id, __pyx_v_id) < 0) __PYX_ERR(0, 1333, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_queued, Py_False) < 0) __PYX_ERR(0, 1333, __pyx_L1_error) __pyx_r = __pyx_t_3; __pyx_t_3 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1311 + /* "pyrfc/_cyrfc.pyx":1312 * # * queued - boolean, set on fill_and_submit_unit() call * * def initialize_unit(self, background=True): # <<<<<<<<<<<<<< @@ -16117,7 +16117,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_58initialize_unit(struct _ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1334 +/* "pyrfc/_cyrfc.pyx":1335 * return {'background': background, 'id': id, "queued": False} * * def fill_and_submit_unit(self, unit, calls, queue_names=None, attributes=None): # <<<<<<<<<<<<<< @@ -16168,7 +16168,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Connection_61fill_and_submit_unit(PyO case 1: if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_calls)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("fill_and_submit_unit", 0, 2, 4, 1); __PYX_ERR(0, 1334, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("fill_and_submit_unit", 0, 2, 4, 1); __PYX_ERR(0, 1335, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 2: @@ -16184,7 +16184,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Connection_61fill_and_submit_unit(PyO } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "fill_and_submit_unit") < 0)) __PYX_ERR(0, 1334, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "fill_and_submit_unit") < 0)) __PYX_ERR(0, 1335, __pyx_L3_error) } } else { switch (PyTuple_GET_SIZE(__pyx_args)) { @@ -16205,7 +16205,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Connection_61fill_and_submit_unit(PyO } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("fill_and_submit_unit", 0, 2, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1334, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("fill_and_submit_unit", 0, 2, 4, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1335, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("pyrfc._cyrfc.Connection.fill_and_submit_unit", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -16245,7 +16245,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str int __pyx_clineno = 0; __Pyx_RefNannySetupContext("fill_and_submit_unit", 0); - /* "pyrfc/_cyrfc.pyx":1387 + /* "pyrfc/_cyrfc.pyx":1388 * """ * * if type(unit) is not dict or 'id' not in unit or 'background' not in unit: # <<<<<<<<<<<<<< @@ -16259,33 +16259,33 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str __pyx_t_1 = __pyx_t_3; goto __pyx_L4_bool_binop_done; } - __pyx_t_3 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_id, __pyx_v_unit, Py_NE)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1387, __pyx_L1_error) + __pyx_t_3 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_id, __pyx_v_unit, Py_NE)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1388, __pyx_L1_error) __pyx_t_2 = (__pyx_t_3 != 0); if (!__pyx_t_2) { } else { __pyx_t_1 = __pyx_t_2; goto __pyx_L4_bool_binop_done; } - __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_background, __pyx_v_unit, Py_NE)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1387, __pyx_L1_error) + __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_n_u_background, __pyx_v_unit, Py_NE)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1388, __pyx_L1_error) __pyx_t_3 = (__pyx_t_2 != 0); __pyx_t_1 = __pyx_t_3; __pyx_L4_bool_binop_done:; if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":1388 + /* "pyrfc/_cyrfc.pyx":1389 * * if type(unit) is not dict or 'id' not in unit or 'background' not in unit: * raise TypeError("Parameter 'unit' not valid. Please use initialize_unit() to retrieve a valid unit.") # <<<<<<<<<<<<<< * if not isinstance(calls, Iterable): * raise TypeError("Parameter 'calls' must be iterable.") */ - __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__17, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1388, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__17, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1389, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __PYX_ERR(0, 1388, __pyx_L1_error) + __PYX_ERR(0, 1389, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1387 + /* "pyrfc/_cyrfc.pyx":1388 * """ * * if type(unit) is not dict or 'id' not in unit or 'background' not in unit: # <<<<<<<<<<<<<< @@ -16294,34 +16294,34 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str */ } - /* "pyrfc/_cyrfc.pyx":1389 + /* "pyrfc/_cyrfc.pyx":1390 * if type(unit) is not dict or 'id' not in unit or 'background' not in unit: * raise TypeError("Parameter 'unit' not valid. Please use initialize_unit() to retrieve a valid unit.") * if not isinstance(calls, Iterable): # <<<<<<<<<<<<<< * raise TypeError("Parameter 'calls' must be iterable.") * if len(calls)==0: */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Iterable); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1389, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Iterable); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1390, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_1 = PyObject_IsInstance(__pyx_v_calls, __pyx_t_4); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 1389, __pyx_L1_error) + __pyx_t_1 = PyObject_IsInstance(__pyx_v_calls, __pyx_t_4); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 1390, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_3 = ((!(__pyx_t_1 != 0)) != 0); if (unlikely(__pyx_t_3)) { - /* "pyrfc/_cyrfc.pyx":1390 + /* "pyrfc/_cyrfc.pyx":1391 * raise TypeError("Parameter 'unit' not valid. Please use initialize_unit() to retrieve a valid unit.") * if not isinstance(calls, Iterable): * raise TypeError("Parameter 'calls' must be iterable.") # <<<<<<<<<<<<<< * if len(calls)==0: * raise TypeError("Parameter 'calls' must contain at least on call description (func_name, params).") */ - __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__18, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1390, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__18, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1391, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __PYX_ERR(0, 1390, __pyx_L1_error) + __PYX_ERR(0, 1391, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1389 + /* "pyrfc/_cyrfc.pyx":1390 * if type(unit) is not dict or 'id' not in unit or 'background' not in unit: * raise TypeError("Parameter 'unit' not valid. Please use initialize_unit() to retrieve a valid unit.") * if not isinstance(calls, Iterable): # <<<<<<<<<<<<<< @@ -16330,31 +16330,31 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str */ } - /* "pyrfc/_cyrfc.pyx":1391 + /* "pyrfc/_cyrfc.pyx":1392 * if not isinstance(calls, Iterable): * raise TypeError("Parameter 'calls' must be iterable.") * if len(calls)==0: # <<<<<<<<<<<<<< * raise TypeError("Parameter 'calls' must contain at least on call description (func_name, params).") * for func_name, params in calls: */ - __pyx_t_5 = PyObject_Length(__pyx_v_calls); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1391, __pyx_L1_error) + __pyx_t_5 = PyObject_Length(__pyx_v_calls); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1392, __pyx_L1_error) __pyx_t_3 = ((__pyx_t_5 == 0) != 0); if (unlikely(__pyx_t_3)) { - /* "pyrfc/_cyrfc.pyx":1392 + /* "pyrfc/_cyrfc.pyx":1393 * raise TypeError("Parameter 'calls' must be iterable.") * if len(calls)==0: * raise TypeError("Parameter 'calls' must contain at least on call description (func_name, params).") # <<<<<<<<<<<<<< * for func_name, params in calls: * if type(func_name) is not str or type(params) is not dict: */ - __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__19, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1392, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__19, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1393, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __PYX_ERR(0, 1392, __pyx_L1_error) + __PYX_ERR(0, 1393, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1391 + /* "pyrfc/_cyrfc.pyx":1392 * if not isinstance(calls, Iterable): * raise TypeError("Parameter 'calls' must be iterable.") * if len(calls)==0: # <<<<<<<<<<<<<< @@ -16363,7 +16363,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str */ } - /* "pyrfc/_cyrfc.pyx":1393 + /* "pyrfc/_cyrfc.pyx":1394 * if len(calls)==0: * raise TypeError("Parameter 'calls' must contain at least on call description (func_name, params).") * for func_name, params in calls: # <<<<<<<<<<<<<< @@ -16374,26 +16374,26 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str __pyx_t_4 = __pyx_v_calls; __Pyx_INCREF(__pyx_t_4); __pyx_t_5 = 0; __pyx_t_6 = NULL; } else { - __pyx_t_5 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_v_calls); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1393, __pyx_L1_error) + __pyx_t_5 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_v_calls); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1394, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = Py_TYPE(__pyx_t_4)->tp_iternext; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1393, __pyx_L1_error) + __pyx_t_6 = Py_TYPE(__pyx_t_4)->tp_iternext; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1394, __pyx_L1_error) } for (;;) { if (likely(!__pyx_t_6)) { if (likely(PyList_CheckExact(__pyx_t_4))) { if (__pyx_t_5 >= PyList_GET_SIZE(__pyx_t_4)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_7 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 1393, __pyx_L1_error) + __pyx_t_7 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 1394, __pyx_L1_error) #else - __pyx_t_7 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1393, __pyx_L1_error) + __pyx_t_7 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1394, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); #endif } else { if (__pyx_t_5 >= PyTuple_GET_SIZE(__pyx_t_4)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_7 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 1393, __pyx_L1_error) + __pyx_t_7 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 1394, __pyx_L1_error) #else - __pyx_t_7 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1393, __pyx_L1_error) + __pyx_t_7 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1394, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); #endif } @@ -16403,7 +16403,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 1393, __pyx_L1_error) + else __PYX_ERR(0, 1394, __pyx_L1_error) } break; } @@ -16415,7 +16415,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str if (unlikely(size != 2)) { if (size > 2) __Pyx_RaiseTooManyValuesError(2); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 1393, __pyx_L1_error) + __PYX_ERR(0, 1394, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -16428,15 +16428,15 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str __Pyx_INCREF(__pyx_t_8); __Pyx_INCREF(__pyx_t_9); #else - __pyx_t_8 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1393, __pyx_L1_error) + __pyx_t_8 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1394, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); - __pyx_t_9 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1393, __pyx_L1_error) + __pyx_t_9 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1394, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); #endif __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } else { Py_ssize_t index = -1; - __pyx_t_10 = PyObject_GetIter(__pyx_t_7); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1393, __pyx_L1_error) + __pyx_t_10 = PyObject_GetIter(__pyx_t_7); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1394, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_11 = Py_TYPE(__pyx_t_10)->tp_iternext; @@ -16444,7 +16444,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str __Pyx_GOTREF(__pyx_t_8); index = 1; __pyx_t_9 = __pyx_t_11(__pyx_t_10); if (unlikely(!__pyx_t_9)) goto __pyx_L11_unpacking_failed; __Pyx_GOTREF(__pyx_t_9); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_11(__pyx_t_10), 2) < 0) __PYX_ERR(0, 1393, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_11(__pyx_t_10), 2) < 0) __PYX_ERR(0, 1394, __pyx_L1_error) __pyx_t_11 = NULL; __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; goto __pyx_L12_unpacking_done; @@ -16452,7 +16452,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __pyx_t_11 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 1393, __pyx_L1_error) + __PYX_ERR(0, 1394, __pyx_L1_error) __pyx_L12_unpacking_done:; } __Pyx_XDECREF_SET(__pyx_v_func_name, __pyx_t_8); @@ -16460,7 +16460,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str __Pyx_XDECREF_SET(__pyx_v_params, __pyx_t_9); __pyx_t_9 = 0; - /* "pyrfc/_cyrfc.pyx":1394 + /* "pyrfc/_cyrfc.pyx":1395 * raise TypeError("Parameter 'calls' must contain at least on call description (func_name, params).") * for func_name, params in calls: * if type(func_name) is not str or type(params) is not dict: # <<<<<<<<<<<<<< @@ -16480,20 +16480,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str __pyx_L14_bool_binop_done:; if (unlikely(__pyx_t_3)) { - /* "pyrfc/_cyrfc.pyx":1395 + /* "pyrfc/_cyrfc.pyx":1396 * for func_name, params in calls: * if type(func_name) is not str or type(params) is not dict: * raise TypeError("Parameter 'calls' must contain valid call descriptions (func_name, params dict).") # <<<<<<<<<<<<<< * if self.active_unit: * raise RFCError("There is an active unit for this connection. " */ - __pyx_t_7 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__20, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1395, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__20, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1396, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_Raise(__pyx_t_7, 0, 0, 0); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __PYX_ERR(0, 1395, __pyx_L1_error) + __PYX_ERR(0, 1396, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1394 + /* "pyrfc/_cyrfc.pyx":1395 * raise TypeError("Parameter 'calls' must contain at least on call description (func_name, params).") * for func_name, params in calls: * if type(func_name) is not str or type(params) is not dict: # <<<<<<<<<<<<<< @@ -16502,7 +16502,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str */ } - /* "pyrfc/_cyrfc.pyx":1393 + /* "pyrfc/_cyrfc.pyx":1394 * if len(calls)==0: * raise TypeError("Parameter 'calls' must contain at least on call description (func_name, params).") * for func_name, params in calls: # <<<<<<<<<<<<<< @@ -16512,7 +16512,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":1396 + /* "pyrfc/_cyrfc.pyx":1397 * if type(func_name) is not str or type(params) is not dict: * raise TypeError("Parameter 'calls' must contain valid call descriptions (func_name, params dict).") * if self.active_unit: # <<<<<<<<<<<<<< @@ -16522,14 +16522,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str __pyx_t_3 = (__pyx_v_self->active_unit != 0); if (unlikely(__pyx_t_3)) { - /* "pyrfc/_cyrfc.pyx":1397 + /* "pyrfc/_cyrfc.pyx":1398 * raise TypeError("Parameter 'calls' must contain valid call descriptions (func_name, params dict).") * if self.active_unit: * raise RFCError("There is an active unit for this connection. " # <<<<<<<<<<<<<< * "Use destroy_unit() " + * "or confirm_unit().") */ - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1397, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1398, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_9 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_7))) { @@ -16543,14 +16543,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str } __pyx_t_4 = (__pyx_t_9) ? __Pyx_PyObject_Call2Args(__pyx_t_7, __pyx_t_9, __pyx_kp_u_There_is_an_active_unit_for_this) : __Pyx_PyObject_CallOneArg(__pyx_t_7, __pyx_kp_u_There_is_an_active_unit_for_this); __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1397, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1398, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __PYX_ERR(0, 1397, __pyx_L1_error) + __PYX_ERR(0, 1398, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1396 + /* "pyrfc/_cyrfc.pyx":1397 * if type(func_name) is not str or type(params) is not dict: * raise TypeError("Parameter 'calls' must contain valid call descriptions (func_name, params dict).") * if self.active_unit: # <<<<<<<<<<<<<< @@ -16559,31 +16559,31 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str */ } - /* "pyrfc/_cyrfc.pyx":1400 + /* "pyrfc/_cyrfc.pyx":1401 * "Use destroy_unit() " + * "or confirm_unit().") * bg = unit['background'] # <<<<<<<<<<<<<< * unit_id = unit['id'] * */ - __pyx_t_4 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit, __pyx_n_u_background); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1400, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit, __pyx_n_u_background); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1401, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v_bg = __pyx_t_4; __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":1401 + /* "pyrfc/_cyrfc.pyx":1402 * "or confirm_unit().") * bg = unit['background'] * unit_id = unit['id'] # <<<<<<<<<<<<<< * * if bg is True: */ - __pyx_t_4 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit, __pyx_n_u_id); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1401, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit, __pyx_n_u_id); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1402, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v_unit_id = __pyx_t_4; __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":1403 + /* "pyrfc/_cyrfc.pyx":1404 * unit_id = unit['id'] * * if bg is True: # <<<<<<<<<<<<<< @@ -16594,25 +16594,25 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str __pyx_t_1 = (__pyx_t_3 != 0); if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":1404 + /* "pyrfc/_cyrfc.pyx":1405 * * if bg is True: * if len(unit_id) != RFC_UNITID_LN: # <<<<<<<<<<<<<< * raise TypeError(f"Length of parameter 'unit['id']' must be {RFC_UNITID_LN} chars, found {len(unit_id)}.") * unit['queued'] = self._create_and_submit_unit(unit_id, calls, queue_names, attributes) */ - __pyx_t_5 = PyObject_Length(__pyx_v_unit_id); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1404, __pyx_L1_error) + __pyx_t_5 = PyObject_Length(__pyx_v_unit_id); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1405, __pyx_L1_error) __pyx_t_1 = ((__pyx_t_5 != RFC_UNITID_LN) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":1405 + /* "pyrfc/_cyrfc.pyx":1406 * if bg is True: * if len(unit_id) != RFC_UNITID_LN: * raise TypeError(f"Length of parameter 'unit['id']' must be {RFC_UNITID_LN} chars, found {len(unit_id)}.") # <<<<<<<<<<<<<< * unit['queued'] = self._create_and_submit_unit(unit_id, calls, queue_names, attributes) * elif bg is False: */ - __pyx_t_4 = PyTuple_New(5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1405, __pyx_L1_error) + __pyx_t_4 = PyTuple_New(5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1406, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = 0; __pyx_t_12 = 127; @@ -16620,7 +16620,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str __pyx_t_5 += 41; __Pyx_GIVEREF(__pyx_kp_u_Length_of_parameter_unit_id_must); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_kp_u_Length_of_parameter_unit_id_must); - __pyx_t_7 = __Pyx_PyUnicode_From_int(RFC_UNITID_LN, 0, ' ', 'd'); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1405, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyUnicode_From_int(RFC_UNITID_LN, 0, ' ', 'd'); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1406, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_5 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_7); __Pyx_GIVEREF(__pyx_t_7); @@ -16630,8 +16630,8 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str __pyx_t_5 += 14; __Pyx_GIVEREF(__pyx_kp_u_chars_found); PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_kp_u_chars_found); - __pyx_t_13 = PyObject_Length(__pyx_v_unit_id); if (unlikely(__pyx_t_13 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1405, __pyx_L1_error) - __pyx_t_7 = __Pyx_PyUnicode_From_Py_ssize_t(__pyx_t_13, 0, ' ', 'd'); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1405, __pyx_L1_error) + __pyx_t_13 = PyObject_Length(__pyx_v_unit_id); if (unlikely(__pyx_t_13 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1406, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyUnicode_From_Py_ssize_t(__pyx_t_13, 0, ' ', 'd'); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1406, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_5 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_7); __Pyx_GIVEREF(__pyx_t_7); @@ -16641,17 +16641,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str __pyx_t_5 += 1; __Pyx_GIVEREF(__pyx_kp_u__21); PyTuple_SET_ITEM(__pyx_t_4, 4, __pyx_kp_u__21); - __pyx_t_7 = __Pyx_PyUnicode_Join(__pyx_t_4, 5, __pyx_t_5, __pyx_t_12); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1405, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyUnicode_Join(__pyx_t_4, 5, __pyx_t_5, __pyx_t_12); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1406, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_7); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1405, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_7); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1406, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __PYX_ERR(0, 1405, __pyx_L1_error) + __PYX_ERR(0, 1406, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1404 + /* "pyrfc/_cyrfc.pyx":1405 * * if bg is True: * if len(unit_id) != RFC_UNITID_LN: # <<<<<<<<<<<<<< @@ -16660,14 +16660,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str */ } - /* "pyrfc/_cyrfc.pyx":1406 + /* "pyrfc/_cyrfc.pyx":1407 * if len(unit_id) != RFC_UNITID_LN: * raise TypeError(f"Length of parameter 'unit['id']' must be {RFC_UNITID_LN} chars, found {len(unit_id)}.") * unit['queued'] = self._create_and_submit_unit(unit_id, calls, queue_names, attributes) # <<<<<<<<<<<<<< * elif bg is False: * if len(unit_id) != RFC_TID_LN: */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_create_and_submit_unit); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1406, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_create_and_submit_unit); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1407, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_9 = NULL; __pyx_t_14 = 0; @@ -16684,7 +16684,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_7)) { PyObject *__pyx_temp[5] = {__pyx_t_9, __pyx_v_unit_id, __pyx_v_calls, __pyx_v_queue_names, __pyx_v_attributes}; - __pyx_t_4 = __Pyx_PyFunction_FastCall(__pyx_t_7, __pyx_temp+1-__pyx_t_14, 4+__pyx_t_14); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1406, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyFunction_FastCall(__pyx_t_7, __pyx_temp+1-__pyx_t_14, 4+__pyx_t_14); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1407, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_GOTREF(__pyx_t_4); } else @@ -16692,13 +16692,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_7)) { PyObject *__pyx_temp[5] = {__pyx_t_9, __pyx_v_unit_id, __pyx_v_calls, __pyx_v_queue_names, __pyx_v_attributes}; - __pyx_t_4 = __Pyx_PyCFunction_FastCall(__pyx_t_7, __pyx_temp+1-__pyx_t_14, 4+__pyx_t_14); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1406, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyCFunction_FastCall(__pyx_t_7, __pyx_temp+1-__pyx_t_14, 4+__pyx_t_14); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1407, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_GOTREF(__pyx_t_4); } else #endif { - __pyx_t_8 = PyTuple_New(4+__pyx_t_14); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1406, __pyx_L1_error) + __pyx_t_8 = PyTuple_New(4+__pyx_t_14); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1407, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); if (__pyx_t_9) { __Pyx_GIVEREF(__pyx_t_9); PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_9); __pyx_t_9 = NULL; @@ -16715,15 +16715,15 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str __Pyx_INCREF(__pyx_v_attributes); __Pyx_GIVEREF(__pyx_v_attributes); PyTuple_SET_ITEM(__pyx_t_8, 3+__pyx_t_14, __pyx_v_attributes); - __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_t_8, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1406, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_t_8, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1407, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; } __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(PyObject_SetItem(__pyx_v_unit, __pyx_n_u_queued, __pyx_t_4) < 0)) __PYX_ERR(0, 1406, __pyx_L1_error) + if (unlikely(PyObject_SetItem(__pyx_v_unit, __pyx_n_u_queued, __pyx_t_4) < 0)) __PYX_ERR(0, 1407, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":1403 + /* "pyrfc/_cyrfc.pyx":1404 * unit_id = unit['id'] * * if bg is True: # <<<<<<<<<<<<<< @@ -16733,7 +16733,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str goto __pyx_L17; } - /* "pyrfc/_cyrfc.pyx":1407 + /* "pyrfc/_cyrfc.pyx":1408 * raise TypeError(f"Length of parameter 'unit['id']' must be {RFC_UNITID_LN} chars, found {len(unit_id)}.") * unit['queued'] = self._create_and_submit_unit(unit_id, calls, queue_names, attributes) * elif bg is False: # <<<<<<<<<<<<<< @@ -16744,25 +16744,25 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str __pyx_t_3 = (__pyx_t_1 != 0); if (likely(__pyx_t_3)) { - /* "pyrfc/_cyrfc.pyx":1408 + /* "pyrfc/_cyrfc.pyx":1409 * unit['queued'] = self._create_and_submit_unit(unit_id, calls, queue_names, attributes) * elif bg is False: * if len(unit_id) != RFC_TID_LN: # <<<<<<<<<<<<<< * raise TypeError(f"Length of parameter 'unit['id']' must be {RFC_TID_LN} chars, found {len(unit_id)}.") * if attributes is not None: */ - __pyx_t_5 = PyObject_Length(__pyx_v_unit_id); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1408, __pyx_L1_error) + __pyx_t_5 = PyObject_Length(__pyx_v_unit_id); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1409, __pyx_L1_error) __pyx_t_3 = ((__pyx_t_5 != RFC_TID_LN) != 0); if (unlikely(__pyx_t_3)) { - /* "pyrfc/_cyrfc.pyx":1409 + /* "pyrfc/_cyrfc.pyx":1410 * elif bg is False: * if len(unit_id) != RFC_TID_LN: * raise TypeError(f"Length of parameter 'unit['id']' must be {RFC_TID_LN} chars, found {len(unit_id)}.") # <<<<<<<<<<<<<< * if attributes is not None: * raise RFCError("Argument 'attributes' not valid. (t/qRFC does not support attributes.)") */ - __pyx_t_4 = PyTuple_New(5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1409, __pyx_L1_error) + __pyx_t_4 = PyTuple_New(5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1410, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = 0; __pyx_t_12 = 127; @@ -16770,7 +16770,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str __pyx_t_5 += 41; __Pyx_GIVEREF(__pyx_kp_u_Length_of_parameter_unit_id_must); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_kp_u_Length_of_parameter_unit_id_must); - __pyx_t_7 = __Pyx_PyUnicode_From_int(RFC_TID_LN, 0, ' ', 'd'); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1409, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyUnicode_From_int(RFC_TID_LN, 0, ' ', 'd'); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1410, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_5 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_7); __Pyx_GIVEREF(__pyx_t_7); @@ -16780,8 +16780,8 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str __pyx_t_5 += 14; __Pyx_GIVEREF(__pyx_kp_u_chars_found); PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_kp_u_chars_found); - __pyx_t_13 = PyObject_Length(__pyx_v_unit_id); if (unlikely(__pyx_t_13 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1409, __pyx_L1_error) - __pyx_t_7 = __Pyx_PyUnicode_From_Py_ssize_t(__pyx_t_13, 0, ' ', 'd'); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1409, __pyx_L1_error) + __pyx_t_13 = PyObject_Length(__pyx_v_unit_id); if (unlikely(__pyx_t_13 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1410, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyUnicode_From_Py_ssize_t(__pyx_t_13, 0, ' ', 'd'); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1410, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_5 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_7); __Pyx_GIVEREF(__pyx_t_7); @@ -16791,17 +16791,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str __pyx_t_5 += 1; __Pyx_GIVEREF(__pyx_kp_u__21); PyTuple_SET_ITEM(__pyx_t_4, 4, __pyx_kp_u__21); - __pyx_t_7 = __Pyx_PyUnicode_Join(__pyx_t_4, 5, __pyx_t_5, __pyx_t_12); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1409, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyUnicode_Join(__pyx_t_4, 5, __pyx_t_5, __pyx_t_12); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1410, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_7); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1409, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_7); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1410, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __PYX_ERR(0, 1409, __pyx_L1_error) + __PYX_ERR(0, 1410, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1408 + /* "pyrfc/_cyrfc.pyx":1409 * unit['queued'] = self._create_and_submit_unit(unit_id, calls, queue_names, attributes) * elif bg is False: * if len(unit_id) != RFC_TID_LN: # <<<<<<<<<<<<<< @@ -16810,7 +16810,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str */ } - /* "pyrfc/_cyrfc.pyx":1410 + /* "pyrfc/_cyrfc.pyx":1411 * if len(unit_id) != RFC_TID_LN: * raise TypeError(f"Length of parameter 'unit['id']' must be {RFC_TID_LN} chars, found {len(unit_id)}.") * if attributes is not None: # <<<<<<<<<<<<<< @@ -16821,14 +16821,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str __pyx_t_1 = (__pyx_t_3 != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":1411 + /* "pyrfc/_cyrfc.pyx":1412 * raise TypeError(f"Length of parameter 'unit['id']' must be {RFC_TID_LN} chars, found {len(unit_id)}.") * if attributes is not None: * raise RFCError("Argument 'attributes' not valid. (t/qRFC does not support attributes.)") # <<<<<<<<<<<<<< * if queue_names is None or type(queue_names) is list and len(queue_names) == 0: * self._create_and_submit_transaction(unit_id, calls) */ - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1411, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1412, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_7))) { @@ -16842,14 +16842,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str } __pyx_t_4 = (__pyx_t_8) ? __Pyx_PyObject_Call2Args(__pyx_t_7, __pyx_t_8, __pyx_kp_u_Argument_attributes_not_valid_t) : __Pyx_PyObject_CallOneArg(__pyx_t_7, __pyx_kp_u_Argument_attributes_not_valid_t); __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1411, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1412, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __PYX_ERR(0, 1411, __pyx_L1_error) + __PYX_ERR(0, 1412, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1410 + /* "pyrfc/_cyrfc.pyx":1411 * if len(unit_id) != RFC_TID_LN: * raise TypeError(f"Length of parameter 'unit['id']' must be {RFC_TID_LN} chars, found {len(unit_id)}.") * if attributes is not None: # <<<<<<<<<<<<<< @@ -16858,7 +16858,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str */ } - /* "pyrfc/_cyrfc.pyx":1412 + /* "pyrfc/_cyrfc.pyx":1413 * if attributes is not None: * raise RFCError("Argument 'attributes' not valid. (t/qRFC does not support attributes.)") * if queue_names is None or type(queue_names) is list and len(queue_names) == 0: # <<<<<<<<<<<<<< @@ -16879,20 +16879,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str __pyx_t_1 = __pyx_t_3; goto __pyx_L22_bool_binop_done; } - __pyx_t_5 = PyObject_Length(__pyx_v_queue_names); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1412, __pyx_L1_error) + __pyx_t_5 = PyObject_Length(__pyx_v_queue_names); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1413, __pyx_L1_error) __pyx_t_3 = ((__pyx_t_5 == 0) != 0); __pyx_t_1 = __pyx_t_3; __pyx_L22_bool_binop_done:; if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":1413 + /* "pyrfc/_cyrfc.pyx":1414 * raise RFCError("Argument 'attributes' not valid. (t/qRFC does not support attributes.)") * if queue_names is None or type(queue_names) is list and len(queue_names) == 0: * self._create_and_submit_transaction(unit_id, calls) # <<<<<<<<<<<<<< * unit['queued'] = False * elif len(queue_names) == 1: */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_create_and_submit_transaction); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1413, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_create_and_submit_transaction); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1414, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = NULL; __pyx_t_14 = 0; @@ -16909,7 +16909,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_7)) { PyObject *__pyx_temp[3] = {__pyx_t_8, __pyx_v_unit_id, __pyx_v_calls}; - __pyx_t_4 = __Pyx_PyFunction_FastCall(__pyx_t_7, __pyx_temp+1-__pyx_t_14, 2+__pyx_t_14); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1413, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyFunction_FastCall(__pyx_t_7, __pyx_temp+1-__pyx_t_14, 2+__pyx_t_14); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1414, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_GOTREF(__pyx_t_4); } else @@ -16917,13 +16917,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_7)) { PyObject *__pyx_temp[3] = {__pyx_t_8, __pyx_v_unit_id, __pyx_v_calls}; - __pyx_t_4 = __Pyx_PyCFunction_FastCall(__pyx_t_7, __pyx_temp+1-__pyx_t_14, 2+__pyx_t_14); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1413, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyCFunction_FastCall(__pyx_t_7, __pyx_temp+1-__pyx_t_14, 2+__pyx_t_14); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1414, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_GOTREF(__pyx_t_4); } else #endif { - __pyx_t_9 = PyTuple_New(2+__pyx_t_14); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1413, __pyx_L1_error) + __pyx_t_9 = PyTuple_New(2+__pyx_t_14); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1414, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); if (__pyx_t_8) { __Pyx_GIVEREF(__pyx_t_8); PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_8); __pyx_t_8 = NULL; @@ -16934,23 +16934,23 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str __Pyx_INCREF(__pyx_v_calls); __Pyx_GIVEREF(__pyx_v_calls); PyTuple_SET_ITEM(__pyx_t_9, 1+__pyx_t_14, __pyx_v_calls); - __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_t_9, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1413, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_t_9, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1414, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; } __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":1414 + /* "pyrfc/_cyrfc.pyx":1415 * if queue_names is None or type(queue_names) is list and len(queue_names) == 0: * self._create_and_submit_transaction(unit_id, calls) * unit['queued'] = False # <<<<<<<<<<<<<< * elif len(queue_names) == 1: * queue_name = queue_names[0] */ - if (unlikely(PyObject_SetItem(__pyx_v_unit, __pyx_n_u_queued, Py_False) < 0)) __PYX_ERR(0, 1414, __pyx_L1_error) + if (unlikely(PyObject_SetItem(__pyx_v_unit, __pyx_n_u_queued, Py_False) < 0)) __PYX_ERR(0, 1415, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1412 + /* "pyrfc/_cyrfc.pyx":1413 * if attributes is not None: * raise RFCError("Argument 'attributes' not valid. (t/qRFC does not support attributes.)") * if queue_names is None or type(queue_names) is list and len(queue_names) == 0: # <<<<<<<<<<<<<< @@ -16960,37 +16960,37 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str goto __pyx_L21; } - /* "pyrfc/_cyrfc.pyx":1415 + /* "pyrfc/_cyrfc.pyx":1416 * self._create_and_submit_transaction(unit_id, calls) * unit['queued'] = False * elif len(queue_names) == 1: # <<<<<<<<<<<<<< * queue_name = queue_names[0] * self._create_and_submit_transaction(unit_id, calls, queue_name) */ - __pyx_t_5 = PyObject_Length(__pyx_v_queue_names); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1415, __pyx_L1_error) + __pyx_t_5 = PyObject_Length(__pyx_v_queue_names); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1416, __pyx_L1_error) __pyx_t_1 = ((__pyx_t_5 == 1) != 0); if (likely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":1416 + /* "pyrfc/_cyrfc.pyx":1417 * unit['queued'] = False * elif len(queue_names) == 1: * queue_name = queue_names[0] # <<<<<<<<<<<<<< * self._create_and_submit_transaction(unit_id, calls, queue_name) * unit['queued'] = True */ - __pyx_t_4 = __Pyx_GetItemInt(__pyx_v_queue_names, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1416, __pyx_L1_error) + __pyx_t_4 = __Pyx_GetItemInt(__pyx_v_queue_names, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1417, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v_queue_name = __pyx_t_4; __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":1417 + /* "pyrfc/_cyrfc.pyx":1418 * elif len(queue_names) == 1: * queue_name = queue_names[0] * self._create_and_submit_transaction(unit_id, calls, queue_name) # <<<<<<<<<<<<<< * unit['queued'] = True * else: */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_create_and_submit_transaction); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1417, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_create_and_submit_transaction); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1418, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_9 = NULL; __pyx_t_14 = 0; @@ -17007,7 +17007,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_7)) { PyObject *__pyx_temp[4] = {__pyx_t_9, __pyx_v_unit_id, __pyx_v_calls, __pyx_v_queue_name}; - __pyx_t_4 = __Pyx_PyFunction_FastCall(__pyx_t_7, __pyx_temp+1-__pyx_t_14, 3+__pyx_t_14); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1417, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyFunction_FastCall(__pyx_t_7, __pyx_temp+1-__pyx_t_14, 3+__pyx_t_14); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1418, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_GOTREF(__pyx_t_4); } else @@ -17015,13 +17015,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_7)) { PyObject *__pyx_temp[4] = {__pyx_t_9, __pyx_v_unit_id, __pyx_v_calls, __pyx_v_queue_name}; - __pyx_t_4 = __Pyx_PyCFunction_FastCall(__pyx_t_7, __pyx_temp+1-__pyx_t_14, 3+__pyx_t_14); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1417, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyCFunction_FastCall(__pyx_t_7, __pyx_temp+1-__pyx_t_14, 3+__pyx_t_14); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1418, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_GOTREF(__pyx_t_4); } else #endif { - __pyx_t_8 = PyTuple_New(3+__pyx_t_14); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1417, __pyx_L1_error) + __pyx_t_8 = PyTuple_New(3+__pyx_t_14); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1418, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); if (__pyx_t_9) { __Pyx_GIVEREF(__pyx_t_9); PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_9); __pyx_t_9 = NULL; @@ -17035,23 +17035,23 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str __Pyx_INCREF(__pyx_v_queue_name); __Pyx_GIVEREF(__pyx_v_queue_name); PyTuple_SET_ITEM(__pyx_t_8, 2+__pyx_t_14, __pyx_v_queue_name); - __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_t_8, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1417, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_t_8, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1418, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; } __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":1418 + /* "pyrfc/_cyrfc.pyx":1419 * queue_name = queue_names[0] * self._create_and_submit_transaction(unit_id, calls, queue_name) * unit['queued'] = True # <<<<<<<<<<<<<< * else: * raise RFCError("Argument 'queue_names' not valid. (t/qRFC only support one queue name.)") */ - if (unlikely(PyObject_SetItem(__pyx_v_unit, __pyx_n_u_queued, Py_True) < 0)) __PYX_ERR(0, 1418, __pyx_L1_error) + if (unlikely(PyObject_SetItem(__pyx_v_unit, __pyx_n_u_queued, Py_True) < 0)) __PYX_ERR(0, 1419, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1415 + /* "pyrfc/_cyrfc.pyx":1416 * self._create_and_submit_transaction(unit_id, calls) * unit['queued'] = False * elif len(queue_names) == 1: # <<<<<<<<<<<<<< @@ -17061,7 +17061,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str goto __pyx_L21; } - /* "pyrfc/_cyrfc.pyx":1420 + /* "pyrfc/_cyrfc.pyx":1421 * unit['queued'] = True * else: * raise RFCError("Argument 'queue_names' not valid. (t/qRFC only support one queue name.)") # <<<<<<<<<<<<<< @@ -17069,7 +17069,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str * raise RFCError("Argument 'unit' not valid. (Is unit['background'] boolean?)") */ /*else*/ { - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1420, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1421, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_7))) { @@ -17083,16 +17083,16 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str } __pyx_t_4 = (__pyx_t_8) ? __Pyx_PyObject_Call2Args(__pyx_t_7, __pyx_t_8, __pyx_kp_u_Argument_queue_names_not_valid_t) : __Pyx_PyObject_CallOneArg(__pyx_t_7, __pyx_kp_u_Argument_queue_names_not_valid_t); __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1420, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1421, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __PYX_ERR(0, 1420, __pyx_L1_error) + __PYX_ERR(0, 1421, __pyx_L1_error) } __pyx_L21:; - /* "pyrfc/_cyrfc.pyx":1407 + /* "pyrfc/_cyrfc.pyx":1408 * raise TypeError(f"Length of parameter 'unit['id']' must be {RFC_UNITID_LN} chars, found {len(unit_id)}.") * unit['queued'] = self._create_and_submit_unit(unit_id, calls, queue_names, attributes) * elif bg is False: # <<<<<<<<<<<<<< @@ -17102,7 +17102,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str goto __pyx_L17; } - /* "pyrfc/_cyrfc.pyx":1422 + /* "pyrfc/_cyrfc.pyx":1423 * raise RFCError("Argument 'queue_names' not valid. (t/qRFC only support one queue name.)") * else: * raise RFCError("Argument 'unit' not valid. (Is unit['background'] boolean?)") # <<<<<<<<<<<<<< @@ -17110,7 +17110,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str * */ /*else*/ { - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1422, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1423, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_7))) { @@ -17124,16 +17124,16 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str } __pyx_t_4 = (__pyx_t_8) ? __Pyx_PyObject_Call2Args(__pyx_t_7, __pyx_t_8, __pyx_kp_u_Argument_unit_not_valid_Is_unit) : __Pyx_PyObject_CallOneArg(__pyx_t_7, __pyx_kp_u_Argument_unit_not_valid_Is_unit); __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1422, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1423, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __PYX_ERR(0, 1422, __pyx_L1_error) + __PYX_ERR(0, 1423, __pyx_L1_error) } __pyx_L17:; - /* "pyrfc/_cyrfc.pyx":1423 + /* "pyrfc/_cyrfc.pyx":1424 * else: * raise RFCError("Argument 'unit' not valid. (Is unit['background'] boolean?)") * return unit # <<<<<<<<<<<<<< @@ -17145,7 +17145,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str __pyx_r = __pyx_v_unit; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1334 + /* "pyrfc/_cyrfc.pyx":1335 * return {'background': background, 'id': id, "queued": False} * * def fill_and_submit_unit(self, unit, calls, queue_names=None, attributes=None): # <<<<<<<<<<<<<< @@ -17173,7 +17173,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_60fill_and_submit_unit(str return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1425 +/* "pyrfc/_cyrfc.pyx":1426 * return unit * * def get_unit_state(self, unit): # <<<<<<<<<<<<<< @@ -17209,19 +17209,19 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_62get_unit_state(struct __ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("get_unit_state", 0); - /* "pyrfc/_cyrfc.pyx":1440 + /* "pyrfc/_cyrfc.pyx":1441 * RFC_UNIT_CONFIRMED * """ * bg = unit['background'] # <<<<<<<<<<<<<< * if bg is True: * return self._get_unit_state(unit) */ - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit, __pyx_n_u_background); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1440, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit, __pyx_n_u_background); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1441, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_bg = __pyx_t_1; __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1441 + /* "pyrfc/_cyrfc.pyx":1442 * """ * bg = unit['background'] * if bg is True: # <<<<<<<<<<<<<< @@ -17232,7 +17232,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_62get_unit_state(struct __ __pyx_t_3 = (__pyx_t_2 != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1442 + /* "pyrfc/_cyrfc.pyx":1443 * bg = unit['background'] * if bg is True: * return self._get_unit_state(unit) # <<<<<<<<<<<<<< @@ -17240,7 +17240,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_62get_unit_state(struct __ * raise RFCError("No state check possible of non-bgRFC units.") */ __Pyx_XDECREF(__pyx_r); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_get_unit_state); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1442, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_get_unit_state); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1443, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) { @@ -17254,14 +17254,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_62get_unit_state(struct __ } __pyx_t_1 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_5, __pyx_v_unit) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_v_unit); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1442, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1443, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_r = __pyx_t_1; __pyx_t_1 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1441 + /* "pyrfc/_cyrfc.pyx":1442 * """ * bg = unit['background'] * if bg is True: # <<<<<<<<<<<<<< @@ -17270,7 +17270,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_62get_unit_state(struct __ */ } - /* "pyrfc/_cyrfc.pyx":1443 + /* "pyrfc/_cyrfc.pyx":1444 * if bg is True: * return self._get_unit_state(unit) * elif bg is False: # <<<<<<<<<<<<<< @@ -17281,14 +17281,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_62get_unit_state(struct __ __pyx_t_2 = (__pyx_t_3 != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":1444 + /* "pyrfc/_cyrfc.pyx":1445 * return self._get_unit_state(unit) * elif bg is False: * raise RFCError("No state check possible of non-bgRFC units.") # <<<<<<<<<<<<<< * else: * raise RFCError("Argument 'unit' not valid. (Is unit['background'] boolean?)") */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1444, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1445, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_4))) { @@ -17302,14 +17302,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_62get_unit_state(struct __ } __pyx_t_1 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_5, __pyx_kp_u_No_state_check_possible_of_non_b) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_kp_u_No_state_check_possible_of_non_b); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1444, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1445, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 1444, __pyx_L1_error) + __PYX_ERR(0, 1445, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1443 + /* "pyrfc/_cyrfc.pyx":1444 * if bg is True: * return self._get_unit_state(unit) * elif bg is False: # <<<<<<<<<<<<<< @@ -17318,7 +17318,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_62get_unit_state(struct __ */ } - /* "pyrfc/_cyrfc.pyx":1446 + /* "pyrfc/_cyrfc.pyx":1447 * raise RFCError("No state check possible of non-bgRFC units.") * else: * raise RFCError("Argument 'unit' not valid. (Is unit['background'] boolean?)") # <<<<<<<<<<<<<< @@ -17326,7 +17326,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_62get_unit_state(struct __ * def destroy_unit(self, unit): */ /*else*/ { - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1446, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1447, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_4))) { @@ -17340,15 +17340,15 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_62get_unit_state(struct __ } __pyx_t_1 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_5, __pyx_kp_u_Argument_unit_not_valid_Is_unit) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_kp_u_Argument_unit_not_valid_Is_unit); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1446, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1447, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 1446, __pyx_L1_error) + __PYX_ERR(0, 1447, __pyx_L1_error) } - /* "pyrfc/_cyrfc.pyx":1425 + /* "pyrfc/_cyrfc.pyx":1426 * return unit * * def get_unit_state(self, unit): # <<<<<<<<<<<<<< @@ -17370,7 +17370,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_62get_unit_state(struct __ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1448 +/* "pyrfc/_cyrfc.pyx":1449 * raise RFCError("Argument 'unit' not valid. (Is unit['background'] boolean?)") * * def destroy_unit(self, unit): # <<<<<<<<<<<<<< @@ -17406,19 +17406,19 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_64destroy_unit(struct __py int __pyx_clineno = 0; __Pyx_RefNannySetupContext("destroy_unit", 0); - /* "pyrfc/_cyrfc.pyx":1458 + /* "pyrfc/_cyrfc.pyx":1459 * thereof if the connection attempt fails. * """ * bg = unit['background'] # <<<<<<<<<<<<<< * if bg is True: * self._destroy_unit() */ - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit, __pyx_n_u_background); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1458, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit, __pyx_n_u_background); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1459, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_bg = __pyx_t_1; __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1459 + /* "pyrfc/_cyrfc.pyx":1460 * """ * bg = unit['background'] * if bg is True: # <<<<<<<<<<<<<< @@ -17429,14 +17429,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_64destroy_unit(struct __py __pyx_t_3 = (__pyx_t_2 != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1460 + /* "pyrfc/_cyrfc.pyx":1461 * bg = unit['background'] * if bg is True: * self._destroy_unit() # <<<<<<<<<<<<<< * elif bg is False: * self._destroy_transaction() */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_destroy_unit); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1460, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_destroy_unit); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1461, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) { @@ -17450,12 +17450,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_64destroy_unit(struct __py } __pyx_t_1 = (__pyx_t_5) ? __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_5) : __Pyx_PyObject_CallNoArg(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1460, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1461, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1459 + /* "pyrfc/_cyrfc.pyx":1460 * """ * bg = unit['background'] * if bg is True: # <<<<<<<<<<<<<< @@ -17465,7 +17465,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_64destroy_unit(struct __py goto __pyx_L3; } - /* "pyrfc/_cyrfc.pyx":1461 + /* "pyrfc/_cyrfc.pyx":1462 * if bg is True: * self._destroy_unit() * elif bg is False: # <<<<<<<<<<<<<< @@ -17476,14 +17476,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_64destroy_unit(struct __py __pyx_t_2 = (__pyx_t_3 != 0); if (likely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":1462 + /* "pyrfc/_cyrfc.pyx":1463 * self._destroy_unit() * elif bg is False: * self._destroy_transaction() # <<<<<<<<<<<<<< * else: * raise RFCError("Argument 'unit' not valid. (Is unit['background'] boolean?)") */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_destroy_transaction); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1462, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_destroy_transaction); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1463, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) { @@ -17497,12 +17497,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_64destroy_unit(struct __py } __pyx_t_1 = (__pyx_t_5) ? __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_5) : __Pyx_PyObject_CallNoArg(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1462, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1463, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1461 + /* "pyrfc/_cyrfc.pyx":1462 * if bg is True: * self._destroy_unit() * elif bg is False: # <<<<<<<<<<<<<< @@ -17512,7 +17512,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_64destroy_unit(struct __py goto __pyx_L3; } - /* "pyrfc/_cyrfc.pyx":1464 + /* "pyrfc/_cyrfc.pyx":1465 * self._destroy_transaction() * else: * raise RFCError("Argument 'unit' not valid. (Is unit['background'] boolean?)") # <<<<<<<<<<<<<< @@ -17520,7 +17520,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_64destroy_unit(struct __py * def confirm_unit(self, unit): */ /*else*/ { - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1464, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1465, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_4))) { @@ -17534,16 +17534,16 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_64destroy_unit(struct __py } __pyx_t_1 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_5, __pyx_kp_u_Argument_unit_not_valid_Is_unit) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_kp_u_Argument_unit_not_valid_Is_unit); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1464, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1465, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 1464, __pyx_L1_error) + __PYX_ERR(0, 1465, __pyx_L1_error) } __pyx_L3:; - /* "pyrfc/_cyrfc.pyx":1448 + /* "pyrfc/_cyrfc.pyx":1449 * raise RFCError("Argument 'unit' not valid. (Is unit['background'] boolean?)") * * def destroy_unit(self, unit): # <<<<<<<<<<<<<< @@ -17567,7 +17567,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_64destroy_unit(struct __py return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1466 +/* "pyrfc/_cyrfc.pyx":1467 * raise RFCError("Argument 'unit' not valid. (Is unit['background'] boolean?)") * * def confirm_unit(self, unit): # <<<<<<<<<<<<<< @@ -17603,19 +17603,19 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_66confirm_unit(struct __py int __pyx_clineno = 0; __Pyx_RefNannySetupContext("confirm_unit", 0); - /* "pyrfc/_cyrfc.pyx":1476 + /* "pyrfc/_cyrfc.pyx":1477 * thereof if the connection attempt fails. * """ * bg = unit['background'] # <<<<<<<<<<<<<< * if bg is True: * self._confirm_unit(unit) */ - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit, __pyx_n_u_background); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1476, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit, __pyx_n_u_background); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1477, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_bg = __pyx_t_1; __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1477 + /* "pyrfc/_cyrfc.pyx":1478 * """ * bg = unit['background'] * if bg is True: # <<<<<<<<<<<<<< @@ -17626,14 +17626,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_66confirm_unit(struct __py __pyx_t_3 = (__pyx_t_2 != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1478 + /* "pyrfc/_cyrfc.pyx":1479 * bg = unit['background'] * if bg is True: * self._confirm_unit(unit) # <<<<<<<<<<<<<< * elif bg is False: * self._confirm_transaction() */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_confirm_unit); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1478, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_confirm_unit); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1479, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) { @@ -17647,12 +17647,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_66confirm_unit(struct __py } __pyx_t_1 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_5, __pyx_v_unit) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_v_unit); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1478, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1479, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1477 + /* "pyrfc/_cyrfc.pyx":1478 * """ * bg = unit['background'] * if bg is True: # <<<<<<<<<<<<<< @@ -17662,7 +17662,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_66confirm_unit(struct __py goto __pyx_L3; } - /* "pyrfc/_cyrfc.pyx":1479 + /* "pyrfc/_cyrfc.pyx":1480 * if bg is True: * self._confirm_unit(unit) * elif bg is False: # <<<<<<<<<<<<<< @@ -17673,14 +17673,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_66confirm_unit(struct __py __pyx_t_2 = (__pyx_t_3 != 0); if (likely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":1480 + /* "pyrfc/_cyrfc.pyx":1481 * self._confirm_unit(unit) * elif bg is False: * self._confirm_transaction() # <<<<<<<<<<<<<< * else: * raise RFCError("Argument 'unit' not valid. (Is unit['background'] boolean?)") */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_confirm_transaction); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1480, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_confirm_transaction); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1481, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) { @@ -17694,12 +17694,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_66confirm_unit(struct __py } __pyx_t_1 = (__pyx_t_5) ? __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_5) : __Pyx_PyObject_CallNoArg(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1480, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1481, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1479 + /* "pyrfc/_cyrfc.pyx":1480 * if bg is True: * self._confirm_unit(unit) * elif bg is False: # <<<<<<<<<<<<<< @@ -17709,7 +17709,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_66confirm_unit(struct __py goto __pyx_L3; } - /* "pyrfc/_cyrfc.pyx":1482 + /* "pyrfc/_cyrfc.pyx":1483 * self._confirm_transaction() * else: * raise RFCError("Argument 'unit' not valid. (Is unit['background'] boolean?)") # <<<<<<<<<<<<<< @@ -17717,7 +17717,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_66confirm_unit(struct __py * */ /*else*/ { - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1482, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1483, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_4))) { @@ -17731,16 +17731,16 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_66confirm_unit(struct __py } __pyx_t_1 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_5, __pyx_kp_u_Argument_unit_not_valid_Is_unit) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_kp_u_Argument_unit_not_valid_Is_unit); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1482, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1483, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 1482, __pyx_L1_error) + __PYX_ERR(0, 1483, __pyx_L1_error) } __pyx_L3:; - /* "pyrfc/_cyrfc.pyx":1466 + /* "pyrfc/_cyrfc.pyx":1467 * raise RFCError("Argument 'unit' not valid. (Is unit['background'] boolean?)") * * def confirm_unit(self, unit): # <<<<<<<<<<<<<< @@ -17764,7 +17764,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_66confirm_unit(struct __py return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":545 +/* "pyrfc/_cyrfc.pyx":546 * """ * cdef unsigned __bconfig * cdef public dict __config # <<<<<<<<<<<<<< @@ -17822,7 +17822,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Connection_8__config_2__set__(struct __pyx_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__set__", 0); - if (!(likely(PyDict_CheckExact(__pyx_v_value))||((__pyx_v_value) == Py_None)||((void)PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_value)->tp_name), 0))) __PYX_ERR(0, 545, __pyx_L1_error) + if (!(likely(PyDict_CheckExact(__pyx_v_value))||((__pyx_v_value) == Py_None)||((void)PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_value)->tp_name), 0))) __PYX_ERR(0, 546, __pyx_L1_error) __pyx_t_1 = __pyx_v_value; __Pyx_INCREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -17985,7 +17985,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Connection_70__setstate_cython__(CYTH return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1501 +/* "pyrfc/_cyrfc.pyx":1502 * * * def default_auth_check(func_name=False, request_context = None): # <<<<<<<<<<<<<< @@ -18036,7 +18036,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_17default_auth_check(PyObject *__pyx_se } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "default_auth_check") < 0)) __PYX_ERR(0, 1501, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "default_auth_check") < 0)) __PYX_ERR(0, 1502, __pyx_L3_error) } } else { switch (PyTuple_GET_SIZE(__pyx_args)) { @@ -18053,7 +18053,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_17default_auth_check(PyObject *__pyx_se } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("default_auth_check", 0, 0, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1501, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("default_auth_check", 0, 0, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1502, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("pyrfc._cyrfc.default_auth_check", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -18085,21 +18085,21 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16default_auth_check(CYTHON_UNUSED PyOb __Pyx_RefNannySetupContext("default_auth_check", 0); __Pyx_INCREF(__pyx_v_request_context); - /* "pyrfc/_cyrfc.pyx":1502 + /* "pyrfc/_cyrfc.pyx":1503 * * def default_auth_check(func_name=False, request_context = None): * request_context = request_context or {} # <<<<<<<<<<<<<< * _server_log(f"authorization check for '{func_name}'", request_context['server_context']) * return RFC_OK */ - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_request_context); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1502, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_request_context); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1503, __pyx_L1_error) if (!__pyx_t_2) { } else { __Pyx_INCREF(__pyx_v_request_context); __pyx_t_1 = __pyx_v_request_context; goto __pyx_L3_bool_binop_done; } - __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1502, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1503, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(__pyx_t_3); __pyx_t_1 = __pyx_t_3; @@ -18108,16 +18108,16 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16default_auth_check(CYTHON_UNUSED PyOb __Pyx_DECREF_SET(__pyx_v_request_context, __pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1503 + /* "pyrfc/_cyrfc.pyx":1504 * def default_auth_check(func_name=False, request_context = None): * request_context = request_context or {} * _server_log(f"authorization check for '{func_name}'", request_context['server_context']) # <<<<<<<<<<<<<< * return RFC_OK * */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_server_log); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1503, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_server_log); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1504, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1503, __pyx_L1_error) + __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1504, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = 0; __pyx_t_6 = 127; @@ -18125,7 +18125,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16default_auth_check(CYTHON_UNUSED PyOb __pyx_t_5 += 25; __Pyx_GIVEREF(__pyx_kp_u_authorization_check_for); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_kp_u_authorization_check_for); - __pyx_t_7 = __Pyx_PyObject_FormatSimple(__pyx_v_func_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1503, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_FormatSimple(__pyx_v_func_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1504, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_6 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) > __pyx_t_6) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) : __pyx_t_6; __pyx_t_5 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_7); @@ -18136,10 +18136,10 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16default_auth_check(CYTHON_UNUSED PyOb __pyx_t_5 += 1; __Pyx_GIVEREF(__pyx_kp_u__6); PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_kp_u__6); - __pyx_t_7 = __Pyx_PyUnicode_Join(__pyx_t_4, 3, __pyx_t_5, __pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1503, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyUnicode_Join(__pyx_t_4, 3, __pyx_t_5, __pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1504, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_Dict_GetItem(__pyx_v_request_context, __pyx_n_u_server_context); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1503, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Dict_GetItem(__pyx_v_request_context, __pyx_n_u_server_context); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1504, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_8 = NULL; __pyx_t_9 = 0; @@ -18156,7 +18156,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16default_auth_check(CYTHON_UNUSED PyOb #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_3)) { PyObject *__pyx_temp[3] = {__pyx_t_8, __pyx_t_7, __pyx_t_4}; - __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_3, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1503, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_3, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1504, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; @@ -18166,7 +18166,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16default_auth_check(CYTHON_UNUSED PyOb #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) { PyObject *__pyx_temp[3] = {__pyx_t_8, __pyx_t_7, __pyx_t_4}; - __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_3, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1503, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_3, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1504, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; @@ -18174,7 +18174,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16default_auth_check(CYTHON_UNUSED PyOb } else #endif { - __pyx_t_10 = PyTuple_New(2+__pyx_t_9); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1503, __pyx_L1_error) + __pyx_t_10 = PyTuple_New(2+__pyx_t_9); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1504, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); if (__pyx_t_8) { __Pyx_GIVEREF(__pyx_t_8); PyTuple_SET_ITEM(__pyx_t_10, 0, __pyx_t_8); __pyx_t_8 = NULL; @@ -18185,14 +18185,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16default_auth_check(CYTHON_UNUSED PyOb PyTuple_SET_ITEM(__pyx_t_10, 1+__pyx_t_9, __pyx_t_4); __pyx_t_7 = 0; __pyx_t_4 = 0; - __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_10, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1503, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_10, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1504, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1504 + /* "pyrfc/_cyrfc.pyx":1505 * request_context = request_context or {} * _server_log(f"authorization check for '{func_name}'", request_context['server_context']) * return RFC_OK # <<<<<<<<<<<<<< @@ -18200,13 +18200,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16default_auth_check(CYTHON_UNUSED PyOb * */ __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_From_RFC_RC(RFC_OK); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1504, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_RFC_RC(RFC_OK); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1505, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1501 + /* "pyrfc/_cyrfc.pyx":1502 * * * def default_auth_check(func_name=False, request_context = None): # <<<<<<<<<<<<<< @@ -18231,7 +18231,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16default_auth_check(CYTHON_UNUSED PyOb return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1507 +/* "pyrfc/_cyrfc.pyx":1508 * * * def _server_log(origin, log_message): # <<<<<<<<<<<<<< @@ -18274,11 +18274,11 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_19_server_log(PyObject *__pyx_self, PyO case 1: if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_log_message)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("_server_log", 1, 2, 2, 1); __PYX_ERR(0, 1507, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("_server_log", 1, 2, 2, 1); __PYX_ERR(0, 1508, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_server_log") < 0)) __PYX_ERR(0, 1507, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_server_log") < 0)) __PYX_ERR(0, 1508, __pyx_L3_error) } } else if (PyTuple_GET_SIZE(__pyx_args) != 2) { goto __pyx_L5_argtuple_error; @@ -18291,7 +18291,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_19_server_log(PyObject *__pyx_self, PyO } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("_server_log", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1507, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("_server_log", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1508, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("pyrfc._cyrfc._server_log", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -18319,30 +18319,30 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_18_server_log(CYTHON_UNUSED PyObject *_ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_server_log", 0); - /* "pyrfc/_cyrfc.pyx":1508 + /* "pyrfc/_cyrfc.pyx":1509 * * def _server_log(origin, log_message): * if server_context["server_log"]: # <<<<<<<<<<<<<< * print (f"[{datetime.utcnow()} UTC] {origin} '{log_message}'") * */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_server_context); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1508, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_server_context); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1509, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_Dict_GetItem(__pyx_t_1, __pyx_n_u_server_log_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1508, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_Dict_GetItem(__pyx_t_1, __pyx_n_u_server_log_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1509, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1508, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1509, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1509 + /* "pyrfc/_cyrfc.pyx":1510 * def _server_log(origin, log_message): * if server_context["server_log"]: * print (f"[{datetime.utcnow()} UTC] {origin} '{log_message}'") # <<<<<<<<<<<<<< * * */ - __pyx_t_2 = PyTuple_New(7); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1509, __pyx_L1_error) + __pyx_t_2 = PyTuple_New(7); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1510, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = 0; __pyx_t_5 = 127; @@ -18350,9 +18350,9 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_18_server_log(CYTHON_UNUSED PyObject *_ __pyx_t_4 += 1; __Pyx_GIVEREF(__pyx_kp_u__24); PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_u__24); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_datetime); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1509, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_datetime); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1510, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_utcnow); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1509, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_utcnow); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1510, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_6 = NULL; @@ -18367,10 +18367,10 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_18_server_log(CYTHON_UNUSED PyObject *_ } __pyx_t_1 = (__pyx_t_6) ? __Pyx_PyObject_CallOneArg(__pyx_t_7, __pyx_t_6) : __Pyx_PyObject_CallNoArg(__pyx_t_7); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1509, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1510, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = __Pyx_PyObject_FormatSimple(__pyx_t_1, __pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1509, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_FormatSimple(__pyx_t_1, __pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1510, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) : __pyx_t_5; @@ -18382,7 +18382,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_18_server_log(CYTHON_UNUSED PyObject *_ __pyx_t_4 += 6; __Pyx_GIVEREF(__pyx_kp_u_UTC); PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_kp_u_UTC); - __pyx_t_7 = __Pyx_PyObject_FormatSimple(__pyx_v_origin, __pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1509, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_FormatSimple(__pyx_v_origin, __pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1510, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) : __pyx_t_5; __pyx_t_4 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_7); @@ -18393,7 +18393,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_18_server_log(CYTHON_UNUSED PyObject *_ __pyx_t_4 += 2; __Pyx_GIVEREF(__pyx_kp_u__25); PyTuple_SET_ITEM(__pyx_t_2, 4, __pyx_kp_u__25); - __pyx_t_7 = __Pyx_PyObject_FormatSimple(__pyx_v_log_message, __pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1509, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_FormatSimple(__pyx_v_log_message, __pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1510, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) : __pyx_t_5; __pyx_t_4 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_7); @@ -18404,15 +18404,15 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_18_server_log(CYTHON_UNUSED PyObject *_ __pyx_t_4 += 1; __Pyx_GIVEREF(__pyx_kp_u__6); PyTuple_SET_ITEM(__pyx_t_2, 6, __pyx_kp_u__6); - __pyx_t_7 = __Pyx_PyUnicode_Join(__pyx_t_2, 7, __pyx_t_4, __pyx_t_5); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1509, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyUnicode_Join(__pyx_t_2, 7, __pyx_t_4, __pyx_t_5); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1510, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyObject_CallOneArg(__pyx_builtin_print, __pyx_t_7); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1509, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_CallOneArg(__pyx_builtin_print, __pyx_t_7); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1510, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1508 + /* "pyrfc/_cyrfc.pyx":1509 * * def _server_log(origin, log_message): * if server_context["server_log"]: # <<<<<<<<<<<<<< @@ -18421,7 +18421,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_18_server_log(CYTHON_UNUSED PyObject *_ */ } - /* "pyrfc/_cyrfc.pyx":1507 + /* "pyrfc/_cyrfc.pyx":1508 * * * def _server_log(origin, log_message): # <<<<<<<<<<<<<< @@ -18445,7 +18445,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_18_server_log(CYTHON_UNUSED PyObject *_ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1518 +/* "pyrfc/_cyrfc.pyx":1519 * cdef public bint rstrip * * def __init__(self, **params): # <<<<<<<<<<<<<< @@ -18483,16 +18483,16 @@ static int __pyx_pf_5pyrfc_6_cyrfc_16ServerConnection___init__(struct __pyx_obj_ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - /* "pyrfc/_cyrfc.pyx":1519 + /* "pyrfc/_cyrfc.pyx":1520 * * def __init__(self, **params): * self._connection = ConnectionParameters(**params) # <<<<<<<<<<<<<< * self._handle = NULL * self._open() */ - __pyx_t_1 = PyDict_Copy(__pyx_v_params); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1519, __pyx_L1_error) + __pyx_t_1 = PyDict_Copy(__pyx_v_params); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1520, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_ConnectionParameters), __pyx_empty_tuple, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1519, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_ConnectionParameters), __pyx_empty_tuple, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1520, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_GIVEREF(__pyx_t_2); @@ -18501,7 +18501,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_16ServerConnection___init__(struct __pyx_obj_ __pyx_v_self->_connection = ((struct __pyx_obj_5pyrfc_6_cyrfc_ConnectionParameters *)__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1520 + /* "pyrfc/_cyrfc.pyx":1521 * def __init__(self, **params): * self._connection = ConnectionParameters(**params) * self._handle = NULL # <<<<<<<<<<<<<< @@ -18510,18 +18510,18 @@ static int __pyx_pf_5pyrfc_6_cyrfc_16ServerConnection___init__(struct __pyx_obj_ */ __pyx_v_self->_handle = NULL; - /* "pyrfc/_cyrfc.pyx":1521 + /* "pyrfc/_cyrfc.pyx":1522 * self._connection = ConnectionParameters(**params) * self._handle = NULL * self._open() # <<<<<<<<<<<<<< * * cdef _open(self): */ - __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_ServerConnection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1521, __pyx_L1_error) + __pyx_t_2 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_ServerConnection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1522, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1518 + /* "pyrfc/_cyrfc.pyx":1519 * cdef public bint rstrip * * def __init__(self, **params): # <<<<<<<<<<<<<< @@ -18542,7 +18542,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_16ServerConnection___init__(struct __pyx_obj_ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1523 +/* "pyrfc/_cyrfc.pyx":1524 * self._open() * * cdef _open(self): # <<<<<<<<<<<<<< @@ -18566,7 +18566,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__open(struct __pyx_ob int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_open", 0); - /* "pyrfc/_cyrfc.pyx":1525 + /* "pyrfc/_cyrfc.pyx":1526 * cdef _open(self): * cdef RFC_ERROR_INFO errorInfo * with nogil: # <<<<<<<<<<<<<< @@ -18581,7 +18581,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__open(struct __pyx_ob #endif /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1526 + /* "pyrfc/_cyrfc.pyx":1527 * cdef RFC_ERROR_INFO errorInfo * with nogil: * self._handle = RfcCreateServer(self._connection._params, self._connection._params_count, &errorInfo) # <<<<<<<<<<<<<< @@ -18591,7 +18591,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__open(struct __pyx_ob __pyx_v_self->_handle = RfcCreateServer(__pyx_v_self->_connection->_params, __pyx_v_self->_connection->_params_count, (&__pyx_v_errorInfo)); } - /* "pyrfc/_cyrfc.pyx":1525 + /* "pyrfc/_cyrfc.pyx":1526 * cdef _open(self): * cdef RFC_ERROR_INFO errorInfo * with nogil: # <<<<<<<<<<<<<< @@ -18610,7 +18610,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__open(struct __pyx_ob } } - /* "pyrfc/_cyrfc.pyx":1527 + /* "pyrfc/_cyrfc.pyx":1528 * with nogil: * self._handle = RfcCreateServer(self._connection._params, self._connection._params_count, &errorInfo) * if errorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -18620,7 +18620,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__open(struct __pyx_ob __pyx_t_1 = ((__pyx_v_errorInfo.code != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":1528 + /* "pyrfc/_cyrfc.pyx":1529 * self._handle = RfcCreateServer(self._connection._params, self._connection._params_count, &errorInfo) * if errorInfo.code != RFC_OK: * self._handle = NULL # <<<<<<<<<<<<<< @@ -18629,20 +18629,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__open(struct __pyx_ob */ __pyx_v_self->_handle = NULL; - /* "pyrfc/_cyrfc.pyx":1529 + /* "pyrfc/_cyrfc.pyx":1530 * if errorInfo.code != RFC_OK: * self._handle = NULL * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * _server_log("Server connection", f"{self._handle}") * */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1529, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1530, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 1529, __pyx_L1_error) + __PYX_ERR(0, 1530, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1527 + /* "pyrfc/_cyrfc.pyx":1528 * with nogil: * self._handle = RfcCreateServer(self._connection._params, self._connection._params_count, &errorInfo) * if errorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -18651,18 +18651,18 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__open(struct __pyx_ob */ } - /* "pyrfc/_cyrfc.pyx":1530 + /* "pyrfc/_cyrfc.pyx":1531 * self._handle = NULL * raise wrapError(&errorInfo) * _server_log("Server connection", f"{self._handle}") # <<<<<<<<<<<<<< * * cdef _close(self): */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_server_log); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1530, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_server_log); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1531, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_self->_handle)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1530, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_self->_handle)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1531, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_FormatSimple(__pyx_t_4, __pyx_empty_unicode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1530, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_FormatSimple(__pyx_t_4, __pyx_empty_unicode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1531, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_4 = NULL; @@ -18680,7 +18680,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__open(struct __pyx_ob #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_3)) { PyObject *__pyx_temp[3] = {__pyx_t_4, __pyx_kp_u_Server_connection, __pyx_t_5}; - __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_3, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1530, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_3, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1531, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; @@ -18689,14 +18689,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__open(struct __pyx_ob #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) { PyObject *__pyx_temp[3] = {__pyx_t_4, __pyx_kp_u_Server_connection, __pyx_t_5}; - __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_3, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1530, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_3, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1531, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; } else #endif { - __pyx_t_7 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1530, __pyx_L1_error) + __pyx_t_7 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1531, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); if (__pyx_t_4) { __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_4); __pyx_t_4 = NULL; @@ -18707,14 +18707,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__open(struct __pyx_ob __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_7, 1+__pyx_t_6, __pyx_t_5); __pyx_t_5 = 0; - __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_7, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1530, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_7, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1531, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1523 + /* "pyrfc/_cyrfc.pyx":1524 * self._open() * * cdef _open(self): # <<<<<<<<<<<<<< @@ -18739,7 +18739,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__open(struct __pyx_ob return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1532 +/* "pyrfc/_cyrfc.pyx":1533 * _server_log("Server connection", f"{self._handle}") * * cdef _close(self): # <<<<<<<<<<<<<< @@ -18762,7 +18762,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__close(struct __pyx_o int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_close", 0); - /* "pyrfc/_cyrfc.pyx":1533 + /* "pyrfc/_cyrfc.pyx":1534 * * cdef _close(self): * if self._handle != NULL: # <<<<<<<<<<<<<< @@ -18772,16 +18772,16 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__close(struct __pyx_o __pyx_t_1 = ((__pyx_v_self->_handle != NULL) != 0); if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":1534 + /* "pyrfc/_cyrfc.pyx":1535 * cdef _close(self): * if self._handle != NULL: * _server_log("Server close", self._handle) # <<<<<<<<<<<<<< * with nogil: * RfcShutdownServer(self._handle, 60, NULL) */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_server_log); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1534, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_server_log); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1535, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_self->_handle)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1534, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_self->_handle)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1535, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; __pyx_t_6 = 0; @@ -18798,7 +18798,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__close(struct __pyx_o #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_3)) { PyObject *__pyx_temp[3] = {__pyx_t_5, __pyx_kp_u_Server_close, __pyx_t_4}; - __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_3, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1534, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_3, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1535, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; @@ -18807,14 +18807,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__close(struct __pyx_o #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) { PyObject *__pyx_temp[3] = {__pyx_t_5, __pyx_kp_u_Server_close, __pyx_t_4}; - __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_3, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1534, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_3, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1535, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } else #endif { - __pyx_t_7 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1534, __pyx_L1_error) + __pyx_t_7 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1535, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); if (__pyx_t_5) { __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_5); __pyx_t_5 = NULL; @@ -18825,14 +18825,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__close(struct __pyx_o __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_7, 1+__pyx_t_6, __pyx_t_4); __pyx_t_4 = 0; - __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_7, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1534, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_7, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1535, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1535 + /* "pyrfc/_cyrfc.pyx":1536 * if self._handle != NULL: * _server_log("Server close", self._handle) * with nogil: # <<<<<<<<<<<<<< @@ -18847,7 +18847,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__close(struct __pyx_o #endif /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1536 + /* "pyrfc/_cyrfc.pyx":1537 * _server_log("Server close", self._handle) * with nogil: * RfcShutdownServer(self._handle, 60, NULL) # <<<<<<<<<<<<<< @@ -18856,7 +18856,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__close(struct __pyx_o */ (void)(RfcShutdownServer(__pyx_v_self->_handle, 60, NULL)); - /* "pyrfc/_cyrfc.pyx":1537 + /* "pyrfc/_cyrfc.pyx":1538 * with nogil: * RfcShutdownServer(self._handle, 60, NULL) * RfcDestroyServer(self._handle, NULL) # <<<<<<<<<<<<<< @@ -18865,7 +18865,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__close(struct __pyx_o */ (void)(RfcDestroyServer(__pyx_v_self->_handle, NULL)); - /* "pyrfc/_cyrfc.pyx":1538 + /* "pyrfc/_cyrfc.pyx":1539 * RfcShutdownServer(self._handle, 60, NULL) * RfcDestroyServer(self._handle, NULL) * self._handle = NULL # <<<<<<<<<<<<<< @@ -18875,7 +18875,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__close(struct __pyx_o __pyx_v_self->_handle = NULL; } - /* "pyrfc/_cyrfc.pyx":1535 + /* "pyrfc/_cyrfc.pyx":1536 * if self._handle != NULL: * _server_log("Server close", self._handle) * with nogil: # <<<<<<<<<<<<<< @@ -18894,7 +18894,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__close(struct __pyx_o } } - /* "pyrfc/_cyrfc.pyx":1533 + /* "pyrfc/_cyrfc.pyx":1534 * * cdef _close(self): * if self._handle != NULL: # <<<<<<<<<<<<<< @@ -18903,7 +18903,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__close(struct __pyx_o */ } - /* "pyrfc/_cyrfc.pyx":1532 + /* "pyrfc/_cyrfc.pyx":1533 * _server_log("Server connection", f"{self._handle}") * * cdef _close(self): # <<<<<<<<<<<<<< @@ -18928,7 +18928,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__close(struct __pyx_o return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1540 +/* "pyrfc/_cyrfc.pyx":1541 * self._handle = NULL * * def open(self): # <<<<<<<<<<<<<< @@ -18958,18 +18958,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16ServerConnection_2open(struct __pyx_o int __pyx_clineno = 0; __Pyx_RefNannySetupContext("open", 0); - /* "pyrfc/_cyrfc.pyx":1541 + /* "pyrfc/_cyrfc.pyx":1542 * * def open(self): * self._open() # <<<<<<<<<<<<<< * * def close(self): */ - __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_ServerConnection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1541, __pyx_L1_error) + __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_ServerConnection *)__pyx_v_self->__pyx_vtab)->_open(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1542, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1540 + /* "pyrfc/_cyrfc.pyx":1541 * self._handle = NULL * * def open(self): # <<<<<<<<<<<<<< @@ -18990,7 +18990,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16ServerConnection_2open(struct __pyx_o return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1543 +/* "pyrfc/_cyrfc.pyx":1544 * self._open() * * def close(self): # <<<<<<<<<<<<<< @@ -19020,18 +19020,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16ServerConnection_4close(struct __pyx_ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("close", 0); - /* "pyrfc/_cyrfc.pyx":1544 + /* "pyrfc/_cyrfc.pyx":1545 * * def close(self): * self._close() # <<<<<<<<<<<<<< * * def __bool__(self): */ - __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_ServerConnection *)__pyx_v_self->__pyx_vtab)->_close(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1544, __pyx_L1_error) + __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_ServerConnection *)__pyx_v_self->__pyx_vtab)->_close(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1545, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1543 + /* "pyrfc/_cyrfc.pyx":1544 * self._open() * * def close(self): # <<<<<<<<<<<<<< @@ -19052,7 +19052,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16ServerConnection_4close(struct __pyx_ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1546 +/* "pyrfc/_cyrfc.pyx":1547 * self._close() * * def __bool__(self): # <<<<<<<<<<<<<< @@ -19083,21 +19083,21 @@ static int __pyx_pf_5pyrfc_6_cyrfc_16ServerConnection_6__bool__(struct __pyx_obj int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__bool__", 0); - /* "pyrfc/_cyrfc.pyx":1547 + /* "pyrfc/_cyrfc.pyx":1548 * * def __bool__(self): * return self.alive # <<<<<<<<<<<<<< * * @property */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_alive); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1547, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_alive); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1548, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1547, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1548, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_r = __pyx_t_2; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1546 + /* "pyrfc/_cyrfc.pyx":1547 * self._close() * * def __bool__(self): # <<<<<<<<<<<<<< @@ -19115,7 +19115,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_16ServerConnection_6__bool__(struct __pyx_obj return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1550 +/* "pyrfc/_cyrfc.pyx":1551 * * @property * def handle(self): # <<<<<<<<<<<<<< @@ -19145,7 +19145,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16ServerConnection_6handle___get__(stru int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - /* "pyrfc/_cyrfc.pyx":1556 + /* "pyrfc/_cyrfc.pyx":1557 * :type: uitptr_t * """ * return self._handle # <<<<<<<<<<<<<< @@ -19153,13 +19153,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16ServerConnection_6handle___get__(stru * @property */ __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_self->_handle)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1556, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_self->_handle)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1557, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1550 + /* "pyrfc/_cyrfc.pyx":1551 * * @property * def handle(self): # <<<<<<<<<<<<<< @@ -19178,7 +19178,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16ServerConnection_6handle___get__(stru return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1559 +/* "pyrfc/_cyrfc.pyx":1560 * * @property * def alive(self): # <<<<<<<<<<<<<< @@ -19208,7 +19208,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16ServerConnection_5alive___get__(struc int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - /* "pyrfc/_cyrfc.pyx":1565 + /* "pyrfc/_cyrfc.pyx":1566 * :type: boolean * """ * return self._handle != NULL # <<<<<<<<<<<<<< @@ -19216,13 +19216,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16ServerConnection_5alive___get__(struc * def __del__(self): */ __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong((__pyx_v_self->_handle != NULL)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1565, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyBool_FromLong((__pyx_v_self->_handle != NULL)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1566, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1559 + /* "pyrfc/_cyrfc.pyx":1560 * * @property * def alive(self): # <<<<<<<<<<<<<< @@ -19241,7 +19241,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16ServerConnection_5alive___get__(struc return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1567 +/* "pyrfc/_cyrfc.pyx":1568 * return self._handle != NULL * * def __del__(self): # <<<<<<<<<<<<<< @@ -19273,25 +19273,25 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16ServerConnection_8__del__(struct __py int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__del__", 0); - /* "pyrfc/_cyrfc.pyx":1568 + /* "pyrfc/_cyrfc.pyx":1569 * * def __del__(self): * self._close() # <<<<<<<<<<<<<< * self._connection._free() * */ - __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_ServerConnection *)__pyx_v_self->__pyx_vtab)->_close(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1568, __pyx_L1_error) + __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_ServerConnection *)__pyx_v_self->__pyx_vtab)->_close(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1569, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1569 + /* "pyrfc/_cyrfc.pyx":1570 * def __del__(self): * self._close() * self._connection._free() # <<<<<<<<<<<<<< * * cdef RFC_RC metadataLookup( */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->_connection), __pyx_n_s_free); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1569, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->_connection), __pyx_n_s_free); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1570, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -19305,12 +19305,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16ServerConnection_8__del__(struct __py } __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1569, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1570, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1567 + /* "pyrfc/_cyrfc.pyx":1568 * return self._handle != NULL * * def __del__(self): # <<<<<<<<<<<<<< @@ -19333,7 +19333,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16ServerConnection_8__del__(struct __py return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1515 +/* "pyrfc/_cyrfc.pyx":1516 * cdef ConnectionParameters _connection * cdef RFC_SERVER_HANDLE _handle * cdef public bint debug # <<<<<<<<<<<<<< @@ -19363,7 +19363,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16ServerConnection_5debug___get__(struc int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->debug); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1515, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->debug); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1516, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; @@ -19401,7 +19401,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_16ServerConnection_5debug_2__set__(struct __p const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__set__", 0); - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1515, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1516, __pyx_L1_error) __pyx_v_self->debug = __pyx_t_1; /* function exit code */ @@ -19415,7 +19415,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_16ServerConnection_5debug_2__set__(struct __p return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1516 +/* "pyrfc/_cyrfc.pyx":1517 * cdef RFC_SERVER_HANDLE _handle * cdef public bint debug * cdef public bint rstrip # <<<<<<<<<<<<<< @@ -19445,7 +19445,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16ServerConnection_6rstrip___get__(stru int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->rstrip); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1516, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->rstrip); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1517, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; @@ -19483,7 +19483,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_16ServerConnection_6rstrip_2__set__(struct __ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__set__", 0); - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1516, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1517, __pyx_L1_error) __pyx_v_self->rstrip = __pyx_t_1; /* function exit code */ @@ -19610,7 +19610,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_16ServerConnection_12__setstate_cython_ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1571 +/* "pyrfc/_cyrfc.pyx":1572 * self._connection._free() * * cdef RFC_RC metadataLookup( # <<<<<<<<<<<<<< @@ -19642,42 +19642,42 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_metadataLookup(SAP_UC const *__pyx_v_functi #endif __Pyx_RefNannySetupContext("metadataLookup", 0); - /* "pyrfc/_cyrfc.pyx":1577 + /* "pyrfc/_cyrfc.pyx":1578 * ) with gil: * global server_functions * function_name = wrapString(functionName) # <<<<<<<<<<<<<< * if function_name not in server_functions: * _server_log("metadataLookup", f"No metadata found for function '{function_name}'.") */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_functionName, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1577, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_functionName, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1578, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_function_name = __pyx_t_1; __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1578 + /* "pyrfc/_cyrfc.pyx":1579 * global server_functions * function_name = wrapString(functionName) * if function_name not in server_functions: # <<<<<<<<<<<<<< * _server_log("metadataLookup", f"No metadata found for function '{function_name}'.") * return RFC_NOT_FOUND */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_server_functions); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1578, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_server_functions); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1579, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_v_function_name, __pyx_t_1, Py_NE)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1578, __pyx_L1_error) + __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_v_function_name, __pyx_t_1, Py_NE)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1579, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_3 = (__pyx_t_2 != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1579 + /* "pyrfc/_cyrfc.pyx":1580 * function_name = wrapString(functionName) * if function_name not in server_functions: * _server_log("metadataLookup", f"No metadata found for function '{function_name}'.") # <<<<<<<<<<<<<< * return RFC_NOT_FOUND * func_metadata = server_functions[function_name] */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_server_log); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1579, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_server_log); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1580, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1579, __pyx_L1_error) + __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1580, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = 0; __pyx_t_7 = 127; @@ -19685,7 +19685,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_metadataLookup(SAP_UC const *__pyx_v_functi __pyx_t_6 += 32; __Pyx_GIVEREF(__pyx_kp_u_No_metadata_found_for_function); PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_kp_u_No_metadata_found_for_function); - __pyx_t_8 = __Pyx_PyObject_FormatSimple(__pyx_v_function_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1579, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_FormatSimple(__pyx_v_function_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1580, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_7 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_8) > __pyx_t_7) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_8) : __pyx_t_7; __pyx_t_6 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_8); @@ -19696,7 +19696,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_metadataLookup(SAP_UC const *__pyx_v_functi __pyx_t_6 += 2; __Pyx_GIVEREF(__pyx_kp_u__28); PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_kp_u__28); - __pyx_t_8 = __Pyx_PyUnicode_Join(__pyx_t_5, 3, __pyx_t_6, __pyx_t_7); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1579, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyUnicode_Join(__pyx_t_5, 3, __pyx_t_6, __pyx_t_7); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1580, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_5 = NULL; @@ -19714,7 +19714,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_metadataLookup(SAP_UC const *__pyx_v_functi #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_4)) { PyObject *__pyx_temp[3] = {__pyx_t_5, __pyx_n_u_metadataLookup, __pyx_t_8}; - __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1579, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1580, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; @@ -19723,14 +19723,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_metadataLookup(SAP_UC const *__pyx_v_functi #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_4)) { PyObject *__pyx_temp[3] = {__pyx_t_5, __pyx_n_u_metadataLookup, __pyx_t_8}; - __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1579, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1580, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; } else #endif { - __pyx_t_10 = PyTuple_New(2+__pyx_t_9); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1579, __pyx_L1_error) + __pyx_t_10 = PyTuple_New(2+__pyx_t_9); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1580, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); if (__pyx_t_5) { __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_10, 0, __pyx_t_5); __pyx_t_5 = NULL; @@ -19741,14 +19741,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_metadataLookup(SAP_UC const *__pyx_v_functi __Pyx_GIVEREF(__pyx_t_8); PyTuple_SET_ITEM(__pyx_t_10, 1+__pyx_t_9, __pyx_t_8); __pyx_t_8 = 0; - __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_10, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1579, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_10, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1580, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1580 + /* "pyrfc/_cyrfc.pyx":1581 * if function_name not in server_functions: * _server_log("metadataLookup", f"No metadata found for function '{function_name}'.") * return RFC_NOT_FOUND # <<<<<<<<<<<<<< @@ -19758,7 +19758,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_metadataLookup(SAP_UC const *__pyx_v_functi __pyx_r = RFC_NOT_FOUND; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1578 + /* "pyrfc/_cyrfc.pyx":1579 * global server_functions * function_name = wrapString(functionName) * if function_name not in server_functions: # <<<<<<<<<<<<<< @@ -19767,44 +19767,44 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_metadataLookup(SAP_UC const *__pyx_v_functi */ } - /* "pyrfc/_cyrfc.pyx":1581 + /* "pyrfc/_cyrfc.pyx":1582 * _server_log("metadataLookup", f"No metadata found for function '{function_name}'.") * return RFC_NOT_FOUND * func_metadata = server_functions[function_name] # <<<<<<<<<<<<<< * # callback = func_metadata['callback'] * funcDescHandle[0] = func_metadata['func_desc_handle'] */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_server_functions); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1581, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_server_functions); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1582, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_4 = __Pyx_PyObject_GetItem(__pyx_t_1, __pyx_v_function_name); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1581, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetItem(__pyx_t_1, __pyx_v_function_name); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1582, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_func_metadata = __pyx_t_4; __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":1583 + /* "pyrfc/_cyrfc.pyx":1584 * func_metadata = server_functions[function_name] * # callback = func_metadata['callback'] * funcDescHandle[0] = func_metadata['func_desc_handle'] # <<<<<<<<<<<<<< * _server_log("metadataLookup", f"Function '{function_name}' handle {funcDescHandle[0]}.") * return RFC_OK */ - __pyx_t_4 = __Pyx_PyObject_Dict_GetItem(__pyx_v_func_metadata, __pyx_n_u_func_desc_handle); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1583, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Dict_GetItem(__pyx_v_func_metadata, __pyx_n_u_func_desc_handle); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1584, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_11 = __Pyx_PyInt_As_size_t(__pyx_t_4); if (unlikely((__pyx_t_11 == ((uintptr_t)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1583, __pyx_L1_error) + __pyx_t_11 = __Pyx_PyInt_As_size_t(__pyx_t_4); if (unlikely((__pyx_t_11 == ((uintptr_t)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1584, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; (__pyx_v_funcDescHandle[0]) = ((RFC_FUNCTION_DESC_HANDLE)((uintptr_t)__pyx_t_11)); - /* "pyrfc/_cyrfc.pyx":1584 + /* "pyrfc/_cyrfc.pyx":1585 * # callback = func_metadata['callback'] * funcDescHandle[0] = func_metadata['func_desc_handle'] * _server_log("metadataLookup", f"Function '{function_name}' handle {funcDescHandle[0]}.") # <<<<<<<<<<<<<< * return RFC_OK * */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_server_log); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1584, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_server_log); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1585, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_10 = PyTuple_New(5); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1584, __pyx_L1_error) + __pyx_t_10 = PyTuple_New(5); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1585, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); __pyx_t_6 = 0; __pyx_t_7 = 127; @@ -19812,7 +19812,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_metadataLookup(SAP_UC const *__pyx_v_functi __pyx_t_6 += 10; __Pyx_GIVEREF(__pyx_kp_u_Function); PyTuple_SET_ITEM(__pyx_t_10, 0, __pyx_kp_u_Function); - __pyx_t_8 = __Pyx_PyObject_FormatSimple(__pyx_v_function_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1584, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_FormatSimple(__pyx_v_function_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1585, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_7 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_8) > __pyx_t_7) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_8) : __pyx_t_7; __pyx_t_6 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_8); @@ -19823,9 +19823,9 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_metadataLookup(SAP_UC const *__pyx_v_functi __pyx_t_6 += 9; __Pyx_GIVEREF(__pyx_kp_u_handle_2); PyTuple_SET_ITEM(__pyx_t_10, 2, __pyx_kp_u_handle_2); - __pyx_t_8 = __Pyx_PyInt_FromSize_t(((uintptr_t)(__pyx_v_funcDescHandle[0]))); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1584, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyInt_FromSize_t(((uintptr_t)(__pyx_v_funcDescHandle[0]))); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1585, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); - __pyx_t_5 = __Pyx_PyObject_FormatSimple(__pyx_t_8, __pyx_empty_unicode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1584, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_FormatSimple(__pyx_t_8, __pyx_empty_unicode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1585, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_7 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_5) > __pyx_t_7) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_5) : __pyx_t_7; @@ -19837,7 +19837,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_metadataLookup(SAP_UC const *__pyx_v_functi __pyx_t_6 += 1; __Pyx_GIVEREF(__pyx_kp_u__21); PyTuple_SET_ITEM(__pyx_t_10, 4, __pyx_kp_u__21); - __pyx_t_5 = __Pyx_PyUnicode_Join(__pyx_t_10, 5, __pyx_t_6, __pyx_t_7); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1584, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyUnicode_Join(__pyx_t_10, 5, __pyx_t_6, __pyx_t_7); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1585, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __pyx_t_10 = NULL; @@ -19855,7 +19855,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_metadataLookup(SAP_UC const *__pyx_v_functi #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_1)) { PyObject *__pyx_temp[3] = {__pyx_t_10, __pyx_n_u_metadataLookup, __pyx_t_5}; - __pyx_t_4 = __Pyx_PyFunction_FastCall(__pyx_t_1, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1584, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyFunction_FastCall(__pyx_t_1, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1585, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; @@ -19864,14 +19864,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_metadataLookup(SAP_UC const *__pyx_v_functi #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_1)) { PyObject *__pyx_temp[3] = {__pyx_t_10, __pyx_n_u_metadataLookup, __pyx_t_5}; - __pyx_t_4 = __Pyx_PyCFunction_FastCall(__pyx_t_1, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1584, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyCFunction_FastCall(__pyx_t_1, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1585, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; } else #endif { - __pyx_t_8 = PyTuple_New(2+__pyx_t_9); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1584, __pyx_L1_error) + __pyx_t_8 = PyTuple_New(2+__pyx_t_9); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1585, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); if (__pyx_t_10) { __Pyx_GIVEREF(__pyx_t_10); PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_10); __pyx_t_10 = NULL; @@ -19882,14 +19882,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_metadataLookup(SAP_UC const *__pyx_v_functi __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_8, 1+__pyx_t_9, __pyx_t_5); __pyx_t_5 = 0; - __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_8, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1584, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_8, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1585, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":1585 + /* "pyrfc/_cyrfc.pyx":1586 * funcDescHandle[0] = func_metadata['func_desc_handle'] * _server_log("metadataLookup", f"Function '{function_name}' handle {funcDescHandle[0]}.") * return RFC_OK # <<<<<<<<<<<<<< @@ -19899,7 +19899,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_metadataLookup(SAP_UC const *__pyx_v_functi __pyx_r = RFC_OK; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1571 + /* "pyrfc/_cyrfc.pyx":1572 * self._connection._free() * * cdef RFC_RC metadataLookup( # <<<<<<<<<<<<<< @@ -19926,7 +19926,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_metadataLookup(SAP_UC const *__pyx_v_functi return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1587 +/* "pyrfc/_cyrfc.pyx":1588 * return RFC_OK * * cdef get_server_context(RFC_CONNECTION_HANDLE rfcHandle, RFC_ERROR_INFO* serverErrorInfo): # <<<<<<<<<<<<<< @@ -19952,7 +19952,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_get_server_context(RFC_CONNECTION_HANDLE int __pyx_clineno = 0; __Pyx_RefNannySetupContext("get_server_context", 0); - /* "pyrfc/_cyrfc.pyx":1589 + /* "pyrfc/_cyrfc.pyx":1590 * cdef get_server_context(RFC_CONNECTION_HANDLE rfcHandle, RFC_ERROR_INFO* serverErrorInfo): * cdef RFC_SERVER_CONTEXT context * cdef RFC_RC rc = RfcGetServerContext(rfcHandle, &context, serverErrorInfo) # <<<<<<<<<<<<<< @@ -19961,7 +19961,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_get_server_context(RFC_CONNECTION_HANDLE */ __pyx_v_rc = RfcGetServerContext(__pyx_v_rfcHandle, (&__pyx_v_context), __pyx_v_serverErrorInfo); - /* "pyrfc/_cyrfc.pyx":1590 + /* "pyrfc/_cyrfc.pyx":1591 * cdef RFC_SERVER_CONTEXT context * cdef RFC_RC rc = RfcGetServerContext(rfcHandle, &context, serverErrorInfo) * if rc != RFC_OK or serverErrorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -19979,7 +19979,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_get_server_context(RFC_CONNECTION_HANDLE __pyx_L4_bool_binop_done:; if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":1591 + /* "pyrfc/_cyrfc.pyx":1592 * cdef RFC_RC rc = RfcGetServerContext(rfcHandle, &context, serverErrorInfo) * if rc != RFC_OK or serverErrorInfo.code != RFC_OK: * return None # <<<<<<<<<<<<<< @@ -19990,7 +19990,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_get_server_context(RFC_CONNECTION_HANDLE __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1590 + /* "pyrfc/_cyrfc.pyx":1591 * cdef RFC_SERVER_CONTEXT context * cdef RFC_RC rc = RfcGetServerContext(rfcHandle, &context, serverErrorInfo) * if rc != RFC_OK or serverErrorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -19999,18 +19999,18 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_get_server_context(RFC_CONNECTION_HANDLE */ } - /* "pyrfc/_cyrfc.pyx":1594 + /* "pyrfc/_cyrfc.pyx":1595 * * server_context = { * "call_type": UnitCallType(context.type), # <<<<<<<<<<<<<< * "is_stateful": context.isStateful != 0 * } */ - __pyx_t_3 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1594, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1595, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_UnitCallType); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1594, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_UnitCallType); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1595, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = __Pyx_PyInt_From_RFC_CALL_TYPE(__pyx_v_context.type); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1594, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyInt_From_RFC_CALL_TYPE(__pyx_v_context.type); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1595, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_7 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_5))) { @@ -20025,27 +20025,27 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_get_server_context(RFC_CONNECTION_HANDLE __pyx_t_4 = (__pyx_t_7) ? __Pyx_PyObject_Call2Args(__pyx_t_5, __pyx_t_7, __pyx_t_6) : __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_t_6); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1594, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1595, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_call_type, __pyx_t_4) < 0) __PYX_ERR(0, 1594, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_call_type, __pyx_t_4) < 0) __PYX_ERR(0, 1595, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":1595 + /* "pyrfc/_cyrfc.pyx":1596 * server_context = { * "call_type": UnitCallType(context.type), * "is_stateful": context.isStateful != 0 # <<<<<<<<<<<<<< * } * if context.type != RFC_SYNCHRONOUS: */ - __pyx_t_4 = __Pyx_PyBool_FromLong((__pyx_v_context.isStateful != 0)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1595, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyBool_FromLong((__pyx_v_context.isStateful != 0)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1596, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_is_stateful, __pyx_t_4) < 0) __PYX_ERR(0, 1594, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_is_stateful, __pyx_t_4) < 0) __PYX_ERR(0, 1595, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_v_server_context = ((PyObject*)__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":1597 + /* "pyrfc/_cyrfc.pyx":1598 * "is_stateful": context.isStateful != 0 * } * if context.type != RFC_SYNCHRONOUS: # <<<<<<<<<<<<<< @@ -20055,19 +20055,19 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_get_server_context(RFC_CONNECTION_HANDLE __pyx_t_1 = ((__pyx_v_context.type != RFC_SYNCHRONOUS) != 0); if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":1598 + /* "pyrfc/_cyrfc.pyx":1599 * } * if context.type != RFC_SYNCHRONOUS: * server_context["unit_identifier"] = wrapUnitIdentifier(context.unitIdentifier[0]) # <<<<<<<<<<<<<< * if context.type == RFC_BACKGROUND_UNIT: * server_context ["unit_attributes"] = wrapUnitAttributes(context.unitAttributes) */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapUnitIdentifier((__pyx_v_context.unitIdentifier[0])); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1598, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapUnitIdentifier((__pyx_v_context.unitIdentifier[0])); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1599, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (unlikely(PyDict_SetItem(__pyx_v_server_context, __pyx_n_u_unit_identifier, __pyx_t_3) < 0)) __PYX_ERR(0, 1598, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_server_context, __pyx_n_u_unit_identifier, __pyx_t_3) < 0)) __PYX_ERR(0, 1599, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":1597 + /* "pyrfc/_cyrfc.pyx":1598 * "is_stateful": context.isStateful != 0 * } * if context.type != RFC_SYNCHRONOUS: # <<<<<<<<<<<<<< @@ -20076,7 +20076,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_get_server_context(RFC_CONNECTION_HANDLE */ } - /* "pyrfc/_cyrfc.pyx":1599 + /* "pyrfc/_cyrfc.pyx":1600 * if context.type != RFC_SYNCHRONOUS: * server_context["unit_identifier"] = wrapUnitIdentifier(context.unitIdentifier[0]) * if context.type == RFC_BACKGROUND_UNIT: # <<<<<<<<<<<<<< @@ -20086,19 +20086,19 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_get_server_context(RFC_CONNECTION_HANDLE __pyx_t_1 = ((__pyx_v_context.type == RFC_BACKGROUND_UNIT) != 0); if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":1600 + /* "pyrfc/_cyrfc.pyx":1601 * server_context["unit_identifier"] = wrapUnitIdentifier(context.unitIdentifier[0]) * if context.type == RFC_BACKGROUND_UNIT: * server_context ["unit_attributes"] = wrapUnitAttributes(context.unitAttributes) # <<<<<<<<<<<<<< * * return server_context */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapUnitAttributes(__pyx_v_context.unitAttributes); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1600, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapUnitAttributes(__pyx_v_context.unitAttributes); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1601, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (unlikely(PyDict_SetItem(__pyx_v_server_context, __pyx_n_u_unit_attributes, __pyx_t_3) < 0)) __PYX_ERR(0, 1600, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_server_context, __pyx_n_u_unit_attributes, __pyx_t_3) < 0)) __PYX_ERR(0, 1601, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":1599 + /* "pyrfc/_cyrfc.pyx":1600 * if context.type != RFC_SYNCHRONOUS: * server_context["unit_identifier"] = wrapUnitIdentifier(context.unitIdentifier[0]) * if context.type == RFC_BACKGROUND_UNIT: # <<<<<<<<<<<<<< @@ -20107,7 +20107,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_get_server_context(RFC_CONNECTION_HANDLE */ } - /* "pyrfc/_cyrfc.pyx":1602 + /* "pyrfc/_cyrfc.pyx":1603 * server_context ["unit_attributes"] = wrapUnitAttributes(context.unitAttributes) * * return server_context # <<<<<<<<<<<<<< @@ -20119,7 +20119,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_get_server_context(RFC_CONNECTION_HANDLE __pyx_r = __pyx_v_server_context; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1587 + /* "pyrfc/_cyrfc.pyx":1588 * return RFC_OK * * cdef get_server_context(RFC_CONNECTION_HANDLE rfcHandle, RFC_ERROR_INFO* serverErrorInfo): # <<<<<<<<<<<<<< @@ -20143,7 +20143,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_get_server_context(RFC_CONNECTION_HANDLE return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1604 +/* "pyrfc/_cyrfc.pyx":1605 * return server_context * * cdef RFC_RC genericHandler(RFC_CONNECTION_HANDLE rfcHandle, RFC_FUNCTION_HANDLE funcHandle, RFC_ERROR_INFO* serverErrorInfo) with gil: # <<<<<<<<<<<<<< @@ -20214,19 +20214,19 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ #endif __Pyx_RefNannySetupContext("genericHandler", 0); - /* "pyrfc/_cyrfc.pyx":1614 + /* "pyrfc/_cyrfc.pyx":1615 * * # section 5.6.2 of SAP NWRFC SDK Programming Guide 7.50 * context = get_server_context(rfcHandle, serverErrorInfo) # <<<<<<<<<<<<<< * if context is None: * err_msg = f"Error code {serverErrorInfo.code} when getting server context for connection '{rfcHandle}'" */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_get_server_context(__pyx_v_rfcHandle, __pyx_v_serverErrorInfo); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1614, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_get_server_context(__pyx_v_rfcHandle, __pyx_v_serverErrorInfo); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1615, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_context = __pyx_t_1; __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1615 + /* "pyrfc/_cyrfc.pyx":1616 * # section 5.6.2 of SAP NWRFC SDK Programming Guide 7.50 * context = get_server_context(rfcHandle, serverErrorInfo) * if context is None: # <<<<<<<<<<<<<< @@ -20237,14 +20237,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_3 = (__pyx_t_2 != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1616 + /* "pyrfc/_cyrfc.pyx":1617 * context = get_server_context(rfcHandle, serverErrorInfo) * if context is None: * err_msg = f"Error code {serverErrorInfo.code} when getting server context for connection '{rfcHandle}'" # <<<<<<<<<<<<<< * new_error = ExternalRuntimeError( * message=err_msg, */ - __pyx_t_1 = PyTuple_New(5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1616, __pyx_L1_error) + __pyx_t_1 = PyTuple_New(5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1617, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_4 = 0; __pyx_t_5 = 127; @@ -20252,7 +20252,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_4 += 11; __Pyx_GIVEREF(__pyx_kp_u_Error_code); PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_kp_u_Error_code); - __pyx_t_6 = __Pyx_PyUnicode_From_RFC_RC(__pyx_v_serverErrorInfo->code, 0, ' ', 'd'); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1616, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyUnicode_From_RFC_RC(__pyx_v_serverErrorInfo->code, 0, ' ', 'd'); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1617, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6) : __pyx_t_5; __pyx_t_4 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_6); @@ -20263,9 +20263,9 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_4 += 45; __Pyx_GIVEREF(__pyx_kp_u_when_getting_server_context_for); PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_kp_u_when_getting_server_context_for); - __pyx_t_6 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_rfcHandle)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1616, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_rfcHandle)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1617, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = __Pyx_PyObject_FormatSimple(__pyx_t_6, __pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1616, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_FormatSimple(__pyx_t_6, __pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1617, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) : __pyx_t_5; @@ -20277,71 +20277,71 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_4 += 1; __Pyx_GIVEREF(__pyx_kp_u__6); PyTuple_SET_ITEM(__pyx_t_1, 4, __pyx_kp_u__6); - __pyx_t_7 = __Pyx_PyUnicode_Join(__pyx_t_1, 5, __pyx_t_4, __pyx_t_5); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1616, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyUnicode_Join(__pyx_t_1, 5, __pyx_t_4, __pyx_t_5); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1617, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_err_msg = ((PyObject*)__pyx_t_7); __pyx_t_7 = 0; - /* "pyrfc/_cyrfc.pyx":1617 + /* "pyrfc/_cyrfc.pyx":1618 * if context is None: * err_msg = f"Error code {serverErrorInfo.code} when getting server context for connection '{rfcHandle}'" * new_error = ExternalRuntimeError( # <<<<<<<<<<<<<< * message=err_msg, * code=RFC_EXTERNAL_FAILURE */ - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_ExternalRuntimeError); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1617, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_ExternalRuntimeError); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1618, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - /* "pyrfc/_cyrfc.pyx":1618 + /* "pyrfc/_cyrfc.pyx":1619 * err_msg = f"Error code {serverErrorInfo.code} when getting server context for connection '{rfcHandle}'" * new_error = ExternalRuntimeError( * message=err_msg, # <<<<<<<<<<<<<< * code=RFC_EXTERNAL_FAILURE * ) */ - __pyx_t_1 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1618, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1619, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_message, __pyx_v_err_msg) < 0) __PYX_ERR(0, 1618, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_message, __pyx_v_err_msg) < 0) __PYX_ERR(0, 1619, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1619 + /* "pyrfc/_cyrfc.pyx":1620 * new_error = ExternalRuntimeError( * message=err_msg, * code=RFC_EXTERNAL_FAILURE # <<<<<<<<<<<<<< * ) * fillError(new_error, serverErrorInfo) */ - __pyx_t_6 = __Pyx_PyInt_From_RFC_RC(RFC_EXTERNAL_FAILURE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1619, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyInt_From_RFC_RC(RFC_EXTERNAL_FAILURE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1620, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_code, __pyx_t_6) < 0) __PYX_ERR(0, 1618, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_code, __pyx_t_6) < 0) __PYX_ERR(0, 1619, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "pyrfc/_cyrfc.pyx":1617 + /* "pyrfc/_cyrfc.pyx":1618 * if context is None: * err_msg = f"Error code {serverErrorInfo.code} when getting server context for connection '{rfcHandle}'" * new_error = ExternalRuntimeError( # <<<<<<<<<<<<<< * message=err_msg, * code=RFC_EXTERNAL_FAILURE */ - __pyx_t_6 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_empty_tuple, __pyx_t_1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1617, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_empty_tuple, __pyx_t_1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1618, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_new_error = __pyx_t_6; __pyx_t_6 = 0; - /* "pyrfc/_cyrfc.pyx":1621 + /* "pyrfc/_cyrfc.pyx":1622 * code=RFC_EXTERNAL_FAILURE * ) * fillError(new_error, serverErrorInfo) # <<<<<<<<<<<<<< * return RFC_EXTERNAL_FAILURE * */ - __pyx_t_6 = __pyx_f_5pyrfc_6_cyrfc_fillError(__pyx_v_new_error, __pyx_v_serverErrorInfo); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1621, __pyx_L1_error) + __pyx_t_6 = __pyx_f_5pyrfc_6_cyrfc_fillError(__pyx_v_new_error, __pyx_v_serverErrorInfo); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1622, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "pyrfc/_cyrfc.pyx":1622 + /* "pyrfc/_cyrfc.pyx":1623 * ) * fillError(new_error, serverErrorInfo) * return RFC_EXTERNAL_FAILURE # <<<<<<<<<<<<<< @@ -20351,7 +20351,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_r = RFC_EXTERNAL_FAILURE; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1615 + /* "pyrfc/_cyrfc.pyx":1616 * # section 5.6.2 of SAP NWRFC SDK Programming Guide 7.50 * context = get_server_context(rfcHandle, serverErrorInfo) * if context is None: # <<<<<<<<<<<<<< @@ -20360,7 +20360,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ */ } - /* "pyrfc/_cyrfc.pyx":1624 + /* "pyrfc/_cyrfc.pyx":1625 * return RFC_EXTERNAL_FAILURE * * funcDesc = RfcDescribeFunction(funcHandle, NULL) # <<<<<<<<<<<<<< @@ -20369,7 +20369,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ */ __pyx_v_funcDesc = RfcDescribeFunction(__pyx_v_funcHandle, NULL); - /* "pyrfc/_cyrfc.pyx":1625 + /* "pyrfc/_cyrfc.pyx":1626 * * funcDesc = RfcDescribeFunction(funcHandle, NULL) * RfcGetFunctionName(funcDesc, funcName, NULL) # <<<<<<<<<<<<<< @@ -20378,42 +20378,42 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ */ (void)(RfcGetFunctionName(__pyx_v_funcDesc, __pyx_v_funcName, NULL)); - /* "pyrfc/_cyrfc.pyx":1627 + /* "pyrfc/_cyrfc.pyx":1628 * RfcGetFunctionName(funcDesc, funcName, NULL) * * func_name = wrapString(funcName) # <<<<<<<<<<<<<< * if func_name not in server_functions: * _server_log("genericHandler", f"No metadata found for function '{function_name}'") */ - __pyx_t_6 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_funcName, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1627, __pyx_L1_error) + __pyx_t_6 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_funcName, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1628, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_v_func_name = __pyx_t_6; __pyx_t_6 = 0; - /* "pyrfc/_cyrfc.pyx":1628 + /* "pyrfc/_cyrfc.pyx":1629 * * func_name = wrapString(funcName) * if func_name not in server_functions: # <<<<<<<<<<<<<< * _server_log("genericHandler", f"No metadata found for function '{function_name}'") * return RFC_NOT_FOUND */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_server_functions); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1628, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_server_functions); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1629, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_3 = (__Pyx_PySequence_ContainsTF(__pyx_v_func_name, __pyx_t_6, Py_NE)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1628, __pyx_L1_error) + __pyx_t_3 = (__Pyx_PySequence_ContainsTF(__pyx_v_func_name, __pyx_t_6, Py_NE)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1629, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_2 = (__pyx_t_3 != 0); if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":1629 + /* "pyrfc/_cyrfc.pyx":1630 * func_name = wrapString(funcName) * if func_name not in server_functions: * _server_log("genericHandler", f"No metadata found for function '{function_name}'") # <<<<<<<<<<<<<< * return RFC_NOT_FOUND * */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_server_log); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1629, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_server_log); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1630, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_7 = PyTuple_New(3); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1629, __pyx_L1_error) + __pyx_t_7 = PyTuple_New(3); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1630, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_4 = 0; __pyx_t_5 = 127; @@ -20421,9 +20421,9 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_4 += 32; __Pyx_GIVEREF(__pyx_kp_u_No_metadata_found_for_function); PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_kp_u_No_metadata_found_for_function); - __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_function_name); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1629, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_function_name); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1630, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); - __pyx_t_9 = __Pyx_PyObject_FormatSimple(__pyx_t_8, __pyx_empty_unicode); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1629, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_FormatSimple(__pyx_t_8, __pyx_empty_unicode); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1630, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_9) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_9) : __pyx_t_5; @@ -20435,7 +20435,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_4 += 1; __Pyx_GIVEREF(__pyx_kp_u__6); PyTuple_SET_ITEM(__pyx_t_7, 2, __pyx_kp_u__6); - __pyx_t_9 = __Pyx_PyUnicode_Join(__pyx_t_7, 3, __pyx_t_4, __pyx_t_5); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1629, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyUnicode_Join(__pyx_t_7, 3, __pyx_t_4, __pyx_t_5); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1630, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_7 = NULL; @@ -20453,7 +20453,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_1)) { PyObject *__pyx_temp[3] = {__pyx_t_7, __pyx_n_u_genericHandler, __pyx_t_9}; - __pyx_t_6 = __Pyx_PyFunction_FastCall(__pyx_t_1, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1629, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyFunction_FastCall(__pyx_t_1, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1630, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; @@ -20462,14 +20462,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_1)) { PyObject *__pyx_temp[3] = {__pyx_t_7, __pyx_n_u_genericHandler, __pyx_t_9}; - __pyx_t_6 = __Pyx_PyCFunction_FastCall(__pyx_t_1, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1629, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyCFunction_FastCall(__pyx_t_1, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1630, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; } else #endif { - __pyx_t_8 = PyTuple_New(2+__pyx_t_10); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1629, __pyx_L1_error) + __pyx_t_8 = PyTuple_New(2+__pyx_t_10); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1630, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); if (__pyx_t_7) { __Pyx_GIVEREF(__pyx_t_7); PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_7); __pyx_t_7 = NULL; @@ -20480,14 +20480,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __Pyx_GIVEREF(__pyx_t_9); PyTuple_SET_ITEM(__pyx_t_8, 1+__pyx_t_10, __pyx_t_9); __pyx_t_9 = 0; - __pyx_t_6 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_8, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1629, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_8, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1630, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "pyrfc/_cyrfc.pyx":1630 + /* "pyrfc/_cyrfc.pyx":1631 * if func_name not in server_functions: * _server_log("genericHandler", f"No metadata found for function '{function_name}'") * return RFC_NOT_FOUND # <<<<<<<<<<<<<< @@ -20497,7 +20497,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_r = RFC_NOT_FOUND; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1628 + /* "pyrfc/_cyrfc.pyx":1629 * * func_name = wrapString(funcName) * if func_name not in server_functions: # <<<<<<<<<<<<<< @@ -20506,46 +20506,46 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ */ } - /* "pyrfc/_cyrfc.pyx":1632 + /* "pyrfc/_cyrfc.pyx":1633 * return RFC_NOT_FOUND * * func_data = server_functions[func_name] # <<<<<<<<<<<<<< * callback = func_data['callback'] * server = func_data['server'] */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_server_functions); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1632, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_server_functions); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1633, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_1 = __Pyx_PyObject_GetItem(__pyx_t_6, __pyx_v_func_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1632, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetItem(__pyx_t_6, __pyx_v_func_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1633, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_v_func_data = __pyx_t_1; __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1633 + /* "pyrfc/_cyrfc.pyx":1634 * * func_data = server_functions[func_name] * callback = func_data['callback'] # <<<<<<<<<<<<<< * server = func_data['server'] * # func_desc = func_data['func_desc_handle'] */ - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_func_data, __pyx_n_u_callback); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1633, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_func_data, __pyx_n_u_callback); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1634, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_callback = __pyx_t_1; __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1634 + /* "pyrfc/_cyrfc.pyx":1635 * func_data = server_functions[func_name] * callback = func_data['callback'] * server = func_data['server'] # <<<<<<<<<<<<<< * # func_desc = func_data['func_desc_handle'] * */ - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_func_data, __pyx_n_u_server); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1634, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_func_data, __pyx_n_u_server); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1635, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_server = __pyx_t_1; __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1637 + /* "pyrfc/_cyrfc.pyx":1638 * # func_desc = func_data['func_desc_handle'] * * try: # <<<<<<<<<<<<<< @@ -20561,7 +20561,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __Pyx_XGOTREF(__pyx_t_13); /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1638 + /* "pyrfc/_cyrfc.pyx":1639 * * try: * rc = RfcGetConnectionAttributes(rfcHandle, &attributes, &errorInfo) # <<<<<<<<<<<<<< @@ -20570,7 +20570,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ */ __pyx_v_rc = RfcGetConnectionAttributes(__pyx_v_rfcHandle, (&__pyx_v_attributes), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1639 + /* "pyrfc/_cyrfc.pyx":1640 * try: * rc = RfcGetConnectionAttributes(rfcHandle, &attributes, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -20580,16 +20580,16 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_2 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":1640 + /* "pyrfc/_cyrfc.pyx":1641 * rc = RfcGetConnectionAttributes(rfcHandle, &attributes, &errorInfo) * if rc != RFC_OK: * _server_log("genericHandler", f"Request for '{func_name}': Error while retrieving connection attributes (rc={rc}).") # <<<<<<<<<<<<<< * if not server.debug: * raise ExternalRuntimeError(message="Invalid connection handle.") */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_server_log); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1640, __pyx_L5_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_server_log); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1641, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_8 = PyTuple_New(5); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1640, __pyx_L5_error) + __pyx_t_8 = PyTuple_New(5); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1641, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_4 = 0; __pyx_t_5 = 127; @@ -20597,7 +20597,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_4 += 13; __Pyx_GIVEREF(__pyx_kp_u_Request_for); PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_kp_u_Request_for); - __pyx_t_9 = __Pyx_PyObject_FormatSimple(__pyx_v_func_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1640, __pyx_L5_error) + __pyx_t_9 = __Pyx_PyObject_FormatSimple(__pyx_v_func_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1641, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_9); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_9) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_9) : __pyx_t_5; __pyx_t_4 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_9); @@ -20608,7 +20608,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_4 += 52; __Pyx_GIVEREF(__pyx_kp_u_Error_while_retrieving_connecti); PyTuple_SET_ITEM(__pyx_t_8, 2, __pyx_kp_u_Error_while_retrieving_connecti); - __pyx_t_9 = __Pyx_PyUnicode_From_RFC_RC(__pyx_v_rc, 0, ' ', 'd'); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1640, __pyx_L5_error) + __pyx_t_9 = __Pyx_PyUnicode_From_RFC_RC(__pyx_v_rc, 0, ' ', 'd'); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1641, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_9); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_9) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_9) : __pyx_t_5; __pyx_t_4 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_9); @@ -20619,7 +20619,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_4 += 2; __Pyx_GIVEREF(__pyx_kp_u__29); PyTuple_SET_ITEM(__pyx_t_8, 4, __pyx_kp_u__29); - __pyx_t_9 = __Pyx_PyUnicode_Join(__pyx_t_8, 5, __pyx_t_4, __pyx_t_5); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1640, __pyx_L5_error) + __pyx_t_9 = __Pyx_PyUnicode_Join(__pyx_t_8, 5, __pyx_t_4, __pyx_t_5); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1641, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_8 = NULL; @@ -20637,7 +20637,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_6)) { PyObject *__pyx_temp[3] = {__pyx_t_8, __pyx_n_u_genericHandler, __pyx_t_9}; - __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1640, __pyx_L5_error) + __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1641, __pyx_L5_error) __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; @@ -20646,14 +20646,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_6)) { PyObject *__pyx_temp[3] = {__pyx_t_8, __pyx_n_u_genericHandler, __pyx_t_9}; - __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1640, __pyx_L5_error) + __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1641, __pyx_L5_error) __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; } else #endif { - __pyx_t_7 = PyTuple_New(2+__pyx_t_10); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1640, __pyx_L5_error) + __pyx_t_7 = PyTuple_New(2+__pyx_t_10); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1641, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_7); if (__pyx_t_8) { __Pyx_GIVEREF(__pyx_t_8); PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_8); __pyx_t_8 = NULL; @@ -20664,48 +20664,48 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __Pyx_GIVEREF(__pyx_t_9); PyTuple_SET_ITEM(__pyx_t_7, 1+__pyx_t_10, __pyx_t_9); __pyx_t_9 = 0; - __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_7, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1640, __pyx_L5_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_7, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1641, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1641 + /* "pyrfc/_cyrfc.pyx":1642 * if rc != RFC_OK: * _server_log("genericHandler", f"Request for '{func_name}': Error while retrieving connection attributes (rc={rc}).") * if not server.debug: # <<<<<<<<<<<<<< * raise ExternalRuntimeError(message="Invalid connection handle.") * conn_attr = {} */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_server, __pyx_n_s_debug); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1641, __pyx_L5_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_server, __pyx_n_s_debug); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1642, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1641, __pyx_L5_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1642, __pyx_L5_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_3 = ((!__pyx_t_2) != 0); if (unlikely(__pyx_t_3)) { - /* "pyrfc/_cyrfc.pyx":1642 + /* "pyrfc/_cyrfc.pyx":1643 * _server_log("genericHandler", f"Request for '{func_name}': Error while retrieving connection attributes (rc={rc}).") * if not server.debug: * raise ExternalRuntimeError(message="Invalid connection handle.") # <<<<<<<<<<<<<< * conn_attr = {} * else: */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_ExternalRuntimeError); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1642, __pyx_L5_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_ExternalRuntimeError); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1643, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_6 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1642, __pyx_L5_error) + __pyx_t_6 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1643, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_6); - if (PyDict_SetItem(__pyx_t_6, __pyx_n_s_message, __pyx_kp_u_Invalid_connection_handle) < 0) __PYX_ERR(0, 1642, __pyx_L5_error) - __pyx_t_7 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_empty_tuple, __pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1642, __pyx_L5_error) + if (PyDict_SetItem(__pyx_t_6, __pyx_n_s_message, __pyx_kp_u_Invalid_connection_handle) < 0) __PYX_ERR(0, 1643, __pyx_L5_error) + __pyx_t_7 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_empty_tuple, __pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1643, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_Raise(__pyx_t_7, 0, 0, 0); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __PYX_ERR(0, 1642, __pyx_L5_error) + __PYX_ERR(0, 1643, __pyx_L5_error) - /* "pyrfc/_cyrfc.pyx":1641 + /* "pyrfc/_cyrfc.pyx":1642 * if rc != RFC_OK: * _server_log("genericHandler", f"Request for '{func_name}': Error while retrieving connection attributes (rc={rc}).") * if not server.debug: # <<<<<<<<<<<<<< @@ -20714,19 +20714,19 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ */ } - /* "pyrfc/_cyrfc.pyx":1643 + /* "pyrfc/_cyrfc.pyx":1644 * if not server.debug: * raise ExternalRuntimeError(message="Invalid connection handle.") * conn_attr = {} # <<<<<<<<<<<<<< * else: * conn_attr = wrapConnectionAttributes(attributes) */ - __pyx_t_7 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1643, __pyx_L5_error) + __pyx_t_7 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1644, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_7); __pyx_v_conn_attr = __pyx_t_7; __pyx_t_7 = 0; - /* "pyrfc/_cyrfc.pyx":1639 + /* "pyrfc/_cyrfc.pyx":1640 * try: * rc = RfcGetConnectionAttributes(rfcHandle, &attributes, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -20736,7 +20736,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ goto __pyx_L11; } - /* "pyrfc/_cyrfc.pyx":1645 + /* "pyrfc/_cyrfc.pyx":1646 * conn_attr = {} * else: * conn_attr = wrapConnectionAttributes(attributes) # <<<<<<<<<<<<<< @@ -20744,41 +20744,41 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ * "genericHandler", */ /*else*/ { - __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(__pyx_v_attributes); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1645, __pyx_L5_error) + __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(__pyx_v_attributes); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1646, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_7); __pyx_v_conn_attr = __pyx_t_7; __pyx_t_7 = 0; - /* "pyrfc/_cyrfc.pyx":1646 + /* "pyrfc/_cyrfc.pyx":1647 * else: * conn_attr = wrapConnectionAttributes(attributes) * _server_log( # <<<<<<<<<<<<<< * "genericHandler", * "User '{user}' from system '{sysId}' client '{client}' host '{partnerHost}' invokes '{func_name}'" */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_server_log); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1646, __pyx_L5_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_server_log); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1647, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_6); - /* "pyrfc/_cyrfc.pyx":1649 + /* "pyrfc/_cyrfc.pyx":1650 * "genericHandler", * "User '{user}' from system '{sysId}' client '{client}' host '{partnerHost}' invokes '{func_name}'" * .format(func_name=func_name, **conn_attr) # <<<<<<<<<<<<<< * ) * */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_kp_u_User_user_from_system_sysId_clie, __pyx_n_s_format); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1649, __pyx_L5_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_kp_u_User_user_from_system_sysId_clie, __pyx_n_s_format); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1650, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_8 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1649, __pyx_L5_error) + __pyx_t_8 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1650, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_8); - if (PyDict_SetItem(__pyx_t_8, __pyx_n_s_func_name, __pyx_v_func_name) < 0) __PYX_ERR(0, 1649, __pyx_L5_error) + if (PyDict_SetItem(__pyx_t_8, __pyx_n_s_func_name, __pyx_v_func_name) < 0) __PYX_ERR(0, 1650, __pyx_L5_error) __pyx_t_9 = __pyx_t_8; __pyx_t_8 = 0; if (unlikely(__pyx_v_conn_attr == Py_None)) { PyErr_SetString(PyExc_TypeError, "argument after ** must be a mapping, not NoneType"); - __PYX_ERR(0, 1649, __pyx_L5_error) + __PYX_ERR(0, 1650, __pyx_L5_error) } - if (__Pyx_MergeKeywords(__pyx_t_9, __pyx_v_conn_attr) < 0) __PYX_ERR(0, 1649, __pyx_L5_error) - __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_empty_tuple, __pyx_t_9); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1649, __pyx_L5_error) + if (__Pyx_MergeKeywords(__pyx_t_9, __pyx_v_conn_attr) < 0) __PYX_ERR(0, 1650, __pyx_L5_error) + __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_empty_tuple, __pyx_t_9); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1650, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; @@ -20797,7 +20797,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_6)) { PyObject *__pyx_temp[3] = {__pyx_t_9, __pyx_n_u_genericHandler, __pyx_t_8}; - __pyx_t_7 = __Pyx_PyFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1646, __pyx_L5_error) + __pyx_t_7 = __Pyx_PyFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1647, __pyx_L5_error) __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; @@ -20806,14 +20806,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_6)) { PyObject *__pyx_temp[3] = {__pyx_t_9, __pyx_n_u_genericHandler, __pyx_t_8}; - __pyx_t_7 = __Pyx_PyCFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1646, __pyx_L5_error) + __pyx_t_7 = __Pyx_PyCFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1647, __pyx_L5_error) __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; } else #endif { - __pyx_t_1 = PyTuple_New(2+__pyx_t_10); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1646, __pyx_L5_error) + __pyx_t_1 = PyTuple_New(2+__pyx_t_10); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1647, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_1); if (__pyx_t_9) { __Pyx_GIVEREF(__pyx_t_9); PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_9); __pyx_t_9 = NULL; @@ -20824,7 +20824,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __Pyx_GIVEREF(__pyx_t_8); PyTuple_SET_ITEM(__pyx_t_1, 1+__pyx_t_10, __pyx_t_8); __pyx_t_8 = 0; - __pyx_t_7 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_1, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1646, __pyx_L5_error) + __pyx_t_7 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_1, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1647, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } @@ -20833,44 +20833,44 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ } __pyx_L11:; - /* "pyrfc/_cyrfc.pyx":1654 + /* "pyrfc/_cyrfc.pyx":1655 * # Context of the request. Might later be extended by activeParameter information. * request_context = { * 'connection_attributes': conn_attr, # <<<<<<<<<<<<<< * 'server_context': context * } */ - __pyx_t_7 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1654, __pyx_L5_error) + __pyx_t_7 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1655, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_7); - if (PyDict_SetItem(__pyx_t_7, __pyx_n_u_connection_attributes, __pyx_v_conn_attr) < 0) __PYX_ERR(0, 1654, __pyx_L5_error) + if (PyDict_SetItem(__pyx_t_7, __pyx_n_u_connection_attributes, __pyx_v_conn_attr) < 0) __PYX_ERR(0, 1655, __pyx_L5_error) - /* "pyrfc/_cyrfc.pyx":1655 + /* "pyrfc/_cyrfc.pyx":1656 * request_context = { * 'connection_attributes': conn_attr, * 'server_context': context # <<<<<<<<<<<<<< * } * */ - if (PyDict_SetItem(__pyx_t_7, __pyx_n_u_server_context, __pyx_v_context) < 0) __PYX_ERR(0, 1654, __pyx_L5_error) + if (PyDict_SetItem(__pyx_t_7, __pyx_n_u_server_context, __pyx_v_context) < 0) __PYX_ERR(0, 1655, __pyx_L5_error) __pyx_v_request_context = ((PyObject*)__pyx_t_7); __pyx_t_7 = 0; - /* "pyrfc/_cyrfc.pyx":1659 + /* "pyrfc/_cyrfc.pyx":1660 * * # Authorization check * auth_function = server_context["auth_check"] # <<<<<<<<<<<<<< * rc = auth_function(func_name, request_context) * if rc != RFC_OK: */ - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_server_context); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1659, __pyx_L5_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_server_context); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1660, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_6 = __Pyx_PyObject_Dict_GetItem(__pyx_t_7, __pyx_n_u_auth_check); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1659, __pyx_L5_error) + __pyx_t_6 = __Pyx_PyObject_Dict_GetItem(__pyx_t_7, __pyx_n_u_auth_check); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1660, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_v_auth_function = __pyx_t_6; __pyx_t_6 = 0; - /* "pyrfc/_cyrfc.pyx":1660 + /* "pyrfc/_cyrfc.pyx":1661 * # Authorization check * auth_function = server_context["auth_check"] * rc = auth_function(func_name, request_context) # <<<<<<<<<<<<<< @@ -20893,7 +20893,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_7)) { PyObject *__pyx_temp[3] = {__pyx_t_1, __pyx_v_func_name, __pyx_v_request_context}; - __pyx_t_6 = __Pyx_PyFunction_FastCall(__pyx_t_7, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1660, __pyx_L5_error) + __pyx_t_6 = __Pyx_PyFunction_FastCall(__pyx_t_7, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1661, __pyx_L5_error) __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_GOTREF(__pyx_t_6); } else @@ -20901,13 +20901,13 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_7)) { PyObject *__pyx_temp[3] = {__pyx_t_1, __pyx_v_func_name, __pyx_v_request_context}; - __pyx_t_6 = __Pyx_PyCFunction_FastCall(__pyx_t_7, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1660, __pyx_L5_error) + __pyx_t_6 = __Pyx_PyCFunction_FastCall(__pyx_t_7, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1661, __pyx_L5_error) __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_GOTREF(__pyx_t_6); } else #endif { - __pyx_t_8 = PyTuple_New(2+__pyx_t_10); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1660, __pyx_L5_error) + __pyx_t_8 = PyTuple_New(2+__pyx_t_10); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1661, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_8); if (__pyx_t_1) { __Pyx_GIVEREF(__pyx_t_1); PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_1); __pyx_t_1 = NULL; @@ -20918,16 +20918,16 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __Pyx_INCREF(__pyx_v_request_context); __Pyx_GIVEREF(__pyx_v_request_context); PyTuple_SET_ITEM(__pyx_t_8, 1+__pyx_t_10, __pyx_v_request_context); - __pyx_t_6 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_t_8, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1660, __pyx_L5_error) + __pyx_t_6 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_t_8, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1661, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; } __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_14 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_6)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1660, __pyx_L5_error) + __pyx_t_14 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_6)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1661, __pyx_L5_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_v_rc = __pyx_t_14; - /* "pyrfc/_cyrfc.pyx":1661 + /* "pyrfc/_cyrfc.pyx":1662 * auth_function = server_context["auth_check"] * rc = auth_function(func_name, request_context) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -20937,26 +20937,26 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_3 = ((__pyx_v_rc != RFC_OK) != 0); if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1662 + /* "pyrfc/_cyrfc.pyx":1663 * rc = auth_function(func_name, request_context) * if rc != RFC_OK: * new_error = ExternalRuntimeError( # <<<<<<<<<<<<<< * message=f"Authentication exception raised by callback function: '{func_name}'", * code=RFC_EXTERNAL_FAILURE */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_ExternalRuntimeError); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1662, __pyx_L5_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_ExternalRuntimeError); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1663, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_6); - /* "pyrfc/_cyrfc.pyx":1663 + /* "pyrfc/_cyrfc.pyx":1664 * if rc != RFC_OK: * new_error = ExternalRuntimeError( * message=f"Authentication exception raised by callback function: '{func_name}'", # <<<<<<<<<<<<<< * code=RFC_EXTERNAL_FAILURE * ) */ - __pyx_t_7 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1663, __pyx_L5_error) + __pyx_t_7 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1664, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_8 = PyTuple_New(3); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1663, __pyx_L5_error) + __pyx_t_8 = PyTuple_New(3); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1664, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_4 = 0; __pyx_t_5 = 127; @@ -20964,7 +20964,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_4 += 55; __Pyx_GIVEREF(__pyx_kp_u_Authentication_exception_raised); PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_kp_u_Authentication_exception_raised); - __pyx_t_1 = __Pyx_PyObject_FormatSimple(__pyx_v_func_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1663, __pyx_L5_error) + __pyx_t_1 = __Pyx_PyObject_FormatSimple(__pyx_v_func_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1664, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_1) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_1) : __pyx_t_5; __pyx_t_4 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_1); @@ -20975,50 +20975,50 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_4 += 1; __Pyx_GIVEREF(__pyx_kp_u__6); PyTuple_SET_ITEM(__pyx_t_8, 2, __pyx_kp_u__6); - __pyx_t_1 = __Pyx_PyUnicode_Join(__pyx_t_8, 3, __pyx_t_4, __pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1663, __pyx_L5_error) + __pyx_t_1 = __Pyx_PyUnicode_Join(__pyx_t_8, 3, __pyx_t_4, __pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1664, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - if (PyDict_SetItem(__pyx_t_7, __pyx_n_s_message, __pyx_t_1) < 0) __PYX_ERR(0, 1663, __pyx_L5_error) + if (PyDict_SetItem(__pyx_t_7, __pyx_n_s_message, __pyx_t_1) < 0) __PYX_ERR(0, 1664, __pyx_L5_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1664 + /* "pyrfc/_cyrfc.pyx":1665 * new_error = ExternalRuntimeError( * message=f"Authentication exception raised by callback function: '{func_name}'", * code=RFC_EXTERNAL_FAILURE # <<<<<<<<<<<<<< * ) * fillError(new_error, serverErrorInfo) */ - __pyx_t_1 = __Pyx_PyInt_From_RFC_RC(RFC_EXTERNAL_FAILURE); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1664, __pyx_L5_error) + __pyx_t_1 = __Pyx_PyInt_From_RFC_RC(RFC_EXTERNAL_FAILURE); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1665, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_t_7, __pyx_n_s_code, __pyx_t_1) < 0) __PYX_ERR(0, 1663, __pyx_L5_error) + if (PyDict_SetItem(__pyx_t_7, __pyx_n_s_code, __pyx_t_1) < 0) __PYX_ERR(0, 1664, __pyx_L5_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1662 + /* "pyrfc/_cyrfc.pyx":1663 * rc = auth_function(func_name, request_context) * if rc != RFC_OK: * new_error = ExternalRuntimeError( # <<<<<<<<<<<<<< * message=f"Authentication exception raised by callback function: '{func_name}'", * code=RFC_EXTERNAL_FAILURE */ - __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_empty_tuple, __pyx_t_7); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1662, __pyx_L5_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_empty_tuple, __pyx_t_7); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1663, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_v_new_error = __pyx_t_1; __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1666 + /* "pyrfc/_cyrfc.pyx":1667 * code=RFC_EXTERNAL_FAILURE * ) * fillError(new_error, serverErrorInfo) # <<<<<<<<<<<<<< * return RFC_EXTERNAL_FAILURE * */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_fillError(__pyx_v_new_error, __pyx_v_serverErrorInfo); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1666, __pyx_L5_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_fillError(__pyx_v_new_error, __pyx_v_serverErrorInfo); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1667, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1667 + /* "pyrfc/_cyrfc.pyx":1668 * ) * fillError(new_error, serverErrorInfo) * return RFC_EXTERNAL_FAILURE # <<<<<<<<<<<<<< @@ -21028,7 +21028,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_r = RFC_EXTERNAL_FAILURE; goto __pyx_L9_try_return; - /* "pyrfc/_cyrfc.pyx":1661 + /* "pyrfc/_cyrfc.pyx":1662 * auth_function = server_context["auth_check"] * rc = auth_function(func_name, request_context) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -21037,73 +21037,73 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ */ } - /* "pyrfc/_cyrfc.pyx":1671 + /* "pyrfc/_cyrfc.pyx":1672 * # Filter out variables that are of direction u'RFC_EXPORT' * # (these will be set by the callback function) * func_handle_variables = wrapResult(funcDesc, funcHandle, RFC_EXPORT, server.rstrip) # <<<<<<<<<<<<<< * * # Invoke callback function */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_server, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1671, __pyx_L5_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_server, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1672, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_wrapResult(__pyx_v_funcDesc, __pyx_v_funcHandle, RFC_EXPORT, __pyx_t_1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1671, __pyx_L5_error) + __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_wrapResult(__pyx_v_funcDesc, __pyx_v_funcHandle, RFC_EXPORT, __pyx_t_1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1672, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_func_handle_variables = __pyx_t_7; __pyx_t_7 = 0; - /* "pyrfc/_cyrfc.pyx":1674 + /* "pyrfc/_cyrfc.pyx":1675 * * # Invoke callback function * result = callback(request_context, **func_handle_variables) # <<<<<<<<<<<<<< * * # Return results */ - __pyx_t_7 = PyTuple_New(1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1674, __pyx_L5_error) + __pyx_t_7 = PyTuple_New(1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1675, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_INCREF(__pyx_v_request_context); __Pyx_GIVEREF(__pyx_v_request_context); PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_v_request_context); if (unlikely(__pyx_v_func_handle_variables == Py_None)) { PyErr_SetString(PyExc_TypeError, "argument after ** must be a mapping, not NoneType"); - __PYX_ERR(0, 1674, __pyx_L5_error) + __PYX_ERR(0, 1675, __pyx_L5_error) } if (likely(PyDict_CheckExact(__pyx_v_func_handle_variables))) { - __pyx_t_1 = PyDict_Copy(__pyx_v_func_handle_variables); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1674, __pyx_L5_error) + __pyx_t_1 = PyDict_Copy(__pyx_v_func_handle_variables); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1675, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_1); } else { - __pyx_t_1 = PyObject_CallFunctionObjArgs((PyObject*)&PyDict_Type, __pyx_v_func_handle_variables, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1674, __pyx_L5_error) + __pyx_t_1 = PyObject_CallFunctionObjArgs((PyObject*)&PyDict_Type, __pyx_v_func_handle_variables, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1675, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_1); } - __pyx_t_6 = __Pyx_PyObject_Call(__pyx_v_callback, __pyx_t_7, __pyx_t_1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1674, __pyx_L5_error) + __pyx_t_6 = __Pyx_PyObject_Call(__pyx_v_callback, __pyx_t_7, __pyx_t_1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1675, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_result = __pyx_t_6; __pyx_t_6 = 0; - /* "pyrfc/_cyrfc.pyx":1677 + /* "pyrfc/_cyrfc.pyx":1678 * * # Return results * if context["call_type"] != UnitCallType.background_unit: # <<<<<<<<<<<<<< * for name, value in result.iteritems(): * fillFunctionParameter(funcDesc, funcHandle, name, value) */ - __pyx_t_6 = __Pyx_PyObject_Dict_GetItem(__pyx_v_context, __pyx_n_u_call_type); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1677, __pyx_L5_error) + __pyx_t_6 = __Pyx_PyObject_Dict_GetItem(__pyx_v_context, __pyx_n_u_call_type); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1678, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_UnitCallType); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1677, __pyx_L5_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_UnitCallType); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1678, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_background_unit); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1677, __pyx_L5_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_background_unit); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1678, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyObject_RichCompare(__pyx_t_6, __pyx_t_7, Py_NE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1677, __pyx_L5_error) + __pyx_t_1 = PyObject_RichCompare(__pyx_t_6, __pyx_t_7, Py_NE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1678, __pyx_L5_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1677, __pyx_L5_error) + __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1678, __pyx_L5_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_3) { - /* "pyrfc/_cyrfc.pyx":1678 + /* "pyrfc/_cyrfc.pyx":1679 * # Return results * if context["call_type"] != UnitCallType.background_unit: * for name, value in result.iteritems(): # <<<<<<<<<<<<<< @@ -21113,9 +21113,9 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_4 = 0; if (unlikely(__pyx_v_result == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "iteritems"); - __PYX_ERR(0, 1678, __pyx_L5_error) + __PYX_ERR(0, 1679, __pyx_L5_error) } - __pyx_t_7 = __Pyx_dict_iterator(__pyx_v_result, 0, __pyx_n_s_iteritems, (&__pyx_t_15), (&__pyx_t_10)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1678, __pyx_L5_error) + __pyx_t_7 = __Pyx_dict_iterator(__pyx_v_result, 0, __pyx_n_s_iteritems, (&__pyx_t_15), (&__pyx_t_10)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1679, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = __pyx_t_7; @@ -21123,7 +21123,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ while (1) { __pyx_t_16 = __Pyx_dict_iter_next(__pyx_t_1, __pyx_t_15, &__pyx_t_4, &__pyx_t_7, &__pyx_t_6, NULL, __pyx_t_10); if (unlikely(__pyx_t_16 == 0)) break; - if (unlikely(__pyx_t_16 == -1)) __PYX_ERR(0, 1678, __pyx_L5_error) + if (unlikely(__pyx_t_16 == -1)) __PYX_ERR(0, 1679, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_GOTREF(__pyx_t_6); __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_7); @@ -21131,20 +21131,20 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __Pyx_XDECREF_SET(__pyx_v_value, __pyx_t_6); __pyx_t_6 = 0; - /* "pyrfc/_cyrfc.pyx":1679 + /* "pyrfc/_cyrfc.pyx":1680 * if context["call_type"] != UnitCallType.background_unit: * for name, value in result.iteritems(): * fillFunctionParameter(funcDesc, funcHandle, name, value) # <<<<<<<<<<<<<< * * # Server exception handling: cf. SAP NetWeaver RFC SDK 7.50 */ - __pyx_t_6 = __pyx_f_5pyrfc_6_cyrfc_fillFunctionParameter(__pyx_v_funcDesc, __pyx_v_funcHandle, __pyx_v_name, __pyx_v_value); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1679, __pyx_L5_error) + __pyx_t_6 = __pyx_f_5pyrfc_6_cyrfc_fillFunctionParameter(__pyx_v_funcDesc, __pyx_v_funcHandle, __pyx_v_name, __pyx_v_value); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1680, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1677 + /* "pyrfc/_cyrfc.pyx":1678 * * # Return results * if context["call_type"] != UnitCallType.background_unit: # <<<<<<<<<<<<<< @@ -21153,7 +21153,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ */ } - /* "pyrfc/_cyrfc.pyx":1637 + /* "pyrfc/_cyrfc.pyx":1638 * # func_desc = func_data['func_desc_handle'] * * try: # <<<<<<<<<<<<<< @@ -21172,7 +21172,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; - /* "pyrfc/_cyrfc.pyx":1683 + /* "pyrfc/_cyrfc.pyx":1684 * # Server exception handling: cf. SAP NetWeaver RFC SDK 7.50 * # 5.1 Preparing a Server Program for Receiving RFC Requests * except ExternalRuntimeError as e: # System failure # <<<<<<<<<<<<<< @@ -21180,7 +21180,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ * # returns: RFC_EXTERNAL_FAILURE */ __Pyx_ErrFetch(&__pyx_t_1, &__pyx_t_6, &__pyx_t_7); - __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_ExternalRuntimeError); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1683, __pyx_L7_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_ExternalRuntimeError); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1684, __pyx_L7_except_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_10 = __Pyx_PyErr_GivenExceptionMatches(__pyx_t_1, __pyx_t_8); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; @@ -21188,7 +21188,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_1 = 0; __pyx_t_6 = 0; __pyx_t_7 = 0; if (__pyx_t_10) { __Pyx_AddTraceback("pyrfc._cyrfc.genericHandler", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_7, &__pyx_t_6, &__pyx_t_1) < 0) __PYX_ERR(0, 1683, __pyx_L7_except_error) + if (__Pyx_GetException(&__pyx_t_7, &__pyx_t_6, &__pyx_t_1) < 0) __PYX_ERR(0, 1684, __pyx_L7_except_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_GOTREF(__pyx_t_6); __Pyx_GOTREF(__pyx_t_1); @@ -21196,18 +21196,18 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_v_e = __pyx_t_6; /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1686 + /* "pyrfc/_cyrfc.pyx":1687 * # Parameter: message (optional: msg_type, msg_class, msg_number, msg_v1-v4) * # returns: RFC_EXTERNAL_FAILURE * fillError(e, serverErrorInfo) # <<<<<<<<<<<<<< * serverErrorInfo.code = RFC_EXTERNAL_FAILURE # Overwrite code, if set. * _server_log("genericHandler", f"Request for '{func_name}' raises ExternalRuntimeError {e} - code set to RFC_EXTERNAL_FAILURE.") */ - __pyx_t_8 = __pyx_f_5pyrfc_6_cyrfc_fillError(__pyx_v_e, __pyx_v_serverErrorInfo); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1686, __pyx_L22_error) + __pyx_t_8 = __pyx_f_5pyrfc_6_cyrfc_fillError(__pyx_v_e, __pyx_v_serverErrorInfo); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1687, __pyx_L22_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - /* "pyrfc/_cyrfc.pyx":1687 + /* "pyrfc/_cyrfc.pyx":1688 * # returns: RFC_EXTERNAL_FAILURE * fillError(e, serverErrorInfo) * serverErrorInfo.code = RFC_EXTERNAL_FAILURE # Overwrite code, if set. # <<<<<<<<<<<<<< @@ -21216,16 +21216,16 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ */ __pyx_v_serverErrorInfo->code = RFC_EXTERNAL_FAILURE; - /* "pyrfc/_cyrfc.pyx":1688 + /* "pyrfc/_cyrfc.pyx":1689 * fillError(e, serverErrorInfo) * serverErrorInfo.code = RFC_EXTERNAL_FAILURE # Overwrite code, if set. * _server_log("genericHandler", f"Request for '{func_name}' raises ExternalRuntimeError {e} - code set to RFC_EXTERNAL_FAILURE.") # <<<<<<<<<<<<<< * return RFC_EXTERNAL_FAILURE * except ABAPRuntimeError as e: # ABAP Message */ - __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_server_log); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1688, __pyx_L22_error) + __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_server_log); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1689, __pyx_L22_error) __Pyx_GOTREF(__pyx_t_9); - __pyx_t_17 = PyTuple_New(5); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1688, __pyx_L22_error) + __pyx_t_17 = PyTuple_New(5); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1689, __pyx_L22_error) __Pyx_GOTREF(__pyx_t_17); __pyx_t_15 = 0; __pyx_t_5 = 127; @@ -21233,7 +21233,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_15 += 13; __Pyx_GIVEREF(__pyx_kp_u_Request_for); PyTuple_SET_ITEM(__pyx_t_17, 0, __pyx_kp_u_Request_for); - __pyx_t_18 = __Pyx_PyObject_FormatSimple(__pyx_v_func_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1688, __pyx_L22_error) + __pyx_t_18 = __Pyx_PyObject_FormatSimple(__pyx_v_func_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1689, __pyx_L22_error) __Pyx_GOTREF(__pyx_t_18); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) : __pyx_t_5; __pyx_t_15 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_18); @@ -21244,7 +21244,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_15 += 30; __Pyx_GIVEREF(__pyx_kp_u_raises_ExternalRuntimeError); PyTuple_SET_ITEM(__pyx_t_17, 2, __pyx_kp_u_raises_ExternalRuntimeError); - __pyx_t_18 = __Pyx_PyObject_FormatSimple(__pyx_v_e, __pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1688, __pyx_L22_error) + __pyx_t_18 = __Pyx_PyObject_FormatSimple(__pyx_v_e, __pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1689, __pyx_L22_error) __Pyx_GOTREF(__pyx_t_18); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) : __pyx_t_5; __pyx_t_15 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_18); @@ -21255,7 +21255,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_15 += 36; __Pyx_GIVEREF(__pyx_kp_u_code_set_to_RFC_EXTERNAL_FAILUR); PyTuple_SET_ITEM(__pyx_t_17, 4, __pyx_kp_u_code_set_to_RFC_EXTERNAL_FAILUR); - __pyx_t_18 = __Pyx_PyUnicode_Join(__pyx_t_17, 5, __pyx_t_15, __pyx_t_5); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1688, __pyx_L22_error) + __pyx_t_18 = __Pyx_PyUnicode_Join(__pyx_t_17, 5, __pyx_t_15, __pyx_t_5); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1689, __pyx_L22_error) __Pyx_GOTREF(__pyx_t_18); __Pyx_DECREF(__pyx_t_17); __pyx_t_17 = 0; __pyx_t_17 = NULL; @@ -21273,7 +21273,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_9)) { PyObject *__pyx_temp[3] = {__pyx_t_17, __pyx_n_u_genericHandler, __pyx_t_18}; - __pyx_t_8 = __Pyx_PyFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1688, __pyx_L22_error) + __pyx_t_8 = __Pyx_PyFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1689, __pyx_L22_error) __Pyx_XDECREF(__pyx_t_17); __pyx_t_17 = 0; __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0; @@ -21282,14 +21282,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_9)) { PyObject *__pyx_temp[3] = {__pyx_t_17, __pyx_n_u_genericHandler, __pyx_t_18}; - __pyx_t_8 = __Pyx_PyCFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1688, __pyx_L22_error) + __pyx_t_8 = __Pyx_PyCFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1689, __pyx_L22_error) __Pyx_XDECREF(__pyx_t_17); __pyx_t_17 = 0; __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0; } else #endif { - __pyx_t_19 = PyTuple_New(2+__pyx_t_10); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 1688, __pyx_L22_error) + __pyx_t_19 = PyTuple_New(2+__pyx_t_10); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 1689, __pyx_L22_error) __Pyx_GOTREF(__pyx_t_19); if (__pyx_t_17) { __Pyx_GIVEREF(__pyx_t_17); PyTuple_SET_ITEM(__pyx_t_19, 0, __pyx_t_17); __pyx_t_17 = NULL; @@ -21300,14 +21300,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __Pyx_GIVEREF(__pyx_t_18); PyTuple_SET_ITEM(__pyx_t_19, 1+__pyx_t_10, __pyx_t_18); __pyx_t_18 = 0; - __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_t_19, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1688, __pyx_L22_error) + __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_t_19, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1689, __pyx_L22_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; } __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - /* "pyrfc/_cyrfc.pyx":1689 + /* "pyrfc/_cyrfc.pyx":1690 * serverErrorInfo.code = RFC_EXTERNAL_FAILURE # Overwrite code, if set. * _server_log("genericHandler", f"Request for '{func_name}' raises ExternalRuntimeError {e} - code set to RFC_EXTERNAL_FAILURE.") * return RFC_EXTERNAL_FAILURE # <<<<<<<<<<<<<< @@ -21321,7 +21321,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ goto __pyx_L21_return; } - /* "pyrfc/_cyrfc.pyx":1683 + /* "pyrfc/_cyrfc.pyx":1684 * # Server exception handling: cf. SAP NetWeaver RFC SDK 7.50 * # 5.1 Preparing a Server Program for Receiving RFC Requests * except ExternalRuntimeError as e: # System failure # <<<<<<<<<<<<<< @@ -21376,7 +21376,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ } } - /* "pyrfc/_cyrfc.pyx":1690 + /* "pyrfc/_cyrfc.pyx":1691 * _server_log("genericHandler", f"Request for '{func_name}' raises ExternalRuntimeError {e} - code set to RFC_EXTERNAL_FAILURE.") * return RFC_EXTERNAL_FAILURE * except ABAPRuntimeError as e: # ABAP Message # <<<<<<<<<<<<<< @@ -21384,7 +21384,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ * # returns: RFC_ABAP_MESSAGE */ __Pyx_ErrFetch(&__pyx_t_1, &__pyx_t_6, &__pyx_t_7); - __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_ABAPRuntimeError); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1690, __pyx_L7_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_ABAPRuntimeError); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1691, __pyx_L7_except_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_16 = __Pyx_PyErr_GivenExceptionMatches(__pyx_t_1, __pyx_t_8); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; @@ -21392,7 +21392,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_1 = 0; __pyx_t_6 = 0; __pyx_t_7 = 0; if (__pyx_t_16) { __Pyx_AddTraceback("pyrfc._cyrfc.genericHandler", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_7, &__pyx_t_6, &__pyx_t_1) < 0) __PYX_ERR(0, 1690, __pyx_L7_except_error) + if (__Pyx_GetException(&__pyx_t_7, &__pyx_t_6, &__pyx_t_1) < 0) __PYX_ERR(0, 1691, __pyx_L7_except_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_GOTREF(__pyx_t_6); __Pyx_GOTREF(__pyx_t_1); @@ -21400,18 +21400,18 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_v_e = __pyx_t_6; /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1693 + /* "pyrfc/_cyrfc.pyx":1694 * # Parameter: msg_type, msg_class, msg_number, msg_v1-v4 * # returns: RFC_ABAP_MESSAGE * fillError(e, serverErrorInfo) # <<<<<<<<<<<<<< * serverErrorInfo.code = RFC_ABAP_MESSAGE # Overwrite code, if set. * _server_log("genericHandler", f"Request for '{func_name}' raises ABAPRuntimeError {e} - code set to RFC_ABAP_MESSAGE.") */ - __pyx_t_8 = __pyx_f_5pyrfc_6_cyrfc_fillError(__pyx_v_e, __pyx_v_serverErrorInfo); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1693, __pyx_L33_error) + __pyx_t_8 = __pyx_f_5pyrfc_6_cyrfc_fillError(__pyx_v_e, __pyx_v_serverErrorInfo); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1694, __pyx_L33_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - /* "pyrfc/_cyrfc.pyx":1694 + /* "pyrfc/_cyrfc.pyx":1695 * # returns: RFC_ABAP_MESSAGE * fillError(e, serverErrorInfo) * serverErrorInfo.code = RFC_ABAP_MESSAGE # Overwrite code, if set. # <<<<<<<<<<<<<< @@ -21420,16 +21420,16 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ */ __pyx_v_serverErrorInfo->code = RFC_ABAP_MESSAGE; - /* "pyrfc/_cyrfc.pyx":1695 + /* "pyrfc/_cyrfc.pyx":1696 * fillError(e, serverErrorInfo) * serverErrorInfo.code = RFC_ABAP_MESSAGE # Overwrite code, if set. * _server_log("genericHandler", f"Request for '{func_name}' raises ABAPRuntimeError {e} - code set to RFC_ABAP_MESSAGE.") # <<<<<<<<<<<<<< * return RFC_ABAP_MESSAGE * except ABAPApplicationError as e: # ABAP Exception in implementing function */ - __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_server_log); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1695, __pyx_L33_error) + __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_server_log); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1696, __pyx_L33_error) __Pyx_GOTREF(__pyx_t_9); - __pyx_t_19 = PyTuple_New(5); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 1695, __pyx_L33_error) + __pyx_t_19 = PyTuple_New(5); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 1696, __pyx_L33_error) __Pyx_GOTREF(__pyx_t_19); __pyx_t_15 = 0; __pyx_t_5 = 127; @@ -21437,7 +21437,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_15 += 13; __Pyx_GIVEREF(__pyx_kp_u_Request_for); PyTuple_SET_ITEM(__pyx_t_19, 0, __pyx_kp_u_Request_for); - __pyx_t_18 = __Pyx_PyObject_FormatSimple(__pyx_v_func_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1695, __pyx_L33_error) + __pyx_t_18 = __Pyx_PyObject_FormatSimple(__pyx_v_func_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1696, __pyx_L33_error) __Pyx_GOTREF(__pyx_t_18); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) : __pyx_t_5; __pyx_t_15 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_18); @@ -21448,7 +21448,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_15 += 26; __Pyx_GIVEREF(__pyx_kp_u_raises_ABAPRuntimeError); PyTuple_SET_ITEM(__pyx_t_19, 2, __pyx_kp_u_raises_ABAPRuntimeError); - __pyx_t_18 = __Pyx_PyObject_FormatSimple(__pyx_v_e, __pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1695, __pyx_L33_error) + __pyx_t_18 = __Pyx_PyObject_FormatSimple(__pyx_v_e, __pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1696, __pyx_L33_error) __Pyx_GOTREF(__pyx_t_18); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) : __pyx_t_5; __pyx_t_15 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_18); @@ -21459,7 +21459,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_15 += 32; __Pyx_GIVEREF(__pyx_kp_u_code_set_to_RFC_ABAP_MESSAGE); PyTuple_SET_ITEM(__pyx_t_19, 4, __pyx_kp_u_code_set_to_RFC_ABAP_MESSAGE); - __pyx_t_18 = __Pyx_PyUnicode_Join(__pyx_t_19, 5, __pyx_t_15, __pyx_t_5); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1695, __pyx_L33_error) + __pyx_t_18 = __Pyx_PyUnicode_Join(__pyx_t_19, 5, __pyx_t_15, __pyx_t_5); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1696, __pyx_L33_error) __Pyx_GOTREF(__pyx_t_18); __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; __pyx_t_19 = NULL; @@ -21477,7 +21477,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_9)) { PyObject *__pyx_temp[3] = {__pyx_t_19, __pyx_n_u_genericHandler, __pyx_t_18}; - __pyx_t_8 = __Pyx_PyFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_16, 2+__pyx_t_16); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1695, __pyx_L33_error) + __pyx_t_8 = __Pyx_PyFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_16, 2+__pyx_t_16); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1696, __pyx_L33_error) __Pyx_XDECREF(__pyx_t_19); __pyx_t_19 = 0; __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0; @@ -21486,14 +21486,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_9)) { PyObject *__pyx_temp[3] = {__pyx_t_19, __pyx_n_u_genericHandler, __pyx_t_18}; - __pyx_t_8 = __Pyx_PyCFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_16, 2+__pyx_t_16); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1695, __pyx_L33_error) + __pyx_t_8 = __Pyx_PyCFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_16, 2+__pyx_t_16); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1696, __pyx_L33_error) __Pyx_XDECREF(__pyx_t_19); __pyx_t_19 = 0; __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0; } else #endif { - __pyx_t_17 = PyTuple_New(2+__pyx_t_16); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1695, __pyx_L33_error) + __pyx_t_17 = PyTuple_New(2+__pyx_t_16); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1696, __pyx_L33_error) __Pyx_GOTREF(__pyx_t_17); if (__pyx_t_19) { __Pyx_GIVEREF(__pyx_t_19); PyTuple_SET_ITEM(__pyx_t_17, 0, __pyx_t_19); __pyx_t_19 = NULL; @@ -21504,14 +21504,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __Pyx_GIVEREF(__pyx_t_18); PyTuple_SET_ITEM(__pyx_t_17, 1+__pyx_t_16, __pyx_t_18); __pyx_t_18 = 0; - __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_t_17, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1695, __pyx_L33_error) + __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_t_17, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1696, __pyx_L33_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_17); __pyx_t_17 = 0; } __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - /* "pyrfc/_cyrfc.pyx":1696 + /* "pyrfc/_cyrfc.pyx":1697 * serverErrorInfo.code = RFC_ABAP_MESSAGE # Overwrite code, if set. * _server_log("genericHandler", f"Request for '{func_name}' raises ABAPRuntimeError {e} - code set to RFC_ABAP_MESSAGE.") * return RFC_ABAP_MESSAGE # <<<<<<<<<<<<<< @@ -21525,7 +21525,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ goto __pyx_L32_return; } - /* "pyrfc/_cyrfc.pyx":1690 + /* "pyrfc/_cyrfc.pyx":1691 * _server_log("genericHandler", f"Request for '{func_name}' raises ExternalRuntimeError {e} - code set to RFC_EXTERNAL_FAILURE.") * return RFC_EXTERNAL_FAILURE * except ABAPRuntimeError as e: # ABAP Message # <<<<<<<<<<<<<< @@ -21580,7 +21580,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ } } - /* "pyrfc/_cyrfc.pyx":1697 + /* "pyrfc/_cyrfc.pyx":1698 * _server_log("genericHandler", f"Request for '{func_name}' raises ABAPRuntimeError {e} - code set to RFC_ABAP_MESSAGE.") * return RFC_ABAP_MESSAGE * except ABAPApplicationError as e: # ABAP Exception in implementing function # <<<<<<<<<<<<<< @@ -21588,7 +21588,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ * # returns: RFC_ABAP_EXCEPTION */ __Pyx_ErrFetch(&__pyx_t_1, &__pyx_t_6, &__pyx_t_7); - __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_ABAPApplicationError); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1697, __pyx_L7_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_ABAPApplicationError); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1698, __pyx_L7_except_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_10 = __Pyx_PyErr_GivenExceptionMatches(__pyx_t_1, __pyx_t_8); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; @@ -21596,7 +21596,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_1 = 0; __pyx_t_6 = 0; __pyx_t_7 = 0; if (__pyx_t_10) { __Pyx_AddTraceback("pyrfc._cyrfc.genericHandler", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_7, &__pyx_t_6, &__pyx_t_1) < 0) __PYX_ERR(0, 1697, __pyx_L7_except_error) + if (__Pyx_GetException(&__pyx_t_7, &__pyx_t_6, &__pyx_t_1) < 0) __PYX_ERR(0, 1698, __pyx_L7_except_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_GOTREF(__pyx_t_6); __Pyx_GOTREF(__pyx_t_1); @@ -21604,18 +21604,18 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_v_e = __pyx_t_6; /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1700 + /* "pyrfc/_cyrfc.pyx":1701 * # Parameter: key (optional: msg_type, msg_class, msg_number, msg_v1-v4) * # returns: RFC_ABAP_EXCEPTION * fillError(e, serverErrorInfo) # <<<<<<<<<<<<<< * serverErrorInfo.code = RFC_ABAP_EXCEPTION # Overwrite code, if set. * _server_log("genericHandler", f"Request for '{func_name}' raises ABAPApplicationError {e} - code set to RFC_ABAP_EXCEPTION.") */ - __pyx_t_8 = __pyx_f_5pyrfc_6_cyrfc_fillError(__pyx_v_e, __pyx_v_serverErrorInfo); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1700, __pyx_L44_error) + __pyx_t_8 = __pyx_f_5pyrfc_6_cyrfc_fillError(__pyx_v_e, __pyx_v_serverErrorInfo); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1701, __pyx_L44_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - /* "pyrfc/_cyrfc.pyx":1701 + /* "pyrfc/_cyrfc.pyx":1702 * # returns: RFC_ABAP_EXCEPTION * fillError(e, serverErrorInfo) * serverErrorInfo.code = RFC_ABAP_EXCEPTION # Overwrite code, if set. # <<<<<<<<<<<<<< @@ -21624,16 +21624,16 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ */ __pyx_v_serverErrorInfo->code = RFC_ABAP_EXCEPTION; - /* "pyrfc/_cyrfc.pyx":1702 + /* "pyrfc/_cyrfc.pyx":1703 * fillError(e, serverErrorInfo) * serverErrorInfo.code = RFC_ABAP_EXCEPTION # Overwrite code, if set. * _server_log("genericHandler", f"Request for '{func_name}' raises ABAPApplicationError {e} - code set to RFC_ABAP_EXCEPTION.") # <<<<<<<<<<<<<< * return RFC_ABAP_EXCEPTION * except Exception as ex: */ - __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_server_log); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1702, __pyx_L44_error) + __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_server_log); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1703, __pyx_L44_error) __Pyx_GOTREF(__pyx_t_9); - __pyx_t_17 = PyTuple_New(5); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1702, __pyx_L44_error) + __pyx_t_17 = PyTuple_New(5); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1703, __pyx_L44_error) __Pyx_GOTREF(__pyx_t_17); __pyx_t_15 = 0; __pyx_t_5 = 127; @@ -21641,7 +21641,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_15 += 13; __Pyx_GIVEREF(__pyx_kp_u_Request_for); PyTuple_SET_ITEM(__pyx_t_17, 0, __pyx_kp_u_Request_for); - __pyx_t_18 = __Pyx_PyObject_FormatSimple(__pyx_v_func_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1702, __pyx_L44_error) + __pyx_t_18 = __Pyx_PyObject_FormatSimple(__pyx_v_func_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1703, __pyx_L44_error) __Pyx_GOTREF(__pyx_t_18); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) : __pyx_t_5; __pyx_t_15 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_18); @@ -21652,7 +21652,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_15 += 30; __Pyx_GIVEREF(__pyx_kp_u_raises_ABAPApplicationError); PyTuple_SET_ITEM(__pyx_t_17, 2, __pyx_kp_u_raises_ABAPApplicationError); - __pyx_t_18 = __Pyx_PyObject_FormatSimple(__pyx_v_e, __pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1702, __pyx_L44_error) + __pyx_t_18 = __Pyx_PyObject_FormatSimple(__pyx_v_e, __pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1703, __pyx_L44_error) __Pyx_GOTREF(__pyx_t_18); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) : __pyx_t_5; __pyx_t_15 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_18); @@ -21663,7 +21663,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_15 += 34; __Pyx_GIVEREF(__pyx_kp_u_code_set_to_RFC_ABAP_EXCEPTION); PyTuple_SET_ITEM(__pyx_t_17, 4, __pyx_kp_u_code_set_to_RFC_ABAP_EXCEPTION); - __pyx_t_18 = __Pyx_PyUnicode_Join(__pyx_t_17, 5, __pyx_t_15, __pyx_t_5); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1702, __pyx_L44_error) + __pyx_t_18 = __Pyx_PyUnicode_Join(__pyx_t_17, 5, __pyx_t_15, __pyx_t_5); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1703, __pyx_L44_error) __Pyx_GOTREF(__pyx_t_18); __Pyx_DECREF(__pyx_t_17); __pyx_t_17 = 0; __pyx_t_17 = NULL; @@ -21681,7 +21681,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_9)) { PyObject *__pyx_temp[3] = {__pyx_t_17, __pyx_n_u_genericHandler, __pyx_t_18}; - __pyx_t_8 = __Pyx_PyFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1702, __pyx_L44_error) + __pyx_t_8 = __Pyx_PyFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1703, __pyx_L44_error) __Pyx_XDECREF(__pyx_t_17); __pyx_t_17 = 0; __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0; @@ -21690,14 +21690,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_9)) { PyObject *__pyx_temp[3] = {__pyx_t_17, __pyx_n_u_genericHandler, __pyx_t_18}; - __pyx_t_8 = __Pyx_PyCFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1702, __pyx_L44_error) + __pyx_t_8 = __Pyx_PyCFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_10, 2+__pyx_t_10); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1703, __pyx_L44_error) __Pyx_XDECREF(__pyx_t_17); __pyx_t_17 = 0; __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0; } else #endif { - __pyx_t_19 = PyTuple_New(2+__pyx_t_10); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 1702, __pyx_L44_error) + __pyx_t_19 = PyTuple_New(2+__pyx_t_10); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 1703, __pyx_L44_error) __Pyx_GOTREF(__pyx_t_19); if (__pyx_t_17) { __Pyx_GIVEREF(__pyx_t_17); PyTuple_SET_ITEM(__pyx_t_19, 0, __pyx_t_17); __pyx_t_17 = NULL; @@ -21708,14 +21708,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __Pyx_GIVEREF(__pyx_t_18); PyTuple_SET_ITEM(__pyx_t_19, 1+__pyx_t_10, __pyx_t_18); __pyx_t_18 = 0; - __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_t_19, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1702, __pyx_L44_error) + __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_t_19, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1703, __pyx_L44_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; } __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - /* "pyrfc/_cyrfc.pyx":1703 + /* "pyrfc/_cyrfc.pyx":1704 * serverErrorInfo.code = RFC_ABAP_EXCEPTION # Overwrite code, if set. * _server_log("genericHandler", f"Request for '{func_name}' raises ABAPApplicationError {e} - code set to RFC_ABAP_EXCEPTION.") * return RFC_ABAP_EXCEPTION # <<<<<<<<<<<<<< @@ -21729,7 +21729,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ goto __pyx_L43_return; } - /* "pyrfc/_cyrfc.pyx":1697 + /* "pyrfc/_cyrfc.pyx":1698 * _server_log("genericHandler", f"Request for '{func_name}' raises ABAPRuntimeError {e} - code set to RFC_ABAP_MESSAGE.") * return RFC_ABAP_MESSAGE * except ABAPApplicationError as e: # ABAP Exception in implementing function # <<<<<<<<<<<<<< @@ -21784,7 +21784,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ } } - /* "pyrfc/_cyrfc.pyx":1704 + /* "pyrfc/_cyrfc.pyx":1705 * _server_log("genericHandler", f"Request for '{func_name}' raises ABAPApplicationError {e} - code set to RFC_ABAP_EXCEPTION.") * return RFC_ABAP_EXCEPTION * except Exception as ex: # <<<<<<<<<<<<<< @@ -21794,7 +21794,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_16 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0]))); if (__pyx_t_16) { __Pyx_AddTraceback("pyrfc._cyrfc.genericHandler", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_6, &__pyx_t_7) < 0) __PYX_ERR(0, 1704, __pyx_L7_except_error) + if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_6, &__pyx_t_7) < 0) __PYX_ERR(0, 1705, __pyx_L7_except_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GOTREF(__pyx_t_6); __Pyx_GOTREF(__pyx_t_7); @@ -21802,14 +21802,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_v_ex = __pyx_t_6; /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1705 + /* "pyrfc/_cyrfc.pyx":1706 * return RFC_ABAP_EXCEPTION * except Exception as ex: * exctype, value = exc_info()[:2] # <<<<<<<<<<<<<< * _server_log( * "genericHandler", */ - __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_exc_info); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1705, __pyx_L55_error) + __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_exc_info); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1706, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_9); __pyx_t_19 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_9))) { @@ -21823,10 +21823,10 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ } __pyx_t_8 = (__pyx_t_19) ? __Pyx_PyObject_CallOneArg(__pyx_t_9, __pyx_t_19) : __Pyx_PyObject_CallNoArg(__pyx_t_9); __Pyx_XDECREF(__pyx_t_19); __pyx_t_19 = 0; - if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1705, __pyx_L55_error) + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1706, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - __pyx_t_9 = __Pyx_PyObject_GetSlice(__pyx_t_8, 0, 2, NULL, NULL, &__pyx_slice__30, 0, 1, 1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1705, __pyx_L55_error) + __pyx_t_9 = __Pyx_PyObject_GetSlice(__pyx_t_8, 0, 2, NULL, NULL, &__pyx_slice__30, 0, 1, 1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1706, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; if ((likely(PyTuple_CheckExact(__pyx_t_9))) || (PyList_CheckExact(__pyx_t_9))) { @@ -21835,7 +21835,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ if (unlikely(size != 2)) { if (size > 2) __Pyx_RaiseTooManyValuesError(2); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 1705, __pyx_L55_error) + __PYX_ERR(0, 1706, __pyx_L55_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -21848,15 +21848,15 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __Pyx_INCREF(__pyx_t_8); __Pyx_INCREF(__pyx_t_19); #else - __pyx_t_8 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1705, __pyx_L55_error) + __pyx_t_8 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1706, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_8); - __pyx_t_19 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 1705, __pyx_L55_error) + __pyx_t_19 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 1706, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_19); #endif __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; } else { Py_ssize_t index = -1; - __pyx_t_18 = PyObject_GetIter(__pyx_t_9); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1705, __pyx_L55_error) + __pyx_t_18 = PyObject_GetIter(__pyx_t_9); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1706, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_18); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __pyx_t_29 = Py_TYPE(__pyx_t_18)->tp_iternext; @@ -21864,7 +21864,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __Pyx_GOTREF(__pyx_t_8); index = 1; __pyx_t_19 = __pyx_t_29(__pyx_t_18); if (unlikely(!__pyx_t_19)) goto __pyx_L57_unpacking_failed; __Pyx_GOTREF(__pyx_t_19); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_29(__pyx_t_18), 2) < 0) __PYX_ERR(0, 1705, __pyx_L55_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_29(__pyx_t_18), 2) < 0) __PYX_ERR(0, 1706, __pyx_L55_error) __pyx_t_29 = NULL; __Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0; goto __pyx_L58_unpacking_done; @@ -21872,7 +21872,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0; __pyx_t_29 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 1705, __pyx_L55_error) + __PYX_ERR(0, 1706, __pyx_L55_error) __pyx_L58_unpacking_done:; } __pyx_v_exctype = __pyx_t_8; @@ -21880,24 +21880,24 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __Pyx_XDECREF_SET(__pyx_v_value, __pyx_t_19); __pyx_t_19 = 0; - /* "pyrfc/_cyrfc.pyx":1706 + /* "pyrfc/_cyrfc.pyx":1707 * except Exception as ex: * exctype, value = exc_info()[:2] * _server_log( # <<<<<<<<<<<<<< * "genericHandler", * f"Request for '{func_name}' raises an invalid exception:\n Exception: {exctype}\n Values: {value}\n" */ - __Pyx_GetModuleGlobalName(__pyx_t_19, __pyx_n_s_server_log); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 1706, __pyx_L55_error) + __Pyx_GetModuleGlobalName(__pyx_t_19, __pyx_n_s_server_log); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 1707, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_19); - /* "pyrfc/_cyrfc.pyx":1708 + /* "pyrfc/_cyrfc.pyx":1709 * _server_log( * "genericHandler", * f"Request for '{func_name}' raises an invalid exception:\n Exception: {exctype}\n Values: {value}\n" # <<<<<<<<<<<<<< * "Callback functions may only raise ABAPApplicationError, ABAPRuntimeError, or ExternalRuntimeError.\n" * "The values of the request were:\n" */ - __pyx_t_8 = PyTuple_New(10); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1708, __pyx_L55_error) + __pyx_t_8 = PyTuple_New(10); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1709, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_15 = 0; __pyx_t_5 = 127; @@ -21905,7 +21905,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_15 += 13; __Pyx_GIVEREF(__pyx_kp_u_Request_for); PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_kp_u_Request_for); - __pyx_t_18 = __Pyx_PyObject_FormatSimple(__pyx_v_func_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1708, __pyx_L55_error) + __pyx_t_18 = __Pyx_PyObject_FormatSimple(__pyx_v_func_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1709, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_18); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) : __pyx_t_5; __pyx_t_15 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_18); @@ -21916,7 +21916,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_15 += 43; __Pyx_GIVEREF(__pyx_kp_u_raises_an_invalid_exception_Exc); PyTuple_SET_ITEM(__pyx_t_8, 2, __pyx_kp_u_raises_an_invalid_exception_Exc); - __pyx_t_18 = __Pyx_PyObject_FormatSimple(__pyx_v_exctype, __pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1708, __pyx_L55_error) + __pyx_t_18 = __Pyx_PyObject_FormatSimple(__pyx_v_exctype, __pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1709, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_18); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) : __pyx_t_5; __pyx_t_15 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_18); @@ -21927,7 +21927,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_15 += 10; __Pyx_GIVEREF(__pyx_kp_u_Values); PyTuple_SET_ITEM(__pyx_t_8, 4, __pyx_kp_u_Values); - __pyx_t_18 = __Pyx_PyObject_FormatSimple(__pyx_v_value, __pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1708, __pyx_L55_error) + __pyx_t_18 = __Pyx_PyObject_FormatSimple(__pyx_v_value, __pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1709, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_18); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) : __pyx_t_5; __pyx_t_15 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_18); @@ -21939,15 +21939,15 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __Pyx_GIVEREF(__pyx_kp_u_Callback_functions_may_only_rai); PyTuple_SET_ITEM(__pyx_t_8, 6, __pyx_kp_u_Callback_functions_may_only_rai); - /* "pyrfc/_cyrfc.pyx":1711 + /* "pyrfc/_cyrfc.pyx":1712 * "Callback functions may only raise ABAPApplicationError, ABAPRuntimeError, or ExternalRuntimeError.\n" * "The values of the request were:\n" * f"params: {func_handle_variables}\nrequest_context: {request_context}" # <<<<<<<<<<<<<< * ) * new_error = ExternalRuntimeError( */ - if (unlikely(!__pyx_v_func_handle_variables)) { __Pyx_RaiseUnboundLocalError("func_handle_variables"); __PYX_ERR(0, 1711, __pyx_L55_error) } - __pyx_t_18 = __Pyx_PyObject_FormatSimple(__pyx_v_func_handle_variables, __pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1711, __pyx_L55_error) + if (unlikely(!__pyx_v_func_handle_variables)) { __Pyx_RaiseUnboundLocalError("func_handle_variables"); __PYX_ERR(0, 1712, __pyx_L55_error) } + __pyx_t_18 = __Pyx_PyObject_FormatSimple(__pyx_v_func_handle_variables, __pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1712, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_18); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) : __pyx_t_5; __pyx_t_15 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_18); @@ -21958,8 +21958,8 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_t_15 += 18; __Pyx_GIVEREF(__pyx_kp_u_request_context_2); PyTuple_SET_ITEM(__pyx_t_8, 8, __pyx_kp_u_request_context_2); - if (unlikely(!__pyx_v_request_context)) { __Pyx_RaiseUnboundLocalError("request_context"); __PYX_ERR(0, 1711, __pyx_L55_error) } - __pyx_t_18 = __Pyx_PyObject_FormatSimple(__pyx_v_request_context, __pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1711, __pyx_L55_error) + if (unlikely(!__pyx_v_request_context)) { __Pyx_RaiseUnboundLocalError("request_context"); __PYX_ERR(0, 1712, __pyx_L55_error) } + __pyx_t_18 = __Pyx_PyObject_FormatSimple(__pyx_v_request_context, __pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1712, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_18); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) : __pyx_t_5; __pyx_t_15 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_18); @@ -21967,14 +21967,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ PyTuple_SET_ITEM(__pyx_t_8, 9, __pyx_t_18); __pyx_t_18 = 0; - /* "pyrfc/_cyrfc.pyx":1708 + /* "pyrfc/_cyrfc.pyx":1709 * _server_log( * "genericHandler", * f"Request for '{func_name}' raises an invalid exception:\n Exception: {exctype}\n Values: {value}\n" # <<<<<<<<<<<<<< * "Callback functions may only raise ABAPApplicationError, ABAPRuntimeError, or ExternalRuntimeError.\n" * "The values of the request were:\n" */ - __pyx_t_18 = __Pyx_PyUnicode_Join(__pyx_t_8, 10, __pyx_t_15, __pyx_t_5); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1708, __pyx_L55_error) + __pyx_t_18 = __Pyx_PyUnicode_Join(__pyx_t_8, 10, __pyx_t_15, __pyx_t_5); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1709, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_18); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_8 = NULL; @@ -21992,7 +21992,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_19)) { PyObject *__pyx_temp[3] = {__pyx_t_8, __pyx_n_u_genericHandler, __pyx_t_18}; - __pyx_t_9 = __Pyx_PyFunction_FastCall(__pyx_t_19, __pyx_temp+1-__pyx_t_16, 2+__pyx_t_16); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1706, __pyx_L55_error) + __pyx_t_9 = __Pyx_PyFunction_FastCall(__pyx_t_19, __pyx_temp+1-__pyx_t_16, 2+__pyx_t_16); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1707, __pyx_L55_error) __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0; @@ -22001,14 +22001,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_19)) { PyObject *__pyx_temp[3] = {__pyx_t_8, __pyx_n_u_genericHandler, __pyx_t_18}; - __pyx_t_9 = __Pyx_PyCFunction_FastCall(__pyx_t_19, __pyx_temp+1-__pyx_t_16, 2+__pyx_t_16); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1706, __pyx_L55_error) + __pyx_t_9 = __Pyx_PyCFunction_FastCall(__pyx_t_19, __pyx_temp+1-__pyx_t_16, 2+__pyx_t_16); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1707, __pyx_L55_error) __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0; } else #endif { - __pyx_t_17 = PyTuple_New(2+__pyx_t_16); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1706, __pyx_L55_error) + __pyx_t_17 = PyTuple_New(2+__pyx_t_16); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1707, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_17); if (__pyx_t_8) { __Pyx_GIVEREF(__pyx_t_8); PyTuple_SET_ITEM(__pyx_t_17, 0, __pyx_t_8); __pyx_t_8 = NULL; @@ -22019,72 +22019,72 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __Pyx_GIVEREF(__pyx_t_18); PyTuple_SET_ITEM(__pyx_t_17, 1+__pyx_t_16, __pyx_t_18); __pyx_t_18 = 0; - __pyx_t_9 = __Pyx_PyObject_Call(__pyx_t_19, __pyx_t_17, NULL); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1706, __pyx_L55_error) + __pyx_t_9 = __Pyx_PyObject_Call(__pyx_t_19, __pyx_t_17, NULL); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1707, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_17); __pyx_t_17 = 0; } __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - /* "pyrfc/_cyrfc.pyx":1713 + /* "pyrfc/_cyrfc.pyx":1714 * f"params: {func_handle_variables}\nrequest_context: {request_context}" * ) * new_error = ExternalRuntimeError( # <<<<<<<<<<<<<< * message="Invalid exception raised by callback function.", * code=RFC_EXTERNAL_FAILURE */ - __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_ExternalRuntimeError); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1713, __pyx_L55_error) + __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_ExternalRuntimeError); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1714, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_9); - /* "pyrfc/_cyrfc.pyx":1714 + /* "pyrfc/_cyrfc.pyx":1715 * ) * new_error = ExternalRuntimeError( * message="Invalid exception raised by callback function.", # <<<<<<<<<<<<<< * code=RFC_EXTERNAL_FAILURE * ) */ - __pyx_t_19 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 1714, __pyx_L55_error) + __pyx_t_19 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 1715, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_19); - if (PyDict_SetItem(__pyx_t_19, __pyx_n_s_message, __pyx_kp_u_Invalid_exception_raised_by_call) < 0) __PYX_ERR(0, 1714, __pyx_L55_error) + if (PyDict_SetItem(__pyx_t_19, __pyx_n_s_message, __pyx_kp_u_Invalid_exception_raised_by_call) < 0) __PYX_ERR(0, 1715, __pyx_L55_error) - /* "pyrfc/_cyrfc.pyx":1715 + /* "pyrfc/_cyrfc.pyx":1716 * new_error = ExternalRuntimeError( * message="Invalid exception raised by callback function.", * code=RFC_EXTERNAL_FAILURE # <<<<<<<<<<<<<< * ) * fillError(new_error, serverErrorInfo) */ - __pyx_t_17 = __Pyx_PyInt_From_RFC_RC(RFC_EXTERNAL_FAILURE); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1715, __pyx_L55_error) + __pyx_t_17 = __Pyx_PyInt_From_RFC_RC(RFC_EXTERNAL_FAILURE); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1716, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_17); - if (PyDict_SetItem(__pyx_t_19, __pyx_n_s_code, __pyx_t_17) < 0) __PYX_ERR(0, 1714, __pyx_L55_error) + if (PyDict_SetItem(__pyx_t_19, __pyx_n_s_code, __pyx_t_17) < 0) __PYX_ERR(0, 1715, __pyx_L55_error) __Pyx_DECREF(__pyx_t_17); __pyx_t_17 = 0; - /* "pyrfc/_cyrfc.pyx":1713 + /* "pyrfc/_cyrfc.pyx":1714 * f"params: {func_handle_variables}\nrequest_context: {request_context}" * ) * new_error = ExternalRuntimeError( # <<<<<<<<<<<<<< * message="Invalid exception raised by callback function.", * code=RFC_EXTERNAL_FAILURE */ - __pyx_t_17 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_empty_tuple, __pyx_t_19); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1713, __pyx_L55_error) + __pyx_t_17 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_empty_tuple, __pyx_t_19); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1714, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_17); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; __Pyx_XDECREF_SET(__pyx_v_new_error, __pyx_t_17); __pyx_t_17 = 0; - /* "pyrfc/_cyrfc.pyx":1717 + /* "pyrfc/_cyrfc.pyx":1718 * code=RFC_EXTERNAL_FAILURE * ) * fillError(new_error, serverErrorInfo) # <<<<<<<<<<<<<< * return RFC_EXTERNAL_FAILURE * */ - __pyx_t_17 = __pyx_f_5pyrfc_6_cyrfc_fillError(__pyx_v_new_error, __pyx_v_serverErrorInfo); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1717, __pyx_L55_error) + __pyx_t_17 = __pyx_f_5pyrfc_6_cyrfc_fillError(__pyx_v_new_error, __pyx_v_serverErrorInfo); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1718, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_17); __Pyx_DECREF(__pyx_t_17); __pyx_t_17 = 0; - /* "pyrfc/_cyrfc.pyx":1718 + /* "pyrfc/_cyrfc.pyx":1719 * ) * fillError(new_error, serverErrorInfo) * return RFC_EXTERNAL_FAILURE # <<<<<<<<<<<<<< @@ -22098,7 +22098,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ goto __pyx_L54_return; } - /* "pyrfc/_cyrfc.pyx":1704 + /* "pyrfc/_cyrfc.pyx":1705 * _server_log("genericHandler", f"Request for '{func_name}' raises ABAPApplicationError {e} - code set to RFC_ABAP_EXCEPTION.") * return RFC_ABAP_EXCEPTION * except Exception as ex: # <<<<<<<<<<<<<< @@ -22155,7 +22155,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ goto __pyx_L7_except_error; __pyx_L7_except_error:; - /* "pyrfc/_cyrfc.pyx":1637 + /* "pyrfc/_cyrfc.pyx":1638 * # func_desc = func_data['func_desc_handle'] * * try: # <<<<<<<<<<<<<< @@ -22182,7 +22182,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_L10_try_end:; } - /* "pyrfc/_cyrfc.pyx":1720 + /* "pyrfc/_cyrfc.pyx":1721 * return RFC_EXTERNAL_FAILURE * * return RFC_OK # <<<<<<<<<<<<<< @@ -22192,7 +22192,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ __pyx_r = RFC_OK; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1604 + /* "pyrfc/_cyrfc.pyx":1605 * return server_context * * cdef RFC_RC genericHandler(RFC_CONNECTION_HANDLE rfcHandle, RFC_FUNCTION_HANDLE funcHandle, RFC_ERROR_INFO* serverErrorInfo) with gil: # <<<<<<<<<<<<<< @@ -22237,7 +22237,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_genericHandler(RFC_CONNECTION_HANDLE __pyx_ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1769 +/* "pyrfc/_cyrfc.pyx":1770 * } * * def __cinit__(self, server_params, client_params, config=None): # <<<<<<<<<<<<<< @@ -22283,7 +22283,7 @@ static int __pyx_pw_5pyrfc_6_cyrfc_6Server_1__cinit__(PyObject *__pyx_v_self, Py case 1: if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_client_params)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, 1); __PYX_ERR(0, 1769, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, 1); __PYX_ERR(0, 1770, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 2: @@ -22293,7 +22293,7 @@ static int __pyx_pw_5pyrfc_6_cyrfc_6Server_1__cinit__(PyObject *__pyx_v_self, Py } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__cinit__") < 0)) __PYX_ERR(0, 1769, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__cinit__") < 0)) __PYX_ERR(0, 1770, __pyx_L3_error) } } else { switch (PyTuple_GET_SIZE(__pyx_args)) { @@ -22311,7 +22311,7 @@ static int __pyx_pw_5pyrfc_6_cyrfc_6Server_1__cinit__(PyObject *__pyx_v_self, Py } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1769, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1770, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("pyrfc._cyrfc.Server.__cinit__", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -22340,21 +22340,21 @@ static int __pyx_pf_5pyrfc_6_cyrfc_6Server___cinit__(struct __pyx_obj_5pyrfc_6_c __Pyx_RefNannySetupContext("__cinit__", 0); __Pyx_INCREF(__pyx_v_config); - /* "pyrfc/_cyrfc.pyx":1771 + /* "pyrfc/_cyrfc.pyx":1772 * def __cinit__(self, server_params, client_params, config=None): * # config parsing * config = config or {} # <<<<<<<<<<<<<< * self.debug = config.get('debug', False) * self.rstrip = config.get('rstrip', True) */ - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_config); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1771, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_config); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1772, __pyx_L1_error) if (!__pyx_t_2) { } else { __Pyx_INCREF(__pyx_v_config); __pyx_t_1 = __pyx_v_config; goto __pyx_L3_bool_binop_done; } - __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1771, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1772, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(__pyx_t_3); __pyx_t_1 = __pyx_t_3; @@ -22363,66 +22363,66 @@ static int __pyx_pf_5pyrfc_6_cyrfc_6Server___cinit__(struct __pyx_obj_5pyrfc_6_c __Pyx_DECREF_SET(__pyx_v_config, __pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1772 + /* "pyrfc/_cyrfc.pyx":1773 * # config parsing * config = config or {} * self.debug = config.get('debug', False) # <<<<<<<<<<<<<< * self.rstrip = config.get('rstrip', True) * server_context["server_log"] = config.get("server_log", False) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_config, __pyx_n_s_get); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1772, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_config, __pyx_n_s_get); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1773, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__31, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1772, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__31, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1773, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1772, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1773, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_v_self->debug = __pyx_t_2; - /* "pyrfc/_cyrfc.pyx":1773 + /* "pyrfc/_cyrfc.pyx":1774 * config = config or {} * self.debug = config.get('debug', False) * self.rstrip = config.get('rstrip', True) # <<<<<<<<<<<<<< * server_context["server_log"] = config.get("server_log", False) * server_context["auth_check"] = config.get("auth_check", default_auth_check) */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_config, __pyx_n_s_get); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1773, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_config, __pyx_n_s_get); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1774, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_tuple__10, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1773, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_tuple__10, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1774, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1773, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1774, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_self->rstrip = __pyx_t_2; - /* "pyrfc/_cyrfc.pyx":1774 + /* "pyrfc/_cyrfc.pyx":1775 * self.debug = config.get('debug', False) * self.rstrip = config.get('rstrip', True) * server_context["server_log"] = config.get("server_log", False) # <<<<<<<<<<<<<< * server_context["auth_check"] = config.get("auth_check", default_auth_check) * server_context["port"] = config.get("port", 8080) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_config, __pyx_n_s_get); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1774, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_config, __pyx_n_s_get); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1775, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__32, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1774, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__32, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1775, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_server_context); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1774, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_server_context); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1775, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(PyObject_SetItem(__pyx_t_1, __pyx_n_u_server_log_2, __pyx_t_3) < 0)) __PYX_ERR(0, 1774, __pyx_L1_error) + if (unlikely(PyObject_SetItem(__pyx_t_1, __pyx_n_u_server_log_2, __pyx_t_3) < 0)) __PYX_ERR(0, 1775, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":1775 + /* "pyrfc/_cyrfc.pyx":1776 * self.rstrip = config.get('rstrip', True) * server_context["server_log"] = config.get("server_log", False) * server_context["auth_check"] = config.get("auth_check", default_auth_check) # <<<<<<<<<<<<<< * server_context["port"] = config.get("port", 8080) * */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_config, __pyx_n_s_get); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1775, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_config, __pyx_n_s_get); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1776, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_default_auth_check); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1775, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_default_auth_check); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1776, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; __pyx_t_6 = 0; @@ -22439,7 +22439,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_6Server___cinit__(struct __pyx_obj_5pyrfc_6_c #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_1)) { PyObject *__pyx_temp[3] = {__pyx_t_5, __pyx_n_u_auth_check, __pyx_t_4}; - __pyx_t_3 = __Pyx_PyFunction_FastCall(__pyx_t_1, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1775, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyFunction_FastCall(__pyx_t_1, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1776, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; @@ -22448,14 +22448,14 @@ static int __pyx_pf_5pyrfc_6_cyrfc_6Server___cinit__(struct __pyx_obj_5pyrfc_6_c #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_1)) { PyObject *__pyx_temp[3] = {__pyx_t_5, __pyx_n_u_auth_check, __pyx_t_4}; - __pyx_t_3 = __Pyx_PyCFunction_FastCall(__pyx_t_1, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1775, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyCFunction_FastCall(__pyx_t_1, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1776, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } else #endif { - __pyx_t_7 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1775, __pyx_L1_error) + __pyx_t_7 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1776, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); if (__pyx_t_5) { __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_5); __pyx_t_5 = NULL; @@ -22466,36 +22466,36 @@ static int __pyx_pf_5pyrfc_6_cyrfc_6Server___cinit__(struct __pyx_obj_5pyrfc_6_c __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_7, 1+__pyx_t_6, __pyx_t_4); __pyx_t_4 = 0; - __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_7, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1775, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_7, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1776, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_server_context); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1775, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_server_context); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1776, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(PyObject_SetItem(__pyx_t_1, __pyx_n_u_auth_check, __pyx_t_3) < 0)) __PYX_ERR(0, 1775, __pyx_L1_error) + if (unlikely(PyObject_SetItem(__pyx_t_1, __pyx_n_u_auth_check, __pyx_t_3) < 0)) __PYX_ERR(0, 1776, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":1776 + /* "pyrfc/_cyrfc.pyx":1777 * server_context["server_log"] = config.get("server_log", False) * server_context["auth_check"] = config.get("auth_check", default_auth_check) * server_context["port"] = config.get("port", 8080) # <<<<<<<<<<<<<< * * self._client_connection = Connection(**client_params) */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_config, __pyx_n_s_get); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1776, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_config, __pyx_n_s_get); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1777, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_tuple__33, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1776, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_tuple__33, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1777, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_server_context); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1776, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_server_context); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1777, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (unlikely(PyObject_SetItem(__pyx_t_3, __pyx_n_u_port, __pyx_t_1) < 0)) __PYX_ERR(0, 1776, __pyx_L1_error) + if (unlikely(PyObject_SetItem(__pyx_t_3, __pyx_n_u_port, __pyx_t_1) < 0)) __PYX_ERR(0, 1777, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1778 + /* "pyrfc/_cyrfc.pyx":1779 * server_context["port"] = config.get("port", 8080) * * self._client_connection = Connection(**client_params) # <<<<<<<<<<<<<< @@ -22504,16 +22504,16 @@ static int __pyx_pf_5pyrfc_6_cyrfc_6Server___cinit__(struct __pyx_obj_5pyrfc_6_c */ if (unlikely(__pyx_v_client_params == Py_None)) { PyErr_SetString(PyExc_TypeError, "argument after ** must be a mapping, not NoneType"); - __PYX_ERR(0, 1778, __pyx_L1_error) + __PYX_ERR(0, 1779, __pyx_L1_error) } if (likely(PyDict_CheckExact(__pyx_v_client_params))) { - __pyx_t_1 = PyDict_Copy(__pyx_v_client_params); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1778, __pyx_L1_error) + __pyx_t_1 = PyDict_Copy(__pyx_v_client_params); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1779, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } else { - __pyx_t_1 = PyObject_CallFunctionObjArgs((PyObject*)&PyDict_Type, __pyx_v_client_params, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1778, __pyx_L1_error) + __pyx_t_1 = PyObject_CallFunctionObjArgs((PyObject*)&PyDict_Type, __pyx_v_client_params, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1779, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } - __pyx_t_3 = __Pyx_PyObject_Call(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Connection), __pyx_empty_tuple, __pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1778, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_Call(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Connection), __pyx_empty_tuple, __pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1779, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_GIVEREF(__pyx_t_3); @@ -22522,7 +22522,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_6Server___cinit__(struct __pyx_obj_5pyrfc_6_c __pyx_v_self->_client_connection = ((struct __pyx_obj_5pyrfc_6_cyrfc_Connection *)__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":1779 + /* "pyrfc/_cyrfc.pyx":1780 * * self._client_connection = Connection(**client_params) * self._server_connection = ServerConnection(**server_params) # <<<<<<<<<<<<<< @@ -22531,16 +22531,16 @@ static int __pyx_pf_5pyrfc_6_cyrfc_6Server___cinit__(struct __pyx_obj_5pyrfc_6_c */ if (unlikely(__pyx_v_server_params == Py_None)) { PyErr_SetString(PyExc_TypeError, "argument after ** must be a mapping, not NoneType"); - __PYX_ERR(0, 1779, __pyx_L1_error) + __PYX_ERR(0, 1780, __pyx_L1_error) } if (likely(PyDict_CheckExact(__pyx_v_server_params))) { - __pyx_t_3 = PyDict_Copy(__pyx_v_server_params); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1779, __pyx_L1_error) + __pyx_t_3 = PyDict_Copy(__pyx_v_server_params); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1780, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); } else { - __pyx_t_3 = PyObject_CallFunctionObjArgs((PyObject*)&PyDict_Type, __pyx_v_server_params, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1779, __pyx_L1_error) + __pyx_t_3 = PyObject_CallFunctionObjArgs((PyObject*)&PyDict_Type, __pyx_v_server_params, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1780, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); } - __pyx_t_1 = __Pyx_PyObject_Call(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_ServerConnection), __pyx_empty_tuple, __pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1779, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Call(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_ServerConnection), __pyx_empty_tuple, __pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1780, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_GIVEREF(__pyx_t_1); @@ -22549,22 +22549,22 @@ static int __pyx_pf_5pyrfc_6_cyrfc_6Server___cinit__(struct __pyx_obj_5pyrfc_6_c __pyx_v_self->_server_connection = ((struct __pyx_obj_5pyrfc_6_cyrfc_ServerConnection *)__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1780 + /* "pyrfc/_cyrfc.pyx":1781 * self._client_connection = Connection(**client_params) * self._server_connection = ServerConnection(**server_params) * self._server_thread=Thread(target=self.serve) # <<<<<<<<<<<<<< * * @staticmethod */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_Thread); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1780, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_Thread); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1781, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1780, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1781, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_serve); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1780, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_serve); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1781, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_target, __pyx_t_7) < 0) __PYX_ERR(0, 1780, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_target, __pyx_t_7) < 0) __PYX_ERR(0, 1781, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_empty_tuple, __pyx_t_3); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1780, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_empty_tuple, __pyx_t_3); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1781, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -22574,7 +22574,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_6Server___cinit__(struct __pyx_obj_5pyrfc_6_c __pyx_v_self->_server_thread = __pyx_t_7; __pyx_t_7 = 0; - /* "pyrfc/_cyrfc.pyx":1769 + /* "pyrfc/_cyrfc.pyx":1770 * } * * def __cinit__(self, server_params, client_params, config=None): # <<<<<<<<<<<<<< @@ -22599,7 +22599,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_6Server___cinit__(struct __pyx_obj_5pyrfc_6_c return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1783 +/* "pyrfc/_cyrfc.pyx":1784 * * @staticmethod * cdef RFC_RC __onCheckFunction(RFC_CONNECTION_HANDLE rfcHandle, const RFC_UNIT_IDENTIFIER *identifier) with gil: # <<<<<<<<<<<<<< @@ -22643,22 +22643,22 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCheckFunction(RFC_CONNECTION_HA #endif __Pyx_RefNannySetupContext("__onCheckFunction", 0); - /* "pyrfc/_cyrfc.pyx":1784 + /* "pyrfc/_cyrfc.pyx":1785 * @staticmethod * cdef RFC_RC __onCheckFunction(RFC_CONNECTION_HANDLE rfcHandle, const RFC_UNIT_IDENTIFIER *identifier) with gil: * handler = Server.__bgRfcFunction["check"] # <<<<<<<<<<<<<< * if handler is None: * return RCStatus.OK.value */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Server), __pyx_n_s_bgRfcFunction); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1784, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Server), __pyx_n_s_bgRfcFunction); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1785, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_Dict_GetItem(__pyx_t_1, __pyx_n_u_check); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1784, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_Dict_GetItem(__pyx_t_1, __pyx_n_u_check); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1785, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_handler = __pyx_t_2; __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1785 + /* "pyrfc/_cyrfc.pyx":1786 * cdef RFC_RC __onCheckFunction(RFC_CONNECTION_HANDLE rfcHandle, const RFC_UNIT_IDENTIFIER *identifier) with gil: * handler = Server.__bgRfcFunction["check"] * if handler is None: # <<<<<<<<<<<<<< @@ -22669,27 +22669,27 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCheckFunction(RFC_CONNECTION_HA __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { - /* "pyrfc/_cyrfc.pyx":1786 + /* "pyrfc/_cyrfc.pyx":1787 * handler = Server.__bgRfcFunction["check"] * if handler is None: * return RCStatus.OK.value # <<<<<<<<<<<<<< * try: * unit_identifier = wrapUnitIdentifier(identifier[0]) */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_RCStatus); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1786, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_RCStatus); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1787, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_OK); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1786, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_OK); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1787, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1786, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1787, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_2)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1786, __pyx_L1_error) + __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_2)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1787, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_r = __pyx_t_5; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1785 + /* "pyrfc/_cyrfc.pyx":1786 * cdef RFC_RC __onCheckFunction(RFC_CONNECTION_HANDLE rfcHandle, const RFC_UNIT_IDENTIFIER *identifier) with gil: * handler = Server.__bgRfcFunction["check"] * if handler is None: # <<<<<<<<<<<<<< @@ -22698,7 +22698,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCheckFunction(RFC_CONNECTION_HA */ } - /* "pyrfc/_cyrfc.pyx":1787 + /* "pyrfc/_cyrfc.pyx":1788 * if handler is None: * return RCStatus.OK.value * try: # <<<<<<<<<<<<<< @@ -22714,26 +22714,26 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCheckFunction(RFC_CONNECTION_HA __Pyx_XGOTREF(__pyx_t_8); /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1788 + /* "pyrfc/_cyrfc.pyx":1789 * return RCStatus.OK.value * try: * unit_identifier = wrapUnitIdentifier(identifier[0]) # <<<<<<<<<<<<<< * return handler(rfcHandle, unit_identifier).value * except Exception as ex: */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapUnitIdentifier((__pyx_v_identifier[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1788, __pyx_L4_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapUnitIdentifier((__pyx_v_identifier[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1789, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v_unit_identifier = __pyx_t_2; __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1789 + /* "pyrfc/_cyrfc.pyx":1790 * try: * unit_identifier = wrapUnitIdentifier(identifier[0]) * return handler(rfcHandle, unit_identifier).value # <<<<<<<<<<<<<< * except Exception as ex: * _server_log("Error in bgRFC handler onCheck:", ex) */ - __pyx_t_1 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_rfcHandle)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1789, __pyx_L4_error) + __pyx_t_1 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_rfcHandle)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1790, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v_handler); __pyx_t_9 = __pyx_v_handler; __pyx_t_10 = NULL; @@ -22751,7 +22751,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCheckFunction(RFC_CONNECTION_HA #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_9)) { PyObject *__pyx_temp[3] = {__pyx_t_10, __pyx_t_1, __pyx_v_unit_identifier}; - __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1789, __pyx_L4_error) + __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1790, __pyx_L4_error) __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -22760,14 +22760,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCheckFunction(RFC_CONNECTION_HA #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_9)) { PyObject *__pyx_temp[3] = {__pyx_t_10, __pyx_t_1, __pyx_v_unit_identifier}; - __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1789, __pyx_L4_error) + __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1790, __pyx_L4_error) __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } else #endif { - __pyx_t_12 = PyTuple_New(2+__pyx_t_11); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1789, __pyx_L4_error) + __pyx_t_12 = PyTuple_New(2+__pyx_t_11); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1790, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_12); if (__pyx_t_10) { __Pyx_GIVEREF(__pyx_t_10); PyTuple_SET_ITEM(__pyx_t_12, 0, __pyx_t_10); __pyx_t_10 = NULL; @@ -22778,20 +22778,20 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCheckFunction(RFC_CONNECTION_HA __Pyx_GIVEREF(__pyx_v_unit_identifier); PyTuple_SET_ITEM(__pyx_t_12, 1+__pyx_t_11, __pyx_v_unit_identifier); __pyx_t_1 = 0; - __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_t_12, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1789, __pyx_L4_error) + __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_t_12, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1790, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; } __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_value); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1789, __pyx_L4_error) + __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_value); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1790, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_9)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1789, __pyx_L4_error) + __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_9)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1790, __pyx_L4_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __pyx_r = __pyx_t_5; goto __pyx_L8_try_return; - /* "pyrfc/_cyrfc.pyx":1787 + /* "pyrfc/_cyrfc.pyx":1788 * if handler is None: * return RCStatus.OK.value * try: # <<<<<<<<<<<<<< @@ -22806,7 +22806,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCheckFunction(RFC_CONNECTION_HA __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; - /* "pyrfc/_cyrfc.pyx":1790 + /* "pyrfc/_cyrfc.pyx":1791 * unit_identifier = wrapUnitIdentifier(identifier[0]) * return handler(rfcHandle, unit_identifier).value * except Exception as ex: # <<<<<<<<<<<<<< @@ -22816,7 +22816,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCheckFunction(RFC_CONNECTION_HA __pyx_t_11 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0]))); if (__pyx_t_11) { __Pyx_AddTraceback("pyrfc._cyrfc.Server.__onCheckFunction", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_9, &__pyx_t_2, &__pyx_t_12) < 0) __PYX_ERR(0, 1790, __pyx_L6_except_error) + if (__Pyx_GetException(&__pyx_t_9, &__pyx_t_2, &__pyx_t_12) < 0) __PYX_ERR(0, 1791, __pyx_L6_except_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_GOTREF(__pyx_t_2); __Pyx_GOTREF(__pyx_t_12); @@ -22824,14 +22824,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCheckFunction(RFC_CONNECTION_HA __pyx_v_ex = __pyx_t_2; /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1791 + /* "pyrfc/_cyrfc.pyx":1792 * return handler(rfcHandle, unit_identifier).value * except Exception as ex: * _server_log("Error in bgRFC handler onCheck:", ex) # <<<<<<<<<<<<<< * return RCStatus.RFC_EXTERNAL_FAILURE.value * */ - __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_server_log); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1791, __pyx_L15_error) + __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_server_log); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1792, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_10); __pyx_t_13 = NULL; __pyx_t_11 = 0; @@ -22848,7 +22848,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCheckFunction(RFC_CONNECTION_HA #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_10)) { PyObject *__pyx_temp[3] = {__pyx_t_13, __pyx_kp_u_Error_in_bgRFC_handler_onCheck, __pyx_v_ex}; - __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_10, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1791, __pyx_L15_error) + __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_10, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1792, __pyx_L15_error) __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0; __Pyx_GOTREF(__pyx_t_1); } else @@ -22856,13 +22856,13 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCheckFunction(RFC_CONNECTION_HA #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_10)) { PyObject *__pyx_temp[3] = {__pyx_t_13, __pyx_kp_u_Error_in_bgRFC_handler_onCheck, __pyx_v_ex}; - __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_10, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1791, __pyx_L15_error) + __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_10, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1792, __pyx_L15_error) __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0; __Pyx_GOTREF(__pyx_t_1); } else #endif { - __pyx_t_14 = PyTuple_New(2+__pyx_t_11); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1791, __pyx_L15_error) + __pyx_t_14 = PyTuple_New(2+__pyx_t_11); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1792, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_14); if (__pyx_t_13) { __Pyx_GIVEREF(__pyx_t_13); PyTuple_SET_ITEM(__pyx_t_14, 0, __pyx_t_13); __pyx_t_13 = NULL; @@ -22873,29 +22873,29 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCheckFunction(RFC_CONNECTION_HA __Pyx_INCREF(__pyx_v_ex); __Pyx_GIVEREF(__pyx_v_ex); PyTuple_SET_ITEM(__pyx_t_14, 1+__pyx_t_11, __pyx_v_ex); - __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_10, __pyx_t_14, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1791, __pyx_L15_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_10, __pyx_t_14, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1792, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; } __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1792 + /* "pyrfc/_cyrfc.pyx":1793 * except Exception as ex: * _server_log("Error in bgRFC handler onCheck:", ex) * return RCStatus.RFC_EXTERNAL_FAILURE.value # <<<<<<<<<<<<<< * * @staticmethod */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_RCStatus); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1792, __pyx_L15_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_RCStatus); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1793, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_RFC_EXTERNAL_FAILURE); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1792, __pyx_L15_error) + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_RFC_EXTERNAL_FAILURE); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1793, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_n_s_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1792, __pyx_L15_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_n_s_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1793, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_1)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1792, __pyx_L15_error) + __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_1)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1793, __pyx_L15_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_r = __pyx_t_5; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -22904,7 +22904,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCheckFunction(RFC_CONNECTION_HA goto __pyx_L14_return; } - /* "pyrfc/_cyrfc.pyx":1790 + /* "pyrfc/_cyrfc.pyx":1791 * unit_identifier = wrapUnitIdentifier(identifier[0]) * return handler(rfcHandle, unit_identifier).value * except Exception as ex: # <<<<<<<<<<<<<< @@ -22960,7 +22960,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCheckFunction(RFC_CONNECTION_HA goto __pyx_L6_except_error; __pyx_L6_except_error:; - /* "pyrfc/_cyrfc.pyx":1787 + /* "pyrfc/_cyrfc.pyx":1788 * if handler is None: * return RCStatus.OK.value * try: # <<<<<<<<<<<<<< @@ -22986,7 +22986,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCheckFunction(RFC_CONNECTION_HA goto __pyx_L0; } - /* "pyrfc/_cyrfc.pyx":1783 + /* "pyrfc/_cyrfc.pyx":1784 * * @staticmethod * cdef RFC_RC __onCheckFunction(RFC_CONNECTION_HANDLE rfcHandle, const RFC_UNIT_IDENTIFIER *identifier) with gil: # <<<<<<<<<<<<<< @@ -23016,7 +23016,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCheckFunction(RFC_CONNECTION_HA return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1795 +/* "pyrfc/_cyrfc.pyx":1796 * * @staticmethod * cdef RFC_RC __onCommitFunction(RFC_CONNECTION_HANDLE rfcHandle, const RFC_UNIT_IDENTIFIER *identifier) with gil: # <<<<<<<<<<<<<< @@ -23060,22 +23060,22 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCommitFunction(RFC_CONNECTION_H #endif __Pyx_RefNannySetupContext("__onCommitFunction", 0); - /* "pyrfc/_cyrfc.pyx":1796 + /* "pyrfc/_cyrfc.pyx":1797 * @staticmethod * cdef RFC_RC __onCommitFunction(RFC_CONNECTION_HANDLE rfcHandle, const RFC_UNIT_IDENTIFIER *identifier) with gil: * handler = Server.__bgRfcFunction["commit"] # <<<<<<<<<<<<<< * if handler is None: * return RCStatus.OK.value */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Server), __pyx_n_s_bgRfcFunction); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1796, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Server), __pyx_n_s_bgRfcFunction); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1797, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_Dict_GetItem(__pyx_t_1, __pyx_n_u_commit); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1796, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_Dict_GetItem(__pyx_t_1, __pyx_n_u_commit); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1797, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_handler = __pyx_t_2; __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1797 + /* "pyrfc/_cyrfc.pyx":1798 * cdef RFC_RC __onCommitFunction(RFC_CONNECTION_HANDLE rfcHandle, const RFC_UNIT_IDENTIFIER *identifier) with gil: * handler = Server.__bgRfcFunction["commit"] * if handler is None: # <<<<<<<<<<<<<< @@ -23086,27 +23086,27 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCommitFunction(RFC_CONNECTION_H __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { - /* "pyrfc/_cyrfc.pyx":1798 + /* "pyrfc/_cyrfc.pyx":1799 * handler = Server.__bgRfcFunction["commit"] * if handler is None: * return RCStatus.OK.value # <<<<<<<<<<<<<< * try: * unit_identifier = wrapUnitIdentifier(identifier[0]) */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_RCStatus); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1798, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_RCStatus); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1799, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_OK); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1798, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_OK); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1799, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1798, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1799, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_2)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1798, __pyx_L1_error) + __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_2)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1799, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_r = __pyx_t_5; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1797 + /* "pyrfc/_cyrfc.pyx":1798 * cdef RFC_RC __onCommitFunction(RFC_CONNECTION_HANDLE rfcHandle, const RFC_UNIT_IDENTIFIER *identifier) with gil: * handler = Server.__bgRfcFunction["commit"] * if handler is None: # <<<<<<<<<<<<<< @@ -23115,7 +23115,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCommitFunction(RFC_CONNECTION_H */ } - /* "pyrfc/_cyrfc.pyx":1799 + /* "pyrfc/_cyrfc.pyx":1800 * if handler is None: * return RCStatus.OK.value * try: # <<<<<<<<<<<<<< @@ -23131,26 +23131,26 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCommitFunction(RFC_CONNECTION_H __Pyx_XGOTREF(__pyx_t_8); /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1800 + /* "pyrfc/_cyrfc.pyx":1801 * return RCStatus.OK.value * try: * unit_identifier = wrapUnitIdentifier(identifier[0]) # <<<<<<<<<<<<<< * return handler(rfcHandle, unit_identifier).value * except Exception as ex: */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapUnitIdentifier((__pyx_v_identifier[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1800, __pyx_L4_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapUnitIdentifier((__pyx_v_identifier[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1801, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v_unit_identifier = __pyx_t_2; __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1801 + /* "pyrfc/_cyrfc.pyx":1802 * try: * unit_identifier = wrapUnitIdentifier(identifier[0]) * return handler(rfcHandle, unit_identifier).value # <<<<<<<<<<<<<< * except Exception as ex: * _server_log("Error in bgRFC handler onCommit:", ex) */ - __pyx_t_1 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_rfcHandle)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1801, __pyx_L4_error) + __pyx_t_1 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_rfcHandle)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1802, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v_handler); __pyx_t_9 = __pyx_v_handler; __pyx_t_10 = NULL; @@ -23168,7 +23168,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCommitFunction(RFC_CONNECTION_H #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_9)) { PyObject *__pyx_temp[3] = {__pyx_t_10, __pyx_t_1, __pyx_v_unit_identifier}; - __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1801, __pyx_L4_error) + __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1802, __pyx_L4_error) __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -23177,14 +23177,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCommitFunction(RFC_CONNECTION_H #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_9)) { PyObject *__pyx_temp[3] = {__pyx_t_10, __pyx_t_1, __pyx_v_unit_identifier}; - __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1801, __pyx_L4_error) + __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1802, __pyx_L4_error) __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } else #endif { - __pyx_t_12 = PyTuple_New(2+__pyx_t_11); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1801, __pyx_L4_error) + __pyx_t_12 = PyTuple_New(2+__pyx_t_11); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1802, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_12); if (__pyx_t_10) { __Pyx_GIVEREF(__pyx_t_10); PyTuple_SET_ITEM(__pyx_t_12, 0, __pyx_t_10); __pyx_t_10 = NULL; @@ -23195,20 +23195,20 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCommitFunction(RFC_CONNECTION_H __Pyx_GIVEREF(__pyx_v_unit_identifier); PyTuple_SET_ITEM(__pyx_t_12, 1+__pyx_t_11, __pyx_v_unit_identifier); __pyx_t_1 = 0; - __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_t_12, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1801, __pyx_L4_error) + __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_t_12, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1802, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; } __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_value); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1801, __pyx_L4_error) + __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_value); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1802, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_9)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1801, __pyx_L4_error) + __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_9)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1802, __pyx_L4_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __pyx_r = __pyx_t_5; goto __pyx_L8_try_return; - /* "pyrfc/_cyrfc.pyx":1799 + /* "pyrfc/_cyrfc.pyx":1800 * if handler is None: * return RCStatus.OK.value * try: # <<<<<<<<<<<<<< @@ -23223,7 +23223,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCommitFunction(RFC_CONNECTION_H __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; - /* "pyrfc/_cyrfc.pyx":1802 + /* "pyrfc/_cyrfc.pyx":1803 * unit_identifier = wrapUnitIdentifier(identifier[0]) * return handler(rfcHandle, unit_identifier).value * except Exception as ex: # <<<<<<<<<<<<<< @@ -23233,7 +23233,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCommitFunction(RFC_CONNECTION_H __pyx_t_11 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0]))); if (__pyx_t_11) { __Pyx_AddTraceback("pyrfc._cyrfc.Server.__onCommitFunction", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_9, &__pyx_t_2, &__pyx_t_12) < 0) __PYX_ERR(0, 1802, __pyx_L6_except_error) + if (__Pyx_GetException(&__pyx_t_9, &__pyx_t_2, &__pyx_t_12) < 0) __PYX_ERR(0, 1803, __pyx_L6_except_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_GOTREF(__pyx_t_2); __Pyx_GOTREF(__pyx_t_12); @@ -23241,14 +23241,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCommitFunction(RFC_CONNECTION_H __pyx_v_ex = __pyx_t_2; /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1803 + /* "pyrfc/_cyrfc.pyx":1804 * return handler(rfcHandle, unit_identifier).value * except Exception as ex: * _server_log("Error in bgRFC handler onCommit:", ex) # <<<<<<<<<<<<<< * return RCStatus.RFC_EXTERNAL_FAILURE.value * */ - __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_server_log); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1803, __pyx_L15_error) + __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_server_log); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1804, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_10); __pyx_t_13 = NULL; __pyx_t_11 = 0; @@ -23265,7 +23265,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCommitFunction(RFC_CONNECTION_H #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_10)) { PyObject *__pyx_temp[3] = {__pyx_t_13, __pyx_kp_u_Error_in_bgRFC_handler_onCommit, __pyx_v_ex}; - __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_10, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1803, __pyx_L15_error) + __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_10, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1804, __pyx_L15_error) __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0; __Pyx_GOTREF(__pyx_t_1); } else @@ -23273,13 +23273,13 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCommitFunction(RFC_CONNECTION_H #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_10)) { PyObject *__pyx_temp[3] = {__pyx_t_13, __pyx_kp_u_Error_in_bgRFC_handler_onCommit, __pyx_v_ex}; - __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_10, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1803, __pyx_L15_error) + __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_10, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1804, __pyx_L15_error) __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0; __Pyx_GOTREF(__pyx_t_1); } else #endif { - __pyx_t_14 = PyTuple_New(2+__pyx_t_11); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1803, __pyx_L15_error) + __pyx_t_14 = PyTuple_New(2+__pyx_t_11); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1804, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_14); if (__pyx_t_13) { __Pyx_GIVEREF(__pyx_t_13); PyTuple_SET_ITEM(__pyx_t_14, 0, __pyx_t_13); __pyx_t_13 = NULL; @@ -23290,29 +23290,29 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCommitFunction(RFC_CONNECTION_H __Pyx_INCREF(__pyx_v_ex); __Pyx_GIVEREF(__pyx_v_ex); PyTuple_SET_ITEM(__pyx_t_14, 1+__pyx_t_11, __pyx_v_ex); - __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_10, __pyx_t_14, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1803, __pyx_L15_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_10, __pyx_t_14, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1804, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; } __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1804 + /* "pyrfc/_cyrfc.pyx":1805 * except Exception as ex: * _server_log("Error in bgRFC handler onCommit:", ex) * return RCStatus.RFC_EXTERNAL_FAILURE.value # <<<<<<<<<<<<<< * * @staticmethod */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_RCStatus); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1804, __pyx_L15_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_RCStatus); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1805, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_RFC_EXTERNAL_FAILURE); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1804, __pyx_L15_error) + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_RFC_EXTERNAL_FAILURE); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1805, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_n_s_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1804, __pyx_L15_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_n_s_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1805, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_1)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1804, __pyx_L15_error) + __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_1)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1805, __pyx_L15_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_r = __pyx_t_5; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -23321,7 +23321,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCommitFunction(RFC_CONNECTION_H goto __pyx_L14_return; } - /* "pyrfc/_cyrfc.pyx":1802 + /* "pyrfc/_cyrfc.pyx":1803 * unit_identifier = wrapUnitIdentifier(identifier[0]) * return handler(rfcHandle, unit_identifier).value * except Exception as ex: # <<<<<<<<<<<<<< @@ -23377,7 +23377,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCommitFunction(RFC_CONNECTION_H goto __pyx_L6_except_error; __pyx_L6_except_error:; - /* "pyrfc/_cyrfc.pyx":1799 + /* "pyrfc/_cyrfc.pyx":1800 * if handler is None: * return RCStatus.OK.value * try: # <<<<<<<<<<<<<< @@ -23403,7 +23403,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCommitFunction(RFC_CONNECTION_H goto __pyx_L0; } - /* "pyrfc/_cyrfc.pyx":1795 + /* "pyrfc/_cyrfc.pyx":1796 * * @staticmethod * cdef RFC_RC __onCommitFunction(RFC_CONNECTION_HANDLE rfcHandle, const RFC_UNIT_IDENTIFIER *identifier) with gil: # <<<<<<<<<<<<<< @@ -23433,7 +23433,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onCommitFunction(RFC_CONNECTION_H return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1807 +/* "pyrfc/_cyrfc.pyx":1808 * * @staticmethod * cdef RFC_RC __onRollbackFunction(RFC_CONNECTION_HANDLE rfcHandle, const RFC_UNIT_IDENTIFIER *identifier) with gil: # <<<<<<<<<<<<<< @@ -23477,22 +23477,22 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onRollbackFunction(RFC_CONNECTION #endif __Pyx_RefNannySetupContext("__onRollbackFunction", 0); - /* "pyrfc/_cyrfc.pyx":1808 + /* "pyrfc/_cyrfc.pyx":1809 * @staticmethod * cdef RFC_RC __onRollbackFunction(RFC_CONNECTION_HANDLE rfcHandle, const RFC_UNIT_IDENTIFIER *identifier) with gil: * handler = Server.__bgRfcFunction["rollback"] # <<<<<<<<<<<<<< * if handler is None: * return RCStatus.OK.value */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Server), __pyx_n_s_bgRfcFunction); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1808, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Server), __pyx_n_s_bgRfcFunction); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1809, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_Dict_GetItem(__pyx_t_1, __pyx_n_u_rollback); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1808, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_Dict_GetItem(__pyx_t_1, __pyx_n_u_rollback); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1809, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_handler = __pyx_t_2; __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1809 + /* "pyrfc/_cyrfc.pyx":1810 * cdef RFC_RC __onRollbackFunction(RFC_CONNECTION_HANDLE rfcHandle, const RFC_UNIT_IDENTIFIER *identifier) with gil: * handler = Server.__bgRfcFunction["rollback"] * if handler is None: # <<<<<<<<<<<<<< @@ -23503,27 +23503,27 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onRollbackFunction(RFC_CONNECTION __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { - /* "pyrfc/_cyrfc.pyx":1810 + /* "pyrfc/_cyrfc.pyx":1811 * handler = Server.__bgRfcFunction["rollback"] * if handler is None: * return RCStatus.OK.value # <<<<<<<<<<<<<< * try: * unit_identifier = wrapUnitIdentifier(identifier[0]) */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_RCStatus); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1810, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_RCStatus); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1811, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_OK); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1810, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_OK); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1811, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1810, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1811, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_2)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1810, __pyx_L1_error) + __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_2)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1811, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_r = __pyx_t_5; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1809 + /* "pyrfc/_cyrfc.pyx":1810 * cdef RFC_RC __onRollbackFunction(RFC_CONNECTION_HANDLE rfcHandle, const RFC_UNIT_IDENTIFIER *identifier) with gil: * handler = Server.__bgRfcFunction["rollback"] * if handler is None: # <<<<<<<<<<<<<< @@ -23532,7 +23532,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onRollbackFunction(RFC_CONNECTION */ } - /* "pyrfc/_cyrfc.pyx":1811 + /* "pyrfc/_cyrfc.pyx":1812 * if handler is None: * return RCStatus.OK.value * try: # <<<<<<<<<<<<<< @@ -23548,26 +23548,26 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onRollbackFunction(RFC_CONNECTION __Pyx_XGOTREF(__pyx_t_8); /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1812 + /* "pyrfc/_cyrfc.pyx":1813 * return RCStatus.OK.value * try: * unit_identifier = wrapUnitIdentifier(identifier[0]) # <<<<<<<<<<<<<< * return handler(rfcHandle, unit_identifier).value * except Exception as ex: */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapUnitIdentifier((__pyx_v_identifier[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1812, __pyx_L4_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapUnitIdentifier((__pyx_v_identifier[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1813, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v_unit_identifier = __pyx_t_2; __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1813 + /* "pyrfc/_cyrfc.pyx":1814 * try: * unit_identifier = wrapUnitIdentifier(identifier[0]) * return handler(rfcHandle, unit_identifier).value # <<<<<<<<<<<<<< * except Exception as ex: * _server_log("Error in bgRFC handler onRollback:", ex) */ - __pyx_t_1 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_rfcHandle)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1813, __pyx_L4_error) + __pyx_t_1 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_rfcHandle)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1814, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v_handler); __pyx_t_9 = __pyx_v_handler; __pyx_t_10 = NULL; @@ -23585,7 +23585,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onRollbackFunction(RFC_CONNECTION #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_9)) { PyObject *__pyx_temp[3] = {__pyx_t_10, __pyx_t_1, __pyx_v_unit_identifier}; - __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1813, __pyx_L4_error) + __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1814, __pyx_L4_error) __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -23594,14 +23594,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onRollbackFunction(RFC_CONNECTION #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_9)) { PyObject *__pyx_temp[3] = {__pyx_t_10, __pyx_t_1, __pyx_v_unit_identifier}; - __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1813, __pyx_L4_error) + __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1814, __pyx_L4_error) __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } else #endif { - __pyx_t_12 = PyTuple_New(2+__pyx_t_11); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1813, __pyx_L4_error) + __pyx_t_12 = PyTuple_New(2+__pyx_t_11); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1814, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_12); if (__pyx_t_10) { __Pyx_GIVEREF(__pyx_t_10); PyTuple_SET_ITEM(__pyx_t_12, 0, __pyx_t_10); __pyx_t_10 = NULL; @@ -23612,20 +23612,20 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onRollbackFunction(RFC_CONNECTION __Pyx_GIVEREF(__pyx_v_unit_identifier); PyTuple_SET_ITEM(__pyx_t_12, 1+__pyx_t_11, __pyx_v_unit_identifier); __pyx_t_1 = 0; - __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_t_12, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1813, __pyx_L4_error) + __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_t_12, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1814, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; } __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_value); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1813, __pyx_L4_error) + __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_value); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1814, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_9)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1813, __pyx_L4_error) + __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_9)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1814, __pyx_L4_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __pyx_r = __pyx_t_5; goto __pyx_L8_try_return; - /* "pyrfc/_cyrfc.pyx":1811 + /* "pyrfc/_cyrfc.pyx":1812 * if handler is None: * return RCStatus.OK.value * try: # <<<<<<<<<<<<<< @@ -23640,7 +23640,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onRollbackFunction(RFC_CONNECTION __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; - /* "pyrfc/_cyrfc.pyx":1814 + /* "pyrfc/_cyrfc.pyx":1815 * unit_identifier = wrapUnitIdentifier(identifier[0]) * return handler(rfcHandle, unit_identifier).value * except Exception as ex: # <<<<<<<<<<<<<< @@ -23650,7 +23650,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onRollbackFunction(RFC_CONNECTION __pyx_t_11 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0]))); if (__pyx_t_11) { __Pyx_AddTraceback("pyrfc._cyrfc.Server.__onRollbackFunction", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_9, &__pyx_t_2, &__pyx_t_12) < 0) __PYX_ERR(0, 1814, __pyx_L6_except_error) + if (__Pyx_GetException(&__pyx_t_9, &__pyx_t_2, &__pyx_t_12) < 0) __PYX_ERR(0, 1815, __pyx_L6_except_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_GOTREF(__pyx_t_2); __Pyx_GOTREF(__pyx_t_12); @@ -23658,14 +23658,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onRollbackFunction(RFC_CONNECTION __pyx_v_ex = __pyx_t_2; /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1815 + /* "pyrfc/_cyrfc.pyx":1816 * return handler(rfcHandle, unit_identifier).value * except Exception as ex: * _server_log("Error in bgRFC handler onRollback:", ex) # <<<<<<<<<<<<<< * return RCStatus.RFC_EXTERNAL_FAILURE.value * */ - __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_server_log); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1815, __pyx_L15_error) + __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_server_log); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1816, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_10); __pyx_t_13 = NULL; __pyx_t_11 = 0; @@ -23682,7 +23682,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onRollbackFunction(RFC_CONNECTION #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_10)) { PyObject *__pyx_temp[3] = {__pyx_t_13, __pyx_kp_u_Error_in_bgRFC_handler_onRollbac, __pyx_v_ex}; - __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_10, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1815, __pyx_L15_error) + __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_10, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1816, __pyx_L15_error) __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0; __Pyx_GOTREF(__pyx_t_1); } else @@ -23690,13 +23690,13 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onRollbackFunction(RFC_CONNECTION #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_10)) { PyObject *__pyx_temp[3] = {__pyx_t_13, __pyx_kp_u_Error_in_bgRFC_handler_onRollbac, __pyx_v_ex}; - __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_10, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1815, __pyx_L15_error) + __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_10, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1816, __pyx_L15_error) __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0; __Pyx_GOTREF(__pyx_t_1); } else #endif { - __pyx_t_14 = PyTuple_New(2+__pyx_t_11); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1815, __pyx_L15_error) + __pyx_t_14 = PyTuple_New(2+__pyx_t_11); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1816, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_14); if (__pyx_t_13) { __Pyx_GIVEREF(__pyx_t_13); PyTuple_SET_ITEM(__pyx_t_14, 0, __pyx_t_13); __pyx_t_13 = NULL; @@ -23707,29 +23707,29 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onRollbackFunction(RFC_CONNECTION __Pyx_INCREF(__pyx_v_ex); __Pyx_GIVEREF(__pyx_v_ex); PyTuple_SET_ITEM(__pyx_t_14, 1+__pyx_t_11, __pyx_v_ex); - __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_10, __pyx_t_14, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1815, __pyx_L15_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_10, __pyx_t_14, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1816, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; } __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1816 + /* "pyrfc/_cyrfc.pyx":1817 * except Exception as ex: * _server_log("Error in bgRFC handler onRollback:", ex) * return RCStatus.RFC_EXTERNAL_FAILURE.value # <<<<<<<<<<<<<< * * @staticmethod */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_RCStatus); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1816, __pyx_L15_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_RCStatus); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1817, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_RFC_EXTERNAL_FAILURE); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1816, __pyx_L15_error) + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_RFC_EXTERNAL_FAILURE); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1817, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_n_s_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1816, __pyx_L15_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_n_s_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1817, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_1)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1816, __pyx_L15_error) + __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_1)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1817, __pyx_L15_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_r = __pyx_t_5; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -23738,7 +23738,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onRollbackFunction(RFC_CONNECTION goto __pyx_L14_return; } - /* "pyrfc/_cyrfc.pyx":1814 + /* "pyrfc/_cyrfc.pyx":1815 * unit_identifier = wrapUnitIdentifier(identifier[0]) * return handler(rfcHandle, unit_identifier).value * except Exception as ex: # <<<<<<<<<<<<<< @@ -23794,7 +23794,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onRollbackFunction(RFC_CONNECTION goto __pyx_L6_except_error; __pyx_L6_except_error:; - /* "pyrfc/_cyrfc.pyx":1811 + /* "pyrfc/_cyrfc.pyx":1812 * if handler is None: * return RCStatus.OK.value * try: # <<<<<<<<<<<<<< @@ -23820,7 +23820,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onRollbackFunction(RFC_CONNECTION goto __pyx_L0; } - /* "pyrfc/_cyrfc.pyx":1807 + /* "pyrfc/_cyrfc.pyx":1808 * * @staticmethod * cdef RFC_RC __onRollbackFunction(RFC_CONNECTION_HANDLE rfcHandle, const RFC_UNIT_IDENTIFIER *identifier) with gil: # <<<<<<<<<<<<<< @@ -23850,7 +23850,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onRollbackFunction(RFC_CONNECTION return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1819 +/* "pyrfc/_cyrfc.pyx":1820 * * @staticmethod * cdef RFC_RC __onConfirmFunction(RFC_CONNECTION_HANDLE rfcHandle, const RFC_UNIT_IDENTIFIER *identifier) with gil: # <<<<<<<<<<<<<< @@ -23894,22 +23894,22 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onConfirmFunction(RFC_CONNECTION_ #endif __Pyx_RefNannySetupContext("__onConfirmFunction", 0); - /* "pyrfc/_cyrfc.pyx":1820 + /* "pyrfc/_cyrfc.pyx":1821 * @staticmethod * cdef RFC_RC __onConfirmFunction(RFC_CONNECTION_HANDLE rfcHandle, const RFC_UNIT_IDENTIFIER *identifier) with gil: * handler = Server.__bgRfcFunction["confirm"] # <<<<<<<<<<<<<< * if handler is None: * return RCStatus.OK.value */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Server), __pyx_n_s_bgRfcFunction); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1820, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Server), __pyx_n_s_bgRfcFunction); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1821, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_Dict_GetItem(__pyx_t_1, __pyx_n_u_confirm); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1820, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_Dict_GetItem(__pyx_t_1, __pyx_n_u_confirm); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1821, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_handler = __pyx_t_2; __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1821 + /* "pyrfc/_cyrfc.pyx":1822 * cdef RFC_RC __onConfirmFunction(RFC_CONNECTION_HANDLE rfcHandle, const RFC_UNIT_IDENTIFIER *identifier) with gil: * handler = Server.__bgRfcFunction["confirm"] * if handler is None: # <<<<<<<<<<<<<< @@ -23920,27 +23920,27 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onConfirmFunction(RFC_CONNECTION_ __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { - /* "pyrfc/_cyrfc.pyx":1822 + /* "pyrfc/_cyrfc.pyx":1823 * handler = Server.__bgRfcFunction["confirm"] * if handler is None: * return RCStatus.OK.value # <<<<<<<<<<<<<< * try: * unit_identifier = wrapUnitIdentifier(identifier[0]) */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_RCStatus); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1822, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_RCStatus); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1823, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_OK); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1822, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_OK); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1823, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1822, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1823, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_2)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1822, __pyx_L1_error) + __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_2)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1823, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_r = __pyx_t_5; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1821 + /* "pyrfc/_cyrfc.pyx":1822 * cdef RFC_RC __onConfirmFunction(RFC_CONNECTION_HANDLE rfcHandle, const RFC_UNIT_IDENTIFIER *identifier) with gil: * handler = Server.__bgRfcFunction["confirm"] * if handler is None: # <<<<<<<<<<<<<< @@ -23949,7 +23949,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onConfirmFunction(RFC_CONNECTION_ */ } - /* "pyrfc/_cyrfc.pyx":1823 + /* "pyrfc/_cyrfc.pyx":1824 * if handler is None: * return RCStatus.OK.value * try: # <<<<<<<<<<<<<< @@ -23965,26 +23965,26 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onConfirmFunction(RFC_CONNECTION_ __Pyx_XGOTREF(__pyx_t_8); /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1824 + /* "pyrfc/_cyrfc.pyx":1825 * return RCStatus.OK.value * try: * unit_identifier = wrapUnitIdentifier(identifier[0]) # <<<<<<<<<<<<<< * return handler(rfcHandle, unit_identifier).value * except Exception as ex: */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapUnitIdentifier((__pyx_v_identifier[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1824, __pyx_L4_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapUnitIdentifier((__pyx_v_identifier[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1825, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v_unit_identifier = __pyx_t_2; __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1825 + /* "pyrfc/_cyrfc.pyx":1826 * try: * unit_identifier = wrapUnitIdentifier(identifier[0]) * return handler(rfcHandle, unit_identifier).value # <<<<<<<<<<<<<< * except Exception as ex: * _server_log("Error in bgRFC handler onConfirm:", ex) */ - __pyx_t_1 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_rfcHandle)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1825, __pyx_L4_error) + __pyx_t_1 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_rfcHandle)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1826, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v_handler); __pyx_t_9 = __pyx_v_handler; __pyx_t_10 = NULL; @@ -24002,7 +24002,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onConfirmFunction(RFC_CONNECTION_ #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_9)) { PyObject *__pyx_temp[3] = {__pyx_t_10, __pyx_t_1, __pyx_v_unit_identifier}; - __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1825, __pyx_L4_error) + __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1826, __pyx_L4_error) __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -24011,14 +24011,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onConfirmFunction(RFC_CONNECTION_ #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_9)) { PyObject *__pyx_temp[3] = {__pyx_t_10, __pyx_t_1, __pyx_v_unit_identifier}; - __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1825, __pyx_L4_error) + __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1826, __pyx_L4_error) __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } else #endif { - __pyx_t_12 = PyTuple_New(2+__pyx_t_11); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1825, __pyx_L4_error) + __pyx_t_12 = PyTuple_New(2+__pyx_t_11); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1826, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_12); if (__pyx_t_10) { __Pyx_GIVEREF(__pyx_t_10); PyTuple_SET_ITEM(__pyx_t_12, 0, __pyx_t_10); __pyx_t_10 = NULL; @@ -24029,20 +24029,20 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onConfirmFunction(RFC_CONNECTION_ __Pyx_GIVEREF(__pyx_v_unit_identifier); PyTuple_SET_ITEM(__pyx_t_12, 1+__pyx_t_11, __pyx_v_unit_identifier); __pyx_t_1 = 0; - __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_t_12, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1825, __pyx_L4_error) + __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_t_12, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1826, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; } __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_value); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1825, __pyx_L4_error) + __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_value); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1826, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_9)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1825, __pyx_L4_error) + __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_9)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1826, __pyx_L4_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __pyx_r = __pyx_t_5; goto __pyx_L8_try_return; - /* "pyrfc/_cyrfc.pyx":1823 + /* "pyrfc/_cyrfc.pyx":1824 * if handler is None: * return RCStatus.OK.value * try: # <<<<<<<<<<<<<< @@ -24057,7 +24057,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onConfirmFunction(RFC_CONNECTION_ __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; - /* "pyrfc/_cyrfc.pyx":1826 + /* "pyrfc/_cyrfc.pyx":1827 * unit_identifier = wrapUnitIdentifier(identifier[0]) * return handler(rfcHandle, unit_identifier).value * except Exception as ex: # <<<<<<<<<<<<<< @@ -24067,7 +24067,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onConfirmFunction(RFC_CONNECTION_ __pyx_t_11 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0]))); if (__pyx_t_11) { __Pyx_AddTraceback("pyrfc._cyrfc.Server.__onConfirmFunction", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_9, &__pyx_t_2, &__pyx_t_12) < 0) __PYX_ERR(0, 1826, __pyx_L6_except_error) + if (__Pyx_GetException(&__pyx_t_9, &__pyx_t_2, &__pyx_t_12) < 0) __PYX_ERR(0, 1827, __pyx_L6_except_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_GOTREF(__pyx_t_2); __Pyx_GOTREF(__pyx_t_12); @@ -24075,14 +24075,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onConfirmFunction(RFC_CONNECTION_ __pyx_v_ex = __pyx_t_2; /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1827 + /* "pyrfc/_cyrfc.pyx":1828 * return handler(rfcHandle, unit_identifier).value * except Exception as ex: * _server_log("Error in bgRFC handler onConfirm:", ex) # <<<<<<<<<<<<<< * return RCStatus.RFC_EXTERNAL_FAILURE.value * */ - __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_server_log); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1827, __pyx_L15_error) + __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_server_log); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1828, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_10); __pyx_t_13 = NULL; __pyx_t_11 = 0; @@ -24099,7 +24099,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onConfirmFunction(RFC_CONNECTION_ #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_10)) { PyObject *__pyx_temp[3] = {__pyx_t_13, __pyx_kp_u_Error_in_bgRFC_handler_onConfirm, __pyx_v_ex}; - __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_10, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1827, __pyx_L15_error) + __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_10, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1828, __pyx_L15_error) __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0; __Pyx_GOTREF(__pyx_t_1); } else @@ -24107,13 +24107,13 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onConfirmFunction(RFC_CONNECTION_ #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_10)) { PyObject *__pyx_temp[3] = {__pyx_t_13, __pyx_kp_u_Error_in_bgRFC_handler_onConfirm, __pyx_v_ex}; - __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_10, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1827, __pyx_L15_error) + __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_10, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1828, __pyx_L15_error) __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0; __Pyx_GOTREF(__pyx_t_1); } else #endif { - __pyx_t_14 = PyTuple_New(2+__pyx_t_11); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1827, __pyx_L15_error) + __pyx_t_14 = PyTuple_New(2+__pyx_t_11); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1828, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_14); if (__pyx_t_13) { __Pyx_GIVEREF(__pyx_t_13); PyTuple_SET_ITEM(__pyx_t_14, 0, __pyx_t_13); __pyx_t_13 = NULL; @@ -24124,29 +24124,29 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onConfirmFunction(RFC_CONNECTION_ __Pyx_INCREF(__pyx_v_ex); __Pyx_GIVEREF(__pyx_v_ex); PyTuple_SET_ITEM(__pyx_t_14, 1+__pyx_t_11, __pyx_v_ex); - __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_10, __pyx_t_14, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1827, __pyx_L15_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_10, __pyx_t_14, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1828, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; } __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1828 + /* "pyrfc/_cyrfc.pyx":1829 * except Exception as ex: * _server_log("Error in bgRFC handler onConfirm:", ex) * return RCStatus.RFC_EXTERNAL_FAILURE.value # <<<<<<<<<<<<<< * * @staticmethod */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_RCStatus); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1828, __pyx_L15_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_RCStatus); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1829, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_RFC_EXTERNAL_FAILURE); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1828, __pyx_L15_error) + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_RFC_EXTERNAL_FAILURE); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1829, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_n_s_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1828, __pyx_L15_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_n_s_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1829, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_1)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1828, __pyx_L15_error) + __pyx_t_5 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_1)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1829, __pyx_L15_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_r = __pyx_t_5; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -24155,7 +24155,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onConfirmFunction(RFC_CONNECTION_ goto __pyx_L14_return; } - /* "pyrfc/_cyrfc.pyx":1826 + /* "pyrfc/_cyrfc.pyx":1827 * unit_identifier = wrapUnitIdentifier(identifier[0]) * return handler(rfcHandle, unit_identifier).value * except Exception as ex: # <<<<<<<<<<<<<< @@ -24211,7 +24211,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onConfirmFunction(RFC_CONNECTION_ goto __pyx_L6_except_error; __pyx_L6_except_error:; - /* "pyrfc/_cyrfc.pyx":1823 + /* "pyrfc/_cyrfc.pyx":1824 * if handler is None: * return RCStatus.OK.value * try: # <<<<<<<<<<<<<< @@ -24237,7 +24237,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onConfirmFunction(RFC_CONNECTION_ goto __pyx_L0; } - /* "pyrfc/_cyrfc.pyx":1819 + /* "pyrfc/_cyrfc.pyx":1820 * * @staticmethod * cdef RFC_RC __onConfirmFunction(RFC_CONNECTION_HANDLE rfcHandle, const RFC_UNIT_IDENTIFIER *identifier) with gil: # <<<<<<<<<<<<<< @@ -24267,7 +24267,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onConfirmFunction(RFC_CONNECTION_ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1831 +/* "pyrfc/_cyrfc.pyx":1832 * * @staticmethod * cdef RFC_RC __onGetStateFunction( # <<<<<<<<<<<<<< @@ -24314,22 +24314,22 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION #endif __Pyx_RefNannySetupContext("__onGetStateFunction", 0); - /* "pyrfc/_cyrfc.pyx":1836 + /* "pyrfc/_cyrfc.pyx":1837 * RFC_UNIT_STATE *unitState * ) with gil: * handler = Server.__bgRfcFunction["getState"] # <<<<<<<<<<<<<< * if handler is None: * _server_log("bgRFC handler onGetState is not registered for server connection handle '{rfcHandle}'") */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Server), __pyx_n_s_bgRfcFunction); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1836, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Server), __pyx_n_s_bgRfcFunction); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1837, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_Dict_GetItem(__pyx_t_1, __pyx_n_u_getState); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1836, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_Dict_GetItem(__pyx_t_1, __pyx_n_u_getState); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1837, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_handler = __pyx_t_2; __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1837 + /* "pyrfc/_cyrfc.pyx":1838 * ) with gil: * handler = Server.__bgRfcFunction["getState"] * if handler is None: # <<<<<<<<<<<<<< @@ -24340,14 +24340,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { - /* "pyrfc/_cyrfc.pyx":1838 + /* "pyrfc/_cyrfc.pyx":1839 * handler = Server.__bgRfcFunction["getState"] * if handler is None: * _server_log("bgRFC handler onGetState is not registered for server connection handle '{rfcHandle}'") # <<<<<<<<<<<<<< * return RCStatus.RFC_EXTERNAL_FAILURE.value * try: */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_server_log); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1838, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_server_log); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1839, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_5 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_1))) { @@ -24361,32 +24361,32 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION } __pyx_t_2 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_1, __pyx_t_5, __pyx_kp_u_bgRFC_handler_onGetState_is_not) : __Pyx_PyObject_CallOneArg(__pyx_t_1, __pyx_kp_u_bgRFC_handler_onGetState_is_not); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1838, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1839, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1839 + /* "pyrfc/_cyrfc.pyx":1840 * if handler is None: * _server_log("bgRFC handler onGetState is not registered for server connection handle '{rfcHandle}'") * return RCStatus.RFC_EXTERNAL_FAILURE.value # <<<<<<<<<<<<<< * try: * unit_identifier = wrapUnitIdentifier(identifier[0]) */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_RCStatus); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1839, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_RCStatus); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1840, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_RFC_EXTERNAL_FAILURE); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1839, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_RFC_EXTERNAL_FAILURE); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1840, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1839, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1840, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_6 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_2)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1839, __pyx_L1_error) + __pyx_t_6 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_2)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1840, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_r = __pyx_t_6; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1837 + /* "pyrfc/_cyrfc.pyx":1838 * ) with gil: * handler = Server.__bgRfcFunction["getState"] * if handler is None: # <<<<<<<<<<<<<< @@ -24395,7 +24395,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION */ } - /* "pyrfc/_cyrfc.pyx":1840 + /* "pyrfc/_cyrfc.pyx":1841 * _server_log("bgRFC handler onGetState is not registered for server connection handle '{rfcHandle}'") * return RCStatus.RFC_EXTERNAL_FAILURE.value * try: # <<<<<<<<<<<<<< @@ -24411,26 +24411,26 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION __Pyx_XGOTREF(__pyx_t_9); /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1841 + /* "pyrfc/_cyrfc.pyx":1842 * return RCStatus.RFC_EXTERNAL_FAILURE.value * try: * unit_identifier = wrapUnitIdentifier(identifier[0]) # <<<<<<<<<<<<<< * state = handler(rfcHandle, unit_identifier) * # section 5.6.3 pg 84 of SAP NWRFC SDK Programming Guide 7.50 */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapUnitIdentifier((__pyx_v_identifier[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1841, __pyx_L4_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapUnitIdentifier((__pyx_v_identifier[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1842, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v_unit_identifier = __pyx_t_2; __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1842 + /* "pyrfc/_cyrfc.pyx":1843 * try: * unit_identifier = wrapUnitIdentifier(identifier[0]) * state = handler(rfcHandle, unit_identifier) # <<<<<<<<<<<<<< * # section 5.6.3 pg 84 of SAP NWRFC SDK Programming Guide 7.50 * if state == UnitState.created or state == UnitState.executed: */ - __pyx_t_1 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_rfcHandle)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1842, __pyx_L4_error) + __pyx_t_1 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_rfcHandle)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1843, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v_handler); __pyx_t_5 = __pyx_v_handler; __pyx_t_10 = NULL; @@ -24448,7 +24448,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_5)) { PyObject *__pyx_temp[3] = {__pyx_t_10, __pyx_t_1, __pyx_v_unit_identifier}; - __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_5, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1842, __pyx_L4_error) + __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_5, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1843, __pyx_L4_error) __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -24457,14 +24457,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_5)) { PyObject *__pyx_temp[3] = {__pyx_t_10, __pyx_t_1, __pyx_v_unit_identifier}; - __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_5, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1842, __pyx_L4_error) + __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_5, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1843, __pyx_L4_error) __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } else #endif { - __pyx_t_12 = PyTuple_New(2+__pyx_t_11); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1842, __pyx_L4_error) + __pyx_t_12 = PyTuple_New(2+__pyx_t_11); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1843, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_12); if (__pyx_t_10) { __Pyx_GIVEREF(__pyx_t_10); PyTuple_SET_ITEM(__pyx_t_12, 0, __pyx_t_10); __pyx_t_10 = NULL; @@ -24475,7 +24475,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION __Pyx_GIVEREF(__pyx_v_unit_identifier); PyTuple_SET_ITEM(__pyx_t_12, 1+__pyx_t_11, __pyx_v_unit_identifier); __pyx_t_1 = 0; - __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_t_12, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1842, __pyx_L4_error) + __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_t_12, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1843, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; } @@ -24483,41 +24483,41 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION __pyx_v_state = __pyx_t_2; __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1844 + /* "pyrfc/_cyrfc.pyx":1845 * state = handler(rfcHandle, unit_identifier) * # section 5.6.3 pg 84 of SAP NWRFC SDK Programming Guide 7.50 * if state == UnitState.created or state == UnitState.executed: # <<<<<<<<<<<<<< * unitState[0] = RFC_UNIT_IN_PROCESS * elif state == UnitState.committed: */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_UnitState); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1844, __pyx_L4_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_UnitState); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1845, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_created); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1844, __pyx_L4_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_created); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1845, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = PyObject_RichCompare(__pyx_v_state, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1844, __pyx_L4_error) + __pyx_t_2 = PyObject_RichCompare(__pyx_v_state, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1845, __pyx_L4_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1844, __pyx_L4_error) + __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1845, __pyx_L4_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (!__pyx_t_3) { } else { __pyx_t_4 = __pyx_t_3; goto __pyx_L11_bool_binop_done; } - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_UnitState); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1844, __pyx_L4_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_UnitState); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1845, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_executed); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1844, __pyx_L4_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_executed); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1845, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = PyObject_RichCompare(__pyx_v_state, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1844, __pyx_L4_error) + __pyx_t_2 = PyObject_RichCompare(__pyx_v_state, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1845, __pyx_L4_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1844, __pyx_L4_error) + __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1845, __pyx_L4_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_4 = __pyx_t_3; __pyx_L11_bool_binop_done:; if (__pyx_t_4) { - /* "pyrfc/_cyrfc.pyx":1845 + /* "pyrfc/_cyrfc.pyx":1846 * # section 5.6.3 pg 84 of SAP NWRFC SDK Programming Guide 7.50 * if state == UnitState.created or state == UnitState.executed: * unitState[0] = RFC_UNIT_IN_PROCESS # <<<<<<<<<<<<<< @@ -24526,7 +24526,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION */ (__pyx_v_unitState[0]) = RFC_UNIT_IN_PROCESS; - /* "pyrfc/_cyrfc.pyx":1844 + /* "pyrfc/_cyrfc.pyx":1845 * state = handler(rfcHandle, unit_identifier) * # section 5.6.3 pg 84 of SAP NWRFC SDK Programming Guide 7.50 * if state == UnitState.created or state == UnitState.executed: # <<<<<<<<<<<<<< @@ -24536,40 +24536,40 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION goto __pyx_L10; } - /* "pyrfc/_cyrfc.pyx":1846 + /* "pyrfc/_cyrfc.pyx":1847 * if state == UnitState.created or state == UnitState.executed: * unitState[0] = RFC_UNIT_IN_PROCESS * elif state == UnitState.committed: # <<<<<<<<<<<<<< * idunitStateentifier[0] = RFC_UNIT_COMMITTED * elif state == UnitState.rolled_back: */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_UnitState); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1846, __pyx_L4_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_UnitState); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1847, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_committed); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1846, __pyx_L4_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_committed); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1847, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = PyObject_RichCompare(__pyx_v_state, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1846, __pyx_L4_error) + __pyx_t_2 = PyObject_RichCompare(__pyx_v_state, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1847, __pyx_L4_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 1846, __pyx_L4_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 1847, __pyx_L4_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (__pyx_t_4) { - /* "pyrfc/_cyrfc.pyx":1847 + /* "pyrfc/_cyrfc.pyx":1848 * unitState[0] = RFC_UNIT_IN_PROCESS * elif state == UnitState.committed: * idunitStateentifier[0] = RFC_UNIT_COMMITTED # <<<<<<<<<<<<<< * elif state == UnitState.rolled_back: * unitState[0] = RFC_UNIT_ROLLED_BACK */ - __pyx_t_2 = __Pyx_PyInt_From_RFC_UNIT_STATE(RFC_UNIT_COMMITTED); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1847, __pyx_L4_error) + __pyx_t_2 = __Pyx_PyInt_From_RFC_UNIT_STATE(RFC_UNIT_COMMITTED); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1848, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_2); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_idunitStateentifier); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1847, __pyx_L4_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_idunitStateentifier); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1848, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_5); - if (unlikely(__Pyx_SetItemInt(__pyx_t_5, 0, __pyx_t_2, long, 1, __Pyx_PyInt_From_long, 0, 0, 1) < 0)) __PYX_ERR(0, 1847, __pyx_L4_error) + if (unlikely(__Pyx_SetItemInt(__pyx_t_5, 0, __pyx_t_2, long, 1, __Pyx_PyInt_From_long, 0, 0, 1) < 0)) __PYX_ERR(0, 1848, __pyx_L4_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1846 + /* "pyrfc/_cyrfc.pyx":1847 * if state == UnitState.created or state == UnitState.executed: * unitState[0] = RFC_UNIT_IN_PROCESS * elif state == UnitState.committed: # <<<<<<<<<<<<<< @@ -24579,25 +24579,25 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION goto __pyx_L10; } - /* "pyrfc/_cyrfc.pyx":1848 + /* "pyrfc/_cyrfc.pyx":1849 * elif state == UnitState.committed: * idunitStateentifier[0] = RFC_UNIT_COMMITTED * elif state == UnitState.rolled_back: # <<<<<<<<<<<<<< * unitState[0] = RFC_UNIT_ROLLED_BACK * elif state == UnitState.confirmed: */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_UnitState); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1848, __pyx_L4_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_UnitState); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1849, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_rolled_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1848, __pyx_L4_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_rolled_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1849, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = PyObject_RichCompare(__pyx_v_state, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1848, __pyx_L4_error) + __pyx_t_2 = PyObject_RichCompare(__pyx_v_state, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1849, __pyx_L4_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 1848, __pyx_L4_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 1849, __pyx_L4_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (__pyx_t_4) { - /* "pyrfc/_cyrfc.pyx":1849 + /* "pyrfc/_cyrfc.pyx":1850 * idunitStateentifier[0] = RFC_UNIT_COMMITTED * elif state == UnitState.rolled_back: * unitState[0] = RFC_UNIT_ROLLED_BACK # <<<<<<<<<<<<<< @@ -24606,7 +24606,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION */ (__pyx_v_unitState[0]) = RFC_UNIT_ROLLED_BACK; - /* "pyrfc/_cyrfc.pyx":1848 + /* "pyrfc/_cyrfc.pyx":1849 * elif state == UnitState.committed: * idunitStateentifier[0] = RFC_UNIT_COMMITTED * elif state == UnitState.rolled_back: # <<<<<<<<<<<<<< @@ -24616,25 +24616,25 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION goto __pyx_L10; } - /* "pyrfc/_cyrfc.pyx":1850 + /* "pyrfc/_cyrfc.pyx":1851 * elif state == UnitState.rolled_back: * unitState[0] = RFC_UNIT_ROLLED_BACK * elif state == UnitState.confirmed: # <<<<<<<<<<<<<< * unitState[0] = RFC_UNIT_CONFIRMED * else: */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_UnitState); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1850, __pyx_L4_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_UnitState); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1851, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_confirmed); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1850, __pyx_L4_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_confirmed); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1851, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = PyObject_RichCompare(__pyx_v_state, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1850, __pyx_L4_error) + __pyx_t_2 = PyObject_RichCompare(__pyx_v_state, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1851, __pyx_L4_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 1850, __pyx_L4_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 1851, __pyx_L4_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (likely(__pyx_t_4)) { - /* "pyrfc/_cyrfc.pyx":1851 + /* "pyrfc/_cyrfc.pyx":1852 * unitState[0] = RFC_UNIT_ROLLED_BACK * elif state == UnitState.confirmed: * unitState[0] = RFC_UNIT_CONFIRMED # <<<<<<<<<<<<<< @@ -24643,7 +24643,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION */ (__pyx_v_unitState[0]) = RFC_UNIT_CONFIRMED; - /* "pyrfc/_cyrfc.pyx":1850 + /* "pyrfc/_cyrfc.pyx":1851 * elif state == UnitState.rolled_back: * unitState[0] = RFC_UNIT_ROLLED_BACK * elif state == UnitState.confirmed: # <<<<<<<<<<<<<< @@ -24653,7 +24653,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION goto __pyx_L10; } - /* "pyrfc/_cyrfc.pyx":1853 + /* "pyrfc/_cyrfc.pyx":1854 * unitState[0] = RFC_UNIT_CONFIRMED * else: * raise Exception(f"TID {unit_identifier['id']} invalid state '{state}'") # <<<<<<<<<<<<<< @@ -24661,7 +24661,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION * except Exception as ex: */ /*else*/ { - __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1853, __pyx_L4_error) + __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1854, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_13 = 0; __pyx_t_14 = 127; @@ -24669,9 +24669,9 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION __pyx_t_13 += 4; __Pyx_GIVEREF(__pyx_kp_u_TID); PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_kp_u_TID); - __pyx_t_5 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit_identifier, __pyx_n_u_id); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1853, __pyx_L4_error) + __pyx_t_5 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit_identifier, __pyx_n_u_id); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1854, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_12 = __Pyx_PyObject_FormatSimple(__pyx_t_5, __pyx_empty_unicode); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1853, __pyx_L4_error) + __pyx_t_12 = __Pyx_PyObject_FormatSimple(__pyx_t_5, __pyx_empty_unicode); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1854, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_12); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_14 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_12) > __pyx_t_14) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_12) : __pyx_t_14; @@ -24683,7 +24683,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION __pyx_t_13 += 16; __Pyx_GIVEREF(__pyx_kp_u_invalid_state); PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_kp_u_invalid_state); - __pyx_t_12 = __Pyx_PyObject_FormatSimple(__pyx_v_state, __pyx_empty_unicode); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1853, __pyx_L4_error) + __pyx_t_12 = __Pyx_PyObject_FormatSimple(__pyx_v_state, __pyx_empty_unicode); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1854, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_12); __pyx_t_14 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_12) > __pyx_t_14) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_12) : __pyx_t_14; __pyx_t_13 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_12); @@ -24694,39 +24694,39 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION __pyx_t_13 += 1; __Pyx_GIVEREF(__pyx_kp_u__6); PyTuple_SET_ITEM(__pyx_t_2, 4, __pyx_kp_u__6); - __pyx_t_12 = __Pyx_PyUnicode_Join(__pyx_t_2, 5, __pyx_t_13, __pyx_t_14); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1853, __pyx_L4_error) + __pyx_t_12 = __Pyx_PyUnicode_Join(__pyx_t_2, 5, __pyx_t_13, __pyx_t_14); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1854, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_12); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyObject_CallOneArg(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0])), __pyx_t_12); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1853, __pyx_L4_error) + __pyx_t_2 = __Pyx_PyObject_CallOneArg(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0])), __pyx_t_12); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1854, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 1853, __pyx_L4_error) + __PYX_ERR(0, 1854, __pyx_L4_error) } __pyx_L10:; - /* "pyrfc/_cyrfc.pyx":1854 + /* "pyrfc/_cyrfc.pyx":1855 * else: * raise Exception(f"TID {unit_identifier['id']} invalid state '{state}'") * return RCStatus.OK.value # <<<<<<<<<<<<<< * except Exception as ex: * _server_log("Error in bgRFC handler onGetState:\n", ex) */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_RCStatus); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1854, __pyx_L4_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_RCStatus); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1855, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_OK); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1854, __pyx_L4_error) + __pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_OK); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1855, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_12); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_n_s_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1854, __pyx_L4_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_n_s_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1855, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; - __pyx_t_6 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_2)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1854, __pyx_L4_error) + __pyx_t_6 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_2)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1855, __pyx_L4_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_r = __pyx_t_6; goto __pyx_L8_try_return; - /* "pyrfc/_cyrfc.pyx":1840 + /* "pyrfc/_cyrfc.pyx":1841 * _server_log("bgRFC handler onGetState is not registered for server connection handle '{rfcHandle}'") * return RCStatus.RFC_EXTERNAL_FAILURE.value * try: # <<<<<<<<<<<<<< @@ -24741,7 +24741,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "pyrfc/_cyrfc.pyx":1855 + /* "pyrfc/_cyrfc.pyx":1856 * raise Exception(f"TID {unit_identifier['id']} invalid state '{state}'") * return RCStatus.OK.value * except Exception as ex: # <<<<<<<<<<<<<< @@ -24751,7 +24751,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION __pyx_t_11 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0]))); if (__pyx_t_11) { __Pyx_AddTraceback("pyrfc._cyrfc.Server.__onGetStateFunction", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_12, &__pyx_t_5) < 0) __PYX_ERR(0, 1855, __pyx_L6_except_error) + if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_12, &__pyx_t_5) < 0) __PYX_ERR(0, 1856, __pyx_L6_except_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_GOTREF(__pyx_t_12); __Pyx_GOTREF(__pyx_t_5); @@ -24759,14 +24759,14 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION __pyx_v_ex = __pyx_t_12; /*try:*/ { - /* "pyrfc/_cyrfc.pyx":1856 + /* "pyrfc/_cyrfc.pyx":1857 * return RCStatus.OK.value * except Exception as ex: * _server_log("Error in bgRFC handler onGetState:\n", ex) # <<<<<<<<<<<<<< * return RCStatus.RFC_EXTERNAL_FAILURE.value * */ - __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_server_log); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1856, __pyx_L18_error) + __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_server_log); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1857, __pyx_L18_error) __Pyx_GOTREF(__pyx_t_10); __pyx_t_15 = NULL; __pyx_t_11 = 0; @@ -24783,7 +24783,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_10)) { PyObject *__pyx_temp[3] = {__pyx_t_15, __pyx_kp_u_Error_in_bgRFC_handler_onGetStat, __pyx_v_ex}; - __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_10, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1856, __pyx_L18_error) + __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_10, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1857, __pyx_L18_error) __Pyx_XDECREF(__pyx_t_15); __pyx_t_15 = 0; __Pyx_GOTREF(__pyx_t_1); } else @@ -24791,13 +24791,13 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_10)) { PyObject *__pyx_temp[3] = {__pyx_t_15, __pyx_kp_u_Error_in_bgRFC_handler_onGetStat, __pyx_v_ex}; - __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_10, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1856, __pyx_L18_error) + __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_10, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1857, __pyx_L18_error) __Pyx_XDECREF(__pyx_t_15); __pyx_t_15 = 0; __Pyx_GOTREF(__pyx_t_1); } else #endif { - __pyx_t_16 = PyTuple_New(2+__pyx_t_11); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 1856, __pyx_L18_error) + __pyx_t_16 = PyTuple_New(2+__pyx_t_11); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 1857, __pyx_L18_error) __Pyx_GOTREF(__pyx_t_16); if (__pyx_t_15) { __Pyx_GIVEREF(__pyx_t_15); PyTuple_SET_ITEM(__pyx_t_16, 0, __pyx_t_15); __pyx_t_15 = NULL; @@ -24808,29 +24808,29 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION __Pyx_INCREF(__pyx_v_ex); __Pyx_GIVEREF(__pyx_v_ex); PyTuple_SET_ITEM(__pyx_t_16, 1+__pyx_t_11, __pyx_v_ex); - __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_10, __pyx_t_16, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1856, __pyx_L18_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_10, __pyx_t_16, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1857, __pyx_L18_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0; } __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1857 + /* "pyrfc/_cyrfc.pyx":1858 * except Exception as ex: * _server_log("Error in bgRFC handler onGetState:\n", ex) * return RCStatus.RFC_EXTERNAL_FAILURE.value # <<<<<<<<<<<<<< * * def bgrfc_init(self, sysId, bgRfcFunction): */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_RCStatus); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1857, __pyx_L18_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_RCStatus); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1858, __pyx_L18_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_RFC_EXTERNAL_FAILURE); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1857, __pyx_L18_error) + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_RFC_EXTERNAL_FAILURE); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1858, __pyx_L18_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_n_s_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1857, __pyx_L18_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_n_s_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1858, __pyx_L18_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - __pyx_t_6 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_1)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1857, __pyx_L18_error) + __pyx_t_6 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_1)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1858, __pyx_L18_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_r = __pyx_t_6; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -24839,7 +24839,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION goto __pyx_L17_return; } - /* "pyrfc/_cyrfc.pyx":1855 + /* "pyrfc/_cyrfc.pyx":1856 * raise Exception(f"TID {unit_identifier['id']} invalid state '{state}'") * return RCStatus.OK.value * except Exception as ex: # <<<<<<<<<<<<<< @@ -24895,7 +24895,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION goto __pyx_L6_except_error; __pyx_L6_except_error:; - /* "pyrfc/_cyrfc.pyx":1840 + /* "pyrfc/_cyrfc.pyx":1841 * _server_log("bgRFC handler onGetState is not registered for server connection handle '{rfcHandle}'") * return RCStatus.RFC_EXTERNAL_FAILURE.value * try: # <<<<<<<<<<<<<< @@ -24921,7 +24921,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION goto __pyx_L0; } - /* "pyrfc/_cyrfc.pyx":1831 + /* "pyrfc/_cyrfc.pyx":1832 * * @staticmethod * cdef RFC_RC __onGetStateFunction( # <<<<<<<<<<<<<< @@ -24952,7 +24952,7 @@ static RFC_RC __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction(RFC_CONNECTION return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1859 +/* "pyrfc/_cyrfc.pyx":1860 * return RCStatus.RFC_EXTERNAL_FAILURE.value * * def bgrfc_init(self, sysId, bgRfcFunction): # <<<<<<<<<<<<<< @@ -24995,11 +24995,11 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_6Server_3bgrfc_init(PyObject *__pyx_v_s case 1: if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_bgRfcFunction_2)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("bgrfc_init", 1, 2, 2, 1); __PYX_ERR(0, 1859, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("bgrfc_init", 1, 2, 2, 1); __PYX_ERR(0, 1860, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "bgrfc_init") < 0)) __PYX_ERR(0, 1859, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "bgrfc_init") < 0)) __PYX_ERR(0, 1860, __pyx_L3_error) } } else if (PyTuple_GET_SIZE(__pyx_args) != 2) { goto __pyx_L5_argtuple_error; @@ -25012,7 +25012,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_6Server_3bgrfc_init(PyObject *__pyx_v_s } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("bgrfc_init", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1859, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("bgrfc_init", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1860, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("pyrfc._cyrfc.Server.bgrfc_init", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -25044,7 +25044,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_2bgrfc_init(struct __pyx_obj_5p int __pyx_clineno = 0; __Pyx_RefNannySetupContext("bgrfc_init", 0); - /* "pyrfc/_cyrfc.pyx":1885 + /* "pyrfc/_cyrfc.pyx":1886 * :return: error code, zero when no error * """ * for func_name in bgRfcFunction: # <<<<<<<<<<<<<< @@ -25055,26 +25055,26 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_2bgrfc_init(struct __pyx_obj_5p __pyx_t_1 = __pyx_v_bgRfcFunction; __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = 0; __pyx_t_3 = NULL; } else { - __pyx_t_2 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_v_bgRfcFunction); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1885, __pyx_L1_error) + __pyx_t_2 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_v_bgRfcFunction); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1886, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = Py_TYPE(__pyx_t_1)->tp_iternext; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1885, __pyx_L1_error) + __pyx_t_3 = Py_TYPE(__pyx_t_1)->tp_iternext; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1886, __pyx_L1_error) } for (;;) { if (likely(!__pyx_t_3)) { if (likely(PyList_CheckExact(__pyx_t_1))) { if (__pyx_t_2 >= PyList_GET_SIZE(__pyx_t_1)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_4 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_4); __pyx_t_2++; if (unlikely(0 < 0)) __PYX_ERR(0, 1885, __pyx_L1_error) + __pyx_t_4 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_4); __pyx_t_2++; if (unlikely(0 < 0)) __PYX_ERR(0, 1886, __pyx_L1_error) #else - __pyx_t_4 = PySequence_ITEM(__pyx_t_1, __pyx_t_2); __pyx_t_2++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1885, __pyx_L1_error) + __pyx_t_4 = PySequence_ITEM(__pyx_t_1, __pyx_t_2); __pyx_t_2++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1886, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #endif } else { if (__pyx_t_2 >= PyTuple_GET_SIZE(__pyx_t_1)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_4 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_4); __pyx_t_2++; if (unlikely(0 < 0)) __PYX_ERR(0, 1885, __pyx_L1_error) + __pyx_t_4 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_4); __pyx_t_2++; if (unlikely(0 < 0)) __PYX_ERR(0, 1886, __pyx_L1_error) #else - __pyx_t_4 = PySequence_ITEM(__pyx_t_1, __pyx_t_2); __pyx_t_2++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1885, __pyx_L1_error) + __pyx_t_4 = PySequence_ITEM(__pyx_t_1, __pyx_t_2); __pyx_t_2++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1886, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #endif } @@ -25084,7 +25084,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_2bgrfc_init(struct __pyx_obj_5p PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 1885, __pyx_L1_error) + else __PYX_ERR(0, 1886, __pyx_L1_error) } break; } @@ -25093,28 +25093,28 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_2bgrfc_init(struct __pyx_obj_5p __Pyx_XDECREF_SET(__pyx_v_func_name, __pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":1886 + /* "pyrfc/_cyrfc.pyx":1887 * """ * for func_name in bgRfcFunction: * if func_name not in Server.__bgRfcFunction: # <<<<<<<<<<<<<< * raise TypeError(f"BgRfc callback function key not supported: '{func_name}'") * if not callable(bgRfcFunction[func_name]): */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Server), __pyx_n_s_bgRfcFunction); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1886, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Server), __pyx_n_s_bgRfcFunction); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1887, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = (__Pyx_PySequence_ContainsTF(__pyx_v_func_name, __pyx_t_4, Py_NE)); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 1886, __pyx_L1_error) + __pyx_t_5 = (__Pyx_PySequence_ContainsTF(__pyx_v_func_name, __pyx_t_4, Py_NE)); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 1887, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_6 = (__pyx_t_5 != 0); if (unlikely(__pyx_t_6)) { - /* "pyrfc/_cyrfc.pyx":1887 + /* "pyrfc/_cyrfc.pyx":1888 * for func_name in bgRfcFunction: * if func_name not in Server.__bgRfcFunction: * raise TypeError(f"BgRfc callback function key not supported: '{func_name}'") # <<<<<<<<<<<<<< * if not callable(bgRfcFunction[func_name]): * raise TypeError(f"BgRfc callback function referenced by '{func_name}' is not callable: '{bgRfcFunction[func_name]}'") */ - __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1887, __pyx_L1_error) + __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1888, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_7 = 0; __pyx_t_8 = 127; @@ -25122,7 +25122,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_2bgrfc_init(struct __pyx_obj_5p __pyx_t_7 += 44; __Pyx_GIVEREF(__pyx_kp_u_BgRfc_callback_function_key_not); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_kp_u_BgRfc_callback_function_key_not); - __pyx_t_9 = __Pyx_PyObject_FormatSimple(__pyx_v_func_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1887, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_FormatSimple(__pyx_v_func_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1888, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __pyx_t_8 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_9) > __pyx_t_8) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_9) : __pyx_t_8; __pyx_t_7 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_9); @@ -25133,17 +25133,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_2bgrfc_init(struct __pyx_obj_5p __pyx_t_7 += 1; __Pyx_GIVEREF(__pyx_kp_u__6); PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_kp_u__6); - __pyx_t_9 = __Pyx_PyUnicode_Join(__pyx_t_4, 3, __pyx_t_7, __pyx_t_8); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1887, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyUnicode_Join(__pyx_t_4, 3, __pyx_t_7, __pyx_t_8); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1888, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_9); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1887, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_9); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1888, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __PYX_ERR(0, 1887, __pyx_L1_error) + __PYX_ERR(0, 1888, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1886 + /* "pyrfc/_cyrfc.pyx":1887 * """ * for func_name in bgRfcFunction: * if func_name not in Server.__bgRfcFunction: # <<<<<<<<<<<<<< @@ -25152,28 +25152,28 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_2bgrfc_init(struct __pyx_obj_5p */ } - /* "pyrfc/_cyrfc.pyx":1888 + /* "pyrfc/_cyrfc.pyx":1889 * if func_name not in Server.__bgRfcFunction: * raise TypeError(f"BgRfc callback function key not supported: '{func_name}'") * if not callable(bgRfcFunction[func_name]): # <<<<<<<<<<<<<< * raise TypeError(f"BgRfc callback function referenced by '{func_name}' is not callable: '{bgRfcFunction[func_name]}'") * Server.__bgRfcFunction[func_name] = bgRfcFunction[func_name] */ - __pyx_t_4 = __Pyx_PyObject_GetItem(__pyx_v_bgRfcFunction, __pyx_v_func_name); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1888, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetItem(__pyx_v_bgRfcFunction, __pyx_v_func_name); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1889, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyCallable_Check(__pyx_t_4); if (unlikely(__pyx_t_6 == ((int)-1))) __PYX_ERR(0, 1888, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyCallable_Check(__pyx_t_4); if (unlikely(__pyx_t_6 == ((int)-1))) __PYX_ERR(0, 1889, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_5 = ((!(__pyx_t_6 != 0)) != 0); if (unlikely(__pyx_t_5)) { - /* "pyrfc/_cyrfc.pyx":1889 + /* "pyrfc/_cyrfc.pyx":1890 * raise TypeError(f"BgRfc callback function key not supported: '{func_name}'") * if not callable(bgRfcFunction[func_name]): * raise TypeError(f"BgRfc callback function referenced by '{func_name}' is not callable: '{bgRfcFunction[func_name]}'") # <<<<<<<<<<<<<< * Server.__bgRfcFunction[func_name] = bgRfcFunction[func_name] * return self.install_bgrfc_handlers(sysId) */ - __pyx_t_4 = PyTuple_New(5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1889, __pyx_L1_error) + __pyx_t_4 = PyTuple_New(5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1890, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_7 = 0; __pyx_t_8 = 127; @@ -25181,7 +25181,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_2bgrfc_init(struct __pyx_obj_5p __pyx_t_7 += 39; __Pyx_GIVEREF(__pyx_kp_u_BgRfc_callback_function_referenc); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_kp_u_BgRfc_callback_function_referenc); - __pyx_t_9 = __Pyx_PyObject_FormatSimple(__pyx_v_func_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1889, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_FormatSimple(__pyx_v_func_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1890, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __pyx_t_8 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_9) > __pyx_t_8) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_9) : __pyx_t_8; __pyx_t_7 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_9); @@ -25192,9 +25192,9 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_2bgrfc_init(struct __pyx_obj_5p __pyx_t_7 += 20; __Pyx_GIVEREF(__pyx_kp_u_is_not_callable); PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_kp_u_is_not_callable); - __pyx_t_9 = __Pyx_PyObject_GetItem(__pyx_v_bgRfcFunction, __pyx_v_func_name); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1889, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_GetItem(__pyx_v_bgRfcFunction, __pyx_v_func_name); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1890, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - __pyx_t_10 = __Pyx_PyObject_FormatSimple(__pyx_t_9, __pyx_empty_unicode); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1889, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_FormatSimple(__pyx_t_9, __pyx_empty_unicode); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1890, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __pyx_t_8 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_10) > __pyx_t_8) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_10) : __pyx_t_8; @@ -25206,17 +25206,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_2bgrfc_init(struct __pyx_obj_5p __pyx_t_7 += 1; __Pyx_GIVEREF(__pyx_kp_u__6); PyTuple_SET_ITEM(__pyx_t_4, 4, __pyx_kp_u__6); - __pyx_t_10 = __Pyx_PyUnicode_Join(__pyx_t_4, 5, __pyx_t_7, __pyx_t_8); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1889, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyUnicode_Join(__pyx_t_4, 5, __pyx_t_7, __pyx_t_8); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1890, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_10); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1889, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_10); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1890, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __PYX_ERR(0, 1889, __pyx_L1_error) + __PYX_ERR(0, 1890, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1888 + /* "pyrfc/_cyrfc.pyx":1889 * if func_name not in Server.__bgRfcFunction: * raise TypeError(f"BgRfc callback function key not supported: '{func_name}'") * if not callable(bgRfcFunction[func_name]): # <<<<<<<<<<<<<< @@ -25225,22 +25225,22 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_2bgrfc_init(struct __pyx_obj_5p */ } - /* "pyrfc/_cyrfc.pyx":1890 + /* "pyrfc/_cyrfc.pyx":1891 * if not callable(bgRfcFunction[func_name]): * raise TypeError(f"BgRfc callback function referenced by '{func_name}' is not callable: '{bgRfcFunction[func_name]}'") * Server.__bgRfcFunction[func_name] = bgRfcFunction[func_name] # <<<<<<<<<<<<<< * return self.install_bgrfc_handlers(sysId) * */ - __pyx_t_4 = __Pyx_PyObject_GetItem(__pyx_v_bgRfcFunction, __pyx_v_func_name); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1890, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetItem(__pyx_v_bgRfcFunction, __pyx_v_func_name); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1891, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Server), __pyx_n_s_bgRfcFunction); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1890, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Server), __pyx_n_s_bgRfcFunction); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1891, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); - if (unlikely(PyObject_SetItem(__pyx_t_10, __pyx_v_func_name, __pyx_t_4) < 0)) __PYX_ERR(0, 1890, __pyx_L1_error) + if (unlikely(PyObject_SetItem(__pyx_t_10, __pyx_v_func_name, __pyx_t_4) < 0)) __PYX_ERR(0, 1891, __pyx_L1_error) __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":1885 + /* "pyrfc/_cyrfc.pyx":1886 * :return: error code, zero when no error * """ * for func_name in bgRfcFunction: # <<<<<<<<<<<<<< @@ -25250,7 +25250,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_2bgrfc_init(struct __pyx_obj_5p } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1891 + /* "pyrfc/_cyrfc.pyx":1892 * raise TypeError(f"BgRfc callback function referenced by '{func_name}' is not callable: '{bgRfcFunction[func_name]}'") * Server.__bgRfcFunction[func_name] = bgRfcFunction[func_name] * return self.install_bgrfc_handlers(sysId) # <<<<<<<<<<<<<< @@ -25258,13 +25258,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_2bgrfc_init(struct __pyx_obj_5p * cdef install_bgrfc_handlers(self, sysId): */ __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Server *)__pyx_v_self->__pyx_vtab)->install_bgrfc_handlers(__pyx_v_self, __pyx_v_sysId); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1891, __pyx_L1_error) + __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Server *)__pyx_v_self->__pyx_vtab)->install_bgrfc_handlers(__pyx_v_self, __pyx_v_sysId); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1892, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1859 + /* "pyrfc/_cyrfc.pyx":1860 * return RCStatus.RFC_EXTERNAL_FAILURE.value * * def bgrfc_init(self, sysId, bgRfcFunction): # <<<<<<<<<<<<<< @@ -25287,7 +25287,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_2bgrfc_init(struct __pyx_obj_5p return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1893 +/* "pyrfc/_cyrfc.pyx":1894 * return self.install_bgrfc_handlers(sysId) * * cdef install_bgrfc_handlers(self, sysId): # <<<<<<<<<<<<<< @@ -25311,7 +25311,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_6Server_install_bgrfc_handlers(CYTHON_UN int __pyx_clineno = 0; __Pyx_RefNannySetupContext("install_bgrfc_handlers", 0); - /* "pyrfc/_cyrfc.pyx":1894 + /* "pyrfc/_cyrfc.pyx":1895 * * cdef install_bgrfc_handlers(self, sysId): * ucSysId = fillString(sysId) if sysId is not None else NULL # <<<<<<<<<<<<<< @@ -25320,14 +25320,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_6Server_install_bgrfc_handlers(CYTHON_UN */ __pyx_t_2 = (__pyx_v_sysId != Py_None); if ((__pyx_t_2 != 0)) { - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_sysId); if (unlikely(__pyx_t_3 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1894, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_sysId); if (unlikely(__pyx_t_3 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1895, __pyx_L1_error) __pyx_t_1 = __pyx_t_3; } else { __pyx_t_1 = NULL; } __pyx_v_ucSysId = __pyx_t_1; - /* "pyrfc/_cyrfc.pyx":1896 + /* "pyrfc/_cyrfc.pyx":1897 * ucSysId = fillString(sysId) if sysId is not None else NULL * cdef RFC_ERROR_INFO errorInfo * cdef RFC_RC rc = RfcInstallBgRfcHandlers( # <<<<<<<<<<<<<< @@ -25336,7 +25336,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_6Server_install_bgrfc_handlers(CYTHON_UN */ __pyx_v_rc = RfcInstallBgRfcHandlers(__pyx_v_ucSysId, __pyx_f_5pyrfc_6_cyrfc_6Server___onCheckFunction, __pyx_f_5pyrfc_6_cyrfc_6Server___onCommitFunction, __pyx_f_5pyrfc_6_cyrfc_6Server___onRollbackFunction, __pyx_f_5pyrfc_6_cyrfc_6Server___onConfirmFunction, __pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1905 + /* "pyrfc/_cyrfc.pyx":1906 * &errorInfo * ) * free(ucSysId) # <<<<<<<<<<<<<< @@ -25345,7 +25345,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_6Server_install_bgrfc_handlers(CYTHON_UN */ free(__pyx_v_ucSysId); - /* "pyrfc/_cyrfc.pyx":1906 + /* "pyrfc/_cyrfc.pyx":1907 * ) * free(ucSysId) * if rc != RFC_OK or errorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -25363,20 +25363,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_6Server_install_bgrfc_handlers(CYTHON_UN __pyx_L4_bool_binop_done:; if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":1907 + /* "pyrfc/_cyrfc.pyx":1908 * free(ucSysId) * if rc != RFC_OK or errorInfo.code != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * return rc * */ - __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1907, __pyx_L1_error) + __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1908, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_Raise(__pyx_t_5, 0, 0, 0); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __PYX_ERR(0, 1907, __pyx_L1_error) + __PYX_ERR(0, 1908, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1906 + /* "pyrfc/_cyrfc.pyx":1907 * ) * free(ucSysId) * if rc != RFC_OK or errorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -25385,7 +25385,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_6Server_install_bgrfc_handlers(CYTHON_UN */ } - /* "pyrfc/_cyrfc.pyx":1908 + /* "pyrfc/_cyrfc.pyx":1909 * if rc != RFC_OK or errorInfo.code != RFC_OK: * raise wrapError(&errorInfo) * return rc # <<<<<<<<<<<<<< @@ -25393,13 +25393,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_6Server_install_bgrfc_handlers(CYTHON_UN * def add_function(self, func_name, callback): */ __Pyx_XDECREF(__pyx_r); - __pyx_t_5 = __Pyx_PyInt_From_RFC_RC(__pyx_v_rc); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1908, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_RFC_RC(__pyx_v_rc); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1909, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_r = __pyx_t_5; __pyx_t_5 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1893 + /* "pyrfc/_cyrfc.pyx":1894 * return self.install_bgrfc_handlers(sysId) * * cdef install_bgrfc_handlers(self, sysId): # <<<<<<<<<<<<<< @@ -25418,7 +25418,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_6Server_install_bgrfc_handlers(CYTHON_UN return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1910 +/* "pyrfc/_cyrfc.pyx":1911 * return rc * * def add_function(self, func_name, callback): # <<<<<<<<<<<<<< @@ -25461,11 +25461,11 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_6Server_5add_function(PyObject *__pyx_v case 1: if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_callback)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("add_function", 1, 2, 2, 1); __PYX_ERR(0, 1910, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("add_function", 1, 2, 2, 1); __PYX_ERR(0, 1911, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "add_function") < 0)) __PYX_ERR(0, 1910, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "add_function") < 0)) __PYX_ERR(0, 1911, __pyx_L3_error) } } else if (PyTuple_GET_SIZE(__pyx_args) != 2) { goto __pyx_L5_argtuple_error; @@ -25478,7 +25478,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_6Server_5add_function(PyObject *__pyx_v } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("add_function", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1910, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("add_function", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 1911, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("pyrfc._cyrfc.Server.add_function", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -25513,28 +25513,28 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_4add_function(struct __pyx_obj_ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("add_function", 0); - /* "pyrfc/_cyrfc.pyx":1925 + /* "pyrfc/_cyrfc.pyx":1926 * """ * global server_functions * if func_name in server_functions: # <<<<<<<<<<<<<< * raise TypeError(f"Server function '{func_name}' already installed.") * */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_server_functions); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1925, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_server_functions); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1926, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_v_func_name, __pyx_t_1, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1925, __pyx_L1_error) + __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_v_func_name, __pyx_t_1, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 1926, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_3 = (__pyx_t_2 != 0); if (unlikely(__pyx_t_3)) { - /* "pyrfc/_cyrfc.pyx":1926 + /* "pyrfc/_cyrfc.pyx":1927 * global server_functions * if func_name in server_functions: * raise TypeError(f"Server function '{func_name}' already installed.") # <<<<<<<<<<<<<< * * if not self._client_connection: */ - __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1926, __pyx_L1_error) + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1927, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_4 = 0; __pyx_t_5 = 127; @@ -25542,7 +25542,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_4add_function(struct __pyx_obj_ __pyx_t_4 += 17; __Pyx_GIVEREF(__pyx_kp_u_Server_function); PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_kp_u_Server_function); - __pyx_t_6 = __Pyx_PyObject_FormatSimple(__pyx_v_func_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1926, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_FormatSimple(__pyx_v_func_name, __pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1927, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6) > __pyx_t_5) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6) : __pyx_t_5; __pyx_t_4 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_6); @@ -25553,17 +25553,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_4add_function(struct __pyx_obj_ __pyx_t_4 += 20; __Pyx_GIVEREF(__pyx_kp_u_already_installed); PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_kp_u_already_installed); - __pyx_t_6 = __Pyx_PyUnicode_Join(__pyx_t_1, 3, __pyx_t_4, __pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1926, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyUnicode_Join(__pyx_t_1, 3, __pyx_t_4, __pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1927, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_6); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1926, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_6); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1927, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 1926, __pyx_L1_error) + __PYX_ERR(0, 1927, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1925 + /* "pyrfc/_cyrfc.pyx":1926 * """ * global server_functions * if func_name in server_functions: # <<<<<<<<<<<<<< @@ -25572,25 +25572,25 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_4add_function(struct __pyx_obj_ */ } - /* "pyrfc/_cyrfc.pyx":1928 + /* "pyrfc/_cyrfc.pyx":1929 * raise TypeError(f"Server function '{func_name}' already installed.") * * if not self._client_connection: # <<<<<<<<<<<<<< * self._client_connection.open() * cdef RFC_ERROR_INFO errorInfo */ - __pyx_t_3 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_v_self->_client_connection)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1928, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_v_self->_client_connection)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 1929, __pyx_L1_error) __pyx_t_2 = ((!__pyx_t_3) != 0); if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":1929 + /* "pyrfc/_cyrfc.pyx":1930 * * if not self._client_connection: * self._client_connection.open() # <<<<<<<<<<<<<< * cdef RFC_ERROR_INFO errorInfo * cdef RFC_ABAP_NAME funcName = fillString(func_name) */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->_client_connection), __pyx_n_s_open); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1929, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->_client_connection), __pyx_n_s_open); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1930, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_7 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_6))) { @@ -25604,12 +25604,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_4add_function(struct __pyx_obj_ } __pyx_t_1 = (__pyx_t_7) ? __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_7) : __Pyx_PyObject_CallNoArg(__pyx_t_6); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1929, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1930, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1928 + /* "pyrfc/_cyrfc.pyx":1929 * raise TypeError(f"Server function '{func_name}' already installed.") * * if not self._client_connection: # <<<<<<<<<<<<<< @@ -25618,17 +25618,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_4add_function(struct __pyx_obj_ */ } - /* "pyrfc/_cyrfc.pyx":1931 + /* "pyrfc/_cyrfc.pyx":1932 * self._client_connection.open() * cdef RFC_ERROR_INFO errorInfo * cdef RFC_ABAP_NAME funcName = fillString(func_name) # <<<<<<<<<<<<<< * cdef RFC_FUNCTION_DESC_HANDLE func_desc_handle = RfcGetFunctionDesc(self._client_connection._handle, funcName, &errorInfo) * self._client_connection.close() */ - __pyx_t_8 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_func_name); if (unlikely(__pyx_t_8 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1931, __pyx_L1_error) + __pyx_t_8 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_func_name); if (unlikely(__pyx_t_8 == ((SAP_UC *)NULL))) __PYX_ERR(0, 1932, __pyx_L1_error) memcpy(&(__pyx_v_funcName[0]), __pyx_t_8, sizeof(__pyx_v_funcName[0]) * ((30 + 1) - 0)); - /* "pyrfc/_cyrfc.pyx":1932 + /* "pyrfc/_cyrfc.pyx":1933 * cdef RFC_ERROR_INFO errorInfo * cdef RFC_ABAP_NAME funcName = fillString(func_name) * cdef RFC_FUNCTION_DESC_HANDLE func_desc_handle = RfcGetFunctionDesc(self._client_connection._handle, funcName, &errorInfo) # <<<<<<<<<<<<<< @@ -25637,14 +25637,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_4add_function(struct __pyx_obj_ */ __pyx_v_func_desc_handle = RfcGetFunctionDesc(__pyx_v_self->_client_connection->_handle, __pyx_v_funcName, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1933 + /* "pyrfc/_cyrfc.pyx":1934 * cdef RFC_ABAP_NAME funcName = fillString(func_name) * cdef RFC_FUNCTION_DESC_HANDLE func_desc_handle = RfcGetFunctionDesc(self._client_connection._handle, funcName, &errorInfo) * self._client_connection.close() # <<<<<<<<<<<<<< * * if errorInfo.code != RFC_OK: */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->_client_connection), __pyx_n_s_close_2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1933, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->_client_connection), __pyx_n_s_close_2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1934, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_7 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_6))) { @@ -25658,12 +25658,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_4add_function(struct __pyx_obj_ } __pyx_t_1 = (__pyx_t_7) ? __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_7) : __Pyx_PyObject_CallNoArg(__pyx_t_6); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1933, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1934, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1935 + /* "pyrfc/_cyrfc.pyx":1936 * self._client_connection.close() * * if errorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -25673,20 +25673,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_4add_function(struct __pyx_obj_ __pyx_t_2 = ((__pyx_v_errorInfo.code != RFC_OK) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":1936 + /* "pyrfc/_cyrfc.pyx":1937 * * if errorInfo.code != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * * server_functions[func_name] = { */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1936, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1937, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 1936, __pyx_L1_error) + __PYX_ERR(0, 1937, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1935 + /* "pyrfc/_cyrfc.pyx":1936 * self._client_connection.close() * * if errorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -25695,59 +25695,59 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_4add_function(struct __pyx_obj_ */ } - /* "pyrfc/_cyrfc.pyx":1939 + /* "pyrfc/_cyrfc.pyx":1940 * * server_functions[func_name] = { * "func_desc_handle": func_desc_handle, # <<<<<<<<<<<<<< * "callback": callback, * "server": self */ - __pyx_t_1 = __Pyx_PyDict_NewPresized(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1939, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1940, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_6 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_func_desc_handle)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1939, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_func_desc_handle)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1940, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_func_desc_handle, __pyx_t_6) < 0) __PYX_ERR(0, 1939, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_func_desc_handle, __pyx_t_6) < 0) __PYX_ERR(0, 1940, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "pyrfc/_cyrfc.pyx":1940 + /* "pyrfc/_cyrfc.pyx":1941 * server_functions[func_name] = { * "func_desc_handle": func_desc_handle, * "callback": callback, # <<<<<<<<<<<<<< * "server": self * } */ - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_callback, __pyx_v_callback) < 0) __PYX_ERR(0, 1939, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_callback, __pyx_v_callback) < 0) __PYX_ERR(0, 1940, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1941 + /* "pyrfc/_cyrfc.pyx":1942 * "func_desc_handle": func_desc_handle, * "callback": callback, * "server": self # <<<<<<<<<<<<<< * } * */ - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_server, ((PyObject *)__pyx_v_self)) < 0) __PYX_ERR(0, 1939, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_server, ((PyObject *)__pyx_v_self)) < 0) __PYX_ERR(0, 1940, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1938 + /* "pyrfc/_cyrfc.pyx":1939 * raise wrapError(&errorInfo) * * server_functions[func_name] = { # <<<<<<<<<<<<<< * "func_desc_handle": func_desc_handle, * "callback": callback, */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_server_functions); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1938, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_server_functions); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1939, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - if (unlikely(PyObject_SetItem(__pyx_t_6, __pyx_v_func_name, __pyx_t_1) < 0)) __PYX_ERR(0, 1938, __pyx_L1_error) + if (unlikely(PyObject_SetItem(__pyx_t_6, __pyx_v_func_name, __pyx_t_1) < 0)) __PYX_ERR(0, 1939, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1944 + /* "pyrfc/_cyrfc.pyx":1945 * } * * _server_log("Server function installed", func_name) # <<<<<<<<<<<<<< * _server_log("Server function installed", server_functions[func_name]) * */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_server_log); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1944, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_server_log); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1945, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_7 = NULL; __pyx_t_9 = 0; @@ -25764,7 +25764,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_4add_function(struct __pyx_obj_ #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_6)) { PyObject *__pyx_temp[3] = {__pyx_t_7, __pyx_kp_u_Server_function_installed, __pyx_v_func_name}; - __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1944, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1945, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_GOTREF(__pyx_t_1); } else @@ -25772,13 +25772,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_4add_function(struct __pyx_obj_ #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_6)) { PyObject *__pyx_temp[3] = {__pyx_t_7, __pyx_kp_u_Server_function_installed, __pyx_v_func_name}; - __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1944, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1945, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_GOTREF(__pyx_t_1); } else #endif { - __pyx_t_10 = PyTuple_New(2+__pyx_t_9); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1944, __pyx_L1_error) + __pyx_t_10 = PyTuple_New(2+__pyx_t_9); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1945, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); if (__pyx_t_7) { __Pyx_GIVEREF(__pyx_t_7); PyTuple_SET_ITEM(__pyx_t_10, 0, __pyx_t_7); __pyx_t_7 = NULL; @@ -25789,25 +25789,25 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_4add_function(struct __pyx_obj_ __Pyx_INCREF(__pyx_v_func_name); __Pyx_GIVEREF(__pyx_v_func_name); PyTuple_SET_ITEM(__pyx_t_10, 1+__pyx_t_9, __pyx_v_func_name); - __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_10, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1944, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_10, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1945, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; } __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1945 + /* "pyrfc/_cyrfc.pyx":1946 * * _server_log("Server function installed", func_name) * _server_log("Server function installed", server_functions[func_name]) # <<<<<<<<<<<<<< * * def serve(self): */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_server_log); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1945, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_server_log); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1946, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_server_functions); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1945, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_server_functions); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1946, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); - __pyx_t_7 = __Pyx_PyObject_GetItem(__pyx_t_10, __pyx_v_func_name); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1945, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetItem(__pyx_t_10, __pyx_v_func_name); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1946, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __pyx_t_10 = NULL; @@ -25825,7 +25825,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_4add_function(struct __pyx_obj_ #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_6)) { PyObject *__pyx_temp[3] = {__pyx_t_10, __pyx_kp_u_Server_function_installed, __pyx_t_7}; - __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1945, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1946, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; @@ -25834,14 +25834,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_4add_function(struct __pyx_obj_ #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_6)) { PyObject *__pyx_temp[3] = {__pyx_t_10, __pyx_kp_u_Server_function_installed, __pyx_t_7}; - __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1945, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1946, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } else #endif { - __pyx_t_11 = PyTuple_New(2+__pyx_t_9); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1945, __pyx_L1_error) + __pyx_t_11 = PyTuple_New(2+__pyx_t_9); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1946, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_11); if (__pyx_t_10) { __Pyx_GIVEREF(__pyx_t_10); PyTuple_SET_ITEM(__pyx_t_11, 0, __pyx_t_10); __pyx_t_10 = NULL; @@ -25852,14 +25852,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_4add_function(struct __pyx_obj_ __Pyx_GIVEREF(__pyx_t_7); PyTuple_SET_ITEM(__pyx_t_11, 1+__pyx_t_9, __pyx_t_7); __pyx_t_7 = 0; - __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_11, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1945, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_11, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1946, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; } __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1910 + /* "pyrfc/_cyrfc.pyx":1911 * return rc * * def add_function(self, func_name, callback): # <<<<<<<<<<<<<< @@ -25884,7 +25884,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_4add_function(struct __pyx_obj_ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1947 +/* "pyrfc/_cyrfc.pyx":1948 * _server_log("Server function installed", server_functions[func_name]) * * def serve(self): # <<<<<<<<<<<<<< @@ -25924,7 +25924,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_6serve(struct __pyx_obj_5pyrfc_ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("serve", 0); - /* "pyrfc/_cyrfc.pyx":1956 + /* "pyrfc/_cyrfc.pyx":1957 * cdef RFC_ERROR_INFO errorInfo * * cdef RFC_RC rc = RfcInstallGenericServerFunction(genericHandler, metadataLookup, &errorInfo) # <<<<<<<<<<<<<< @@ -25933,7 +25933,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_6serve(struct __pyx_obj_5pyrfc_ */ __pyx_v_rc = RfcInstallGenericServerFunction(__pyx_f_5pyrfc_6_cyrfc_genericHandler, __pyx_f_5pyrfc_6_cyrfc_metadataLookup, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1957 + /* "pyrfc/_cyrfc.pyx":1958 * * cdef RFC_RC rc = RfcInstallGenericServerFunction(genericHandler, metadataLookup, &errorInfo) * if rc != RFC_OK or errorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -25951,20 +25951,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_6serve(struct __pyx_obj_5pyrfc_ __pyx_L4_bool_binop_done:; if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":1958 + /* "pyrfc/_cyrfc.pyx":1959 * cdef RFC_RC rc = RfcInstallGenericServerFunction(genericHandler, metadataLookup, &errorInfo) * if rc != RFC_OK or errorInfo.code != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * * rc = RfcLaunchServer(self._server_connection._handle, &errorInfo) */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1958, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1959, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 1958, __pyx_L1_error) + __PYX_ERR(0, 1959, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1957 + /* "pyrfc/_cyrfc.pyx":1958 * * cdef RFC_RC rc = RfcInstallGenericServerFunction(genericHandler, metadataLookup, &errorInfo) * if rc != RFC_OK or errorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -25973,7 +25973,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_6serve(struct __pyx_obj_5pyrfc_ */ } - /* "pyrfc/_cyrfc.pyx":1960 + /* "pyrfc/_cyrfc.pyx":1961 * raise wrapError(&errorInfo) * * rc = RfcLaunchServer(self._server_connection._handle, &errorInfo) # <<<<<<<<<<<<<< @@ -25982,7 +25982,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_6serve(struct __pyx_obj_5pyrfc_ */ __pyx_v_rc = RfcLaunchServer(__pyx_v_self->_server_connection->_handle, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":1961 + /* "pyrfc/_cyrfc.pyx":1962 * * rc = RfcLaunchServer(self._server_connection._handle, &errorInfo) * if rc != RFC_OK or errorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -26000,20 +26000,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_6serve(struct __pyx_obj_5pyrfc_ __pyx_L7_bool_binop_done:; if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":1962 + /* "pyrfc/_cyrfc.pyx":1963 * rc = RfcLaunchServer(self._server_connection._handle, &errorInfo) * if rc != RFC_OK or errorInfo.code != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * _server_log("Server", f"launched {self._server_connection.handle}") * */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1962, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1963, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 1962, __pyx_L1_error) + __PYX_ERR(0, 1963, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1961 + /* "pyrfc/_cyrfc.pyx":1962 * * rc = RfcLaunchServer(self._server_connection._handle, &errorInfo) * if rc != RFC_OK or errorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -26022,21 +26022,21 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_6serve(struct __pyx_obj_5pyrfc_ */ } - /* "pyrfc/_cyrfc.pyx":1963 + /* "pyrfc/_cyrfc.pyx":1964 * if rc != RFC_OK or errorInfo.code != RFC_OK: * raise wrapError(&errorInfo) * _server_log("Server", f"launched {self._server_connection.handle}") # <<<<<<<<<<<<<< * * return rc */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_server_log); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1963, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_server_log); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1964, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->_server_connection), __pyx_n_s_handle); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1963, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->_server_connection), __pyx_n_s_handle); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1964, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = __Pyx_PyObject_FormatSimple(__pyx_t_5, __pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1963, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_FormatSimple(__pyx_t_5, __pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1964, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_5 = __Pyx_PyUnicode_Concat(__pyx_kp_u_launched, __pyx_t_6); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1963, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyUnicode_Concat(__pyx_kp_u_launched, __pyx_t_6); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1964, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_6 = NULL; @@ -26054,7 +26054,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_6serve(struct __pyx_obj_5pyrfc_ #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_4)) { PyObject *__pyx_temp[3] = {__pyx_t_6, __pyx_n_u_Server, __pyx_t_5}; - __pyx_t_3 = __Pyx_PyFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_7, 2+__pyx_t_7); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1963, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_7, 2+__pyx_t_7); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1964, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; @@ -26063,14 +26063,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_6serve(struct __pyx_obj_5pyrfc_ #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_4)) { PyObject *__pyx_temp[3] = {__pyx_t_6, __pyx_n_u_Server, __pyx_t_5}; - __pyx_t_3 = __Pyx_PyCFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_7, 2+__pyx_t_7); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1963, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyCFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_7, 2+__pyx_t_7); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1964, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; } else #endif { - __pyx_t_8 = PyTuple_New(2+__pyx_t_7); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1963, __pyx_L1_error) + __pyx_t_8 = PyTuple_New(2+__pyx_t_7); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1964, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); if (__pyx_t_6) { __Pyx_GIVEREF(__pyx_t_6); PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_6); __pyx_t_6 = NULL; @@ -26081,14 +26081,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_6serve(struct __pyx_obj_5pyrfc_ __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_8, 1+__pyx_t_7, __pyx_t_5); __pyx_t_5 = 0; - __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_8, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1963, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_8, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1964, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":1965 + /* "pyrfc/_cyrfc.pyx":1966 * _server_log("Server", f"launched {self._server_connection.handle}") * * return rc # <<<<<<<<<<<<<< @@ -26096,13 +26096,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_6serve(struct __pyx_obj_5pyrfc_ * def start(self): */ __Pyx_XDECREF(__pyx_r); - __pyx_t_3 = __Pyx_PyInt_From_RFC_RC(__pyx_v_rc); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1965, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_From_RFC_RC(__pyx_v_rc); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1966, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_r = __pyx_t_3; __pyx_t_3 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1947 + /* "pyrfc/_cyrfc.pyx":1948 * _server_log("Server function installed", server_functions[func_name]) * * def serve(self): # <<<<<<<<<<<<<< @@ -26125,7 +26125,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_6serve(struct __pyx_obj_5pyrfc_ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1967 +/* "pyrfc/_cyrfc.pyx":1968 * return rc * * def start(self): # <<<<<<<<<<<<<< @@ -26158,14 +26158,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_8start(struct __pyx_obj_5pyrfc_ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("start", 0); - /* "pyrfc/_cyrfc.pyx":1971 + /* "pyrfc/_cyrfc.pyx":1972 * Start the RFC server in new thread, waiting for incoming requests and processes them. * """ * self._server_thread.start() # <<<<<<<<<<<<<< * * def stop(self): */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->_server_thread, __pyx_n_s_start); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1971, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->_server_thread, __pyx_n_s_start); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1972, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -26179,12 +26179,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_8start(struct __pyx_obj_5pyrfc_ } __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1971, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1972, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1967 + /* "pyrfc/_cyrfc.pyx":1968 * return rc * * def start(self): # <<<<<<<<<<<<<< @@ -26207,7 +26207,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_8start(struct __pyx_obj_5pyrfc_ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1973 +/* "pyrfc/_cyrfc.pyx":1974 * self._server_thread.start() * * def stop(self): # <<<<<<<<<<<<<< @@ -26241,14 +26241,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_10stop(struct __pyx_obj_5pyrfc_ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("stop", 0); - /* "pyrfc/_cyrfc.pyx":1977 + /* "pyrfc/_cyrfc.pyx":1978 * Stop the RFC server thread. * """ * if self._server_thread.is_alive(): # <<<<<<<<<<<<<< * self._server_thread.join() * */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->_server_thread, __pyx_n_s_is_alive); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1977, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->_server_thread, __pyx_n_s_is_alive); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1978, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -26262,21 +26262,21 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_10stop(struct __pyx_obj_5pyrfc_ } __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1977, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1978, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 1977, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 1978, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_4) { - /* "pyrfc/_cyrfc.pyx":1978 + /* "pyrfc/_cyrfc.pyx":1979 * """ * if self._server_thread.is_alive(): * self._server_thread.join() # <<<<<<<<<<<<<< * * def close(self): */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->_server_thread, __pyx_n_s_join); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1978, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->_server_thread, __pyx_n_s_join); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1979, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -26290,12 +26290,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_10stop(struct __pyx_obj_5pyrfc_ } __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1978, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1979, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1977 + /* "pyrfc/_cyrfc.pyx":1978 * Stop the RFC server thread. * """ * if self._server_thread.is_alive(): # <<<<<<<<<<<<<< @@ -26304,7 +26304,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_10stop(struct __pyx_obj_5pyrfc_ */ } - /* "pyrfc/_cyrfc.pyx":1973 + /* "pyrfc/_cyrfc.pyx":1974 * self._server_thread.start() * * def stop(self): # <<<<<<<<<<<<<< @@ -26327,7 +26327,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_10stop(struct __pyx_obj_5pyrfc_ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1980 +/* "pyrfc/_cyrfc.pyx":1981 * self._server_thread.join() * * def close(self): # <<<<<<<<<<<<<< @@ -26360,14 +26360,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_12close(struct __pyx_obj_5pyrfc int __pyx_clineno = 0; __Pyx_RefNannySetupContext("close", 0); - /* "pyrfc/_cyrfc.pyx":1987 + /* "pyrfc/_cyrfc.pyx":1988 * servers are registered. * """ * self.stop() # <<<<<<<<<<<<<< * self._close() * */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_stop); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1987, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_stop); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1988, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -26381,19 +26381,19 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_12close(struct __pyx_obj_5pyrfc } __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1987, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1988, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1988 + /* "pyrfc/_cyrfc.pyx":1989 * """ * self.stop() * self._close() # <<<<<<<<<<<<<< * * def get_server_attributes(self): */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_close); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1988, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_close); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1989, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -26407,12 +26407,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_12close(struct __pyx_obj_5pyrfc } __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1988, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1989, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":1980 + /* "pyrfc/_cyrfc.pyx":1981 * self._server_thread.join() * * def close(self): # <<<<<<<<<<<<<< @@ -26435,7 +26435,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_12close(struct __pyx_obj_5pyrfc return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1990 +/* "pyrfc/_cyrfc.pyx":1991 * self._close() * * def get_server_attributes(self): # <<<<<<<<<<<<<< @@ -26477,7 +26477,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_14get_server_attributes(struct int __pyx_clineno = 0; __Pyx_RefNannySetupContext("get_server_attributes", 0); - /* "pyrfc/_cyrfc.pyx":2009 + /* "pyrfc/_cyrfc.pyx":2010 * cdef RFC_ERROR_INFO errorInfo * * rc = RfcGetServerAttributes(self._server_connection._handle, &attributes, &errorInfo) # <<<<<<<<<<<<<< @@ -26486,7 +26486,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_14get_server_attributes(struct */ __pyx_v_rc = RfcGetServerAttributes(__pyx_v_self->_server_connection->_handle, (&__pyx_v_attributes), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2010 + /* "pyrfc/_cyrfc.pyx":2011 * * rc = RfcGetServerAttributes(self._server_connection._handle, &attributes, &errorInfo) * if rc != RFC_OK or errorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -26504,20 +26504,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_14get_server_attributes(struct __pyx_L4_bool_binop_done:; if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2011 + /* "pyrfc/_cyrfc.pyx":2012 * rc = RfcGetServerAttributes(self._server_connection._handle, &attributes, &errorInfo) * if rc != RFC_OK or errorInfo.code != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * rfcServerState = wrapString(RfcGetServerStateAsString(attributes.state), -1, True) * return { */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2011, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2012, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 2011, __pyx_L1_error) + __PYX_ERR(0, 2012, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2010 + /* "pyrfc/_cyrfc.pyx":2011 * * rc = RfcGetServerAttributes(self._server_connection._handle, &attributes, &errorInfo) * if rc != RFC_OK or errorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -26526,7 +26526,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_14get_server_attributes(struct */ } - /* "pyrfc/_cyrfc.pyx":2012 + /* "pyrfc/_cyrfc.pyx":2013 * if rc != RFC_OK or errorInfo.code != RFC_OK: * raise wrapError(&errorInfo) * rfcServerState = wrapString(RfcGetServerStateAsString(attributes.state), -1, True) # <<<<<<<<<<<<<< @@ -26536,12 +26536,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_14get_server_attributes(struct __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_neg_1; __pyx_t_4.rstrip = Py_True; - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(RfcGetServerStateAsString(__pyx_v_attributes.state), &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2012, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(RfcGetServerStateAsString(__pyx_v_attributes.state), &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2013, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_v_rfcServerState = __pyx_t_3; __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":2013 + /* "pyrfc/_cyrfc.pyx":2014 * raise wrapError(&errorInfo) * rfcServerState = wrapString(RfcGetServerStateAsString(attributes.state), -1, True) * return { # <<<<<<<<<<<<<< @@ -26550,24 +26550,24 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_14get_server_attributes(struct */ __Pyx_XDECREF(__pyx_r); - /* "pyrfc/_cyrfc.pyx":2015 + /* "pyrfc/_cyrfc.pyx":2016 * return { * # This server's name as given when creating the server. * 'serverName': wrapString(attributes.serverName, -1, True) # <<<<<<<<<<<<<< * # This RFC server's type. Will be one of RFC_MULTI_COUNT_REGISTERED_SERVER or RFC_TCP_SOCKET_SERVER * , 'protocolType': "multi count" if attributes.type == RFC_MULTI_COUNT_REGISTERED_SERVER */ - __pyx_t_3 = __Pyx_PyDict_NewPresized(6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2015, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyDict_NewPresized(6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2016, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_neg_1; __pyx_t_4.rstrip = Py_True; - __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.serverName, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2015, __pyx_L1_error) + __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.serverName, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2016, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_serverName, __pyx_t_5) < 0) __PYX_ERR(0, 2015, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_serverName, __pyx_t_5) < 0) __PYX_ERR(0, 2016, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "pyrfc/_cyrfc.pyx":2017 + /* "pyrfc/_cyrfc.pyx":2018 * 'serverName': wrapString(attributes.serverName, -1, True) * # This RFC server's type. Will be one of RFC_MULTI_COUNT_REGISTERED_SERVER or RFC_TCP_SOCKET_SERVER * , 'protocolType': "multi count" if attributes.type == RFC_MULTI_COUNT_REGISTERED_SERVER # <<<<<<<<<<<<<< @@ -26579,16 +26579,16 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_14get_server_attributes(struct __pyx_t_5 = __pyx_kp_u_multi_count; } else { - /* "pyrfc/_cyrfc.pyx":2018 + /* "pyrfc/_cyrfc.pyx":2019 * # This RFC server's type. Will be one of RFC_MULTI_COUNT_REGISTERED_SERVER or RFC_TCP_SOCKET_SERVER * , 'protocolType': "multi count" if attributes.type == RFC_MULTI_COUNT_REGISTERED_SERVER * else socket.gethostname() # Own host name # <<<<<<<<<<<<<< * # The current number of active registrations (in case of a Registered Server) * # or the maximum number of parallel connections the server will accept (in case of a TCP Socket Server) */ - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_socket); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2018, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_socket); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2019, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_gethostname); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2018, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_gethostname); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2019, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_7 = NULL; @@ -26603,64 +26603,64 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_14get_server_attributes(struct } __pyx_t_6 = (__pyx_t_7) ? __Pyx_PyObject_CallOneArg(__pyx_t_8, __pyx_t_7) : __Pyx_PyObject_CallNoArg(__pyx_t_8); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2018, __pyx_L1_error) + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2019, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_5 = __pyx_t_6; __pyx_t_6 = 0; } - if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_protocolType, __pyx_t_5) < 0) __PYX_ERR(0, 2015, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_protocolType, __pyx_t_5) < 0) __PYX_ERR(0, 2016, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "pyrfc/_cyrfc.pyx":2021 + /* "pyrfc/_cyrfc.pyx":2022 * # The current number of active registrations (in case of a Registered Server) * # or the maximum number of parallel connections the server will accept (in case of a TCP Socket Server) * , 'registrationCount': attributes.registrationCount # <<<<<<<<<<<<<< * # Used in state information in order to indicate the current state of an RFC Server. * , 'state': rfcServerState */ - __pyx_t_5 = __Pyx_PyInt_From_unsigned_int(__pyx_v_attributes.registrationCount); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2021, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_unsigned_int(__pyx_v_attributes.registrationCount); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2022, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_registrationCount, __pyx_t_5) < 0) __PYX_ERR(0, 2015, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_registrationCount, __pyx_t_5) < 0) __PYX_ERR(0, 2016, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "pyrfc/_cyrfc.pyx":2023 + /* "pyrfc/_cyrfc.pyx":2024 * , 'registrationCount': attributes.registrationCount * # Used in state information in order to indicate the current state of an RFC Server. * , 'state': rfcServerState # <<<<<<<<<<<<<< * # The number of requests currently being processed. * , 'currentBusyCount': attributes.currentBusyCount */ - if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_state, __pyx_v_rfcServerState) < 0) __PYX_ERR(0, 2015, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_state, __pyx_v_rfcServerState) < 0) __PYX_ERR(0, 2016, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2025 + /* "pyrfc/_cyrfc.pyx":2026 * , 'state': rfcServerState * # The number of requests currently being processed. * , 'currentBusyCount': attributes.currentBusyCount # <<<<<<<<<<<<<< * # The maximum number of requests the server has been processing in parallel since it has been created * , 'peakBusyCount': attributes.peakBusyCount */ - __pyx_t_5 = __Pyx_PyInt_From_unsigned_int(__pyx_v_attributes.currentBusyCount); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2025, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_unsigned_int(__pyx_v_attributes.currentBusyCount); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2026, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_currentBusyCount, __pyx_t_5) < 0) __PYX_ERR(0, 2015, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_currentBusyCount, __pyx_t_5) < 0) __PYX_ERR(0, 2016, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "pyrfc/_cyrfc.pyx":2027 + /* "pyrfc/_cyrfc.pyx":2028 * , 'currentBusyCount': attributes.currentBusyCount * # The maximum number of requests the server has been processing in parallel since it has been created * , 'peakBusyCount': attributes.peakBusyCount # <<<<<<<<<<<<<< * } * */ - __pyx_t_5 = __Pyx_PyInt_From_unsigned_int(__pyx_v_attributes.peakBusyCount); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2027, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_unsigned_int(__pyx_v_attributes.peakBusyCount); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2028, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_peakBusyCount, __pyx_t_5) < 0) __PYX_ERR(0, 2015, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_u_peakBusyCount, __pyx_t_5) < 0) __PYX_ERR(0, 2016, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_r = __pyx_t_3; __pyx_t_3 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":1990 + /* "pyrfc/_cyrfc.pyx":1991 * self._close() * * def get_server_attributes(self): # <<<<<<<<<<<<<< @@ -26684,7 +26684,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_14get_server_attributes(struct return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2030 +/* "pyrfc/_cyrfc.pyx":2031 * } * * def _close(self): # <<<<<<<<<<<<<< @@ -26725,24 +26725,24 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_16_close(struct __pyx_obj_5pyrf int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_close", 0); - /* "pyrfc/_cyrfc.pyx":2036 + /* "pyrfc/_cyrfc.pyx":2037 * """ * # Shutdown server * if self._server_connection: # <<<<<<<<<<<<<< * self._server_connection.close() * # Remove all installed server functions */ - __pyx_t_1 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_v_self->_server_connection)); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 2036, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_v_self->_server_connection)); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 2037, __pyx_L1_error) if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":2037 + /* "pyrfc/_cyrfc.pyx":2038 * # Shutdown server * if self._server_connection: * self._server_connection.close() # <<<<<<<<<<<<<< * # Remove all installed server functions * after_remove = {} */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->_server_connection), __pyx_n_s_close_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2037, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->_server_connection), __pyx_n_s_close_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2038, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_3))) { @@ -26756,12 +26756,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_16_close(struct __pyx_obj_5pyrf } __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_4) : __Pyx_PyObject_CallNoArg(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2037, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2038, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2036 + /* "pyrfc/_cyrfc.pyx":2037 * """ * # Shutdown server * if self._server_connection: # <<<<<<<<<<<<<< @@ -26770,19 +26770,19 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_16_close(struct __pyx_obj_5pyrf */ } - /* "pyrfc/_cyrfc.pyx":2039 + /* "pyrfc/_cyrfc.pyx":2040 * self._server_connection.close() * # Remove all installed server functions * after_remove = {} # <<<<<<<<<<<<<< * global server_functions * for func_name, func_data in server_functions.items(): */ - __pyx_t_2 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2039, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2040, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v_after_remove = ((PyObject*)__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2041 + /* "pyrfc/_cyrfc.pyx":2042 * after_remove = {} * global server_functions * for func_name, func_data in server_functions.items(): # <<<<<<<<<<<<<< @@ -26790,13 +26790,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_16_close(struct __pyx_obj_5pyrf * after_remove[func_name] = func_data */ __pyx_t_5 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_server_functions); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2041, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_server_functions); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2042, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely(__pyx_t_3 == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "items"); - __PYX_ERR(0, 2041, __pyx_L1_error) + __PYX_ERR(0, 2042, __pyx_L1_error) } - __pyx_t_4 = __Pyx_dict_iterator(__pyx_t_3, 0, __pyx_n_s_items, (&__pyx_t_6), (&__pyx_t_7)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2041, __pyx_L1_error) + __pyx_t_4 = __Pyx_dict_iterator(__pyx_t_3, 0, __pyx_n_s_items, (&__pyx_t_6), (&__pyx_t_7)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2042, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_XDECREF(__pyx_t_2); @@ -26805,7 +26805,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_16_close(struct __pyx_obj_5pyrf while (1) { __pyx_t_8 = __Pyx_dict_iter_next(__pyx_t_2, __pyx_t_6, &__pyx_t_5, &__pyx_t_4, &__pyx_t_3, NULL, __pyx_t_7); if (unlikely(__pyx_t_8 == 0)) break; - if (unlikely(__pyx_t_8 == -1)) __PYX_ERR(0, 2041, __pyx_L1_error) + if (unlikely(__pyx_t_8 == -1)) __PYX_ERR(0, 2042, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_GOTREF(__pyx_t_3); __Pyx_XDECREF_SET(__pyx_v_func_name, __pyx_t_4); @@ -26813,31 +26813,31 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_16_close(struct __pyx_obj_5pyrf __Pyx_XDECREF_SET(__pyx_v_func_data, __pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":2042 + /* "pyrfc/_cyrfc.pyx":2043 * global server_functions * for func_name, func_data in server_functions.items(): * if func_data["server"] != self: # <<<<<<<<<<<<<< * after_remove[func_name] = func_data * server_functions = after_remove */ - __pyx_t_3 = __Pyx_PyObject_Dict_GetItem(__pyx_v_func_data, __pyx_n_u_server); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2042, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_Dict_GetItem(__pyx_v_func_data, __pyx_n_u_server); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2043, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = PyObject_RichCompare(__pyx_t_3, ((PyObject *)__pyx_v_self), Py_NE); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2042, __pyx_L1_error) + __pyx_t_4 = PyObject_RichCompare(__pyx_t_3, ((PyObject *)__pyx_v_self), Py_NE); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2043, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 2042, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 2043, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":2043 + /* "pyrfc/_cyrfc.pyx":2044 * for func_name, func_data in server_functions.items(): * if func_data["server"] != self: * after_remove[func_name] = func_data # <<<<<<<<<<<<<< * server_functions = after_remove * */ - if (unlikely(PyDict_SetItem(__pyx_v_after_remove, __pyx_v_func_name, __pyx_v_func_data) < 0)) __PYX_ERR(0, 2043, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_after_remove, __pyx_v_func_name, __pyx_v_func_data) < 0)) __PYX_ERR(0, 2044, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2042 + /* "pyrfc/_cyrfc.pyx":2043 * global server_functions * for func_name, func_data in server_functions.items(): * if func_data["server"] != self: # <<<<<<<<<<<<<< @@ -26848,16 +26848,16 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_16_close(struct __pyx_obj_5pyrf } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2044 + /* "pyrfc/_cyrfc.pyx":2045 * if func_data["server"] != self: * after_remove[func_name] = func_data * server_functions = after_remove # <<<<<<<<<<<<<< * * cdef _error(self, RFC_ERROR_INFO* errorInfo): */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_server_functions, __pyx_v_after_remove) < 0) __PYX_ERR(0, 2044, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_server_functions, __pyx_v_after_remove) < 0) __PYX_ERR(0, 2045, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2030 + /* "pyrfc/_cyrfc.pyx":2031 * } * * def _close(self): # <<<<<<<<<<<<<< @@ -26883,7 +26883,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_16_close(struct __pyx_obj_5pyrf return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2046 +/* "pyrfc/_cyrfc.pyx":2047 * server_functions = after_remove * * cdef _error(self, RFC_ERROR_INFO* errorInfo): # <<<<<<<<<<<<<< @@ -26900,20 +26900,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_6Server__error(CYTHON_UNUSED struct __py int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_error", 0); - /* "pyrfc/_cyrfc.pyx":2061 + /* "pyrfc/_cyrfc.pyx":2062 * # self.alive = False * * raise wrapError(errorInfo) # <<<<<<<<<<<<<< * * */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError(__pyx_v_errorInfo); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2061, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError(__pyx_v_errorInfo); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2062, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 2061, __pyx_L1_error) + __PYX_ERR(0, 2062, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2046 + /* "pyrfc/_cyrfc.pyx":2047 * server_functions = after_remove * * cdef _error(self, RFC_ERROR_INFO* errorInfo): # <<<<<<<<<<<<<< @@ -26931,7 +26931,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_6Server__error(CYTHON_UNUSED struct __py return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1755 +/* "pyrfc/_cyrfc.pyx":1756 * thereof if the connection attempt fails. * """ * cdef public bint debug # <<<<<<<<<<<<<< @@ -26961,7 +26961,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_5debug___get__(struct __pyx_obj int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->debug); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1755, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->debug); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1756, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; @@ -26999,7 +26999,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_6Server_5debug_2__set__(struct __pyx_obj_5pyr const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__set__", 0); - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1755, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1756, __pyx_L1_error) __pyx_v_self->debug = __pyx_t_1; /* function exit code */ @@ -27013,7 +27013,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_6Server_5debug_2__set__(struct __pyx_obj_5pyr return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":1756 +/* "pyrfc/_cyrfc.pyx":1757 * """ * cdef public bint debug * cdef public bint rstrip # <<<<<<<<<<<<<< @@ -27043,7 +27043,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_6rstrip___get__(struct __pyx_ob int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->rstrip); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1756, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->rstrip); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1757, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; @@ -27081,7 +27081,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_6Server_6rstrip_2__set__(struct __pyx_obj_5py const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__set__", 0); - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1756, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1757, __pyx_L1_error) __pyx_v_self->rstrip = __pyx_t_1; /* function exit code */ @@ -27208,7 +27208,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_6Server_20__setstate_cython__(CYTHON_UN return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2064 +/* "pyrfc/_cyrfc.pyx":2065 * * * cdef RFC_TYPE_DESC_HANDLE fillTypeDescription(type_desc): # <<<<<<<<<<<<<< @@ -27243,7 +27243,7 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject int __pyx_clineno = 0; __Pyx_RefNannySetupContext("fillTypeDescription", 0); - /* "pyrfc/_cyrfc.pyx":2069 + /* "pyrfc/_cyrfc.pyx":2070 * :return: Handle of RFC_TYPE_DESC_HANDLE * """ * cdef RFC_RC rc = RFC_OK # <<<<<<<<<<<<<< @@ -27252,20 +27252,20 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject */ __pyx_v_rc = RFC_OK; - /* "pyrfc/_cyrfc.pyx":2076 + /* "pyrfc/_cyrfc.pyx":2077 * * # Set name, nuc_length, and uc_length * sapuc = fillString(type_desc.name) # <<<<<<<<<<<<<< * typeDesc = RfcCreateTypeDesc(sapuc, &errorInfo) * free(sapuc) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_type_desc, __pyx_n_s_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2076, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_type_desc, __pyx_n_s_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2077, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_1); if (unlikely(__pyx_t_2 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2076, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_1); if (unlikely(__pyx_t_2 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2077, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_sapuc = __pyx_t_2; - /* "pyrfc/_cyrfc.pyx":2077 + /* "pyrfc/_cyrfc.pyx":2078 * # Set name, nuc_length, and uc_length * sapuc = fillString(type_desc.name) * typeDesc = RfcCreateTypeDesc(sapuc, &errorInfo) # <<<<<<<<<<<<<< @@ -27274,7 +27274,7 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject */ __pyx_v_typeDesc = RfcCreateTypeDesc(__pyx_v_sapuc, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2078 + /* "pyrfc/_cyrfc.pyx":2079 * sapuc = fillString(type_desc.name) * typeDesc = RfcCreateTypeDesc(sapuc, &errorInfo) * free(sapuc) # <<<<<<<<<<<<<< @@ -27283,7 +27283,7 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject */ free(__pyx_v_sapuc); - /* "pyrfc/_cyrfc.pyx":2079 + /* "pyrfc/_cyrfc.pyx":2080 * typeDesc = RfcCreateTypeDesc(sapuc, &errorInfo) * free(sapuc) * if typeDesc == NULL: # <<<<<<<<<<<<<< @@ -27293,20 +27293,20 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject __pyx_t_3 = ((__pyx_v_typeDesc == NULL) != 0); if (unlikely(__pyx_t_3)) { - /* "pyrfc/_cyrfc.pyx":2080 + /* "pyrfc/_cyrfc.pyx":2081 * free(sapuc) * if typeDesc == NULL: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * rc = RfcSetTypeLength(typeDesc, type_desc.nuc_length, type_desc.uc_length, &errorInfo) * if rc != RFC_OK: */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2080, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2081, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 2080, __pyx_L1_error) + __PYX_ERR(0, 2081, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2079 + /* "pyrfc/_cyrfc.pyx":2080 * typeDesc = RfcCreateTypeDesc(sapuc, &errorInfo) * free(sapuc) * if typeDesc == NULL: # <<<<<<<<<<<<<< @@ -27315,24 +27315,24 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject */ } - /* "pyrfc/_cyrfc.pyx":2081 + /* "pyrfc/_cyrfc.pyx":2082 * if typeDesc == NULL: * raise wrapError(&errorInfo) * rc = RfcSetTypeLength(typeDesc, type_desc.nuc_length, type_desc.uc_length, &errorInfo) # <<<<<<<<<<<<<< * if rc != RFC_OK: * RfcDestroyTypeDesc(typeDesc, NULL) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_type_desc, __pyx_n_s_nuc_length); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2081, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_type_desc, __pyx_n_s_nuc_length); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2082, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_4 = __Pyx_PyInt_As_unsigned_int(__pyx_t_1); if (unlikely((__pyx_t_4 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2081, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_As_unsigned_int(__pyx_t_1); if (unlikely((__pyx_t_4 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2082, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_type_desc, __pyx_n_s_uc_length); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2081, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_type_desc, __pyx_n_s_uc_length); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2082, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyInt_As_unsigned_int(__pyx_t_1); if (unlikely((__pyx_t_5 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2081, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_As_unsigned_int(__pyx_t_1); if (unlikely((__pyx_t_5 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2082, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_rc = RfcSetTypeLength(__pyx_v_typeDesc, __pyx_t_4, __pyx_t_5, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2082 + /* "pyrfc/_cyrfc.pyx":2083 * raise wrapError(&errorInfo) * rc = RfcSetTypeLength(typeDesc, type_desc.nuc_length, type_desc.uc_length, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -27342,7 +27342,7 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject __pyx_t_3 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_3)) { - /* "pyrfc/_cyrfc.pyx":2083 + /* "pyrfc/_cyrfc.pyx":2084 * rc = RfcSetTypeLength(typeDesc, type_desc.nuc_length, type_desc.uc_length, &errorInfo) * if rc != RFC_OK: * RfcDestroyTypeDesc(typeDesc, NULL) # <<<<<<<<<<<<<< @@ -27351,20 +27351,20 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject */ (void)(RfcDestroyTypeDesc(__pyx_v_typeDesc, NULL)); - /* "pyrfc/_cyrfc.pyx":2084 + /* "pyrfc/_cyrfc.pyx":2085 * if rc != RFC_OK: * RfcDestroyTypeDesc(typeDesc, NULL) * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * * for field_desc in type_desc.fields: */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2084, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2085, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 2084, __pyx_L1_error) + __PYX_ERR(0, 2085, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2082 + /* "pyrfc/_cyrfc.pyx":2083 * raise wrapError(&errorInfo) * rc = RfcSetTypeLength(typeDesc, type_desc.nuc_length, type_desc.uc_length, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -27373,22 +27373,22 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject */ } - /* "pyrfc/_cyrfc.pyx":2086 + /* "pyrfc/_cyrfc.pyx":2087 * raise wrapError(&errorInfo) * * for field_desc in type_desc.fields: # <<<<<<<<<<<<<< * # Set name * sapuc = fillString(field_desc['name']) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_type_desc, __pyx_n_s_fields); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2086, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_type_desc, __pyx_n_s_fields); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2087, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (likely(PyList_CheckExact(__pyx_t_1)) || PyTuple_CheckExact(__pyx_t_1)) { __pyx_t_6 = __pyx_t_1; __Pyx_INCREF(__pyx_t_6); __pyx_t_7 = 0; __pyx_t_8 = NULL; } else { - __pyx_t_7 = -1; __pyx_t_6 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2086, __pyx_L1_error) + __pyx_t_7 = -1; __pyx_t_6 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2087, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_8 = Py_TYPE(__pyx_t_6)->tp_iternext; if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2086, __pyx_L1_error) + __pyx_t_8 = Py_TYPE(__pyx_t_6)->tp_iternext; if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2087, __pyx_L1_error) } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; for (;;) { @@ -27396,17 +27396,17 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject if (likely(PyList_CheckExact(__pyx_t_6))) { if (__pyx_t_7 >= PyList_GET_SIZE(__pyx_t_6)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_1 = PyList_GET_ITEM(__pyx_t_6, __pyx_t_7); __Pyx_INCREF(__pyx_t_1); __pyx_t_7++; if (unlikely(0 < 0)) __PYX_ERR(0, 2086, __pyx_L1_error) + __pyx_t_1 = PyList_GET_ITEM(__pyx_t_6, __pyx_t_7); __Pyx_INCREF(__pyx_t_1); __pyx_t_7++; if (unlikely(0 < 0)) __PYX_ERR(0, 2087, __pyx_L1_error) #else - __pyx_t_1 = PySequence_ITEM(__pyx_t_6, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2086, __pyx_L1_error) + __pyx_t_1 = PySequence_ITEM(__pyx_t_6, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2087, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); #endif } else { if (__pyx_t_7 >= PyTuple_GET_SIZE(__pyx_t_6)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_6, __pyx_t_7); __Pyx_INCREF(__pyx_t_1); __pyx_t_7++; if (unlikely(0 < 0)) __PYX_ERR(0, 2086, __pyx_L1_error) + __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_6, __pyx_t_7); __Pyx_INCREF(__pyx_t_1); __pyx_t_7++; if (unlikely(0 < 0)) __PYX_ERR(0, 2087, __pyx_L1_error) #else - __pyx_t_1 = PySequence_ITEM(__pyx_t_6, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2086, __pyx_L1_error) + __pyx_t_1 = PySequence_ITEM(__pyx_t_6, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2087, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); #endif } @@ -27416,7 +27416,7 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 2086, __pyx_L1_error) + else __PYX_ERR(0, 2087, __pyx_L1_error) } break; } @@ -27425,33 +27425,33 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject __Pyx_XDECREF_SET(__pyx_v_field_desc, __pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2088 + /* "pyrfc/_cyrfc.pyx":2089 * for field_desc in type_desc.fields: * # Set name * sapuc = fillString(field_desc['name']) # <<<<<<<<<<<<<< * strncpyU(fieldDesc.name, sapuc, len(field_desc['name']) + 1) * free(sapuc) */ - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_field_desc, __pyx_n_u_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2088, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_field_desc, __pyx_n_u_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2089, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_1); if (unlikely(__pyx_t_2 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2088, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_1); if (unlikely(__pyx_t_2 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2089, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_sapuc = __pyx_t_2; - /* "pyrfc/_cyrfc.pyx":2089 + /* "pyrfc/_cyrfc.pyx":2090 * # Set name * sapuc = fillString(field_desc['name']) * strncpyU(fieldDesc.name, sapuc, len(field_desc['name']) + 1) # <<<<<<<<<<<<<< * free(sapuc) * fieldDesc.type = RfcFieldType[field_desc['field_type']].value */ - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_field_desc, __pyx_n_u_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2089, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_field_desc, __pyx_n_u_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2090, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_9 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2089, __pyx_L1_error) + __pyx_t_9 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2090, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; strncpyU(__pyx_v_fieldDesc.name, __pyx_v_sapuc, (__pyx_t_9 + 1)); - /* "pyrfc/_cyrfc.pyx":2090 + /* "pyrfc/_cyrfc.pyx":2091 * sapuc = fillString(field_desc['name']) * strncpyU(fieldDesc.name, sapuc, len(field_desc['name']) + 1) * free(sapuc) # <<<<<<<<<<<<<< @@ -27460,120 +27460,120 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject */ free(__pyx_v_sapuc); - /* "pyrfc/_cyrfc.pyx":2091 + /* "pyrfc/_cyrfc.pyx":2092 * strncpyU(fieldDesc.name, sapuc, len(field_desc['name']) + 1) * free(sapuc) * fieldDesc.type = RfcFieldType[field_desc['field_type']].value # <<<<<<<<<<<<<< * fieldDesc.nucLength = field_desc['nuc_length'] * fieldDesc.nucOffset = field_desc['nuc_offset'] */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_RfcFieldType); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2091, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_RfcFieldType); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2092, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_10 = __Pyx_PyObject_Dict_GetItem(__pyx_v_field_desc, __pyx_n_u_field_type); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 2091, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_Dict_GetItem(__pyx_v_field_desc, __pyx_n_u_field_type); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 2092, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); - __pyx_t_11 = __Pyx_PyObject_GetItem(__pyx_t_1, __pyx_t_10); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2091, __pyx_L1_error) + __pyx_t_11 = __Pyx_PyObject_GetItem(__pyx_t_1, __pyx_t_10); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2092, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_11, __pyx_n_s_value); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 2091, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_11, __pyx_n_s_value); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 2092, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - __pyx_t_12 = ((RFCTYPE)__Pyx_PyInt_As_RFCTYPE(__pyx_t_10)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 2091, __pyx_L1_error) + __pyx_t_12 = ((RFCTYPE)__Pyx_PyInt_As_RFCTYPE(__pyx_t_10)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 2092, __pyx_L1_error) __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __pyx_v_fieldDesc.type = __pyx_t_12; - /* "pyrfc/_cyrfc.pyx":2092 + /* "pyrfc/_cyrfc.pyx":2093 * free(sapuc) * fieldDesc.type = RfcFieldType[field_desc['field_type']].value * fieldDesc.nucLength = field_desc['nuc_length'] # <<<<<<<<<<<<<< * fieldDesc.nucOffset = field_desc['nuc_offset'] * fieldDesc.ucLength = field_desc['uc_length'] */ - __pyx_t_10 = __Pyx_PyObject_Dict_GetItem(__pyx_v_field_desc, __pyx_n_u_nuc_length); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 2092, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_Dict_GetItem(__pyx_v_field_desc, __pyx_n_u_nuc_length); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 2093, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); - __pyx_t_5 = __Pyx_PyInt_As_unsigned_int(__pyx_t_10); if (unlikely((__pyx_t_5 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2092, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_As_unsigned_int(__pyx_t_10); if (unlikely((__pyx_t_5 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2093, __pyx_L1_error) __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __pyx_v_fieldDesc.nucLength = __pyx_t_5; - /* "pyrfc/_cyrfc.pyx":2093 + /* "pyrfc/_cyrfc.pyx":2094 * fieldDesc.type = RfcFieldType[field_desc['field_type']].value * fieldDesc.nucLength = field_desc['nuc_length'] * fieldDesc.nucOffset = field_desc['nuc_offset'] # <<<<<<<<<<<<<< * fieldDesc.ucLength = field_desc['uc_length'] * fieldDesc.ucOffset = field_desc['uc_offset'] */ - __pyx_t_10 = __Pyx_PyObject_Dict_GetItem(__pyx_v_field_desc, __pyx_n_u_nuc_offset); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 2093, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_Dict_GetItem(__pyx_v_field_desc, __pyx_n_u_nuc_offset); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 2094, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); - __pyx_t_5 = __Pyx_PyInt_As_unsigned_int(__pyx_t_10); if (unlikely((__pyx_t_5 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2093, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_As_unsigned_int(__pyx_t_10); if (unlikely((__pyx_t_5 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2094, __pyx_L1_error) __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __pyx_v_fieldDesc.nucOffset = __pyx_t_5; - /* "pyrfc/_cyrfc.pyx":2094 + /* "pyrfc/_cyrfc.pyx":2095 * fieldDesc.nucLength = field_desc['nuc_length'] * fieldDesc.nucOffset = field_desc['nuc_offset'] * fieldDesc.ucLength = field_desc['uc_length'] # <<<<<<<<<<<<<< * fieldDesc.ucOffset = field_desc['uc_offset'] * fieldDesc.decimals = field_desc['decimals'] */ - __pyx_t_10 = __Pyx_PyObject_Dict_GetItem(__pyx_v_field_desc, __pyx_n_u_uc_length); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 2094, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_Dict_GetItem(__pyx_v_field_desc, __pyx_n_u_uc_length); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 2095, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); - __pyx_t_5 = __Pyx_PyInt_As_unsigned_int(__pyx_t_10); if (unlikely((__pyx_t_5 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2094, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_As_unsigned_int(__pyx_t_10); if (unlikely((__pyx_t_5 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2095, __pyx_L1_error) __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __pyx_v_fieldDesc.ucLength = __pyx_t_5; - /* "pyrfc/_cyrfc.pyx":2095 + /* "pyrfc/_cyrfc.pyx":2096 * fieldDesc.nucOffset = field_desc['nuc_offset'] * fieldDesc.ucLength = field_desc['uc_length'] * fieldDesc.ucOffset = field_desc['uc_offset'] # <<<<<<<<<<<<<< * fieldDesc.decimals = field_desc['decimals'] * if field_desc['type_description'] is not None: */ - __pyx_t_10 = __Pyx_PyObject_Dict_GetItem(__pyx_v_field_desc, __pyx_n_u_uc_offset); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 2095, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_Dict_GetItem(__pyx_v_field_desc, __pyx_n_u_uc_offset); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 2096, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); - __pyx_t_5 = __Pyx_PyInt_As_unsigned_int(__pyx_t_10); if (unlikely((__pyx_t_5 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2095, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_As_unsigned_int(__pyx_t_10); if (unlikely((__pyx_t_5 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2096, __pyx_L1_error) __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __pyx_v_fieldDesc.ucOffset = __pyx_t_5; - /* "pyrfc/_cyrfc.pyx":2096 + /* "pyrfc/_cyrfc.pyx":2097 * fieldDesc.ucLength = field_desc['uc_length'] * fieldDesc.ucOffset = field_desc['uc_offset'] * fieldDesc.decimals = field_desc['decimals'] # <<<<<<<<<<<<<< * if field_desc['type_description'] is not None: * fieldDesc.typeDescHandle = fillTypeDescription(field_desc['type_description']) */ - __pyx_t_10 = __Pyx_PyObject_Dict_GetItem(__pyx_v_field_desc, __pyx_n_u_decimals); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 2096, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_Dict_GetItem(__pyx_v_field_desc, __pyx_n_u_decimals); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 2097, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); - __pyx_t_5 = __Pyx_PyInt_As_unsigned_int(__pyx_t_10); if (unlikely((__pyx_t_5 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2096, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_As_unsigned_int(__pyx_t_10); if (unlikely((__pyx_t_5 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2097, __pyx_L1_error) __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __pyx_v_fieldDesc.decimals = __pyx_t_5; - /* "pyrfc/_cyrfc.pyx":2097 + /* "pyrfc/_cyrfc.pyx":2098 * fieldDesc.ucOffset = field_desc['uc_offset'] * fieldDesc.decimals = field_desc['decimals'] * if field_desc['type_description'] is not None: # <<<<<<<<<<<<<< * fieldDesc.typeDescHandle = fillTypeDescription(field_desc['type_description']) * else: */ - __pyx_t_10 = __Pyx_PyObject_Dict_GetItem(__pyx_v_field_desc, __pyx_n_u_type_description); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 2097, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_Dict_GetItem(__pyx_v_field_desc, __pyx_n_u_type_description); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 2098, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); __pyx_t_3 = (__pyx_t_10 != Py_None); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __pyx_t_13 = (__pyx_t_3 != 0); if (__pyx_t_13) { - /* "pyrfc/_cyrfc.pyx":2098 + /* "pyrfc/_cyrfc.pyx":2099 * fieldDesc.decimals = field_desc['decimals'] * if field_desc['type_description'] is not None: * fieldDesc.typeDescHandle = fillTypeDescription(field_desc['type_description']) # <<<<<<<<<<<<<< * else: * fieldDesc.typeDescHandle = NULL */ - __pyx_t_10 = __Pyx_PyObject_Dict_GetItem(__pyx_v_field_desc, __pyx_n_u_type_description); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 2098, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_Dict_GetItem(__pyx_v_field_desc, __pyx_n_u_type_description); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 2099, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); __pyx_v_fieldDesc.typeDescHandle = __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(__pyx_t_10); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - /* "pyrfc/_cyrfc.pyx":2097 + /* "pyrfc/_cyrfc.pyx":2098 * fieldDesc.ucOffset = field_desc['uc_offset'] * fieldDesc.decimals = field_desc['decimals'] * if field_desc['type_description'] is not None: # <<<<<<<<<<<<<< @@ -27583,7 +27583,7 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject goto __pyx_L7; } - /* "pyrfc/_cyrfc.pyx":2100 + /* "pyrfc/_cyrfc.pyx":2101 * fieldDesc.typeDescHandle = fillTypeDescription(field_desc['type_description']) * else: * fieldDesc.typeDescHandle = NULL # <<<<<<<<<<<<<< @@ -27595,7 +27595,7 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject } __pyx_L7:; - /* "pyrfc/_cyrfc.pyx":2101 + /* "pyrfc/_cyrfc.pyx":2102 * else: * fieldDesc.typeDescHandle = NULL * fieldDesc.extendedDescription = NULL # <<<<<<<<<<<<<< @@ -27604,7 +27604,7 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject */ __pyx_v_fieldDesc.extendedDescription = NULL; - /* "pyrfc/_cyrfc.pyx":2102 + /* "pyrfc/_cyrfc.pyx":2103 * fieldDesc.typeDescHandle = NULL * fieldDesc.extendedDescription = NULL * rc = RfcAddTypeField(typeDesc, &fieldDesc, &errorInfo) # <<<<<<<<<<<<<< @@ -27613,7 +27613,7 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject */ __pyx_v_rc = RfcAddTypeField(__pyx_v_typeDesc, (&__pyx_v_fieldDesc), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2103 + /* "pyrfc/_cyrfc.pyx":2104 * fieldDesc.extendedDescription = NULL * rc = RfcAddTypeField(typeDesc, &fieldDesc, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -27623,7 +27623,7 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject __pyx_t_13 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_13)) { - /* "pyrfc/_cyrfc.pyx":2104 + /* "pyrfc/_cyrfc.pyx":2105 * rc = RfcAddTypeField(typeDesc, &fieldDesc, &errorInfo) * if rc != RFC_OK: * RfcDestroyTypeDesc(typeDesc, NULL) # <<<<<<<<<<<<<< @@ -27632,20 +27632,20 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject */ (void)(RfcDestroyTypeDesc(__pyx_v_typeDesc, NULL)); - /* "pyrfc/_cyrfc.pyx":2105 + /* "pyrfc/_cyrfc.pyx":2106 * if rc != RFC_OK: * RfcDestroyTypeDesc(typeDesc, NULL) * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * * return typeDesc */ - __pyx_t_10 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 2105, __pyx_L1_error) + __pyx_t_10 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 2106, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_Raise(__pyx_t_10, 0, 0, 0); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - __PYX_ERR(0, 2105, __pyx_L1_error) + __PYX_ERR(0, 2106, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2103 + /* "pyrfc/_cyrfc.pyx":2104 * fieldDesc.extendedDescription = NULL * rc = RfcAddTypeField(typeDesc, &fieldDesc, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -27654,7 +27654,7 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject */ } - /* "pyrfc/_cyrfc.pyx":2086 + /* "pyrfc/_cyrfc.pyx":2087 * raise wrapError(&errorInfo) * * for field_desc in type_desc.fields: # <<<<<<<<<<<<<< @@ -27664,7 +27664,7 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject } __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "pyrfc/_cyrfc.pyx":2107 + /* "pyrfc/_cyrfc.pyx":2108 * raise wrapError(&errorInfo) * * return typeDesc # <<<<<<<<<<<<<< @@ -27674,7 +27674,7 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject __pyx_r = __pyx_v_typeDesc; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2064 + /* "pyrfc/_cyrfc.pyx":2065 * * * cdef RFC_TYPE_DESC_HANDLE fillTypeDescription(type_desc): # <<<<<<<<<<<<<< @@ -27696,7 +27696,7 @@ static RFC_TYPE_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(PyObject return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2109 +/* "pyrfc/_cyrfc.pyx":2110 * return typeDesc * * cdef RFC_FUNCTION_DESC_HANDLE fillFunctionDescription(func_desc): # <<<<<<<<<<<<<< @@ -27731,20 +27731,20 @@ static RFC_FUNCTION_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillFunctionDescription(P int __pyx_clineno = 0; __Pyx_RefNannySetupContext("fillFunctionDescription", 0); - /* "pyrfc/_cyrfc.pyx":2120 + /* "pyrfc/_cyrfc.pyx":2121 * * # Set name * sapuc = fillString(func_desc.name) # <<<<<<<<<<<<<< * funcDesc = RfcCreateFunctionDesc(sapuc, &errorInfo) * free(sapuc) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_func_desc, __pyx_n_s_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2120, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_func_desc, __pyx_n_s_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2121, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_1); if (unlikely(__pyx_t_2 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2120, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_1); if (unlikely(__pyx_t_2 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2121, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_sapuc = __pyx_t_2; - /* "pyrfc/_cyrfc.pyx":2121 + /* "pyrfc/_cyrfc.pyx":2122 * # Set name * sapuc = fillString(func_desc.name) * funcDesc = RfcCreateFunctionDesc(sapuc, &errorInfo) # <<<<<<<<<<<<<< @@ -27753,7 +27753,7 @@ static RFC_FUNCTION_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillFunctionDescription(P */ __pyx_v_funcDesc = RfcCreateFunctionDesc(__pyx_v_sapuc, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2122 + /* "pyrfc/_cyrfc.pyx":2123 * sapuc = fillString(func_desc.name) * funcDesc = RfcCreateFunctionDesc(sapuc, &errorInfo) * free(sapuc) # <<<<<<<<<<<<<< @@ -27762,7 +27762,7 @@ static RFC_FUNCTION_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillFunctionDescription(P */ free(__pyx_v_sapuc); - /* "pyrfc/_cyrfc.pyx":2123 + /* "pyrfc/_cyrfc.pyx":2124 * funcDesc = RfcCreateFunctionDesc(sapuc, &errorInfo) * free(sapuc) * if funcDesc == NULL: # <<<<<<<<<<<<<< @@ -27772,20 +27772,20 @@ static RFC_FUNCTION_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillFunctionDescription(P __pyx_t_3 = ((__pyx_v_funcDesc == NULL) != 0); if (unlikely(__pyx_t_3)) { - /* "pyrfc/_cyrfc.pyx":2124 + /* "pyrfc/_cyrfc.pyx":2125 * free(sapuc) * if funcDesc == NULL: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * * for param_desc in func_desc.parameters: */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2124, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2125, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 2124, __pyx_L1_error) + __PYX_ERR(0, 2125, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2123 + /* "pyrfc/_cyrfc.pyx":2124 * funcDesc = RfcCreateFunctionDesc(sapuc, &errorInfo) * free(sapuc) * if funcDesc == NULL: # <<<<<<<<<<<<<< @@ -27794,22 +27794,22 @@ static RFC_FUNCTION_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillFunctionDescription(P */ } - /* "pyrfc/_cyrfc.pyx":2126 + /* "pyrfc/_cyrfc.pyx":2127 * raise wrapError(&errorInfo) * * for param_desc in func_desc.parameters: # <<<<<<<<<<<<<< * sapuc = fillString(param_desc['name']) * strncpyU(paramDesc.name, sapuc, len(param_desc['name']) + 1) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_func_desc, __pyx_n_s_parameters); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2126, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_func_desc, __pyx_n_s_parameters); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2127, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (likely(PyList_CheckExact(__pyx_t_1)) || PyTuple_CheckExact(__pyx_t_1)) { __pyx_t_4 = __pyx_t_1; __Pyx_INCREF(__pyx_t_4); __pyx_t_5 = 0; __pyx_t_6 = NULL; } else { - __pyx_t_5 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2126, __pyx_L1_error) + __pyx_t_5 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2127, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = Py_TYPE(__pyx_t_4)->tp_iternext; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2126, __pyx_L1_error) + __pyx_t_6 = Py_TYPE(__pyx_t_4)->tp_iternext; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2127, __pyx_L1_error) } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; for (;;) { @@ -27817,17 +27817,17 @@ static RFC_FUNCTION_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillFunctionDescription(P if (likely(PyList_CheckExact(__pyx_t_4))) { if (__pyx_t_5 >= PyList_GET_SIZE(__pyx_t_4)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_1 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_1); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 2126, __pyx_L1_error) + __pyx_t_1 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_1); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 2127, __pyx_L1_error) #else - __pyx_t_1 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2126, __pyx_L1_error) + __pyx_t_1 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2127, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); #endif } else { if (__pyx_t_5 >= PyTuple_GET_SIZE(__pyx_t_4)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_1); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 2126, __pyx_L1_error) + __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_1); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 2127, __pyx_L1_error) #else - __pyx_t_1 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2126, __pyx_L1_error) + __pyx_t_1 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2127, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); #endif } @@ -27837,7 +27837,7 @@ static RFC_FUNCTION_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillFunctionDescription(P PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 2126, __pyx_L1_error) + else __PYX_ERR(0, 2127, __pyx_L1_error) } break; } @@ -27846,33 +27846,33 @@ static RFC_FUNCTION_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillFunctionDescription(P __Pyx_XDECREF_SET(__pyx_v_param_desc, __pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2127 + /* "pyrfc/_cyrfc.pyx":2128 * * for param_desc in func_desc.parameters: * sapuc = fillString(param_desc['name']) # <<<<<<<<<<<<<< * strncpyU(paramDesc.name, sapuc, len(param_desc['name']) + 1) * free(sapuc) */ - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2127, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2128, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_1); if (unlikely(__pyx_t_2 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2127, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_1); if (unlikely(__pyx_t_2 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2128, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_sapuc = __pyx_t_2; - /* "pyrfc/_cyrfc.pyx":2128 + /* "pyrfc/_cyrfc.pyx":2129 * for param_desc in func_desc.parameters: * sapuc = fillString(param_desc['name']) * strncpyU(paramDesc.name, sapuc, len(param_desc['name']) + 1) # <<<<<<<<<<<<<< * free(sapuc) * paramDesc.type = RfcFieldType[param_desc['parameter_type']].value */ - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2128, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2129, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_7 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_7 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2128, __pyx_L1_error) + __pyx_t_7 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_7 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2129, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; strncpyU(__pyx_v_paramDesc.name, __pyx_v_sapuc, (__pyx_t_7 + 1)); - /* "pyrfc/_cyrfc.pyx":2129 + /* "pyrfc/_cyrfc.pyx":2130 * sapuc = fillString(param_desc['name']) * strncpyU(paramDesc.name, sapuc, len(param_desc['name']) + 1) * free(sapuc) # <<<<<<<<<<<<<< @@ -27881,116 +27881,116 @@ static RFC_FUNCTION_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillFunctionDescription(P */ free(__pyx_v_sapuc); - /* "pyrfc/_cyrfc.pyx":2130 + /* "pyrfc/_cyrfc.pyx":2131 * strncpyU(paramDesc.name, sapuc, len(param_desc['name']) + 1) * free(sapuc) * paramDesc.type = RfcFieldType[param_desc['parameter_type']].value # <<<<<<<<<<<<<< * paramDesc.direction = RfcParameterDirection[param_desc['direction']].value * paramDesc.nucLength = param_desc['nuc_length'] */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_RfcFieldType); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2130, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_RfcFieldType); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2131, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_8 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_parameter_type); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2130, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_parameter_type); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2131, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); - __pyx_t_9 = __Pyx_PyObject_GetItem(__pyx_t_1, __pyx_t_8); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2130, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_GetItem(__pyx_t_1, __pyx_t_8); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2131, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_value); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2130, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_value); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2131, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - __pyx_t_10 = ((RFCTYPE)__Pyx_PyInt_As_RFCTYPE(__pyx_t_8)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 2130, __pyx_L1_error) + __pyx_t_10 = ((RFCTYPE)__Pyx_PyInt_As_RFCTYPE(__pyx_t_8)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 2131, __pyx_L1_error) __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_v_paramDesc.type = __pyx_t_10; - /* "pyrfc/_cyrfc.pyx":2131 + /* "pyrfc/_cyrfc.pyx":2132 * free(sapuc) * paramDesc.type = RfcFieldType[param_desc['parameter_type']].value * paramDesc.direction = RfcParameterDirection[param_desc['direction']].value # <<<<<<<<<<<<<< * paramDesc.nucLength = param_desc['nuc_length'] * paramDesc.ucLength = param_desc['uc_length'] */ - __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_RfcParameterDirection); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2131, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_RfcParameterDirection); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2132, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); - __pyx_t_9 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_direction); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2131, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_direction); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2132, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - __pyx_t_1 = __Pyx_PyObject_GetItem(__pyx_t_8, __pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2131, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetItem(__pyx_t_8, __pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2132, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_value); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2131, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_value); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2132, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_11 = ((RFC_DIRECTION)__Pyx_PyInt_As_RFC_DIRECTION(__pyx_t_9)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 2131, __pyx_L1_error) + __pyx_t_11 = ((RFC_DIRECTION)__Pyx_PyInt_As_RFC_DIRECTION(__pyx_t_9)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 2132, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __pyx_v_paramDesc.direction = __pyx_t_11; - /* "pyrfc/_cyrfc.pyx":2132 + /* "pyrfc/_cyrfc.pyx":2133 * paramDesc.type = RfcFieldType[param_desc['parameter_type']].value * paramDesc.direction = RfcParameterDirection[param_desc['direction']].value * paramDesc.nucLength = param_desc['nuc_length'] # <<<<<<<<<<<<<< * paramDesc.ucLength = param_desc['uc_length'] * paramDesc.decimals = param_desc['decimals'] */ - __pyx_t_9 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_nuc_length); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2132, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_nuc_length); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2133, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - __pyx_t_12 = __Pyx_PyInt_As_unsigned_int(__pyx_t_9); if (unlikely((__pyx_t_12 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2132, __pyx_L1_error) + __pyx_t_12 = __Pyx_PyInt_As_unsigned_int(__pyx_t_9); if (unlikely((__pyx_t_12 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2133, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __pyx_v_paramDesc.nucLength = __pyx_t_12; - /* "pyrfc/_cyrfc.pyx":2133 + /* "pyrfc/_cyrfc.pyx":2134 * paramDesc.direction = RfcParameterDirection[param_desc['direction']].value * paramDesc.nucLength = param_desc['nuc_length'] * paramDesc.ucLength = param_desc['uc_length'] # <<<<<<<<<<<<<< * paramDesc.decimals = param_desc['decimals'] * # defaultValue */ - __pyx_t_9 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_uc_length); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2133, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_uc_length); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2134, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - __pyx_t_12 = __Pyx_PyInt_As_unsigned_int(__pyx_t_9); if (unlikely((__pyx_t_12 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2133, __pyx_L1_error) + __pyx_t_12 = __Pyx_PyInt_As_unsigned_int(__pyx_t_9); if (unlikely((__pyx_t_12 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2134, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __pyx_v_paramDesc.ucLength = __pyx_t_12; - /* "pyrfc/_cyrfc.pyx":2134 + /* "pyrfc/_cyrfc.pyx":2135 * paramDesc.nucLength = param_desc['nuc_length'] * paramDesc.ucLength = param_desc['uc_length'] * paramDesc.decimals = param_desc['decimals'] # <<<<<<<<<<<<<< * # defaultValue * sapuc = fillString(param_desc['default_value']) */ - __pyx_t_9 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_decimals); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2134, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_decimals); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2135, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - __pyx_t_12 = __Pyx_PyInt_As_unsigned_int(__pyx_t_9); if (unlikely((__pyx_t_12 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2134, __pyx_L1_error) + __pyx_t_12 = __Pyx_PyInt_As_unsigned_int(__pyx_t_9); if (unlikely((__pyx_t_12 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2135, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __pyx_v_paramDesc.decimals = __pyx_t_12; - /* "pyrfc/_cyrfc.pyx":2136 + /* "pyrfc/_cyrfc.pyx":2137 * paramDesc.decimals = param_desc['decimals'] * # defaultValue * sapuc = fillString(param_desc['default_value']) # <<<<<<<<<<<<<< * strncpyU(paramDesc.defaultValue, sapuc, len(param_desc['default_value']) + 1) * free(sapuc) */ - __pyx_t_9 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_default_value); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2136, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_default_value); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2137, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_9); if (unlikely(__pyx_t_2 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2136, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_9); if (unlikely(__pyx_t_2 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2137, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __pyx_v_sapuc = __pyx_t_2; - /* "pyrfc/_cyrfc.pyx":2137 + /* "pyrfc/_cyrfc.pyx":2138 * # defaultValue * sapuc = fillString(param_desc['default_value']) * strncpyU(paramDesc.defaultValue, sapuc, len(param_desc['default_value']) + 1) # <<<<<<<<<<<<<< * free(sapuc) * # parameterText */ - __pyx_t_9 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_default_value); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2137, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_default_value); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2138, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - __pyx_t_7 = PyObject_Length(__pyx_t_9); if (unlikely(__pyx_t_7 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2137, __pyx_L1_error) + __pyx_t_7 = PyObject_Length(__pyx_t_9); if (unlikely(__pyx_t_7 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2138, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; strncpyU(__pyx_v_paramDesc.defaultValue, __pyx_v_sapuc, (__pyx_t_7 + 1)); - /* "pyrfc/_cyrfc.pyx":2138 + /* "pyrfc/_cyrfc.pyx":2139 * sapuc = fillString(param_desc['default_value']) * strncpyU(paramDesc.defaultValue, sapuc, len(param_desc['default_value']) + 1) * free(sapuc) # <<<<<<<<<<<<<< @@ -27999,33 +27999,33 @@ static RFC_FUNCTION_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillFunctionDescription(P */ free(__pyx_v_sapuc); - /* "pyrfc/_cyrfc.pyx":2140 + /* "pyrfc/_cyrfc.pyx":2141 * free(sapuc) * # parameterText * sapuc = fillString(param_desc['parameter_text']) # <<<<<<<<<<<<<< * strncpyU(paramDesc.parameterText, sapuc, len(param_desc['parameter_text']) + 1) * free(sapuc) */ - __pyx_t_9 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_parameter_text); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2140, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_parameter_text); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2141, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_9); if (unlikely(__pyx_t_2 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2140, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_9); if (unlikely(__pyx_t_2 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2141, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __pyx_v_sapuc = __pyx_t_2; - /* "pyrfc/_cyrfc.pyx":2141 + /* "pyrfc/_cyrfc.pyx":2142 * # parameterText * sapuc = fillString(param_desc['parameter_text']) * strncpyU(paramDesc.parameterText, sapuc, len(param_desc['parameter_text']) + 1) # <<<<<<<<<<<<<< * free(sapuc) * paramDesc.optional = param_desc['optional'] */ - __pyx_t_9 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_parameter_text); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2141, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_parameter_text); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2142, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - __pyx_t_7 = PyObject_Length(__pyx_t_9); if (unlikely(__pyx_t_7 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2141, __pyx_L1_error) + __pyx_t_7 = PyObject_Length(__pyx_t_9); if (unlikely(__pyx_t_7 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2142, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; strncpyU(__pyx_v_paramDesc.parameterText, __pyx_v_sapuc, (__pyx_t_7 + 1)); - /* "pyrfc/_cyrfc.pyx":2142 + /* "pyrfc/_cyrfc.pyx":2143 * sapuc = fillString(param_desc['parameter_text']) * strncpyU(paramDesc.parameterText, sapuc, len(param_desc['parameter_text']) + 1) * free(sapuc) # <<<<<<<<<<<<<< @@ -28034,46 +28034,46 @@ static RFC_FUNCTION_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillFunctionDescription(P */ free(__pyx_v_sapuc); - /* "pyrfc/_cyrfc.pyx":2143 + /* "pyrfc/_cyrfc.pyx":2144 * strncpyU(paramDesc.parameterText, sapuc, len(param_desc['parameter_text']) + 1) * free(sapuc) * paramDesc.optional = param_desc['optional'] # <<<<<<<<<<<<<< * if param_desc['type_description'] is not None: * paramDesc.typeDescHandle = fillTypeDescription(param_desc['type_description']) */ - __pyx_t_9 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_optional); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2143, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_optional); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2144, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 2143, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 2144, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __pyx_v_paramDesc.optional = __pyx_t_3; - /* "pyrfc/_cyrfc.pyx":2144 + /* "pyrfc/_cyrfc.pyx":2145 * free(sapuc) * paramDesc.optional = param_desc['optional'] * if param_desc['type_description'] is not None: # <<<<<<<<<<<<<< * paramDesc.typeDescHandle = fillTypeDescription(param_desc['type_description']) * else: */ - __pyx_t_9 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_type_description); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2144, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_type_description); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2145, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __pyx_t_3 = (__pyx_t_9 != Py_None); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __pyx_t_13 = (__pyx_t_3 != 0); if (__pyx_t_13) { - /* "pyrfc/_cyrfc.pyx":2145 + /* "pyrfc/_cyrfc.pyx":2146 * paramDesc.optional = param_desc['optional'] * if param_desc['type_description'] is not None: * paramDesc.typeDescHandle = fillTypeDescription(param_desc['type_description']) # <<<<<<<<<<<<<< * else: * paramDesc.typeDescHandle = NULL */ - __pyx_t_9 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_type_description); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2145, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_Dict_GetItem(__pyx_v_param_desc, __pyx_n_u_type_description); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2146, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __pyx_v_paramDesc.typeDescHandle = __pyx_f_5pyrfc_6_cyrfc_fillTypeDescription(__pyx_t_9); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - /* "pyrfc/_cyrfc.pyx":2144 + /* "pyrfc/_cyrfc.pyx":2145 * free(sapuc) * paramDesc.optional = param_desc['optional'] * if param_desc['type_description'] is not None: # <<<<<<<<<<<<<< @@ -28083,7 +28083,7 @@ static RFC_FUNCTION_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillFunctionDescription(P goto __pyx_L6; } - /* "pyrfc/_cyrfc.pyx":2147 + /* "pyrfc/_cyrfc.pyx":2148 * paramDesc.typeDescHandle = fillTypeDescription(param_desc['type_description']) * else: * paramDesc.typeDescHandle = NULL # <<<<<<<<<<<<<< @@ -28095,7 +28095,7 @@ static RFC_FUNCTION_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillFunctionDescription(P } __pyx_L6:; - /* "pyrfc/_cyrfc.pyx":2148 + /* "pyrfc/_cyrfc.pyx":2149 * else: * paramDesc.typeDescHandle = NULL * paramDesc.extendedDescription = NULL # <<<<<<<<<<<<<< @@ -28104,7 +28104,7 @@ static RFC_FUNCTION_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillFunctionDescription(P */ __pyx_v_paramDesc.extendedDescription = NULL; - /* "pyrfc/_cyrfc.pyx":2149 + /* "pyrfc/_cyrfc.pyx":2150 * paramDesc.typeDescHandle = NULL * paramDesc.extendedDescription = NULL * rc = RfcAddParameter(funcDesc, ¶mDesc, &errorInfo) # <<<<<<<<<<<<<< @@ -28113,7 +28113,7 @@ static RFC_FUNCTION_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillFunctionDescription(P */ __pyx_v_rc = RfcAddParameter(__pyx_v_funcDesc, (&__pyx_v_paramDesc), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2150 + /* "pyrfc/_cyrfc.pyx":2151 * paramDesc.extendedDescription = NULL * rc = RfcAddParameter(funcDesc, ¶mDesc, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -28123,7 +28123,7 @@ static RFC_FUNCTION_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillFunctionDescription(P __pyx_t_13 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_13)) { - /* "pyrfc/_cyrfc.pyx":2151 + /* "pyrfc/_cyrfc.pyx":2152 * rc = RfcAddParameter(funcDesc, ¶mDesc, &errorInfo) * if rc != RFC_OK: * RfcDestroyFunctionDesc(funcDesc, NULL) # <<<<<<<<<<<<<< @@ -28132,20 +28132,20 @@ static RFC_FUNCTION_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillFunctionDescription(P */ (void)(RfcDestroyFunctionDesc(__pyx_v_funcDesc, NULL)); - /* "pyrfc/_cyrfc.pyx":2152 + /* "pyrfc/_cyrfc.pyx":2153 * if rc != RFC_OK: * RfcDestroyFunctionDesc(funcDesc, NULL) * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * * return funcDesc */ - __pyx_t_9 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2152, __pyx_L1_error) + __pyx_t_9 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2153, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_Raise(__pyx_t_9, 0, 0, 0); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - __PYX_ERR(0, 2152, __pyx_L1_error) + __PYX_ERR(0, 2153, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2150 + /* "pyrfc/_cyrfc.pyx":2151 * paramDesc.extendedDescription = NULL * rc = RfcAddParameter(funcDesc, ¶mDesc, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -28154,7 +28154,7 @@ static RFC_FUNCTION_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillFunctionDescription(P */ } - /* "pyrfc/_cyrfc.pyx":2126 + /* "pyrfc/_cyrfc.pyx":2127 * raise wrapError(&errorInfo) * * for param_desc in func_desc.parameters: # <<<<<<<<<<<<<< @@ -28164,7 +28164,7 @@ static RFC_FUNCTION_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillFunctionDescription(P } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":2154 + /* "pyrfc/_cyrfc.pyx":2155 * raise wrapError(&errorInfo) * * return funcDesc # <<<<<<<<<<<<<< @@ -28174,7 +28174,7 @@ static RFC_FUNCTION_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillFunctionDescription(P __pyx_r = __pyx_v_funcDesc; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2109 + /* "pyrfc/_cyrfc.pyx":2110 * return typeDesc * * cdef RFC_FUNCTION_DESC_HANDLE fillFunctionDescription(func_desc): # <<<<<<<<<<<<<< @@ -28196,7 +28196,7 @@ static RFC_FUNCTION_DESC_HANDLE __pyx_f_5pyrfc_6_cyrfc_fillFunctionDescription(P return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2156 +/* "pyrfc/_cyrfc.pyx":2157 * return funcDesc * * cdef RFC_UNIT_IDENTIFIER fillUnitIdentifier(unit) except *: # <<<<<<<<<<<<<< @@ -28223,16 +28223,16 @@ static RFC_UNIT_IDENTIFIER __pyx_f_5pyrfc_6_cyrfc_fillUnitIdentifier(PyObject *_ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("fillUnitIdentifier", 0); - /* "pyrfc/_cyrfc.pyx":2159 + /* "pyrfc/_cyrfc.pyx":2160 * cdef RFC_UNIT_IDENTIFIER uIdentifier * cdef SAP_UC* sapuc * uIdentifier.unitType = fillString("Q" if unit['queued'] else "T")[0] # <<<<<<<<<<<<<< * if len(unit['id']) != RFC_UNITID_LN: * raise RFCError(f"Invalid length of unit['id'] (should be {RFC_UNITID_LN}, but found {len(unit['id'])}).") */ - __pyx_t_2 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit, __pyx_n_u_queued); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2159, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit, __pyx_n_u_queued); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2160, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 2159, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 2160, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (__pyx_t_3) { __Pyx_INCREF(__pyx_n_u_Q); @@ -28241,34 +28241,34 @@ static RFC_UNIT_IDENTIFIER __pyx_f_5pyrfc_6_cyrfc_fillUnitIdentifier(PyObject *_ __Pyx_INCREF(__pyx_n_u_T); __pyx_t_1 = __pyx_n_u_T; } - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_1); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2159, __pyx_L1_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_1); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2160, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_uIdentifier.unitType = (__pyx_t_4[0]); - /* "pyrfc/_cyrfc.pyx":2160 + /* "pyrfc/_cyrfc.pyx":2161 * cdef SAP_UC* sapuc * uIdentifier.unitType = fillString("Q" if unit['queued'] else "T")[0] * if len(unit['id']) != RFC_UNITID_LN: # <<<<<<<<<<<<<< * raise RFCError(f"Invalid length of unit['id'] (should be {RFC_UNITID_LN}, but found {len(unit['id'])}).") * sapuc = fillString(unit['id']) */ - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit, __pyx_n_u_id); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2160, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit, __pyx_n_u_id); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2161, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2160, __pyx_L1_error) + __pyx_t_5 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2161, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_3 = ((__pyx_t_5 != RFC_UNITID_LN) != 0); if (unlikely(__pyx_t_3)) { - /* "pyrfc/_cyrfc.pyx":2161 + /* "pyrfc/_cyrfc.pyx":2162 * uIdentifier.unitType = fillString("Q" if unit['queued'] else "T")[0] * if len(unit['id']) != RFC_UNITID_LN: * raise RFCError(f"Invalid length of unit['id'] (should be {RFC_UNITID_LN}, but found {len(unit['id'])}).") # <<<<<<<<<<<<<< * sapuc = fillString(unit['id']) * strncpyU(uIdentifier.unitID, sapuc, RFC_UNITID_LN + 1) */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2161, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2162, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_6 = PyTuple_New(5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2161, __pyx_L1_error) + __pyx_t_6 = PyTuple_New(5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2162, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = 0; __pyx_t_7 = 127; @@ -28276,7 +28276,7 @@ static RFC_UNIT_IDENTIFIER __pyx_f_5pyrfc_6_cyrfc_fillUnitIdentifier(PyObject *_ __pyx_t_5 += 40; __Pyx_GIVEREF(__pyx_kp_u_Invalid_length_of_unit_id_should); PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_kp_u_Invalid_length_of_unit_id_should); - __pyx_t_8 = __Pyx_PyUnicode_From_int(RFC_UNITID_LN, 0, ' ', 'd'); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2161, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyUnicode_From_int(RFC_UNITID_LN, 0, ' ', 'd'); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2162, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_5 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_8); __Pyx_GIVEREF(__pyx_t_8); @@ -28286,11 +28286,11 @@ static RFC_UNIT_IDENTIFIER __pyx_f_5pyrfc_6_cyrfc_fillUnitIdentifier(PyObject *_ __pyx_t_5 += 12; __Pyx_GIVEREF(__pyx_kp_u_but_found); PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_kp_u_but_found); - __pyx_t_8 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit, __pyx_n_u_id); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2161, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit, __pyx_n_u_id); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2162, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); - __pyx_t_9 = PyObject_Length(__pyx_t_8); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2161, __pyx_L1_error) + __pyx_t_9 = PyObject_Length(__pyx_t_8); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2162, __pyx_L1_error) __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __pyx_t_8 = __Pyx_PyUnicode_From_Py_ssize_t(__pyx_t_9, 0, ' ', 'd'); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2161, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyUnicode_From_Py_ssize_t(__pyx_t_9, 0, ' ', 'd'); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2162, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_5 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_8); __Pyx_GIVEREF(__pyx_t_8); @@ -28300,7 +28300,7 @@ static RFC_UNIT_IDENTIFIER __pyx_f_5pyrfc_6_cyrfc_fillUnitIdentifier(PyObject *_ __pyx_t_5 += 2; __Pyx_GIVEREF(__pyx_kp_u__29); PyTuple_SET_ITEM(__pyx_t_6, 4, __pyx_kp_u__29); - __pyx_t_8 = __Pyx_PyUnicode_Join(__pyx_t_6, 5, __pyx_t_5, __pyx_t_7); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2161, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyUnicode_Join(__pyx_t_6, 5, __pyx_t_5, __pyx_t_7); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2162, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_6 = NULL; @@ -28316,14 +28316,14 @@ static RFC_UNIT_IDENTIFIER __pyx_f_5pyrfc_6_cyrfc_fillUnitIdentifier(PyObject *_ __pyx_t_1 = (__pyx_t_6) ? __Pyx_PyObject_Call2Args(__pyx_t_2, __pyx_t_6, __pyx_t_8) : __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_8); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2161, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2162, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 2161, __pyx_L1_error) + __PYX_ERR(0, 2162, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2160 + /* "pyrfc/_cyrfc.pyx":2161 * cdef SAP_UC* sapuc * uIdentifier.unitType = fillString("Q" if unit['queued'] else "T")[0] * if len(unit['id']) != RFC_UNITID_LN: # <<<<<<<<<<<<<< @@ -28332,20 +28332,20 @@ static RFC_UNIT_IDENTIFIER __pyx_f_5pyrfc_6_cyrfc_fillUnitIdentifier(PyObject *_ */ } - /* "pyrfc/_cyrfc.pyx":2162 + /* "pyrfc/_cyrfc.pyx":2163 * if len(unit['id']) != RFC_UNITID_LN: * raise RFCError(f"Invalid length of unit['id'] (should be {RFC_UNITID_LN}, but found {len(unit['id'])}).") * sapuc = fillString(unit['id']) # <<<<<<<<<<<<<< * strncpyU(uIdentifier.unitID, sapuc, RFC_UNITID_LN + 1) * free(sapuc) */ - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit, __pyx_n_u_id); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2162, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_v_unit, __pyx_n_u_id); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2163, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_1); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2162, __pyx_L1_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_1); if (unlikely(__pyx_t_4 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2163, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_sapuc = __pyx_t_4; - /* "pyrfc/_cyrfc.pyx":2163 + /* "pyrfc/_cyrfc.pyx":2164 * raise RFCError(f"Invalid length of unit['id'] (should be {RFC_UNITID_LN}, but found {len(unit['id'])}).") * sapuc = fillString(unit['id']) * strncpyU(uIdentifier.unitID, sapuc, RFC_UNITID_LN + 1) # <<<<<<<<<<<<<< @@ -28354,7 +28354,7 @@ static RFC_UNIT_IDENTIFIER __pyx_f_5pyrfc_6_cyrfc_fillUnitIdentifier(PyObject *_ */ strncpyU(__pyx_v_uIdentifier.unitID, __pyx_v_sapuc, (RFC_UNITID_LN + 1)); - /* "pyrfc/_cyrfc.pyx":2164 + /* "pyrfc/_cyrfc.pyx":2165 * sapuc = fillString(unit['id']) * strncpyU(uIdentifier.unitID, sapuc, RFC_UNITID_LN + 1) * free(sapuc) # <<<<<<<<<<<<<< @@ -28363,7 +28363,7 @@ static RFC_UNIT_IDENTIFIER __pyx_f_5pyrfc_6_cyrfc_fillUnitIdentifier(PyObject *_ */ free(__pyx_v_sapuc); - /* "pyrfc/_cyrfc.pyx":2165 + /* "pyrfc/_cyrfc.pyx":2166 * strncpyU(uIdentifier.unitID, sapuc, RFC_UNITID_LN + 1) * free(sapuc) * return uIdentifier # <<<<<<<<<<<<<< @@ -28373,7 +28373,7 @@ static RFC_UNIT_IDENTIFIER __pyx_f_5pyrfc_6_cyrfc_fillUnitIdentifier(PyObject *_ __pyx_r = __pyx_v_uIdentifier; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2156 + /* "pyrfc/_cyrfc.pyx":2157 * return funcDesc * * cdef RFC_UNIT_IDENTIFIER fillUnitIdentifier(unit) except *: # <<<<<<<<<<<<<< @@ -28394,7 +28394,7 @@ static RFC_UNIT_IDENTIFIER __pyx_f_5pyrfc_6_cyrfc_fillUnitIdentifier(PyObject *_ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2178 +/* "pyrfc/_cyrfc.pyx":2179 * cdef _connections * * def __init__(self, connections = None): # <<<<<<<<<<<<<< @@ -28434,7 +28434,7 @@ static int __pyx_pw_5pyrfc_6_cyrfc_10Throughput_1__init__(PyObject *__pyx_v_self } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) __PYX_ERR(0, 2178, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) __PYX_ERR(0, 2179, __pyx_L3_error) } } else { switch (PyTuple_GET_SIZE(__pyx_args)) { @@ -28448,7 +28448,7 @@ static int __pyx_pw_5pyrfc_6_cyrfc_10Throughput_1__init__(PyObject *__pyx_v_self } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__init__", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 2178, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__init__", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 2179, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("pyrfc._cyrfc.Throughput.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -28481,7 +28481,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Throughput___init__(struct __pyx_obj_5pyrfc __Pyx_RefNannySetupContext("__init__", 0); __Pyx_INCREF(__pyx_v_connections); - /* "pyrfc/_cyrfc.pyx":2180 + /* "pyrfc/_cyrfc.pyx":2181 * def __init__(self, connections = None): * cdef RFC_ERROR_INFO errorInfo * self._throughput_handle = NULL # <<<<<<<<<<<<<< @@ -28490,14 +28490,14 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Throughput___init__(struct __pyx_obj_5pyrfc */ __pyx_v_self->_throughput_handle = NULL; - /* "pyrfc/_cyrfc.pyx":2181 + /* "pyrfc/_cyrfc.pyx":2182 * cdef RFC_ERROR_INFO errorInfo * self._throughput_handle = NULL * self._connections = set() # <<<<<<<<<<<<<< * self._throughput_handle = RfcCreateThroughput(&errorInfo) * if errorInfo.code != RFC_OK: */ - __pyx_t_1 = PySet_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2181, __pyx_L1_error) + __pyx_t_1 = PySet_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2182, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v_self->_connections); @@ -28505,7 +28505,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Throughput___init__(struct __pyx_obj_5pyrfc __pyx_v_self->_connections = __pyx_t_1; __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2182 + /* "pyrfc/_cyrfc.pyx":2183 * self._throughput_handle = NULL * self._connections = set() * self._throughput_handle = RfcCreateThroughput(&errorInfo) # <<<<<<<<<<<<<< @@ -28514,7 +28514,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Throughput___init__(struct __pyx_obj_5pyrfc */ __pyx_v_self->_throughput_handle = RfcCreateThroughput((&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2183 + /* "pyrfc/_cyrfc.pyx":2184 * self._connections = set() * self._throughput_handle = RfcCreateThroughput(&errorInfo) * if errorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -28524,20 +28524,20 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Throughput___init__(struct __pyx_obj_5pyrfc __pyx_t_2 = ((__pyx_v_errorInfo.code != RFC_OK) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":2184 + /* "pyrfc/_cyrfc.pyx":2185 * self._throughput_handle = RfcCreateThroughput(&errorInfo) * if errorInfo.code != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * Throughput._registry.append(self) * connections = connections or [] */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2184, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2185, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 2184, __pyx_L1_error) + __PYX_ERR(0, 2185, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2183 + /* "pyrfc/_cyrfc.pyx":2184 * self._connections = set() * self._throughput_handle = RfcCreateThroughput(&errorInfo) * if errorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -28546,33 +28546,33 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Throughput___init__(struct __pyx_obj_5pyrfc */ } - /* "pyrfc/_cyrfc.pyx":2185 + /* "pyrfc/_cyrfc.pyx":2186 * if errorInfo.code != RFC_OK: * raise wrapError(&errorInfo) * Throughput._registry.append(self) # <<<<<<<<<<<<<< * connections = connections or [] * if type(connections) is not list: */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Throughput), __pyx_n_s_registry); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2185, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Throughput), __pyx_n_s_registry); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2186, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_Append(__pyx_t_1, ((PyObject *)__pyx_v_self)); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(0, 2185, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_Append(__pyx_t_1, ((PyObject *)__pyx_v_self)); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(0, 2186, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2186 + /* "pyrfc/_cyrfc.pyx":2187 * raise wrapError(&errorInfo) * Throughput._registry.append(self) * connections = connections or [] # <<<<<<<<<<<<<< * if type(connections) is not list: * connections = [connections] */ - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_connections); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 2186, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_connections); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 2187, __pyx_L1_error) if (!__pyx_t_2) { } else { __Pyx_INCREF(__pyx_v_connections); __pyx_t_1 = __pyx_v_connections; goto __pyx_L4_bool_binop_done; } - __pyx_t_4 = PyList_New(0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2186, __pyx_L1_error) + __pyx_t_4 = PyList_New(0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2187, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(__pyx_t_4); __pyx_t_1 = __pyx_t_4; @@ -28581,7 +28581,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Throughput___init__(struct __pyx_obj_5pyrfc __Pyx_DECREF_SET(__pyx_v_connections, __pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2187 + /* "pyrfc/_cyrfc.pyx":2188 * Throughput._registry.append(self) * connections = connections or [] * if type(connections) is not list: # <<<<<<<<<<<<<< @@ -28592,14 +28592,14 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Throughput___init__(struct __pyx_obj_5pyrfc __pyx_t_5 = (__pyx_t_2 != 0); if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":2188 + /* "pyrfc/_cyrfc.pyx":2189 * connections = connections or [] * if type(connections) is not list: * connections = [connections] # <<<<<<<<<<<<<< * for conn in connections: * if not isinstance(conn, Connection): */ - __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2188, __pyx_L1_error) + __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2189, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v_connections); __Pyx_GIVEREF(__pyx_v_connections); @@ -28607,7 +28607,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Throughput___init__(struct __pyx_obj_5pyrfc __Pyx_DECREF_SET(__pyx_v_connections, __pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2187 + /* "pyrfc/_cyrfc.pyx":2188 * Throughput._registry.append(self) * connections = connections or [] * if type(connections) is not list: # <<<<<<<<<<<<<< @@ -28616,7 +28616,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Throughput___init__(struct __pyx_obj_5pyrfc */ } - /* "pyrfc/_cyrfc.pyx":2189 + /* "pyrfc/_cyrfc.pyx":2190 * if type(connections) is not list: * connections = [connections] * for conn in connections: # <<<<<<<<<<<<<< @@ -28627,26 +28627,26 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Throughput___init__(struct __pyx_obj_5pyrfc __pyx_t_1 = __pyx_v_connections; __Pyx_INCREF(__pyx_t_1); __pyx_t_6 = 0; __pyx_t_7 = NULL; } else { - __pyx_t_6 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_v_connections); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2189, __pyx_L1_error) + __pyx_t_6 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_v_connections); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2190, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_7 = Py_TYPE(__pyx_t_1)->tp_iternext; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2189, __pyx_L1_error) + __pyx_t_7 = Py_TYPE(__pyx_t_1)->tp_iternext; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2190, __pyx_L1_error) } for (;;) { if (likely(!__pyx_t_7)) { if (likely(PyList_CheckExact(__pyx_t_1))) { if (__pyx_t_6 >= PyList_GET_SIZE(__pyx_t_1)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_4 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_6); __Pyx_INCREF(__pyx_t_4); __pyx_t_6++; if (unlikely(0 < 0)) __PYX_ERR(0, 2189, __pyx_L1_error) + __pyx_t_4 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_6); __Pyx_INCREF(__pyx_t_4); __pyx_t_6++; if (unlikely(0 < 0)) __PYX_ERR(0, 2190, __pyx_L1_error) #else - __pyx_t_4 = PySequence_ITEM(__pyx_t_1, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2189, __pyx_L1_error) + __pyx_t_4 = PySequence_ITEM(__pyx_t_1, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2190, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #endif } else { if (__pyx_t_6 >= PyTuple_GET_SIZE(__pyx_t_1)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_4 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_6); __Pyx_INCREF(__pyx_t_4); __pyx_t_6++; if (unlikely(0 < 0)) __PYX_ERR(0, 2189, __pyx_L1_error) + __pyx_t_4 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_6); __Pyx_INCREF(__pyx_t_4); __pyx_t_6++; if (unlikely(0 < 0)) __PYX_ERR(0, 2190, __pyx_L1_error) #else - __pyx_t_4 = PySequence_ITEM(__pyx_t_1, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2189, __pyx_L1_error) + __pyx_t_4 = PySequence_ITEM(__pyx_t_1, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2190, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #endif } @@ -28656,7 +28656,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Throughput___init__(struct __pyx_obj_5pyrfc PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 2189, __pyx_L1_error) + else __PYX_ERR(0, 2190, __pyx_L1_error) } break; } @@ -28665,7 +28665,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Throughput___init__(struct __pyx_obj_5pyrfc __Pyx_XDECREF_SET(__pyx_v_conn, __pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":2190 + /* "pyrfc/_cyrfc.pyx":2191 * connections = [connections] * for conn in connections: * if not isinstance(conn, Connection): # <<<<<<<<<<<<<< @@ -28676,14 +28676,14 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Throughput___init__(struct __pyx_obj_5pyrfc __pyx_t_2 = ((!(__pyx_t_5 != 0)) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":2191 + /* "pyrfc/_cyrfc.pyx":2192 * for conn in connections: * if not isinstance(conn, Connection): * raise TypeError('Connection object required, received', conn, 'of type', type(conn)) # <<<<<<<<<<<<<< * self.setOnConnection(conn) * */ - __pyx_t_4 = PyTuple_New(4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2191, __pyx_L1_error) + __pyx_t_4 = PyTuple_New(4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2192, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(__pyx_kp_u_Connection_object_required_recei); __Pyx_GIVEREF(__pyx_kp_u_Connection_object_required_recei); @@ -28697,14 +28697,14 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Throughput___init__(struct __pyx_obj_5pyrfc __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_conn))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(__pyx_v_conn))); PyTuple_SET_ITEM(__pyx_t_4, 3, ((PyObject *)Py_TYPE(__pyx_v_conn))); - __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2191, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2192, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_Raise(__pyx_t_8, 0, 0, 0); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __PYX_ERR(0, 2191, __pyx_L1_error) + __PYX_ERR(0, 2192, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2190 + /* "pyrfc/_cyrfc.pyx":2191 * connections = [connections] * for conn in connections: * if not isinstance(conn, Connection): # <<<<<<<<<<<<<< @@ -28713,14 +28713,14 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Throughput___init__(struct __pyx_obj_5pyrfc */ } - /* "pyrfc/_cyrfc.pyx":2192 + /* "pyrfc/_cyrfc.pyx":2193 * if not isinstance(conn, Connection): * raise TypeError('Connection object required, received', conn, 'of type', type(conn)) * self.setOnConnection(conn) # <<<<<<<<<<<<<< * * @property */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_setOnConnection); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2192, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_setOnConnection); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2193, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_9 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) { @@ -28734,12 +28734,12 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Throughput___init__(struct __pyx_obj_5pyrfc } __pyx_t_8 = (__pyx_t_9) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_9, __pyx_v_conn) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_v_conn); __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; - if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2192, __pyx_L1_error) + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2193, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - /* "pyrfc/_cyrfc.pyx":2189 + /* "pyrfc/_cyrfc.pyx":2190 * if type(connections) is not list: * connections = [connections] * for conn in connections: # <<<<<<<<<<<<<< @@ -28749,7 +28749,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Throughput___init__(struct __pyx_obj_5pyrfc } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2178 + /* "pyrfc/_cyrfc.pyx":2179 * cdef _connections * * def __init__(self, connections = None): # <<<<<<<<<<<<<< @@ -28774,7 +28774,7 @@ static int __pyx_pf_5pyrfc_6_cyrfc_10Throughput___init__(struct __pyx_obj_5pyrfc return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2195 +/* "pyrfc/_cyrfc.pyx":2196 * * @property * def connections(self): # <<<<<<<<<<<<<< @@ -28800,7 +28800,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_11connections___get__(stru __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__get__", 0); - /* "pyrfc/_cyrfc.pyx":2201 + /* "pyrfc/_cyrfc.pyx":2202 * :type: set of Connection * """ * return self._connections # <<<<<<<<<<<<<< @@ -28812,7 +28812,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_11connections___get__(stru __pyx_r = __pyx_v_self->_connections; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2195 + /* "pyrfc/_cyrfc.pyx":2196 * * @property * def connections(self): # <<<<<<<<<<<<<< @@ -28827,7 +28827,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_11connections___get__(stru return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2204 +/* "pyrfc/_cyrfc.pyx":2205 * * @property * def _handle(self): # <<<<<<<<<<<<<< @@ -28857,7 +28857,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_7_handle___get__(struct __ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - /* "pyrfc/_cyrfc.pyx":2210 + /* "pyrfc/_cyrfc.pyx":2211 * :type: uintptr_t * """ * return self._throughput_handle # <<<<<<<<<<<<<< @@ -28865,13 +28865,13 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_7_handle___get__(struct __ * def setOnConnection(self, Connection connection): */ __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_self->_throughput_handle)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2210, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_self->_throughput_handle)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2211, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2204 + /* "pyrfc/_cyrfc.pyx":2205 * * @property * def _handle(self): # <<<<<<<<<<<<<< @@ -28890,7 +28890,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_7_handle___get__(struct __ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2212 +/* "pyrfc/_cyrfc.pyx":2213 * return self._throughput_handle * * def setOnConnection(self, Connection connection): # <<<<<<<<<<<<<< @@ -28908,7 +28908,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Throughput_3setOnConnection(PyObject PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("setOnConnection (wrapper)", 0); - if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_connection), __pyx_ptype_5pyrfc_6_cyrfc_Connection, 1, "connection", 0))) __PYX_ERR(0, 2212, __pyx_L1_error) + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_connection), __pyx_ptype_5pyrfc_6_cyrfc_Connection, 1, "connection", 0))) __PYX_ERR(0, 2213, __pyx_L1_error) __pyx_r = __pyx_pf_5pyrfc_6_cyrfc_10Throughput_2setOnConnection(((struct __pyx_obj_5pyrfc_6_cyrfc_Throughput *)__pyx_v_self), ((struct __pyx_obj_5pyrfc_6_cyrfc_Connection *)__pyx_v_connection)); /* function exit code */ @@ -28934,7 +28934,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_2setOnConnection(struct __ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("setOnConnection", 0); - /* "pyrfc/_cyrfc.pyx":2226 + /* "pyrfc/_cyrfc.pyx":2227 * """ * cdef RFC_ERROR_INFO errorInfo * cdef RFC_RC rc = RfcSetThroughputOnConnection(connection._handle, self._throughput_handle, &errorInfo) # <<<<<<<<<<<<<< @@ -28943,7 +28943,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_2setOnConnection(struct __ */ __pyx_v_rc = RfcSetThroughputOnConnection(__pyx_v_connection->_handle, __pyx_v_self->_throughput_handle, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2227 + /* "pyrfc/_cyrfc.pyx":2228 * cdef RFC_ERROR_INFO errorInfo * cdef RFC_RC rc = RfcSetThroughputOnConnection(connection._handle, self._throughput_handle, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -28953,20 +28953,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_2setOnConnection(struct __ __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2228 + /* "pyrfc/_cyrfc.pyx":2229 * cdef RFC_RC rc = RfcSetThroughputOnConnection(connection._handle, self._throughput_handle, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * self._connections.add(connection) * */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2228, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2229, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 2228, __pyx_L1_error) + __PYX_ERR(0, 2229, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2227 + /* "pyrfc/_cyrfc.pyx":2228 * cdef RFC_ERROR_INFO errorInfo * cdef RFC_RC rc = RfcSetThroughputOnConnection(connection._handle, self._throughput_handle, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -28975,14 +28975,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_2setOnConnection(struct __ */ } - /* "pyrfc/_cyrfc.pyx":2229 + /* "pyrfc/_cyrfc.pyx":2230 * if rc != RFC_OK: * raise wrapError(&errorInfo) * self._connections.add(connection) # <<<<<<<<<<<<<< * * @staticmethod */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->_connections, __pyx_n_s_add); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2229, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->_connections, __pyx_n_s_add); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2230, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_3))) { @@ -28996,12 +28996,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_2setOnConnection(struct __ } __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, ((PyObject *)__pyx_v_connection)) : __Pyx_PyObject_CallOneArg(__pyx_t_3, ((PyObject *)__pyx_v_connection)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2229, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2230, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2212 + /* "pyrfc/_cyrfc.pyx":2213 * return self._throughput_handle * * def setOnConnection(self, Connection connection): # <<<<<<<<<<<<<< @@ -29024,7 +29024,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_2setOnConnection(struct __ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2232 +/* "pyrfc/_cyrfc.pyx":2233 * * @staticmethod * def getFromConnection(Connection connection): # <<<<<<<<<<<<<< @@ -29063,7 +29063,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Throughput_5getFromConnection(CYTHON_ else goto __pyx_L5_argtuple_error; } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "getFromConnection") < 0)) __PYX_ERR(0, 2232, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "getFromConnection") < 0)) __PYX_ERR(0, 2233, __pyx_L3_error) } } else if (PyTuple_GET_SIZE(__pyx_args) != 1) { goto __pyx_L5_argtuple_error; @@ -29074,13 +29074,13 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Throughput_5getFromConnection(CYTHON_ } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("getFromConnection", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 2232, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("getFromConnection", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 2233, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("pyrfc._cyrfc.Throughput.getFromConnection", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); return NULL; __pyx_L4_argument_unpacking_done:; - if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_connection), __pyx_ptype_5pyrfc_6_cyrfc_Connection, 1, "connection", 0))) __PYX_ERR(0, 2232, __pyx_L1_error) + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_connection), __pyx_ptype_5pyrfc_6_cyrfc_Connection, 1, "connection", 0))) __PYX_ERR(0, 2233, __pyx_L1_error) __pyx_r = __pyx_pf_5pyrfc_6_cyrfc_10Throughput_4getFromConnection(__pyx_v_connection); /* function exit code */ @@ -29110,7 +29110,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_4getFromConnection(struct int __pyx_clineno = 0; __Pyx_RefNannySetupContext("getFromConnection", 0); - /* "pyrfc/_cyrfc.pyx":2247 + /* "pyrfc/_cyrfc.pyx":2248 * """ * cdef RFC_ERROR_INFO errorInfo * cdef RFC_THROUGHPUT_HANDLE throughput = RfcGetThroughputFromConnection(connection._handle, &errorInfo) # <<<<<<<<<<<<<< @@ -29119,7 +29119,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_4getFromConnection(struct */ __pyx_v_throughput = RfcGetThroughputFromConnection(__pyx_v_connection->_handle, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2248 + /* "pyrfc/_cyrfc.pyx":2249 * cdef RFC_ERROR_INFO errorInfo * cdef RFC_THROUGHPUT_HANDLE throughput = RfcGetThroughputFromConnection(connection._handle, &errorInfo) * if errorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -29129,20 +29129,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_4getFromConnection(struct __pyx_t_1 = ((__pyx_v_errorInfo.code != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2249 + /* "pyrfc/_cyrfc.pyx":2250 * cdef RFC_THROUGHPUT_HANDLE throughput = RfcGetThroughputFromConnection(connection._handle, &errorInfo) * if errorInfo.code != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * for t in Throughput._registry: * if t._handle == throughput: */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2249, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2250, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 2249, __pyx_L1_error) + __PYX_ERR(0, 2250, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2248 + /* "pyrfc/_cyrfc.pyx":2249 * cdef RFC_ERROR_INFO errorInfo * cdef RFC_THROUGHPUT_HANDLE throughput = RfcGetThroughputFromConnection(connection._handle, &errorInfo) * if errorInfo.code != RFC_OK: # <<<<<<<<<<<<<< @@ -29151,22 +29151,22 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_4getFromConnection(struct */ } - /* "pyrfc/_cyrfc.pyx":2250 + /* "pyrfc/_cyrfc.pyx":2251 * if errorInfo.code != RFC_OK: * raise wrapError(&errorInfo) * for t in Throughput._registry: # <<<<<<<<<<<<<< * if t._handle == throughput: * return t */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Throughput), __pyx_n_s_registry); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2250, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Throughput), __pyx_n_s_registry); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2251, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (likely(PyList_CheckExact(__pyx_t_2)) || PyTuple_CheckExact(__pyx_t_2)) { __pyx_t_3 = __pyx_t_2; __Pyx_INCREF(__pyx_t_3); __pyx_t_4 = 0; __pyx_t_5 = NULL; } else { - __pyx_t_4 = -1; __pyx_t_3 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2250, __pyx_L1_error) + __pyx_t_4 = -1; __pyx_t_3 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2251, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = Py_TYPE(__pyx_t_3)->tp_iternext; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2250, __pyx_L1_error) + __pyx_t_5 = Py_TYPE(__pyx_t_3)->tp_iternext; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2251, __pyx_L1_error) } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; for (;;) { @@ -29174,17 +29174,17 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_4getFromConnection(struct if (likely(PyList_CheckExact(__pyx_t_3))) { if (__pyx_t_4 >= PyList_GET_SIZE(__pyx_t_3)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_2 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_4); __Pyx_INCREF(__pyx_t_2); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 2250, __pyx_L1_error) + __pyx_t_2 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_4); __Pyx_INCREF(__pyx_t_2); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 2251, __pyx_L1_error) #else - __pyx_t_2 = PySequence_ITEM(__pyx_t_3, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2250, __pyx_L1_error) + __pyx_t_2 = PySequence_ITEM(__pyx_t_3, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2251, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); #endif } else { if (__pyx_t_4 >= PyTuple_GET_SIZE(__pyx_t_3)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_2 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_4); __Pyx_INCREF(__pyx_t_2); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 2250, __pyx_L1_error) + __pyx_t_2 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_4); __Pyx_INCREF(__pyx_t_2); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 2251, __pyx_L1_error) #else - __pyx_t_2 = PySequence_ITEM(__pyx_t_3, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2250, __pyx_L1_error) + __pyx_t_2 = PySequence_ITEM(__pyx_t_3, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2251, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); #endif } @@ -29194,7 +29194,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_4getFromConnection(struct PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 2250, __pyx_L1_error) + else __PYX_ERR(0, 2251, __pyx_L1_error) } break; } @@ -29203,25 +29203,25 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_4getFromConnection(struct __Pyx_XDECREF_SET(__pyx_v_t, __pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2251 + /* "pyrfc/_cyrfc.pyx":2252 * raise wrapError(&errorInfo) * for t in Throughput._registry: * if t._handle == throughput: # <<<<<<<<<<<<<< * return t * return None */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_t, __pyx_n_s_handle_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2251, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_t, __pyx_n_s_handle_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2252, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_6 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_throughput)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2251, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_throughput)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2252, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = PyObject_RichCompare(__pyx_t_2, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2251, __pyx_L1_error) + __pyx_t_7 = PyObject_RichCompare(__pyx_t_2, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2252, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 2251, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 2252, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":2252 + /* "pyrfc/_cyrfc.pyx":2253 * for t in Throughput._registry: * if t._handle == throughput: * return t # <<<<<<<<<<<<<< @@ -29234,7 +29234,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_4getFromConnection(struct __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2251 + /* "pyrfc/_cyrfc.pyx":2252 * raise wrapError(&errorInfo) * for t in Throughput._registry: * if t._handle == throughput: # <<<<<<<<<<<<<< @@ -29243,7 +29243,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_4getFromConnection(struct */ } - /* "pyrfc/_cyrfc.pyx":2250 + /* "pyrfc/_cyrfc.pyx":2251 * if errorInfo.code != RFC_OK: * raise wrapError(&errorInfo) * for t in Throughput._registry: # <<<<<<<<<<<<<< @@ -29253,7 +29253,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_4getFromConnection(struct } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":2253 + /* "pyrfc/_cyrfc.pyx":2254 * if t._handle == throughput: * return t * return None # <<<<<<<<<<<<<< @@ -29264,7 +29264,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_4getFromConnection(struct __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2232 + /* "pyrfc/_cyrfc.pyx":2233 * * @staticmethod * def getFromConnection(Connection connection): # <<<<<<<<<<<<<< @@ -29287,7 +29287,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_4getFromConnection(struct return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2255 +/* "pyrfc/_cyrfc.pyx":2256 * return None * * def removeFromConnection(self, Connection connection): # <<<<<<<<<<<<<< @@ -29305,7 +29305,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Throughput_7removeFromConnection(PyOb PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("removeFromConnection (wrapper)", 0); - if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_connection), __pyx_ptype_5pyrfc_6_cyrfc_Connection, 1, "connection", 0))) __PYX_ERR(0, 2255, __pyx_L1_error) + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_connection), __pyx_ptype_5pyrfc_6_cyrfc_Connection, 1, "connection", 0))) __PYX_ERR(0, 2256, __pyx_L1_error) __pyx_r = __pyx_pf_5pyrfc_6_cyrfc_10Throughput_6removeFromConnection(((struct __pyx_obj_5pyrfc_6_cyrfc_Throughput *)__pyx_v_self), ((struct __pyx_obj_5pyrfc_6_cyrfc_Connection *)__pyx_v_connection)); /* function exit code */ @@ -29331,7 +29331,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_6removeFromConnection(stru int __pyx_clineno = 0; __Pyx_RefNannySetupContext("removeFromConnection", 0); - /* "pyrfc/_cyrfc.pyx":2265 + /* "pyrfc/_cyrfc.pyx":2266 * """ * cdef RFC_ERROR_INFO errorInfo * cdef RFC_RC rc = RfcRemoveThroughputFromConnection(connection._handle, &errorInfo) # <<<<<<<<<<<<<< @@ -29340,7 +29340,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_6removeFromConnection(stru */ __pyx_v_rc = RfcRemoveThroughputFromConnection(__pyx_v_connection->_handle, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2266 + /* "pyrfc/_cyrfc.pyx":2267 * cdef RFC_ERROR_INFO errorInfo * cdef RFC_RC rc = RfcRemoveThroughputFromConnection(connection._handle, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -29350,20 +29350,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_6removeFromConnection(stru __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2267 + /* "pyrfc/_cyrfc.pyx":2268 * cdef RFC_RC rc = RfcRemoveThroughputFromConnection(connection._handle, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * self._connections.remove(connection) * */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2267, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2268, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 2267, __pyx_L1_error) + __PYX_ERR(0, 2268, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2266 + /* "pyrfc/_cyrfc.pyx":2267 * cdef RFC_ERROR_INFO errorInfo * cdef RFC_RC rc = RfcRemoveThroughputFromConnection(connection._handle, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -29372,14 +29372,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_6removeFromConnection(stru */ } - /* "pyrfc/_cyrfc.pyx":2268 + /* "pyrfc/_cyrfc.pyx":2269 * if rc != RFC_OK: * raise wrapError(&errorInfo) * self._connections.remove(connection) # <<<<<<<<<<<<<< * * def reset(self): */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->_connections, __pyx_n_s_remove); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2268, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->_connections, __pyx_n_s_remove); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2269, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_3))) { @@ -29393,12 +29393,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_6removeFromConnection(stru } __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, ((PyObject *)__pyx_v_connection)) : __Pyx_PyObject_CallOneArg(__pyx_t_3, ((PyObject *)__pyx_v_connection)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2268, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2269, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2255 + /* "pyrfc/_cyrfc.pyx":2256 * return None * * def removeFromConnection(self, Connection connection): # <<<<<<<<<<<<<< @@ -29421,7 +29421,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_6removeFromConnection(stru return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2270 +/* "pyrfc/_cyrfc.pyx":2271 * self._connections.remove(connection) * * def reset(self): # <<<<<<<<<<<<<< @@ -29455,7 +29455,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_8reset(struct __pyx_obj_5p int __pyx_clineno = 0; __Pyx_RefNannySetupContext("reset", 0); - /* "pyrfc/_cyrfc.pyx":2277 + /* "pyrfc/_cyrfc.pyx":2278 * """ * cdef RFC_ERROR_INFO errorInfo * cdef RFC_RC rc = RfcResetThroughput(self._throughput_handle, &errorInfo) # <<<<<<<<<<<<<< @@ -29464,7 +29464,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_8reset(struct __pyx_obj_5p */ __pyx_v_rc = RfcResetThroughput(__pyx_v_self->_throughput_handle, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2278 + /* "pyrfc/_cyrfc.pyx":2279 * cdef RFC_ERROR_INFO errorInfo * cdef RFC_RC rc = RfcResetThroughput(self._throughput_handle, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -29474,20 +29474,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_8reset(struct __pyx_obj_5p __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2279 + /* "pyrfc/_cyrfc.pyx":2280 * cdef RFC_RC rc = RfcResetThroughput(self._throughput_handle, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * * cdef _destroy(self): */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2279, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2280, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 2279, __pyx_L1_error) + __PYX_ERR(0, 2280, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2278 + /* "pyrfc/_cyrfc.pyx":2279 * cdef RFC_ERROR_INFO errorInfo * cdef RFC_RC rc = RfcResetThroughput(self._throughput_handle, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -29496,7 +29496,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_8reset(struct __pyx_obj_5p */ } - /* "pyrfc/_cyrfc.pyx":2270 + /* "pyrfc/_cyrfc.pyx":2271 * self._connections.remove(connection) * * def reset(self): # <<<<<<<<<<<<<< @@ -29517,7 +29517,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_8reset(struct __pyx_obj_5p return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2281 +/* "pyrfc/_cyrfc.pyx":2282 * raise wrapError(&errorInfo) * * cdef _destroy(self): # <<<<<<<<<<<<<< @@ -29539,16 +29539,16 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_10Throughput__destroy(struct __pyx_obj_5 int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_destroy", 0); - /* "pyrfc/_cyrfc.pyx":2284 + /* "pyrfc/_cyrfc.pyx":2285 * cdef RFC_ERROR_INFO errorInfo * cdef RFC_RC rc * self._registry.clear() # <<<<<<<<<<<<<< * self._connections = None * if self._throughput_handle != NULL: */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_registry); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2284, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_registry); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2285, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_clear); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2284, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_clear); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2285, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_2 = NULL; @@ -29563,12 +29563,12 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_10Throughput__destroy(struct __pyx_obj_5 } __pyx_t_1 = (__pyx_t_2) ? __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_2) : __Pyx_PyObject_CallNoArg(__pyx_t_3); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2284, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2285, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2285 + /* "pyrfc/_cyrfc.pyx":2286 * cdef RFC_RC rc * self._registry.clear() * self._connections = None # <<<<<<<<<<<<<< @@ -29581,7 +29581,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_10Throughput__destroy(struct __pyx_obj_5 __Pyx_DECREF(__pyx_v_self->_connections); __pyx_v_self->_connections = Py_None; - /* "pyrfc/_cyrfc.pyx":2286 + /* "pyrfc/_cyrfc.pyx":2287 * self._registry.clear() * self._connections = None * if self._throughput_handle != NULL: # <<<<<<<<<<<<<< @@ -29591,7 +29591,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_10Throughput__destroy(struct __pyx_obj_5 __pyx_t_4 = ((__pyx_v_self->_throughput_handle != NULL) != 0); if (__pyx_t_4) { - /* "pyrfc/_cyrfc.pyx":2287 + /* "pyrfc/_cyrfc.pyx":2288 * self._connections = None * if self._throughput_handle != NULL: * rc = RfcDestroyThroughput(self._throughput_handle, &errorInfo) # <<<<<<<<<<<<<< @@ -29600,7 +29600,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_10Throughput__destroy(struct __pyx_obj_5 */ __pyx_v_rc = RfcDestroyThroughput(__pyx_v_self->_throughput_handle, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2288 + /* "pyrfc/_cyrfc.pyx":2289 * if self._throughput_handle != NULL: * rc = RfcDestroyThroughput(self._throughput_handle, &errorInfo) * self._throughput_handle = NULL # <<<<<<<<<<<<<< @@ -29609,7 +29609,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_10Throughput__destroy(struct __pyx_obj_5 */ __pyx_v_self->_throughput_handle = NULL; - /* "pyrfc/_cyrfc.pyx":2289 + /* "pyrfc/_cyrfc.pyx":2290 * rc = RfcDestroyThroughput(self._throughput_handle, &errorInfo) * self._throughput_handle = NULL * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -29620,7 +29620,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_10Throughput__destroy(struct __pyx_obj_5 if (__pyx_t_4) { } - /* "pyrfc/_cyrfc.pyx":2286 + /* "pyrfc/_cyrfc.pyx":2287 * self._registry.clear() * self._connections = None * if self._throughput_handle != NULL: # <<<<<<<<<<<<<< @@ -29629,7 +29629,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_10Throughput__destroy(struct __pyx_obj_5 */ } - /* "pyrfc/_cyrfc.pyx":2281 + /* "pyrfc/_cyrfc.pyx":2282 * raise wrapError(&errorInfo) * * cdef _destroy(self): # <<<<<<<<<<<<<< @@ -29652,7 +29652,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_10Throughput__destroy(struct __pyx_obj_5 return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2293 +/* "pyrfc/_cyrfc.pyx":2294 * pass * * def __del__(self): # <<<<<<<<<<<<<< @@ -29684,14 +29684,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_10__del__(struct __pyx_obj int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__del__", 0); - /* "pyrfc/_cyrfc.pyx":2294 + /* "pyrfc/_cyrfc.pyx":2295 * * def __del__(self): * self.destroy() # <<<<<<<<<<<<<< * * def __exit__(self, type, value, traceback): */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_destroy); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2294, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_destroy); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2295, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -29705,12 +29705,12 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_10__del__(struct __pyx_obj } __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2294, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2295, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2293 + /* "pyrfc/_cyrfc.pyx":2294 * pass * * def __del__(self): # <<<<<<<<<<<<<< @@ -29733,7 +29733,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_10__del__(struct __pyx_obj return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2296 +/* "pyrfc/_cyrfc.pyx":2297 * self.destroy() * * def __exit__(self, type, value, traceback): # <<<<<<<<<<<<<< @@ -29778,17 +29778,17 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Throughput_13__exit__(PyObject *__pyx case 1: if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("__exit__", 1, 3, 3, 1); __PYX_ERR(0, 2296, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__exit__", 1, 3, 3, 1); __PYX_ERR(0, 2297, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 2: if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_traceback)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("__exit__", 1, 3, 3, 2); __PYX_ERR(0, 2296, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__exit__", 1, 3, 3, 2); __PYX_ERR(0, 2297, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__exit__") < 0)) __PYX_ERR(0, 2296, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__exit__") < 0)) __PYX_ERR(0, 2297, __pyx_L3_error) } } else if (PyTuple_GET_SIZE(__pyx_args) != 3) { goto __pyx_L5_argtuple_error; @@ -29803,7 +29803,7 @@ static PyObject *__pyx_pw_5pyrfc_6_cyrfc_10Throughput_13__exit__(PyObject *__pyx } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__exit__", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 2296, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__exit__", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 2297, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("pyrfc._cyrfc.Throughput.__exit__", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -29825,18 +29825,18 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_12__exit__(struct __pyx_ob int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__exit__", 0); - /* "pyrfc/_cyrfc.pyx":2297 + /* "pyrfc/_cyrfc.pyx":2298 * * def __exit__(self, type, value, traceback): * self._destroy() # <<<<<<<<<<<<<< * * def __enter__(self): */ - __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Throughput *)__pyx_v_self->__pyx_vtab)->_destroy(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2297, __pyx_L1_error) + __pyx_t_1 = ((struct __pyx_vtabstruct_5pyrfc_6_cyrfc_Throughput *)__pyx_v_self->__pyx_vtab)->_destroy(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2298, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2296 + /* "pyrfc/_cyrfc.pyx":2297 * self.destroy() * * def __exit__(self, type, value, traceback): # <<<<<<<<<<<<<< @@ -29857,7 +29857,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_12__exit__(struct __pyx_ob return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2299 +/* "pyrfc/_cyrfc.pyx":2300 * self._destroy() * * def __enter__(self): # <<<<<<<<<<<<<< @@ -29883,7 +29883,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_14__enter__(struct __pyx_o __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__enter__", 0); - /* "pyrfc/_cyrfc.pyx":2300 + /* "pyrfc/_cyrfc.pyx":2301 * * def __enter__(self): * return self # <<<<<<<<<<<<<< @@ -29895,7 +29895,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_14__enter__(struct __pyx_o __pyx_r = ((PyObject *)__pyx_v_self); goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2299 + /* "pyrfc/_cyrfc.pyx":2300 * self._destroy() * * def __enter__(self): # <<<<<<<<<<<<<< @@ -29910,7 +29910,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_14__enter__(struct __pyx_o return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2303 +/* "pyrfc/_cyrfc.pyx":2304 * * @property * def stats(self): # <<<<<<<<<<<<<< @@ -29953,19 +29953,19 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - /* "pyrfc/_cyrfc.pyx":2327 + /* "pyrfc/_cyrfc.pyx":2328 * cdef SAP_ULLONG deserializationTime * * _stats = {} # <<<<<<<<<<<<<< * * if self._throughput_handle == NULL: */ - __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2327, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2328, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v__stats = ((PyObject*)__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2329 + /* "pyrfc/_cyrfc.pyx":2330 * _stats = {} * * if self._throughput_handle == NULL: # <<<<<<<<<<<<<< @@ -29975,14 +29975,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py __pyx_t_2 = ((__pyx_v_self->_throughput_handle == NULL) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":2330 + /* "pyrfc/_cyrfc.pyx":2331 * * if self._throughput_handle == NULL: * raise RFCError('No connections assigned') # <<<<<<<<<<<<<< * * rc = RfcGetNumberOfCalls (self._throughput_handle, &numberOfCalls, &errorInfo) */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2330, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2331, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) { @@ -29996,14 +29996,14 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py } __pyx_t_1 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_kp_u_No_connections_assigned) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_kp_u_No_connections_assigned); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2330, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2331, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 2330, __pyx_L1_error) + __PYX_ERR(0, 2331, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2329 + /* "pyrfc/_cyrfc.pyx":2330 * _stats = {} * * if self._throughput_handle == NULL: # <<<<<<<<<<<<<< @@ -30012,7 +30012,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py */ } - /* "pyrfc/_cyrfc.pyx":2332 + /* "pyrfc/_cyrfc.pyx":2333 * raise RFCError('No connections assigned') * * rc = RfcGetNumberOfCalls (self._throughput_handle, &numberOfCalls, &errorInfo) # <<<<<<<<<<<<<< @@ -30021,7 +30021,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py */ __pyx_v_rc = RfcGetNumberOfCalls(__pyx_v_self->_throughput_handle, (&__pyx_v_numberOfCalls), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2333 + /* "pyrfc/_cyrfc.pyx":2334 * * rc = RfcGetNumberOfCalls (self._throughput_handle, &numberOfCalls, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -30031,20 +30031,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py __pyx_t_2 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":2334 + /* "pyrfc/_cyrfc.pyx":2335 * rc = RfcGetNumberOfCalls (self._throughput_handle, &numberOfCalls, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * _stats['numberOfCalls'] = numberOfCalls * */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2334, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2335, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 2334, __pyx_L1_error) + __PYX_ERR(0, 2335, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2333 + /* "pyrfc/_cyrfc.pyx":2334 * * rc = RfcGetNumberOfCalls (self._throughput_handle, &numberOfCalls, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -30053,19 +30053,19 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py */ } - /* "pyrfc/_cyrfc.pyx":2335 + /* "pyrfc/_cyrfc.pyx":2336 * if rc != RFC_OK: * raise wrapError(&errorInfo) * _stats['numberOfCalls'] = numberOfCalls # <<<<<<<<<<<<<< * * rc = RfcGetSentBytes (self._throughput_handle, &sentBytes, &errorInfo) */ - __pyx_t_1 = __Pyx_PyInt_From_SAP_ULLONG(__pyx_v_numberOfCalls); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2335, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_SAP_ULLONG(__pyx_v_numberOfCalls); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2336, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(PyDict_SetItem(__pyx_v__stats, __pyx_n_u_numberOfCalls, __pyx_t_1) < 0)) __PYX_ERR(0, 2335, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v__stats, __pyx_n_u_numberOfCalls, __pyx_t_1) < 0)) __PYX_ERR(0, 2336, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2337 + /* "pyrfc/_cyrfc.pyx":2338 * _stats['numberOfCalls'] = numberOfCalls * * rc = RfcGetSentBytes (self._throughput_handle, &sentBytes, &errorInfo) # <<<<<<<<<<<<<< @@ -30074,7 +30074,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py */ __pyx_v_rc = RfcGetSentBytes(__pyx_v_self->_throughput_handle, (&__pyx_v_sentBytes), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2338 + /* "pyrfc/_cyrfc.pyx":2339 * * rc = RfcGetSentBytes (self._throughput_handle, &sentBytes, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -30084,20 +30084,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py __pyx_t_2 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":2339 + /* "pyrfc/_cyrfc.pyx":2340 * rc = RfcGetSentBytes (self._throughput_handle, &sentBytes, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * _stats['sentBytes'] = sentBytes * */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2339, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2340, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 2339, __pyx_L1_error) + __PYX_ERR(0, 2340, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2338 + /* "pyrfc/_cyrfc.pyx":2339 * * rc = RfcGetSentBytes (self._throughput_handle, &sentBytes, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -30106,19 +30106,19 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py */ } - /* "pyrfc/_cyrfc.pyx":2340 + /* "pyrfc/_cyrfc.pyx":2341 * if rc != RFC_OK: * raise wrapError(&errorInfo) * _stats['sentBytes'] = sentBytes # <<<<<<<<<<<<<< * * rc = RfcGetReceivedBytes (self._throughput_handle, &receivedBytes, &errorInfo) */ - __pyx_t_1 = __Pyx_PyInt_From_SAP_ULLONG(__pyx_v_sentBytes); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2340, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_SAP_ULLONG(__pyx_v_sentBytes); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2341, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(PyDict_SetItem(__pyx_v__stats, __pyx_n_u_sentBytes, __pyx_t_1) < 0)) __PYX_ERR(0, 2340, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v__stats, __pyx_n_u_sentBytes, __pyx_t_1) < 0)) __PYX_ERR(0, 2341, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2342 + /* "pyrfc/_cyrfc.pyx":2343 * _stats['sentBytes'] = sentBytes * * rc = RfcGetReceivedBytes (self._throughput_handle, &receivedBytes, &errorInfo) # <<<<<<<<<<<<<< @@ -30127,7 +30127,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py */ __pyx_v_rc = RfcGetReceivedBytes(__pyx_v_self->_throughput_handle, (&__pyx_v_receivedBytes), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2343 + /* "pyrfc/_cyrfc.pyx":2344 * * rc = RfcGetReceivedBytes (self._throughput_handle, &receivedBytes, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -30137,20 +30137,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py __pyx_t_2 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":2344 + /* "pyrfc/_cyrfc.pyx":2345 * rc = RfcGetReceivedBytes (self._throughput_handle, &receivedBytes, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * _stats['receivedBytes'] = receivedBytes * */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2344, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2345, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 2344, __pyx_L1_error) + __PYX_ERR(0, 2345, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2343 + /* "pyrfc/_cyrfc.pyx":2344 * * rc = RfcGetReceivedBytes (self._throughput_handle, &receivedBytes, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -30159,19 +30159,19 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py */ } - /* "pyrfc/_cyrfc.pyx":2345 + /* "pyrfc/_cyrfc.pyx":2346 * if rc != RFC_OK: * raise wrapError(&errorInfo) * _stats['receivedBytes'] = receivedBytes # <<<<<<<<<<<<<< * * rc = RfcGetApplicationTime (self._throughput_handle, &applicationTime, &errorInfo) */ - __pyx_t_1 = __Pyx_PyInt_From_SAP_ULLONG(__pyx_v_receivedBytes); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2345, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_SAP_ULLONG(__pyx_v_receivedBytes); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2346, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(PyDict_SetItem(__pyx_v__stats, __pyx_n_u_receivedBytes, __pyx_t_1) < 0)) __PYX_ERR(0, 2345, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v__stats, __pyx_n_u_receivedBytes, __pyx_t_1) < 0)) __PYX_ERR(0, 2346, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2347 + /* "pyrfc/_cyrfc.pyx":2348 * _stats['receivedBytes'] = receivedBytes * * rc = RfcGetApplicationTime (self._throughput_handle, &applicationTime, &errorInfo) # <<<<<<<<<<<<<< @@ -30180,7 +30180,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py */ __pyx_v_rc = RfcGetApplicationTime(__pyx_v_self->_throughput_handle, (&__pyx_v_applicationTime), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2348 + /* "pyrfc/_cyrfc.pyx":2349 * * rc = RfcGetApplicationTime (self._throughput_handle, &applicationTime, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -30190,20 +30190,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py __pyx_t_2 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":2349 + /* "pyrfc/_cyrfc.pyx":2350 * rc = RfcGetApplicationTime (self._throughput_handle, &applicationTime, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * _stats['applicationTime'] = applicationTime * */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2349, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2350, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 2349, __pyx_L1_error) + __PYX_ERR(0, 2350, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2348 + /* "pyrfc/_cyrfc.pyx":2349 * * rc = RfcGetApplicationTime (self._throughput_handle, &applicationTime, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -30212,19 +30212,19 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py */ } - /* "pyrfc/_cyrfc.pyx":2350 + /* "pyrfc/_cyrfc.pyx":2351 * if rc != RFC_OK: * raise wrapError(&errorInfo) * _stats['applicationTime'] = applicationTime # <<<<<<<<<<<<<< * * rc = RfcGetTotalTime (self._throughput_handle, &totalTime, &errorInfo) */ - __pyx_t_1 = __Pyx_PyInt_From_SAP_ULLONG(__pyx_v_applicationTime); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2350, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_SAP_ULLONG(__pyx_v_applicationTime); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2351, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(PyDict_SetItem(__pyx_v__stats, __pyx_n_u_applicationTime, __pyx_t_1) < 0)) __PYX_ERR(0, 2350, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v__stats, __pyx_n_u_applicationTime, __pyx_t_1) < 0)) __PYX_ERR(0, 2351, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2352 + /* "pyrfc/_cyrfc.pyx":2353 * _stats['applicationTime'] = applicationTime * * rc = RfcGetTotalTime (self._throughput_handle, &totalTime, &errorInfo) # <<<<<<<<<<<<<< @@ -30233,7 +30233,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py */ __pyx_v_rc = RfcGetTotalTime(__pyx_v_self->_throughput_handle, (&__pyx_v_totalTime), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2353 + /* "pyrfc/_cyrfc.pyx":2354 * * rc = RfcGetTotalTime (self._throughput_handle, &totalTime, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -30243,20 +30243,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py __pyx_t_2 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":2354 + /* "pyrfc/_cyrfc.pyx":2355 * rc = RfcGetTotalTime (self._throughput_handle, &totalTime, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * _stats['totalTime'] = totalTime * */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2354, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2355, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 2354, __pyx_L1_error) + __PYX_ERR(0, 2355, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2353 + /* "pyrfc/_cyrfc.pyx":2354 * * rc = RfcGetTotalTime (self._throughput_handle, &totalTime, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -30265,19 +30265,19 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py */ } - /* "pyrfc/_cyrfc.pyx":2355 + /* "pyrfc/_cyrfc.pyx":2356 * if rc != RFC_OK: * raise wrapError(&errorInfo) * _stats['totalTime'] = totalTime # <<<<<<<<<<<<<< * * rc = RfcGetSerializationTime (self._throughput_handle, &serializationTime, &errorInfo) */ - __pyx_t_1 = __Pyx_PyInt_From_SAP_ULLONG(__pyx_v_totalTime); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2355, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_SAP_ULLONG(__pyx_v_totalTime); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2356, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(PyDict_SetItem(__pyx_v__stats, __pyx_n_u_totalTime, __pyx_t_1) < 0)) __PYX_ERR(0, 2355, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v__stats, __pyx_n_u_totalTime, __pyx_t_1) < 0)) __PYX_ERR(0, 2356, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2357 + /* "pyrfc/_cyrfc.pyx":2358 * _stats['totalTime'] = totalTime * * rc = RfcGetSerializationTime (self._throughput_handle, &serializationTime, &errorInfo) # <<<<<<<<<<<<<< @@ -30286,7 +30286,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py */ __pyx_v_rc = RfcGetSerializationTime(__pyx_v_self->_throughput_handle, (&__pyx_v_serializationTime), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2358 + /* "pyrfc/_cyrfc.pyx":2359 * * rc = RfcGetSerializationTime (self._throughput_handle, &serializationTime, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -30296,20 +30296,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py __pyx_t_2 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":2359 + /* "pyrfc/_cyrfc.pyx":2360 * rc = RfcGetSerializationTime (self._throughput_handle, &serializationTime, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * _stats['serializationTime'] = serializationTime * */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2359, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2360, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 2359, __pyx_L1_error) + __PYX_ERR(0, 2360, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2358 + /* "pyrfc/_cyrfc.pyx":2359 * * rc = RfcGetSerializationTime (self._throughput_handle, &serializationTime, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -30318,19 +30318,19 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py */ } - /* "pyrfc/_cyrfc.pyx":2360 + /* "pyrfc/_cyrfc.pyx":2361 * if rc != RFC_OK: * raise wrapError(&errorInfo) * _stats['serializationTime'] = serializationTime # <<<<<<<<<<<<<< * * rc = RfcGetDeserializationTime (self._throughput_handle, &deserializationTime, &errorInfo) */ - __pyx_t_1 = __Pyx_PyInt_From_SAP_ULLONG(__pyx_v_serializationTime); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2360, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_SAP_ULLONG(__pyx_v_serializationTime); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2361, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(PyDict_SetItem(__pyx_v__stats, __pyx_n_u_serializationTime, __pyx_t_1) < 0)) __PYX_ERR(0, 2360, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v__stats, __pyx_n_u_serializationTime, __pyx_t_1) < 0)) __PYX_ERR(0, 2361, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2362 + /* "pyrfc/_cyrfc.pyx":2363 * _stats['serializationTime'] = serializationTime * * rc = RfcGetDeserializationTime (self._throughput_handle, &deserializationTime, &errorInfo) # <<<<<<<<<<<<<< @@ -30339,7 +30339,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py */ __pyx_v_rc = RfcGetDeserializationTime(__pyx_v_self->_throughput_handle, (&__pyx_v_deserializationTime), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2363 + /* "pyrfc/_cyrfc.pyx":2364 * * rc = RfcGetDeserializationTime (self._throughput_handle, &deserializationTime, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -30349,20 +30349,20 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py __pyx_t_2 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":2364 + /* "pyrfc/_cyrfc.pyx":2365 * rc = RfcGetDeserializationTime (self._throughput_handle, &deserializationTime, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * _stats['deserializationTime'] = deserializationTime * */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2364, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2365, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 2364, __pyx_L1_error) + __PYX_ERR(0, 2365, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2363 + /* "pyrfc/_cyrfc.pyx":2364 * * rc = RfcGetDeserializationTime (self._throughput_handle, &deserializationTime, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -30371,19 +30371,19 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py */ } - /* "pyrfc/_cyrfc.pyx":2365 + /* "pyrfc/_cyrfc.pyx":2366 * if rc != RFC_OK: * raise wrapError(&errorInfo) * _stats['deserializationTime'] = deserializationTime # <<<<<<<<<<<<<< * * return _stats */ - __pyx_t_1 = __Pyx_PyInt_From_SAP_ULLONG(__pyx_v_deserializationTime); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2365, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_SAP_ULLONG(__pyx_v_deserializationTime); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2366, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(PyDict_SetItem(__pyx_v__stats, __pyx_n_u_deserializationTime, __pyx_t_1) < 0)) __PYX_ERR(0, 2365, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v__stats, __pyx_n_u_deserializationTime, __pyx_t_1) < 0)) __PYX_ERR(0, 2366, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2367 + /* "pyrfc/_cyrfc.pyx":2368 * _stats['deserializationTime'] = deserializationTime * * return _stats # <<<<<<<<<<<<<< @@ -30395,7 +30395,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_5stats___get__(struct __py __pyx_r = __pyx_v__stats; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2303 + /* "pyrfc/_cyrfc.pyx":2304 * * @property * def stats(self): # <<<<<<<<<<<<<< @@ -30530,7 +30530,7 @@ static PyObject *__pyx_pf_5pyrfc_6_cyrfc_10Throughput_18__setstate_cython__(CYTH return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2374 +/* "pyrfc/_cyrfc.pyx":2375 * ################################################################################ * * cdef fillFunctionParameter(RFC_FUNCTION_DESC_HANDLE funcDesc, RFC_FUNCTION_HANDLE container, name, value): # <<<<<<<<<<<<<< @@ -30553,17 +30553,17 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillFunctionParameter(RFC_FUNCTION_DESC_ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("fillFunctionParameter", 0); - /* "pyrfc/_cyrfc.pyx":2378 + /* "pyrfc/_cyrfc.pyx":2379 * cdef RFC_ERROR_INFO errorInfo * cdef RFC_PARAMETER_DESC paramDesc * cName = fillString(name) # <<<<<<<<<<<<<< * rc = RfcGetParameterDescByName(funcDesc, cName, ¶mDesc, &errorInfo) * free(cName) */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_name); if (unlikely(__pyx_t_1 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2378, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_name); if (unlikely(__pyx_t_1 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2379, __pyx_L1_error) __pyx_v_cName = __pyx_t_1; - /* "pyrfc/_cyrfc.pyx":2379 + /* "pyrfc/_cyrfc.pyx":2380 * cdef RFC_PARAMETER_DESC paramDesc * cName = fillString(name) * rc = RfcGetParameterDescByName(funcDesc, cName, ¶mDesc, &errorInfo) # <<<<<<<<<<<<<< @@ -30572,7 +30572,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillFunctionParameter(RFC_FUNCTION_DESC_ */ __pyx_v_rc = RfcGetParameterDescByName(__pyx_v_funcDesc, __pyx_v_cName, (&__pyx_v_paramDesc), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2380 + /* "pyrfc/_cyrfc.pyx":2381 * cName = fillString(name) * rc = RfcGetParameterDescByName(funcDesc, cName, ¶mDesc, &errorInfo) * free(cName) # <<<<<<<<<<<<<< @@ -30581,7 +30581,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillFunctionParameter(RFC_FUNCTION_DESC_ */ free(__pyx_v_cName); - /* "pyrfc/_cyrfc.pyx":2381 + /* "pyrfc/_cyrfc.pyx":2382 * rc = RfcGetParameterDescByName(funcDesc, cName, ¶mDesc, &errorInfo) * free(cName) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -30591,20 +30591,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillFunctionParameter(RFC_FUNCTION_DESC_ __pyx_t_2 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":2382 + /* "pyrfc/_cyrfc.pyx":2383 * free(cName) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * fillVariable(paramDesc.type, container, paramDesc.name, value, paramDesc.typeDescHandle) * */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2382, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2383, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 2382, __pyx_L1_error) + __PYX_ERR(0, 2383, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2381 + /* "pyrfc/_cyrfc.pyx":2382 * rc = RfcGetParameterDescByName(funcDesc, cName, ¶mDesc, &errorInfo) * free(cName) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -30613,18 +30613,18 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillFunctionParameter(RFC_FUNCTION_DESC_ */ } - /* "pyrfc/_cyrfc.pyx":2383 + /* "pyrfc/_cyrfc.pyx":2384 * if rc != RFC_OK: * raise wrapError(&errorInfo) * fillVariable(paramDesc.type, container, paramDesc.name, value, paramDesc.typeDescHandle) # <<<<<<<<<<<<<< * * cdef fillStructureField(RFC_TYPE_DESC_HANDLE typeDesc, RFC_STRUCTURE_HANDLE container, name, value): */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_fillVariable(__pyx_v_paramDesc.type, __pyx_v_container, __pyx_v_paramDesc.name, __pyx_v_value, __pyx_v_paramDesc.typeDescHandle); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2383, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_fillVariable(__pyx_v_paramDesc.type, __pyx_v_container, __pyx_v_paramDesc.name, __pyx_v_value, __pyx_v_paramDesc.typeDescHandle); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2384, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":2374 + /* "pyrfc/_cyrfc.pyx":2375 * ################################################################################ * * cdef fillFunctionParameter(RFC_FUNCTION_DESC_HANDLE funcDesc, RFC_FUNCTION_HANDLE container, name, value): # <<<<<<<<<<<<<< @@ -30645,7 +30645,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillFunctionParameter(RFC_FUNCTION_DESC_ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2385 +/* "pyrfc/_cyrfc.pyx":2386 * fillVariable(paramDesc.type, container, paramDesc.name, value, paramDesc.typeDescHandle) * * cdef fillStructureField(RFC_TYPE_DESC_HANDLE typeDesc, RFC_STRUCTURE_HANDLE container, name, value): # <<<<<<<<<<<<<< @@ -30668,17 +30668,17 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillStructureField(RFC_TYPE_DESC_HANDLE int __pyx_clineno = 0; __Pyx_RefNannySetupContext("fillStructureField", 0); - /* "pyrfc/_cyrfc.pyx":2389 + /* "pyrfc/_cyrfc.pyx":2390 * cdef RFC_ERROR_INFO errorInfo * cdef RFC_FIELD_DESC fieldDesc * cdef SAP_UC* cName = fillString(name) # <<<<<<<<<<<<<< * rc = RfcGetFieldDescByName(typeDesc, cName, &fieldDesc, &errorInfo) * free(cName) */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_name); if (unlikely(__pyx_t_1 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2389, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_name); if (unlikely(__pyx_t_1 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2390, __pyx_L1_error) __pyx_v_cName = __pyx_t_1; - /* "pyrfc/_cyrfc.pyx":2390 + /* "pyrfc/_cyrfc.pyx":2391 * cdef RFC_FIELD_DESC fieldDesc * cdef SAP_UC* cName = fillString(name) * rc = RfcGetFieldDescByName(typeDesc, cName, &fieldDesc, &errorInfo) # <<<<<<<<<<<<<< @@ -30687,7 +30687,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillStructureField(RFC_TYPE_DESC_HANDLE */ __pyx_v_rc = RfcGetFieldDescByName(__pyx_v_typeDesc, __pyx_v_cName, (&__pyx_v_fieldDesc), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2391 + /* "pyrfc/_cyrfc.pyx":2392 * cdef SAP_UC* cName = fillString(name) * rc = RfcGetFieldDescByName(typeDesc, cName, &fieldDesc, &errorInfo) * free(cName) # <<<<<<<<<<<<<< @@ -30696,7 +30696,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillStructureField(RFC_TYPE_DESC_HANDLE */ free(__pyx_v_cName); - /* "pyrfc/_cyrfc.pyx":2392 + /* "pyrfc/_cyrfc.pyx":2393 * rc = RfcGetFieldDescByName(typeDesc, cName, &fieldDesc, &errorInfo) * free(cName) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -30706,20 +30706,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillStructureField(RFC_TYPE_DESC_HANDLE __pyx_t_2 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":2393 + /* "pyrfc/_cyrfc.pyx":2394 * free(cName) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * fillVariable(fieldDesc.type, container, fieldDesc.name, value, fieldDesc.typeDescHandle) * */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2393, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2394, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 2393, __pyx_L1_error) + __PYX_ERR(0, 2394, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2392 + /* "pyrfc/_cyrfc.pyx":2393 * rc = RfcGetFieldDescByName(typeDesc, cName, &fieldDesc, &errorInfo) * free(cName) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -30728,18 +30728,18 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillStructureField(RFC_TYPE_DESC_HANDLE */ } - /* "pyrfc/_cyrfc.pyx":2394 + /* "pyrfc/_cyrfc.pyx":2395 * if rc != RFC_OK: * raise wrapError(&errorInfo) * fillVariable(fieldDesc.type, container, fieldDesc.name, value, fieldDesc.typeDescHandle) # <<<<<<<<<<<<<< * * cdef fillTable(RFC_TYPE_DESC_HANDLE typeDesc, RFC_TABLE_HANDLE container, lines): */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_fillVariable(__pyx_v_fieldDesc.type, __pyx_v_container, __pyx_v_fieldDesc.name, __pyx_v_value, __pyx_v_fieldDesc.typeDescHandle); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2394, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_fillVariable(__pyx_v_fieldDesc.type, __pyx_v_container, __pyx_v_fieldDesc.name, __pyx_v_value, __pyx_v_fieldDesc.typeDescHandle); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2395, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":2385 + /* "pyrfc/_cyrfc.pyx":2386 * fillVariable(paramDesc.type, container, paramDesc.name, value, paramDesc.typeDescHandle) * * cdef fillStructureField(RFC_TYPE_DESC_HANDLE typeDesc, RFC_STRUCTURE_HANDLE container, name, value): # <<<<<<<<<<<<<< @@ -30760,7 +30760,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillStructureField(RFC_TYPE_DESC_HANDLE return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2396 +/* "pyrfc/_cyrfc.pyx":2397 * fillVariable(fieldDesc.type, container, fieldDesc.name, value, fieldDesc.typeDescHandle) * * cdef fillTable(RFC_TYPE_DESC_HANDLE typeDesc, RFC_TABLE_HANDLE container, lines): # <<<<<<<<<<<<<< @@ -30792,17 +30792,17 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillTable(RFC_TYPE_DESC_HANDLE __pyx_v_t int __pyx_clineno = 0; __Pyx_RefNannySetupContext("fillTable", 0); - /* "pyrfc/_cyrfc.pyx":2399 + /* "pyrfc/_cyrfc.pyx":2400 * cdef RFC_ERROR_INFO errorInfo * cdef RFC_STRUCTURE_HANDLE lineHandle * cdef unsigned int rowCount = int(len(lines)) # <<<<<<<<<<<<<< * cdef unsigned int i = 0 * while i < rowCount: */ - __pyx_t_1 = PyObject_Length(__pyx_v_lines); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2399, __pyx_L1_error) + __pyx_t_1 = PyObject_Length(__pyx_v_lines); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2400, __pyx_L1_error) __pyx_v_rowCount = ((unsigned int)__pyx_t_1); - /* "pyrfc/_cyrfc.pyx":2400 + /* "pyrfc/_cyrfc.pyx":2401 * cdef RFC_STRUCTURE_HANDLE lineHandle * cdef unsigned int rowCount = int(len(lines)) * cdef unsigned int i = 0 # <<<<<<<<<<<<<< @@ -30811,7 +30811,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillTable(RFC_TYPE_DESC_HANDLE __pyx_v_t */ __pyx_v_i = 0; - /* "pyrfc/_cyrfc.pyx":2401 + /* "pyrfc/_cyrfc.pyx":2402 * cdef unsigned int rowCount = int(len(lines)) * cdef unsigned int i = 0 * while i < rowCount: # <<<<<<<<<<<<<< @@ -30822,7 +30822,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillTable(RFC_TYPE_DESC_HANDLE __pyx_v_t __pyx_t_2 = ((__pyx_v_i < __pyx_v_rowCount) != 0); if (!__pyx_t_2) break; - /* "pyrfc/_cyrfc.pyx":2402 + /* "pyrfc/_cyrfc.pyx":2403 * cdef unsigned int i = 0 * while i < rowCount: * lineHandle = RfcAppendNewRow(container, &errorInfo) # <<<<<<<<<<<<<< @@ -30831,7 +30831,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillTable(RFC_TYPE_DESC_HANDLE __pyx_v_t */ __pyx_v_lineHandle = RfcAppendNewRow(__pyx_v_container, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2403 + /* "pyrfc/_cyrfc.pyx":2404 * while i < rowCount: * lineHandle = RfcAppendNewRow(container, &errorInfo) * if not lineHandle: # <<<<<<<<<<<<<< @@ -30841,20 +30841,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillTable(RFC_TYPE_DESC_HANDLE __pyx_v_t __pyx_t_2 = ((!(__pyx_v_lineHandle != 0)) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":2404 + /* "pyrfc/_cyrfc.pyx":2405 * lineHandle = RfcAppendNewRow(container, &errorInfo) * if not lineHandle: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * line = lines[i] * if type(line) is dict: */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2404, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2405, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 2404, __pyx_L1_error) + __PYX_ERR(0, 2405, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2403 + /* "pyrfc/_cyrfc.pyx":2404 * while i < rowCount: * lineHandle = RfcAppendNewRow(container, &errorInfo) * if not lineHandle: # <<<<<<<<<<<<<< @@ -30863,19 +30863,19 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillTable(RFC_TYPE_DESC_HANDLE __pyx_v_t */ } - /* "pyrfc/_cyrfc.pyx":2405 + /* "pyrfc/_cyrfc.pyx":2406 * if not lineHandle: * raise wrapError(&errorInfo) * line = lines[i] # <<<<<<<<<<<<<< * if type(line) is dict: * for name, value in line.iteritems(): */ - __pyx_t_3 = __Pyx_GetItemInt(__pyx_v_lines, __pyx_v_i, unsigned int, 0, __Pyx_PyInt_From_unsigned_int, 0, 0, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2405, __pyx_L1_error) + __pyx_t_3 = __Pyx_GetItemInt(__pyx_v_lines, __pyx_v_i, unsigned int, 0, __Pyx_PyInt_From_unsigned_int, 0, 0, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2406, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_XDECREF_SET(__pyx_v_line, __pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":2406 + /* "pyrfc/_cyrfc.pyx":2407 * raise wrapError(&errorInfo) * line = lines[i] * if type(line) is dict: # <<<<<<<<<<<<<< @@ -30886,7 +30886,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillTable(RFC_TYPE_DESC_HANDLE __pyx_v_t __pyx_t_4 = (__pyx_t_2 != 0); if (__pyx_t_4) { - /* "pyrfc/_cyrfc.pyx":2407 + /* "pyrfc/_cyrfc.pyx":2408 * line = lines[i] * if type(line) is dict: * for name, value in line.iteritems(): # <<<<<<<<<<<<<< @@ -30896,9 +30896,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillTable(RFC_TYPE_DESC_HANDLE __pyx_v_t __pyx_t_1 = 0; if (unlikely(__pyx_v_line == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "iteritems"); - __PYX_ERR(0, 2407, __pyx_L1_error) + __PYX_ERR(0, 2408, __pyx_L1_error) } - __pyx_t_7 = __Pyx_dict_iterator(__pyx_v_line, 0, __pyx_n_s_iteritems, (&__pyx_t_5), (&__pyx_t_6)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2407, __pyx_L1_error) + __pyx_t_7 = __Pyx_dict_iterator(__pyx_v_line, 0, __pyx_n_s_iteritems, (&__pyx_t_5), (&__pyx_t_6)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2408, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = __pyx_t_7; @@ -30906,7 +30906,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillTable(RFC_TYPE_DESC_HANDLE __pyx_v_t while (1) { __pyx_t_9 = __Pyx_dict_iter_next(__pyx_t_3, __pyx_t_5, &__pyx_t_1, &__pyx_t_7, &__pyx_t_8, NULL, __pyx_t_6); if (unlikely(__pyx_t_9 == 0)) break; - if (unlikely(__pyx_t_9 == -1)) __PYX_ERR(0, 2407, __pyx_L1_error) + if (unlikely(__pyx_t_9 == -1)) __PYX_ERR(0, 2408, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_GOTREF(__pyx_t_8); __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_7); @@ -30914,20 +30914,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillTable(RFC_TYPE_DESC_HANDLE __pyx_v_t __Pyx_XDECREF_SET(__pyx_v_value, __pyx_t_8); __pyx_t_8 = 0; - /* "pyrfc/_cyrfc.pyx":2408 + /* "pyrfc/_cyrfc.pyx":2409 * if type(line) is dict: * for name, value in line.iteritems(): * fillStructureField(typeDesc, lineHandle, name, value) # <<<<<<<<<<<<<< * else: * fillStructureField(typeDesc, lineHandle, '', line) */ - __pyx_t_8 = __pyx_f_5pyrfc_6_cyrfc_fillStructureField(__pyx_v_typeDesc, __pyx_v_lineHandle, __pyx_v_name, __pyx_v_value); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2408, __pyx_L1_error) + __pyx_t_8 = __pyx_f_5pyrfc_6_cyrfc_fillStructureField(__pyx_v_typeDesc, __pyx_v_lineHandle, __pyx_v_name, __pyx_v_value); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2409, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":2406 + /* "pyrfc/_cyrfc.pyx":2407 * raise wrapError(&errorInfo) * line = lines[i] * if type(line) is dict: # <<<<<<<<<<<<<< @@ -30937,7 +30937,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillTable(RFC_TYPE_DESC_HANDLE __pyx_v_t goto __pyx_L6; } - /* "pyrfc/_cyrfc.pyx":2410 + /* "pyrfc/_cyrfc.pyx":2411 * fillStructureField(typeDesc, lineHandle, name, value) * else: * fillStructureField(typeDesc, lineHandle, '', line) # <<<<<<<<<<<<<< @@ -30945,13 +30945,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillTable(RFC_TYPE_DESC_HANDLE __pyx_v_t * */ /*else*/ { - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_fillStructureField(__pyx_v_typeDesc, __pyx_v_lineHandle, __pyx_kp_u__5, __pyx_v_line); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2410, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_fillStructureField(__pyx_v_typeDesc, __pyx_v_lineHandle, __pyx_kp_u__5, __pyx_v_line); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2411, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } __pyx_L6:; - /* "pyrfc/_cyrfc.pyx":2411 + /* "pyrfc/_cyrfc.pyx":2412 * else: * fillStructureField(typeDesc, lineHandle, '', line) * i += 1 # <<<<<<<<<<<<<< @@ -30961,7 +30961,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillTable(RFC_TYPE_DESC_HANDLE __pyx_v_t __pyx_v_i = (__pyx_v_i + 1); } - /* "pyrfc/_cyrfc.pyx":2396 + /* "pyrfc/_cyrfc.pyx":2397 * fillVariable(fieldDesc.type, container, fieldDesc.name, value, fieldDesc.typeDescHandle) * * cdef fillTable(RFC_TYPE_DESC_HANDLE typeDesc, RFC_TABLE_HANDLE container, lines): # <<<<<<<<<<<<<< @@ -30987,7 +30987,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillTable(RFC_TYPE_DESC_HANDLE __pyx_v_t return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2413 +/* "pyrfc/_cyrfc.pyx":2414 * i += 1 * * cdef fillVariable(RFCTYPE typ, RFC_FUNCTION_HANDLE container, SAP_UC* cName, value, RFC_TYPE_DESC_HANDLE typeDesc): # <<<<<<<<<<<<<< @@ -31050,7 +31050,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_RefNannySetupContext("fillVariable", 0); __Pyx_INCREF(__pyx_v_value); - /* "pyrfc/_cyrfc.pyx":2422 + /* "pyrfc/_cyrfc.pyx":2423 * global _LOCALE_RADIX * # print ("fill", wrapString(cName), value, type(value)) * try: # <<<<<<<<<<<<<< @@ -31066,7 +31066,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "pyrfc/_cyrfc.pyx":2423 + /* "pyrfc/_cyrfc.pyx":2424 * # print ("fill", wrapString(cName), value, type(value)) * try: * if typ == RFCTYPE_STRUCTURE: # <<<<<<<<<<<<<< @@ -31076,7 +31076,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU switch (__pyx_v_typ) { case RFCTYPE_STRUCTURE: - /* "pyrfc/_cyrfc.pyx":2424 + /* "pyrfc/_cyrfc.pyx":2425 * try: * if typ == RFCTYPE_STRUCTURE: * if type(value) is not dict: # <<<<<<<<<<<<<< @@ -31087,16 +31087,16 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_5 = (__pyx_t_4 != 0); if (unlikely(__pyx_t_5)) { - /* "pyrfc/_cyrfc.pyx":2425 + /* "pyrfc/_cyrfc.pyx":2426 * if typ == RFCTYPE_STRUCTURE: * if type(value) is not dict: * raise TypeError('dictionary required for structure parameter, received', str(type(value))) # <<<<<<<<<<<<<< * rc = RfcGetStructure(container, cName, &struct, &errorInfo) * if rc != RFC_OK: */ - __pyx_t_6 = __Pyx_PyObject_CallOneArg(((PyObject *)(&PyUnicode_Type)), ((PyObject *)Py_TYPE(__pyx_v_value))); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2425, __pyx_L3_error) + __pyx_t_6 = __Pyx_PyObject_CallOneArg(((PyObject *)(&PyUnicode_Type)), ((PyObject *)Py_TYPE(__pyx_v_value))); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2426, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2425, __pyx_L3_error) + __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2426, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_INCREF(__pyx_kp_u_dictionary_required_for_structur); __Pyx_GIVEREF(__pyx_kp_u_dictionary_required_for_structur); @@ -31104,14 +31104,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_GIVEREF(__pyx_t_6); PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_7, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2425, __pyx_L3_error) + __pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_7, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2426, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_Raise(__pyx_t_6, 0, 0, 0); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __PYX_ERR(0, 2425, __pyx_L3_error) + __PYX_ERR(0, 2426, __pyx_L3_error) - /* "pyrfc/_cyrfc.pyx":2424 + /* "pyrfc/_cyrfc.pyx":2425 * try: * if typ == RFCTYPE_STRUCTURE: * if type(value) is not dict: # <<<<<<<<<<<<<< @@ -31120,7 +31120,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2426 + /* "pyrfc/_cyrfc.pyx":2427 * if type(value) is not dict: * raise TypeError('dictionary required for structure parameter, received', str(type(value))) * rc = RfcGetStructure(container, cName, &struct, &errorInfo) # <<<<<<<<<<<<<< @@ -31129,7 +31129,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetStructure(__pyx_v_container, __pyx_v_cName, (&__pyx_v_struct), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2427 + /* "pyrfc/_cyrfc.pyx":2428 * raise TypeError('dictionary required for structure parameter, received', str(type(value))) * rc = RfcGetStructure(container, cName, &struct, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -31139,20 +31139,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_5 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_5)) { - /* "pyrfc/_cyrfc.pyx":2428 + /* "pyrfc/_cyrfc.pyx":2429 * rc = RfcGetStructure(container, cName, &struct, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * for name, value in value.iteritems(): * fillStructureField(typeDesc, struct, name, value) */ - __pyx_t_6 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2428, __pyx_L3_error) + __pyx_t_6 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2429, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_Raise(__pyx_t_6, 0, 0, 0); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __PYX_ERR(0, 2428, __pyx_L3_error) + __PYX_ERR(0, 2429, __pyx_L3_error) - /* "pyrfc/_cyrfc.pyx":2427 + /* "pyrfc/_cyrfc.pyx":2428 * raise TypeError('dictionary required for structure parameter, received', str(type(value))) * rc = RfcGetStructure(container, cName, &struct, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -31161,7 +31161,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2429 + /* "pyrfc/_cyrfc.pyx":2430 * if rc != RFC_OK: * raise wrapError(&errorInfo) * for name, value in value.iteritems(): # <<<<<<<<<<<<<< @@ -31171,9 +31171,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_8 = 0; if (unlikely(__pyx_v_value == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "iteritems"); - __PYX_ERR(0, 2429, __pyx_L3_error) + __PYX_ERR(0, 2430, __pyx_L3_error) } - __pyx_t_7 = __Pyx_dict_iterator(__pyx_v_value, 0, __pyx_n_s_iteritems, (&__pyx_t_9), (&__pyx_t_10)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2429, __pyx_L3_error) + __pyx_t_7 = __Pyx_dict_iterator(__pyx_v_value, 0, __pyx_n_s_iteritems, (&__pyx_t_9), (&__pyx_t_10)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2430, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = __pyx_t_7; @@ -31181,7 +31181,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU while (1) { __pyx_t_12 = __Pyx_dict_iter_next(__pyx_t_6, __pyx_t_9, &__pyx_t_8, &__pyx_t_7, &__pyx_t_11, NULL, __pyx_t_10); if (unlikely(__pyx_t_12 == 0)) break; - if (unlikely(__pyx_t_12 == -1)) __PYX_ERR(0, 2429, __pyx_L3_error) + if (unlikely(__pyx_t_12 == -1)) __PYX_ERR(0, 2430, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_GOTREF(__pyx_t_11); __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_7); @@ -31189,20 +31189,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_DECREF_SET(__pyx_v_value, __pyx_t_11); __pyx_t_11 = 0; - /* "pyrfc/_cyrfc.pyx":2430 + /* "pyrfc/_cyrfc.pyx":2431 * raise wrapError(&errorInfo) * for name, value in value.iteritems(): * fillStructureField(typeDesc, struct, name, value) # <<<<<<<<<<<<<< * elif typ == RFCTYPE_TABLE: * if type(value) is not list: */ - __pyx_t_11 = __pyx_f_5pyrfc_6_cyrfc_fillStructureField(__pyx_v_typeDesc, __pyx_v_struct, __pyx_v_name, __pyx_v_value); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2430, __pyx_L3_error) + __pyx_t_11 = __pyx_f_5pyrfc_6_cyrfc_fillStructureField(__pyx_v_typeDesc, __pyx_v_struct, __pyx_v_name, __pyx_v_value); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2431, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; } __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "pyrfc/_cyrfc.pyx":2423 + /* "pyrfc/_cyrfc.pyx":2424 * # print ("fill", wrapString(cName), value, type(value)) * try: * if typ == RFCTYPE_STRUCTURE: # <<<<<<<<<<<<<< @@ -31212,7 +31212,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_TABLE: - /* "pyrfc/_cyrfc.pyx":2432 + /* "pyrfc/_cyrfc.pyx":2433 * fillStructureField(typeDesc, struct, name, value) * elif typ == RFCTYPE_TABLE: * if type(value) is not list: # <<<<<<<<<<<<<< @@ -31223,16 +31223,16 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_4 = (__pyx_t_5 != 0); if (unlikely(__pyx_t_4)) { - /* "pyrfc/_cyrfc.pyx":2433 + /* "pyrfc/_cyrfc.pyx":2434 * elif typ == RFCTYPE_TABLE: * if type(value) is not list: * raise TypeError('list required for table parameter, received', str(type(value))) # <<<<<<<<<<<<<< * rc = RfcGetTable(container, cName, &table, &errorInfo) * if rc != RFC_OK: */ - __pyx_t_6 = __Pyx_PyObject_CallOneArg(((PyObject *)(&PyUnicode_Type)), ((PyObject *)Py_TYPE(__pyx_v_value))); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2433, __pyx_L3_error) + __pyx_t_6 = __Pyx_PyObject_CallOneArg(((PyObject *)(&PyUnicode_Type)), ((PyObject *)Py_TYPE(__pyx_v_value))); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2434, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_11 = PyTuple_New(2); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2433, __pyx_L3_error) + __pyx_t_11 = PyTuple_New(2); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2434, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_INCREF(__pyx_kp_u_list_required_for_table_paramete); __Pyx_GIVEREF(__pyx_kp_u_list_required_for_table_paramete); @@ -31240,14 +31240,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_GIVEREF(__pyx_t_6); PyTuple_SET_ITEM(__pyx_t_11, 1, __pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_11, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2433, __pyx_L3_error) + __pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_11, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2434, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; __Pyx_Raise(__pyx_t_6, 0, 0, 0); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __PYX_ERR(0, 2433, __pyx_L3_error) + __PYX_ERR(0, 2434, __pyx_L3_error) - /* "pyrfc/_cyrfc.pyx":2432 + /* "pyrfc/_cyrfc.pyx":2433 * fillStructureField(typeDesc, struct, name, value) * elif typ == RFCTYPE_TABLE: * if type(value) is not list: # <<<<<<<<<<<<<< @@ -31256,7 +31256,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2434 + /* "pyrfc/_cyrfc.pyx":2435 * if type(value) is not list: * raise TypeError('list required for table parameter, received', str(type(value))) * rc = RfcGetTable(container, cName, &table, &errorInfo) # <<<<<<<<<<<<<< @@ -31265,7 +31265,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetTable(__pyx_v_container, __pyx_v_cName, (&__pyx_v_table), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2435 + /* "pyrfc/_cyrfc.pyx":2436 * raise TypeError('list required for table parameter, received', str(type(value))) * rc = RfcGetTable(container, cName, &table, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -31275,20 +31275,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_4 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_4)) { - /* "pyrfc/_cyrfc.pyx":2436 + /* "pyrfc/_cyrfc.pyx":2437 * rc = RfcGetTable(container, cName, &table, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * fillTable(typeDesc, table, value) * elif typ == RFCTYPE_BYTE: */ - __pyx_t_6 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2436, __pyx_L3_error) + __pyx_t_6 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2437, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_Raise(__pyx_t_6, 0, 0, 0); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __PYX_ERR(0, 2436, __pyx_L3_error) + __PYX_ERR(0, 2437, __pyx_L3_error) - /* "pyrfc/_cyrfc.pyx":2435 + /* "pyrfc/_cyrfc.pyx":2436 * raise TypeError('list required for table parameter, received', str(type(value))) * rc = RfcGetTable(container, cName, &table, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -31297,18 +31297,18 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2437 + /* "pyrfc/_cyrfc.pyx":2438 * if rc != RFC_OK: * raise wrapError(&errorInfo) * fillTable(typeDesc, table, value) # <<<<<<<<<<<<<< * elif typ == RFCTYPE_BYTE: * bValue = fillBytes(value) */ - __pyx_t_6 = __pyx_f_5pyrfc_6_cyrfc_fillTable(__pyx_v_typeDesc, __pyx_v_table, __pyx_v_value); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2437, __pyx_L3_error) + __pyx_t_6 = __pyx_f_5pyrfc_6_cyrfc_fillTable(__pyx_v_typeDesc, __pyx_v_table, __pyx_v_value); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2438, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "pyrfc/_cyrfc.pyx":2431 + /* "pyrfc/_cyrfc.pyx":2432 * for name, value in value.iteritems(): * fillStructureField(typeDesc, struct, name, value) * elif typ == RFCTYPE_TABLE: # <<<<<<<<<<<<<< @@ -31318,27 +31318,27 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_BYTE: - /* "pyrfc/_cyrfc.pyx":2439 + /* "pyrfc/_cyrfc.pyx":2440 * fillTable(typeDesc, table, value) * elif typ == RFCTYPE_BYTE: * bValue = fillBytes(value) # <<<<<<<<<<<<<< * rc = RfcSetBytes(container, cName, bValue, int(len(value)), &errorInfo) * free(bValue) */ - __pyx_t_13 = __pyx_f_5pyrfc_6_cyrfc_fillBytes(__pyx_v_value); if (unlikely(__pyx_t_13 == ((SAP_RAW *)NULL))) __PYX_ERR(0, 2439, __pyx_L3_error) + __pyx_t_13 = __pyx_f_5pyrfc_6_cyrfc_fillBytes(__pyx_v_value); if (unlikely(__pyx_t_13 == ((SAP_RAW *)NULL))) __PYX_ERR(0, 2440, __pyx_L3_error) __pyx_v_bValue = __pyx_t_13; - /* "pyrfc/_cyrfc.pyx":2440 + /* "pyrfc/_cyrfc.pyx":2441 * elif typ == RFCTYPE_BYTE: * bValue = fillBytes(value) * rc = RfcSetBytes(container, cName, bValue, int(len(value)), &errorInfo) # <<<<<<<<<<<<<< * free(bValue) * elif typ == RFCTYPE_XSTRING: */ - __pyx_t_9 = PyObject_Length(__pyx_v_value); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2440, __pyx_L3_error) + __pyx_t_9 = PyObject_Length(__pyx_v_value); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2441, __pyx_L3_error) __pyx_v_rc = RfcSetBytes(__pyx_v_container, __pyx_v_cName, __pyx_v_bValue, ((unsigned int)__pyx_t_9), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2441 + /* "pyrfc/_cyrfc.pyx":2442 * bValue = fillBytes(value) * rc = RfcSetBytes(container, cName, bValue, int(len(value)), &errorInfo) * free(bValue) # <<<<<<<<<<<<<< @@ -31347,7 +31347,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ free(__pyx_v_bValue); - /* "pyrfc/_cyrfc.pyx":2438 + /* "pyrfc/_cyrfc.pyx":2439 * raise wrapError(&errorInfo) * fillTable(typeDesc, table, value) * elif typ == RFCTYPE_BYTE: # <<<<<<<<<<<<<< @@ -31357,27 +31357,27 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_XSTRING: - /* "pyrfc/_cyrfc.pyx":2443 + /* "pyrfc/_cyrfc.pyx":2444 * free(bValue) * elif typ == RFCTYPE_XSTRING: * bValue = fillBytes(value) # <<<<<<<<<<<<<< * rc = RfcSetXString(container, cName, bValue, int(len(value)), &errorInfo) * free(bValue) */ - __pyx_t_13 = __pyx_f_5pyrfc_6_cyrfc_fillBytes(__pyx_v_value); if (unlikely(__pyx_t_13 == ((SAP_RAW *)NULL))) __PYX_ERR(0, 2443, __pyx_L3_error) + __pyx_t_13 = __pyx_f_5pyrfc_6_cyrfc_fillBytes(__pyx_v_value); if (unlikely(__pyx_t_13 == ((SAP_RAW *)NULL))) __PYX_ERR(0, 2444, __pyx_L3_error) __pyx_v_bValue = __pyx_t_13; - /* "pyrfc/_cyrfc.pyx":2444 + /* "pyrfc/_cyrfc.pyx":2445 * elif typ == RFCTYPE_XSTRING: * bValue = fillBytes(value) * rc = RfcSetXString(container, cName, bValue, int(len(value)), &errorInfo) # <<<<<<<<<<<<<< * free(bValue) * elif typ == RFCTYPE_CHAR: */ - __pyx_t_9 = PyObject_Length(__pyx_v_value); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2444, __pyx_L3_error) + __pyx_t_9 = PyObject_Length(__pyx_v_value); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2445, __pyx_L3_error) __pyx_v_rc = RfcSetXString(__pyx_v_container, __pyx_v_cName, __pyx_v_bValue, ((unsigned int)__pyx_t_9), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2445 + /* "pyrfc/_cyrfc.pyx":2446 * bValue = fillBytes(value) * rc = RfcSetXString(container, cName, bValue, int(len(value)), &errorInfo) * free(bValue) # <<<<<<<<<<<<<< @@ -31386,7 +31386,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ free(__pyx_v_bValue); - /* "pyrfc/_cyrfc.pyx":2442 + /* "pyrfc/_cyrfc.pyx":2443 * rc = RfcSetBytes(container, cName, bValue, int(len(value)), &errorInfo) * free(bValue) * elif typ == RFCTYPE_XSTRING: # <<<<<<<<<<<<<< @@ -31396,7 +31396,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_CHAR: - /* "pyrfc/_cyrfc.pyx":2447 + /* "pyrfc/_cyrfc.pyx":2448 * free(bValue) * elif typ == RFCTYPE_CHAR: * if type(value) is not str: # <<<<<<<<<<<<<< @@ -31407,14 +31407,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_5 = (__pyx_t_4 != 0); if (unlikely(__pyx_t_5)) { - /* "pyrfc/_cyrfc.pyx":2448 + /* "pyrfc/_cyrfc.pyx":2449 * elif typ == RFCTYPE_CHAR: * if type(value) is not str: * raise TypeError('an string is required, received', value, 'of type', type(value)) # <<<<<<<<<<<<<< * cValue = fillString(value) * rc = RfcSetChars(container, cName, cValue, strlenU(cValue), &errorInfo) */ - __pyx_t_6 = PyTuple_New(4); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2448, __pyx_L3_error) + __pyx_t_6 = PyTuple_New(4); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2449, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_INCREF(__pyx_kp_u_an_string_is_required_received); __Pyx_GIVEREF(__pyx_kp_u_an_string_is_required_received); @@ -31428,14 +31428,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_value))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(__pyx_v_value))); PyTuple_SET_ITEM(__pyx_t_6, 3, ((PyObject *)Py_TYPE(__pyx_v_value))); - __pyx_t_11 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_6, NULL); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2448, __pyx_L3_error) + __pyx_t_11 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_6, NULL); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2449, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_Raise(__pyx_t_11, 0, 0, 0); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - __PYX_ERR(0, 2448, __pyx_L3_error) + __PYX_ERR(0, 2449, __pyx_L3_error) - /* "pyrfc/_cyrfc.pyx":2447 + /* "pyrfc/_cyrfc.pyx":2448 * free(bValue) * elif typ == RFCTYPE_CHAR: * if type(value) is not str: # <<<<<<<<<<<<<< @@ -31444,17 +31444,17 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2449 + /* "pyrfc/_cyrfc.pyx":2450 * if type(value) is not str: * raise TypeError('an string is required, received', value, 'of type', type(value)) * cValue = fillString(value) # <<<<<<<<<<<<<< * rc = RfcSetChars(container, cName, cValue, strlenU(cValue), &errorInfo) * free(cValue) */ - __pyx_t_14 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_value); if (unlikely(__pyx_t_14 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2449, __pyx_L3_error) + __pyx_t_14 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_value); if (unlikely(__pyx_t_14 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2450, __pyx_L3_error) __pyx_v_cValue = __pyx_t_14; - /* "pyrfc/_cyrfc.pyx":2450 + /* "pyrfc/_cyrfc.pyx":2451 * raise TypeError('an string is required, received', value, 'of type', type(value)) * cValue = fillString(value) * rc = RfcSetChars(container, cName, cValue, strlenU(cValue), &errorInfo) # <<<<<<<<<<<<<< @@ -31463,7 +31463,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcSetChars(__pyx_v_container, __pyx_v_cName, __pyx_v_cValue, strlenU(__pyx_v_cValue), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2451 + /* "pyrfc/_cyrfc.pyx":2452 * cValue = fillString(value) * rc = RfcSetChars(container, cName, cValue, strlenU(cValue), &errorInfo) * free(cValue) # <<<<<<<<<<<<<< @@ -31472,7 +31472,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ free(__pyx_v_cValue); - /* "pyrfc/_cyrfc.pyx":2446 + /* "pyrfc/_cyrfc.pyx":2447 * rc = RfcSetXString(container, cName, bValue, int(len(value)), &errorInfo) * free(bValue) * elif typ == RFCTYPE_CHAR: # <<<<<<<<<<<<<< @@ -31482,7 +31482,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_STRING: - /* "pyrfc/_cyrfc.pyx":2453 + /* "pyrfc/_cyrfc.pyx":2454 * free(cValue) * elif typ == RFCTYPE_STRING: * if type(value) is not str: # <<<<<<<<<<<<<< @@ -31493,14 +31493,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_4 = (__pyx_t_5 != 0); if (unlikely(__pyx_t_4)) { - /* "pyrfc/_cyrfc.pyx":2454 + /* "pyrfc/_cyrfc.pyx":2455 * elif typ == RFCTYPE_STRING: * if type(value) is not str: * raise TypeError('an string is required, received', value, 'of type', type(value)) # <<<<<<<<<<<<<< * cValue = fillString(value) * rc = RfcSetString(container, cName, cValue, strlenU(cValue), &errorInfo) */ - __pyx_t_11 = PyTuple_New(4); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2454, __pyx_L3_error) + __pyx_t_11 = PyTuple_New(4); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2455, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_INCREF(__pyx_kp_u_an_string_is_required_received); __Pyx_GIVEREF(__pyx_kp_u_an_string_is_required_received); @@ -31514,14 +31514,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_value))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(__pyx_v_value))); PyTuple_SET_ITEM(__pyx_t_11, 3, ((PyObject *)Py_TYPE(__pyx_v_value))); - __pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_11, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2454, __pyx_L3_error) + __pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_11, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2455, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; __Pyx_Raise(__pyx_t_6, 0, 0, 0); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __PYX_ERR(0, 2454, __pyx_L3_error) + __PYX_ERR(0, 2455, __pyx_L3_error) - /* "pyrfc/_cyrfc.pyx":2453 + /* "pyrfc/_cyrfc.pyx":2454 * free(cValue) * elif typ == RFCTYPE_STRING: * if type(value) is not str: # <<<<<<<<<<<<<< @@ -31530,17 +31530,17 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2455 + /* "pyrfc/_cyrfc.pyx":2456 * if type(value) is not str: * raise TypeError('an string is required, received', value, 'of type', type(value)) * cValue = fillString(value) # <<<<<<<<<<<<<< * rc = RfcSetString(container, cName, cValue, strlenU(cValue), &errorInfo) * free(cValue) */ - __pyx_t_14 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_value); if (unlikely(__pyx_t_14 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2455, __pyx_L3_error) + __pyx_t_14 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_value); if (unlikely(__pyx_t_14 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2456, __pyx_L3_error) __pyx_v_cValue = __pyx_t_14; - /* "pyrfc/_cyrfc.pyx":2456 + /* "pyrfc/_cyrfc.pyx":2457 * raise TypeError('an string is required, received', value, 'of type', type(value)) * cValue = fillString(value) * rc = RfcSetString(container, cName, cValue, strlenU(cValue), &errorInfo) # <<<<<<<<<<<<<< @@ -31549,7 +31549,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcSetString(__pyx_v_container, __pyx_v_cName, __pyx_v_cValue, strlenU(__pyx_v_cValue), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2457 + /* "pyrfc/_cyrfc.pyx":2458 * cValue = fillString(value) * rc = RfcSetString(container, cName, cValue, strlenU(cValue), &errorInfo) * free(cValue) # <<<<<<<<<<<<<< @@ -31558,7 +31558,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ free(__pyx_v_cValue); - /* "pyrfc/_cyrfc.pyx":2452 + /* "pyrfc/_cyrfc.pyx":2453 * rc = RfcSetChars(container, cName, cValue, strlenU(cValue), &errorInfo) * free(cValue) * elif typ == RFCTYPE_STRING: # <<<<<<<<<<<<<< @@ -31568,7 +31568,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_NUM: - /* "pyrfc/_cyrfc.pyx":2459 + /* "pyrfc/_cyrfc.pyx":2460 * free(cValue) * elif typ == RFCTYPE_NUM: * try: # <<<<<<<<<<<<<< @@ -31584,14 +31584,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_XGOTREF(__pyx_t_17); /*try:*/ { - /* "pyrfc/_cyrfc.pyx":2460 + /* "pyrfc/_cyrfc.pyx":2461 * elif typ == RFCTYPE_NUM: * try: * if value.isdigit(): # <<<<<<<<<<<<<< * cValue = fillString(value) * rc = RfcSetNum(container, cName, cValue, strlenU(cValue), &errorInfo) */ - __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_value, __pyx_n_s_isdigit); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2460, __pyx_L17_error) + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_value, __pyx_n_s_isdigit); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2461, __pyx_L17_error) __Pyx_GOTREF(__pyx_t_11); __pyx_t_7 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_11))) { @@ -31605,24 +31605,24 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU } __pyx_t_6 = (__pyx_t_7) ? __Pyx_PyObject_CallOneArg(__pyx_t_11, __pyx_t_7) : __Pyx_PyObject_CallNoArg(__pyx_t_11); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2460, __pyx_L17_error) + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2461, __pyx_L17_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 2460, __pyx_L17_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 2461, __pyx_L17_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (likely(__pyx_t_4)) { - /* "pyrfc/_cyrfc.pyx":2461 + /* "pyrfc/_cyrfc.pyx":2462 * try: * if value.isdigit(): * cValue = fillString(value) # <<<<<<<<<<<<<< * rc = RfcSetNum(container, cName, cValue, strlenU(cValue), &errorInfo) * free(cValue) */ - __pyx_t_14 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_value); if (unlikely(__pyx_t_14 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2461, __pyx_L17_error) + __pyx_t_14 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_value); if (unlikely(__pyx_t_14 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2462, __pyx_L17_error) __pyx_v_cValue = __pyx_t_14; - /* "pyrfc/_cyrfc.pyx":2462 + /* "pyrfc/_cyrfc.pyx":2463 * if value.isdigit(): * cValue = fillString(value) * rc = RfcSetNum(container, cName, cValue, strlenU(cValue), &errorInfo) # <<<<<<<<<<<<<< @@ -31631,7 +31631,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcSetNum(__pyx_v_container, __pyx_v_cName, __pyx_v_cValue, strlenU(__pyx_v_cValue), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2463 + /* "pyrfc/_cyrfc.pyx":2464 * cValue = fillString(value) * rc = RfcSetNum(container, cName, cValue, strlenU(cValue), &errorInfo) * free(cValue) # <<<<<<<<<<<<<< @@ -31640,7 +31640,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ free(__pyx_v_cValue); - /* "pyrfc/_cyrfc.pyx":2460 + /* "pyrfc/_cyrfc.pyx":2461 * elif typ == RFCTYPE_NUM: * try: * if value.isdigit(): # <<<<<<<<<<<<<< @@ -31650,7 +31650,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU goto __pyx_L23; } - /* "pyrfc/_cyrfc.pyx":2465 + /* "pyrfc/_cyrfc.pyx":2466 * free(cValue) * else: * raise # <<<<<<<<<<<<<< @@ -31658,11 +31658,11 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU * raise TypeError('a numeric string is required, received', value, 'of type', type(value)) */ /*else*/ { - __Pyx_ReraiseException(); __PYX_ERR(0, 2465, __pyx_L17_error) + __Pyx_ReraiseException(); __PYX_ERR(0, 2466, __pyx_L17_error) } __pyx_L23:; - /* "pyrfc/_cyrfc.pyx":2459 + /* "pyrfc/_cyrfc.pyx":2460 * free(cValue) * elif typ == RFCTYPE_NUM: * try: # <<<<<<<<<<<<<< @@ -31679,7 +31679,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "pyrfc/_cyrfc.pyx":2466 + /* "pyrfc/_cyrfc.pyx":2467 * else: * raise * except Exception as ex: # <<<<<<<<<<<<<< @@ -31689,7 +31689,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_10 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0]))); if (__pyx_t_10) { __Pyx_AddTraceback("pyrfc._cyrfc.fillVariable", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_6, &__pyx_t_11, &__pyx_t_7) < 0) __PYX_ERR(0, 2466, __pyx_L19_except_error) + if (__Pyx_GetException(&__pyx_t_6, &__pyx_t_11, &__pyx_t_7) < 0) __PYX_ERR(0, 2467, __pyx_L19_except_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_GOTREF(__pyx_t_11); __Pyx_GOTREF(__pyx_t_7); @@ -31697,14 +31697,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_v_ex = __pyx_t_11; /*try:*/ { - /* "pyrfc/_cyrfc.pyx":2467 + /* "pyrfc/_cyrfc.pyx":2468 * raise * except Exception as ex: * raise TypeError('a numeric string is required, received', value, 'of type', type(value)) # <<<<<<<<<<<<<< * elif typ == RFCTYPE_BCD or typ == RFCTYPE_FLOAT or typ == RFCTYPE_DECF16 or typ == RFCTYPE_DECF34: * # cast to string prevents rounding errors in NWRFC SDK */ - __pyx_t_18 = PyTuple_New(4); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 2467, __pyx_L29_error) + __pyx_t_18 = PyTuple_New(4); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 2468, __pyx_L29_error) __Pyx_GOTREF(__pyx_t_18); __Pyx_INCREF(__pyx_kp_u_a_numeric_string_is_required_rec); __Pyx_GIVEREF(__pyx_kp_u_a_numeric_string_is_required_rec); @@ -31718,15 +31718,15 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_value))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(__pyx_v_value))); PyTuple_SET_ITEM(__pyx_t_18, 3, ((PyObject *)Py_TYPE(__pyx_v_value))); - __pyx_t_19 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_18, NULL); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2467, __pyx_L29_error) + __pyx_t_19 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_18, NULL); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2468, __pyx_L29_error) __Pyx_GOTREF(__pyx_t_19); __Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0; __Pyx_Raise(__pyx_t_19, 0, 0, 0); __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; - __PYX_ERR(0, 2467, __pyx_L29_error) + __PYX_ERR(0, 2468, __pyx_L29_error) } - /* "pyrfc/_cyrfc.pyx":2466 + /* "pyrfc/_cyrfc.pyx":2467 * else: * raise * except Exception as ex: # <<<<<<<<<<<<<< @@ -31773,7 +31773,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU goto __pyx_L19_except_error; __pyx_L19_except_error:; - /* "pyrfc/_cyrfc.pyx":2459 + /* "pyrfc/_cyrfc.pyx":2460 * free(cValue) * elif typ == RFCTYPE_NUM: * try: # <<<<<<<<<<<<<< @@ -31788,7 +31788,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_L22_try_end:; } - /* "pyrfc/_cyrfc.pyx":2458 + /* "pyrfc/_cyrfc.pyx":2459 * rc = RfcSetString(container, cName, cValue, strlenU(cValue), &errorInfo) * free(cValue) * elif typ == RFCTYPE_NUM: # <<<<<<<<<<<<<< @@ -31798,7 +31798,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_BCD: - /* "pyrfc/_cyrfc.pyx":2468 + /* "pyrfc/_cyrfc.pyx":2469 * except Exception as ex: * raise TypeError('a numeric string is required, received', value, 'of type', type(value)) * elif typ == RFCTYPE_BCD or typ == RFCTYPE_FLOAT or typ == RFCTYPE_DECF16 or typ == RFCTYPE_DECF34: # <<<<<<<<<<<<<< @@ -31809,7 +31809,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU case RFCTYPE_DECF16: case RFCTYPE_DECF34: - /* "pyrfc/_cyrfc.pyx":2470 + /* "pyrfc/_cyrfc.pyx":2471 * elif typ == RFCTYPE_BCD or typ == RFCTYPE_FLOAT or typ == RFCTYPE_DECF16 or typ == RFCTYPE_DECF34: * # cast to string prevents rounding errors in NWRFC SDK * try: # <<<<<<<<<<<<<< @@ -31825,7 +31825,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_XGOTREF(__pyx_t_15); /*try:*/ { - /* "pyrfc/_cyrfc.pyx":2471 + /* "pyrfc/_cyrfc.pyx":2472 * # cast to string prevents rounding errors in NWRFC SDK * try: * if type(value) is float or type(value) is Decimal: # <<<<<<<<<<<<<< @@ -31839,7 +31839,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_4 = __pyx_t_27; goto __pyx_L42_bool_binop_done; } - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_Decimal); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2471, __pyx_L35_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_Decimal); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2472, __pyx_L35_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_27 = (((PyObject *)Py_TYPE(__pyx_v_value)) == __pyx_t_7); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; @@ -31848,19 +31848,19 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_L42_bool_binop_done:; if (__pyx_t_4) { - /* "pyrfc/_cyrfc.pyx":2472 + /* "pyrfc/_cyrfc.pyx":2473 * try: * if type(value) is float or type(value) is Decimal: * svalue = str(value) # <<<<<<<<<<<<<< * else: * # string passed from application should be locale correct, do nothing */ - __pyx_t_7 = __Pyx_PyObject_CallOneArg(((PyObject *)(&PyUnicode_Type)), __pyx_v_value); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2472, __pyx_L35_error) + __pyx_t_7 = __Pyx_PyObject_CallOneArg(((PyObject *)(&PyUnicode_Type)), __pyx_v_value); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2473, __pyx_L35_error) __Pyx_GOTREF(__pyx_t_7); __pyx_v_svalue = __pyx_t_7; __pyx_t_7 = 0; - /* "pyrfc/_cyrfc.pyx":2471 + /* "pyrfc/_cyrfc.pyx":2472 * # cast to string prevents rounding errors in NWRFC SDK * try: * if type(value) is float or type(value) is Decimal: # <<<<<<<<<<<<<< @@ -31870,7 +31870,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU goto __pyx_L41; } - /* "pyrfc/_cyrfc.pyx":2475 + /* "pyrfc/_cyrfc.pyx":2476 * else: * # string passed from application should be locale correct, do nothing * svalue = value # <<<<<<<<<<<<<< @@ -31883,38 +31883,38 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU } __pyx_L41:; - /* "pyrfc/_cyrfc.pyx":2477 + /* "pyrfc/_cyrfc.pyx":2478 * svalue = value * # decimal separator must be "." for the Decimal parsing check * locale_radix = _LOCALE_RADIX # localeconv()['decimal_point'] # <<<<<<<<<<<<<< * if locale_radix != ".": * Decimal('.'.join(svalue.rsplit(locale_radix, 1))) */ - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_LOCALE_RADIX); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2477, __pyx_L35_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_LOCALE_RADIX); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2478, __pyx_L35_error) __Pyx_GOTREF(__pyx_t_7); __pyx_v_locale_radix = __pyx_t_7; __pyx_t_7 = 0; - /* "pyrfc/_cyrfc.pyx":2478 + /* "pyrfc/_cyrfc.pyx":2479 * # decimal separator must be "." for the Decimal parsing check * locale_radix = _LOCALE_RADIX # localeconv()['decimal_point'] * if locale_radix != ".": # <<<<<<<<<<<<<< * Decimal('.'.join(svalue.rsplit(locale_radix, 1))) * else: */ - __pyx_t_4 = (__Pyx_PyUnicode_Equals(__pyx_v_locale_radix, __pyx_kp_u__21, Py_NE)); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 2478, __pyx_L35_error) + __pyx_t_4 = (__Pyx_PyUnicode_Equals(__pyx_v_locale_radix, __pyx_kp_u__21, Py_NE)); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 2479, __pyx_L35_error) if (__pyx_t_4) { - /* "pyrfc/_cyrfc.pyx":2479 + /* "pyrfc/_cyrfc.pyx":2480 * locale_radix = _LOCALE_RADIX # localeconv()['decimal_point'] * if locale_radix != ".": * Decimal('.'.join(svalue.rsplit(locale_radix, 1))) # <<<<<<<<<<<<<< * else: * Decimal(svalue) */ - __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_n_s_Decimal); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2479, __pyx_L35_error) + __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_n_s_Decimal); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2480, __pyx_L35_error) __Pyx_GOTREF(__pyx_t_11); - __pyx_t_19 = __Pyx_PyObject_GetAttrStr(__pyx_v_svalue, __pyx_n_s_rsplit); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2479, __pyx_L35_error) + __pyx_t_19 = __Pyx_PyObject_GetAttrStr(__pyx_v_svalue, __pyx_n_s_rsplit); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2480, __pyx_L35_error) __Pyx_GOTREF(__pyx_t_19); __pyx_t_18 = NULL; __pyx_t_12 = 0; @@ -31931,7 +31931,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_19)) { PyObject *__pyx_temp[3] = {__pyx_t_18, __pyx_v_locale_radix, __pyx_int_1}; - __pyx_t_6 = __Pyx_PyFunction_FastCall(__pyx_t_19, __pyx_temp+1-__pyx_t_12, 2+__pyx_t_12); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2479, __pyx_L35_error) + __pyx_t_6 = __Pyx_PyFunction_FastCall(__pyx_t_19, __pyx_temp+1-__pyx_t_12, 2+__pyx_t_12); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2480, __pyx_L35_error) __Pyx_XDECREF(__pyx_t_18); __pyx_t_18 = 0; __Pyx_GOTREF(__pyx_t_6); } else @@ -31939,13 +31939,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_19)) { PyObject *__pyx_temp[3] = {__pyx_t_18, __pyx_v_locale_radix, __pyx_int_1}; - __pyx_t_6 = __Pyx_PyCFunction_FastCall(__pyx_t_19, __pyx_temp+1-__pyx_t_12, 2+__pyx_t_12); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2479, __pyx_L35_error) + __pyx_t_6 = __Pyx_PyCFunction_FastCall(__pyx_t_19, __pyx_temp+1-__pyx_t_12, 2+__pyx_t_12); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2480, __pyx_L35_error) __Pyx_XDECREF(__pyx_t_18); __pyx_t_18 = 0; __Pyx_GOTREF(__pyx_t_6); } else #endif { - __pyx_t_28 = PyTuple_New(2+__pyx_t_12); if (unlikely(!__pyx_t_28)) __PYX_ERR(0, 2479, __pyx_L35_error) + __pyx_t_28 = PyTuple_New(2+__pyx_t_12); if (unlikely(!__pyx_t_28)) __PYX_ERR(0, 2480, __pyx_L35_error) __Pyx_GOTREF(__pyx_t_28); if (__pyx_t_18) { __Pyx_GIVEREF(__pyx_t_18); PyTuple_SET_ITEM(__pyx_t_28, 0, __pyx_t_18); __pyx_t_18 = NULL; @@ -31956,12 +31956,12 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_INCREF(__pyx_int_1); __Pyx_GIVEREF(__pyx_int_1); PyTuple_SET_ITEM(__pyx_t_28, 1+__pyx_t_12, __pyx_int_1); - __pyx_t_6 = __Pyx_PyObject_Call(__pyx_t_19, __pyx_t_28, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2479, __pyx_L35_error) + __pyx_t_6 = __Pyx_PyObject_Call(__pyx_t_19, __pyx_t_28, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2480, __pyx_L35_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_28); __pyx_t_28 = 0; } __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; - __pyx_t_19 = PyUnicode_Join(__pyx_kp_u__21, __pyx_t_6); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2479, __pyx_L35_error) + __pyx_t_19 = PyUnicode_Join(__pyx_kp_u__21, __pyx_t_6); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2480, __pyx_L35_error) __Pyx_GOTREF(__pyx_t_19); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_6 = NULL; @@ -31977,12 +31977,12 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_7 = (__pyx_t_6) ? __Pyx_PyObject_Call2Args(__pyx_t_11, __pyx_t_6, __pyx_t_19) : __Pyx_PyObject_CallOneArg(__pyx_t_11, __pyx_t_19); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2479, __pyx_L35_error) + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2480, __pyx_L35_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "pyrfc/_cyrfc.pyx":2478 + /* "pyrfc/_cyrfc.pyx":2479 * # decimal separator must be "." for the Decimal parsing check * locale_radix = _LOCALE_RADIX # localeconv()['decimal_point'] * if locale_radix != ".": # <<<<<<<<<<<<<< @@ -31992,7 +31992,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU goto __pyx_L44; } - /* "pyrfc/_cyrfc.pyx":2481 + /* "pyrfc/_cyrfc.pyx":2482 * Decimal('.'.join(svalue.rsplit(locale_radix, 1))) * else: * Decimal(svalue) # <<<<<<<<<<<<<< @@ -32000,7 +32000,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU * except Exception as ex: */ /*else*/ { - __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_n_s_Decimal); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2481, __pyx_L35_error) + __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_n_s_Decimal); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2482, __pyx_L35_error) __Pyx_GOTREF(__pyx_t_11); __pyx_t_19 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_11))) { @@ -32014,24 +32014,24 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU } __pyx_t_7 = (__pyx_t_19) ? __Pyx_PyObject_Call2Args(__pyx_t_11, __pyx_t_19, __pyx_v_svalue) : __Pyx_PyObject_CallOneArg(__pyx_t_11, __pyx_v_svalue); __Pyx_XDECREF(__pyx_t_19); __pyx_t_19 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2481, __pyx_L35_error) + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2482, __pyx_L35_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } __pyx_L44:; - /* "pyrfc/_cyrfc.pyx":2482 + /* "pyrfc/_cyrfc.pyx":2483 * else: * Decimal(svalue) * cValue = fillString(svalue) # <<<<<<<<<<<<<< * except Exception as ex: * raise TypeError('a decimal value required, received', value, 'of type', type(value)) */ - __pyx_t_14 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_svalue); if (unlikely(__pyx_t_14 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2482, __pyx_L35_error) + __pyx_t_14 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_svalue); if (unlikely(__pyx_t_14 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2483, __pyx_L35_error) __pyx_v_cValue = __pyx_t_14; - /* "pyrfc/_cyrfc.pyx":2470 + /* "pyrfc/_cyrfc.pyx":2471 * elif typ == RFCTYPE_BCD or typ == RFCTYPE_FLOAT or typ == RFCTYPE_DECF16 or typ == RFCTYPE_DECF34: * # cast to string prevents rounding errors in NWRFC SDK * try: # <<<<<<<<<<<<<< @@ -32051,7 +32051,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "pyrfc/_cyrfc.pyx":2483 + /* "pyrfc/_cyrfc.pyx":2484 * Decimal(svalue) * cValue = fillString(svalue) * except Exception as ex: # <<<<<<<<<<<<<< @@ -32061,7 +32061,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_12 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0]))); if (__pyx_t_12) { __Pyx_AddTraceback("pyrfc._cyrfc.fillVariable", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_7, &__pyx_t_11, &__pyx_t_19) < 0) __PYX_ERR(0, 2483, __pyx_L37_except_error) + if (__Pyx_GetException(&__pyx_t_7, &__pyx_t_11, &__pyx_t_19) < 0) __PYX_ERR(0, 2484, __pyx_L37_except_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_GOTREF(__pyx_t_11); __Pyx_GOTREF(__pyx_t_19); @@ -32069,14 +32069,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_v_ex = __pyx_t_11; /*try:*/ { - /* "pyrfc/_cyrfc.pyx":2484 + /* "pyrfc/_cyrfc.pyx":2485 * cValue = fillString(svalue) * except Exception as ex: * raise TypeError('a decimal value required, received', value, 'of type', type(value)) # <<<<<<<<<<<<<< * rc = RfcSetString(container, cName, cValue, strlenU(cValue), &errorInfo) * free(cValue) */ - __pyx_t_6 = PyTuple_New(4); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2484, __pyx_L50_error) + __pyx_t_6 = PyTuple_New(4); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2485, __pyx_L50_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_INCREF(__pyx_kp_u_a_decimal_value_required_receive); __Pyx_GIVEREF(__pyx_kp_u_a_decimal_value_required_receive); @@ -32090,15 +32090,15 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_value))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(__pyx_v_value))); PyTuple_SET_ITEM(__pyx_t_6, 3, ((PyObject *)Py_TYPE(__pyx_v_value))); - __pyx_t_28 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_6, NULL); if (unlikely(!__pyx_t_28)) __PYX_ERR(0, 2484, __pyx_L50_error) + __pyx_t_28 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_6, NULL); if (unlikely(!__pyx_t_28)) __PYX_ERR(0, 2485, __pyx_L50_error) __Pyx_GOTREF(__pyx_t_28); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_Raise(__pyx_t_28, 0, 0, 0); __Pyx_DECREF(__pyx_t_28); __pyx_t_28 = 0; - __PYX_ERR(0, 2484, __pyx_L50_error) + __PYX_ERR(0, 2485, __pyx_L50_error) } - /* "pyrfc/_cyrfc.pyx":2483 + /* "pyrfc/_cyrfc.pyx":2484 * Decimal(svalue) * cValue = fillString(svalue) * except Exception as ex: # <<<<<<<<<<<<<< @@ -32146,7 +32146,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU goto __pyx_L37_except_error; __pyx_L37_except_error:; - /* "pyrfc/_cyrfc.pyx":2470 + /* "pyrfc/_cyrfc.pyx":2471 * elif typ == RFCTYPE_BCD or typ == RFCTYPE_FLOAT or typ == RFCTYPE_DECF16 or typ == RFCTYPE_DECF34: * # cast to string prevents rounding errors in NWRFC SDK * try: # <<<<<<<<<<<<<< @@ -32161,7 +32161,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_L40_try_end:; } - /* "pyrfc/_cyrfc.pyx":2485 + /* "pyrfc/_cyrfc.pyx":2486 * except Exception as ex: * raise TypeError('a decimal value required, received', value, 'of type', type(value)) * rc = RfcSetString(container, cName, cValue, strlenU(cValue), &errorInfo) # <<<<<<<<<<<<<< @@ -32170,7 +32170,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcSetString(__pyx_v_container, __pyx_v_cName, __pyx_v_cValue, strlenU(__pyx_v_cValue), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2486 + /* "pyrfc/_cyrfc.pyx":2487 * raise TypeError('a decimal value required, received', value, 'of type', type(value)) * rc = RfcSetString(container, cName, cValue, strlenU(cValue), &errorInfo) * free(cValue) # <<<<<<<<<<<<<< @@ -32179,7 +32179,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ free(__pyx_v_cValue); - /* "pyrfc/_cyrfc.pyx":2468 + /* "pyrfc/_cyrfc.pyx":2469 * except Exception as ex: * raise TypeError('a numeric string is required, received', value, 'of type', type(value)) * elif typ == RFCTYPE_BCD or typ == RFCTYPE_FLOAT or typ == RFCTYPE_DECF16 or typ == RFCTYPE_DECF34: # <<<<<<<<<<<<<< @@ -32189,7 +32189,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_INT: - /* "pyrfc/_cyrfc.pyx":2487 + /* "pyrfc/_cyrfc.pyx":2488 * rc = RfcSetString(container, cName, cValue, strlenU(cValue), &errorInfo) * free(cValue) * elif typ in (RFCTYPE_INT, RFCTYPE_INT1, RFCTYPE_INT2): # <<<<<<<<<<<<<< @@ -32199,7 +32199,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU case RFCTYPE_INT1: case RFCTYPE_INT2: - /* "pyrfc/_cyrfc.pyx":2488 + /* "pyrfc/_cyrfc.pyx":2489 * free(cValue) * elif typ in (RFCTYPE_INT, RFCTYPE_INT1, RFCTYPE_INT2): * if type(value) is not int: # <<<<<<<<<<<<<< @@ -32210,14 +32210,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_5 = (__pyx_t_4 != 0); if (unlikely(__pyx_t_5)) { - /* "pyrfc/_cyrfc.pyx":2489 + /* "pyrfc/_cyrfc.pyx":2490 * elif typ in (RFCTYPE_INT, RFCTYPE_INT1, RFCTYPE_INT2): * if type(value) is not int: * raise TypeError('an integer required, received', value, 'of type', type(value)) # <<<<<<<<<<<<<< * rc = RfcSetInt(container, cName, value, &errorInfo) * elif typ == RFCTYPE_INT8: */ - __pyx_t_19 = PyTuple_New(4); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2489, __pyx_L3_error) + __pyx_t_19 = PyTuple_New(4); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2490, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_19); __Pyx_INCREF(__pyx_kp_u_an_integer_required_received); __Pyx_GIVEREF(__pyx_kp_u_an_integer_required_received); @@ -32231,14 +32231,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_value))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(__pyx_v_value))); PyTuple_SET_ITEM(__pyx_t_19, 3, ((PyObject *)Py_TYPE(__pyx_v_value))); - __pyx_t_11 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_19, NULL); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2489, __pyx_L3_error) + __pyx_t_11 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_19, NULL); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2490, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; __Pyx_Raise(__pyx_t_11, 0, 0, 0); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - __PYX_ERR(0, 2489, __pyx_L3_error) + __PYX_ERR(0, 2490, __pyx_L3_error) - /* "pyrfc/_cyrfc.pyx":2488 + /* "pyrfc/_cyrfc.pyx":2489 * free(cValue) * elif typ in (RFCTYPE_INT, RFCTYPE_INT1, RFCTYPE_INT2): * if type(value) is not int: # <<<<<<<<<<<<<< @@ -32247,17 +32247,17 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2490 + /* "pyrfc/_cyrfc.pyx":2491 * if type(value) is not int: * raise TypeError('an integer required, received', value, 'of type', type(value)) * rc = RfcSetInt(container, cName, value, &errorInfo) # <<<<<<<<<<<<<< * elif typ == RFCTYPE_INT8: * if type(value) is not int: */ - __pyx_t_30 = __Pyx_PyInt_As_RFC_INT(__pyx_v_value); if (unlikely((__pyx_t_30 == ((RFC_INT)-1)) && PyErr_Occurred())) __PYX_ERR(0, 2490, __pyx_L3_error) + __pyx_t_30 = __Pyx_PyInt_As_RFC_INT(__pyx_v_value); if (unlikely((__pyx_t_30 == ((RFC_INT)-1)) && PyErr_Occurred())) __PYX_ERR(0, 2491, __pyx_L3_error) __pyx_v_rc = RfcSetInt(__pyx_v_container, __pyx_v_cName, __pyx_t_30, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2487 + /* "pyrfc/_cyrfc.pyx":2488 * rc = RfcSetString(container, cName, cValue, strlenU(cValue), &errorInfo) * free(cValue) * elif typ in (RFCTYPE_INT, RFCTYPE_INT1, RFCTYPE_INT2): # <<<<<<<<<<<<<< @@ -32267,7 +32267,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_INT8: - /* "pyrfc/_cyrfc.pyx":2492 + /* "pyrfc/_cyrfc.pyx":2493 * rc = RfcSetInt(container, cName, value, &errorInfo) * elif typ == RFCTYPE_INT8: * if type(value) is not int: # <<<<<<<<<<<<<< @@ -32278,14 +32278,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_4 = (__pyx_t_5 != 0); if (unlikely(__pyx_t_4)) { - /* "pyrfc/_cyrfc.pyx":2493 + /* "pyrfc/_cyrfc.pyx":2494 * elif typ == RFCTYPE_INT8: * if type(value) is not int: * raise TypeError('an integer required, received', value, 'of type', type(value)) # <<<<<<<<<<<<<< * rc = RfcSetInt8(container, cName, value, &errorInfo) * elif typ == RFCTYPE_UTCLONG: */ - __pyx_t_11 = PyTuple_New(4); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2493, __pyx_L3_error) + __pyx_t_11 = PyTuple_New(4); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2494, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_INCREF(__pyx_kp_u_an_integer_required_received); __Pyx_GIVEREF(__pyx_kp_u_an_integer_required_received); @@ -32299,14 +32299,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_value))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(__pyx_v_value))); PyTuple_SET_ITEM(__pyx_t_11, 3, ((PyObject *)Py_TYPE(__pyx_v_value))); - __pyx_t_19 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_11, NULL); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2493, __pyx_L3_error) + __pyx_t_19 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_11, NULL); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2494, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_19); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; __Pyx_Raise(__pyx_t_19, 0, 0, 0); __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; - __PYX_ERR(0, 2493, __pyx_L3_error) + __PYX_ERR(0, 2494, __pyx_L3_error) - /* "pyrfc/_cyrfc.pyx":2492 + /* "pyrfc/_cyrfc.pyx":2493 * rc = RfcSetInt(container, cName, value, &errorInfo) * elif typ == RFCTYPE_INT8: * if type(value) is not int: # <<<<<<<<<<<<<< @@ -32315,17 +32315,17 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2494 + /* "pyrfc/_cyrfc.pyx":2495 * if type(value) is not int: * raise TypeError('an integer required, received', value, 'of type', type(value)) * rc = RfcSetInt8(container, cName, value, &errorInfo) # <<<<<<<<<<<<<< * elif typ == RFCTYPE_UTCLONG: * if type(value) is not str: */ - __pyx_t_31 = __Pyx_PyInt_As_RFC_INT8(__pyx_v_value); if (unlikely((__pyx_t_31 == ((RFC_INT8)-1)) && PyErr_Occurred())) __PYX_ERR(0, 2494, __pyx_L3_error) + __pyx_t_31 = __Pyx_PyInt_As_RFC_INT8(__pyx_v_value); if (unlikely((__pyx_t_31 == ((RFC_INT8)-1)) && PyErr_Occurred())) __PYX_ERR(0, 2495, __pyx_L3_error) __pyx_v_rc = RfcSetInt8(__pyx_v_container, __pyx_v_cName, __pyx_t_31, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2491 + /* "pyrfc/_cyrfc.pyx":2492 * raise TypeError('an integer required, received', value, 'of type', type(value)) * rc = RfcSetInt(container, cName, value, &errorInfo) * elif typ == RFCTYPE_INT8: # <<<<<<<<<<<<<< @@ -32335,7 +32335,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_UTCLONG: - /* "pyrfc/_cyrfc.pyx":2496 + /* "pyrfc/_cyrfc.pyx":2497 * rc = RfcSetInt8(container, cName, value, &errorInfo) * elif typ == RFCTYPE_UTCLONG: * if type(value) is not str: # <<<<<<<<<<<<<< @@ -32346,14 +32346,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_5 = (__pyx_t_4 != 0); if (unlikely(__pyx_t_5)) { - /* "pyrfc/_cyrfc.pyx":2497 + /* "pyrfc/_cyrfc.pyx":2498 * elif typ == RFCTYPE_UTCLONG: * if type(value) is not str: * raise TypeError('an string is required, received', value, 'of type', type(value)) # <<<<<<<<<<<<<< * cValue = fillString(value) * rc = RfcSetString(container, cName, cValue, strlenU(cValue), &errorInfo) */ - __pyx_t_19 = PyTuple_New(4); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2497, __pyx_L3_error) + __pyx_t_19 = PyTuple_New(4); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2498, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_19); __Pyx_INCREF(__pyx_kp_u_an_string_is_required_received); __Pyx_GIVEREF(__pyx_kp_u_an_string_is_required_received); @@ -32367,14 +32367,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_value))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(__pyx_v_value))); PyTuple_SET_ITEM(__pyx_t_19, 3, ((PyObject *)Py_TYPE(__pyx_v_value))); - __pyx_t_11 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_19, NULL); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2497, __pyx_L3_error) + __pyx_t_11 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_19, NULL); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2498, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; __Pyx_Raise(__pyx_t_11, 0, 0, 0); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - __PYX_ERR(0, 2497, __pyx_L3_error) + __PYX_ERR(0, 2498, __pyx_L3_error) - /* "pyrfc/_cyrfc.pyx":2496 + /* "pyrfc/_cyrfc.pyx":2497 * rc = RfcSetInt8(container, cName, value, &errorInfo) * elif typ == RFCTYPE_UTCLONG: * if type(value) is not str: # <<<<<<<<<<<<<< @@ -32383,17 +32383,17 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2498 + /* "pyrfc/_cyrfc.pyx":2499 * if type(value) is not str: * raise TypeError('an string is required, received', value, 'of type', type(value)) * cValue = fillString(value) # <<<<<<<<<<<<<< * rc = RfcSetString(container, cName, cValue, strlenU(cValue), &errorInfo) * free(cValue) */ - __pyx_t_14 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_value); if (unlikely(__pyx_t_14 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2498, __pyx_L3_error) + __pyx_t_14 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_value); if (unlikely(__pyx_t_14 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2499, __pyx_L3_error) __pyx_v_cValue = __pyx_t_14; - /* "pyrfc/_cyrfc.pyx":2499 + /* "pyrfc/_cyrfc.pyx":2500 * raise TypeError('an string is required, received', value, 'of type', type(value)) * cValue = fillString(value) * rc = RfcSetString(container, cName, cValue, strlenU(cValue), &errorInfo) # <<<<<<<<<<<<<< @@ -32402,7 +32402,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcSetString(__pyx_v_container, __pyx_v_cName, __pyx_v_cValue, strlenU(__pyx_v_cValue), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2500 + /* "pyrfc/_cyrfc.pyx":2501 * cValue = fillString(value) * rc = RfcSetString(container, cName, cValue, strlenU(cValue), &errorInfo) * free(cValue) # <<<<<<<<<<<<<< @@ -32411,7 +32411,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ free(__pyx_v_cValue); - /* "pyrfc/_cyrfc.pyx":2495 + /* "pyrfc/_cyrfc.pyx":2496 * raise TypeError('an integer required, received', value, 'of type', type(value)) * rc = RfcSetInt8(container, cName, value, &errorInfo) * elif typ == RFCTYPE_UTCLONG: # <<<<<<<<<<<<<< @@ -32421,17 +32421,17 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_DATE: - /* "pyrfc/_cyrfc.pyx":2502 + /* "pyrfc/_cyrfc.pyx":2503 * free(cValue) * elif typ == RFCTYPE_DATE: * if value: # <<<<<<<<<<<<<< * format_ok = True * if type(value) is date: */ - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 2502, __pyx_L3_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 2503, __pyx_L3_error) if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":2503 + /* "pyrfc/_cyrfc.pyx":2504 * elif typ == RFCTYPE_DATE: * if value: * format_ok = True # <<<<<<<<<<<<<< @@ -32440,34 +32440,34 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_format_ok = 1; - /* "pyrfc/_cyrfc.pyx":2504 + /* "pyrfc/_cyrfc.pyx":2505 * if value: * format_ok = True * if type(value) is date: # <<<<<<<<<<<<<< * cValue = fillString(f'{value.year:04}{value.month:02}{value.day:02}') * else: */ - __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_n_s_date); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2504, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_n_s_date); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2505, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_11); __pyx_t_5 = (((PyObject *)Py_TYPE(__pyx_v_value)) == __pyx_t_11); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; __pyx_t_4 = (__pyx_t_5 != 0); if (__pyx_t_4) { - /* "pyrfc/_cyrfc.pyx":2505 + /* "pyrfc/_cyrfc.pyx":2506 * format_ok = True * if type(value) is date: * cValue = fillString(f'{value.year:04}{value.month:02}{value.day:02}') # <<<<<<<<<<<<<< * else: * try: */ - __pyx_t_11 = PyTuple_New(3); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2505, __pyx_L3_error) + __pyx_t_11 = PyTuple_New(3); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2506, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_11); __pyx_t_9 = 0; __pyx_t_32 = 127; - __pyx_t_19 = __Pyx_PyObject_GetAttrStr(__pyx_v_value, __pyx_n_s_year); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2505, __pyx_L3_error) + __pyx_t_19 = __Pyx_PyObject_GetAttrStr(__pyx_v_value, __pyx_n_s_year); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2506, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_19); - __pyx_t_7 = __Pyx_PyObject_Format(__pyx_t_19, __pyx_kp_u_04); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2505, __pyx_L3_error) + __pyx_t_7 = __Pyx_PyObject_Format(__pyx_t_19, __pyx_kp_u_04); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2506, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; __pyx_t_32 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) > __pyx_t_32) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) : __pyx_t_32; @@ -32475,9 +32475,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_GIVEREF(__pyx_t_7); PyTuple_SET_ITEM(__pyx_t_11, 0, __pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_value, __pyx_n_s_month); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2505, __pyx_L3_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_value, __pyx_n_s_month); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2506, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_19 = __Pyx_PyObject_Format(__pyx_t_7, __pyx_kp_u_02); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2505, __pyx_L3_error) + __pyx_t_19 = __Pyx_PyObject_Format(__pyx_t_7, __pyx_kp_u_02); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2506, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_19); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_32 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_19) > __pyx_t_32) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_19) : __pyx_t_32; @@ -32485,9 +32485,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_GIVEREF(__pyx_t_19); PyTuple_SET_ITEM(__pyx_t_11, 1, __pyx_t_19); __pyx_t_19 = 0; - __pyx_t_19 = __Pyx_PyObject_GetAttrStr(__pyx_v_value, __pyx_n_s_day); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2505, __pyx_L3_error) + __pyx_t_19 = __Pyx_PyObject_GetAttrStr(__pyx_v_value, __pyx_n_s_day); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2506, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_19); - __pyx_t_7 = __Pyx_PyObject_Format(__pyx_t_19, __pyx_kp_u_02); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2505, __pyx_L3_error) + __pyx_t_7 = __Pyx_PyObject_Format(__pyx_t_19, __pyx_kp_u_02); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2506, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; __pyx_t_32 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) > __pyx_t_32) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) : __pyx_t_32; @@ -32495,14 +32495,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_GIVEREF(__pyx_t_7); PyTuple_SET_ITEM(__pyx_t_11, 2, __pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = __Pyx_PyUnicode_Join(__pyx_t_11, 3, __pyx_t_9, __pyx_t_32); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2505, __pyx_L3_error) + __pyx_t_7 = __Pyx_PyUnicode_Join(__pyx_t_11, 3, __pyx_t_9, __pyx_t_32); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2506, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - __pyx_t_14 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_7); if (unlikely(__pyx_t_14 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2505, __pyx_L3_error) + __pyx_t_14 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_7); if (unlikely(__pyx_t_14 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2506, __pyx_L3_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_v_cValue = __pyx_t_14; - /* "pyrfc/_cyrfc.pyx":2504 + /* "pyrfc/_cyrfc.pyx":2505 * if value: * format_ok = True * if type(value) is date: # <<<<<<<<<<<<<< @@ -32512,7 +32512,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU goto __pyx_L60; } - /* "pyrfc/_cyrfc.pyx":2507 + /* "pyrfc/_cyrfc.pyx":2508 * cValue = fillString(f'{value.year:04}{value.month:02}{value.day:02}') * else: * try: # <<<<<<<<<<<<<< @@ -32529,18 +32529,18 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_XGOTREF(__pyx_t_17); /*try:*/ { - /* "pyrfc/_cyrfc.pyx":2508 + /* "pyrfc/_cyrfc.pyx":2509 * else: * try: * if len(value) != 8: # <<<<<<<<<<<<<< * format_ok = False * else: */ - __pyx_t_9 = PyObject_Length(__pyx_v_value); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2508, __pyx_L61_error) + __pyx_t_9 = PyObject_Length(__pyx_v_value); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2509, __pyx_L61_error) __pyx_t_4 = ((__pyx_t_9 != 8) != 0); if (__pyx_t_4) { - /* "pyrfc/_cyrfc.pyx":2509 + /* "pyrfc/_cyrfc.pyx":2510 * try: * if len(value) != 8: * format_ok = False # <<<<<<<<<<<<<< @@ -32549,7 +32549,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_format_ok = 0; - /* "pyrfc/_cyrfc.pyx":2508 + /* "pyrfc/_cyrfc.pyx":2509 * else: * try: * if len(value) != 8: # <<<<<<<<<<<<<< @@ -32559,7 +32559,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU goto __pyx_L67; } - /* "pyrfc/_cyrfc.pyx":2511 + /* "pyrfc/_cyrfc.pyx":2512 * format_ok = False * else: * if len(value.rstrip()) > 0: # <<<<<<<<<<<<<< @@ -32567,7 +32567,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU * cValue = fillString(value) */ /*else*/ { - __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_value, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2511, __pyx_L61_error) + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_value, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2512, __pyx_L61_error) __Pyx_GOTREF(__pyx_t_11); __pyx_t_19 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_11))) { @@ -32581,36 +32581,36 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU } __pyx_t_7 = (__pyx_t_19) ? __Pyx_PyObject_CallOneArg(__pyx_t_11, __pyx_t_19) : __Pyx_PyObject_CallNoArg(__pyx_t_11); __Pyx_XDECREF(__pyx_t_19); __pyx_t_19 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2511, __pyx_L61_error) + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2512, __pyx_L61_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - __pyx_t_9 = PyObject_Length(__pyx_t_7); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2511, __pyx_L61_error) + __pyx_t_9 = PyObject_Length(__pyx_t_7); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2512, __pyx_L61_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_4 = ((__pyx_t_9 > 0) != 0); if (__pyx_t_4) { - /* "pyrfc/_cyrfc.pyx":2512 + /* "pyrfc/_cyrfc.pyx":2513 * else: * if len(value.rstrip()) > 0: * date(int(value[:4]), int(value[4:6]), int(value[6:8])) # <<<<<<<<<<<<<< * cValue = fillString(value) * except Exception as ex: */ - __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_n_s_date); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2512, __pyx_L61_error) + __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_n_s_date); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2513, __pyx_L61_error) __Pyx_GOTREF(__pyx_t_11); - __pyx_t_19 = __Pyx_PyObject_GetSlice(__pyx_v_value, 0, 4, NULL, NULL, &__pyx_slice__38, 0, 1, 1); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2512, __pyx_L61_error) + __pyx_t_19 = __Pyx_PyObject_GetSlice(__pyx_v_value, 0, 4, NULL, NULL, &__pyx_slice__38, 0, 1, 1); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2513, __pyx_L61_error) __Pyx_GOTREF(__pyx_t_19); - __pyx_t_28 = __Pyx_PyNumber_Int(__pyx_t_19); if (unlikely(!__pyx_t_28)) __PYX_ERR(0, 2512, __pyx_L61_error) + __pyx_t_28 = __Pyx_PyNumber_Int(__pyx_t_19); if (unlikely(!__pyx_t_28)) __PYX_ERR(0, 2513, __pyx_L61_error) __Pyx_GOTREF(__pyx_t_28); __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; - __pyx_t_19 = __Pyx_PyObject_GetSlice(__pyx_v_value, 4, 6, NULL, NULL, &__pyx_slice__39, 1, 1, 1); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2512, __pyx_L61_error) + __pyx_t_19 = __Pyx_PyObject_GetSlice(__pyx_v_value, 4, 6, NULL, NULL, &__pyx_slice__39, 1, 1, 1); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2513, __pyx_L61_error) __Pyx_GOTREF(__pyx_t_19); - __pyx_t_6 = __Pyx_PyNumber_Int(__pyx_t_19); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2512, __pyx_L61_error) + __pyx_t_6 = __Pyx_PyNumber_Int(__pyx_t_19); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2513, __pyx_L61_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; - __pyx_t_19 = __Pyx_PyObject_GetSlice(__pyx_v_value, 6, 8, NULL, NULL, &__pyx_slice__40, 1, 1, 1); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2512, __pyx_L61_error) + __pyx_t_19 = __Pyx_PyObject_GetSlice(__pyx_v_value, 6, 8, NULL, NULL, &__pyx_slice__40, 1, 1, 1); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2513, __pyx_L61_error) __Pyx_GOTREF(__pyx_t_19); - __pyx_t_18 = __Pyx_PyNumber_Int(__pyx_t_19); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 2512, __pyx_L61_error) + __pyx_t_18 = __Pyx_PyNumber_Int(__pyx_t_19); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 2513, __pyx_L61_error) __Pyx_GOTREF(__pyx_t_18); __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; __pyx_t_19 = NULL; @@ -32628,7 +32628,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_11)) { PyObject *__pyx_temp[4] = {__pyx_t_19, __pyx_t_28, __pyx_t_6, __pyx_t_18}; - __pyx_t_7 = __Pyx_PyFunction_FastCall(__pyx_t_11, __pyx_temp+1-__pyx_t_10, 3+__pyx_t_10); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2512, __pyx_L61_error) + __pyx_t_7 = __Pyx_PyFunction_FastCall(__pyx_t_11, __pyx_temp+1-__pyx_t_10, 3+__pyx_t_10); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2513, __pyx_L61_error) __Pyx_XDECREF(__pyx_t_19); __pyx_t_19 = 0; __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_28); __pyx_t_28 = 0; @@ -32639,7 +32639,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_11)) { PyObject *__pyx_temp[4] = {__pyx_t_19, __pyx_t_28, __pyx_t_6, __pyx_t_18}; - __pyx_t_7 = __Pyx_PyCFunction_FastCall(__pyx_t_11, __pyx_temp+1-__pyx_t_10, 3+__pyx_t_10); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2512, __pyx_L61_error) + __pyx_t_7 = __Pyx_PyCFunction_FastCall(__pyx_t_11, __pyx_temp+1-__pyx_t_10, 3+__pyx_t_10); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2513, __pyx_L61_error) __Pyx_XDECREF(__pyx_t_19); __pyx_t_19 = 0; __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_28); __pyx_t_28 = 0; @@ -32648,7 +32648,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU } else #endif { - __pyx_t_33 = PyTuple_New(3+__pyx_t_10); if (unlikely(!__pyx_t_33)) __PYX_ERR(0, 2512, __pyx_L61_error) + __pyx_t_33 = PyTuple_New(3+__pyx_t_10); if (unlikely(!__pyx_t_33)) __PYX_ERR(0, 2513, __pyx_L61_error) __Pyx_GOTREF(__pyx_t_33); if (__pyx_t_19) { __Pyx_GIVEREF(__pyx_t_19); PyTuple_SET_ITEM(__pyx_t_33, 0, __pyx_t_19); __pyx_t_19 = NULL; @@ -32662,14 +32662,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_28 = 0; __pyx_t_6 = 0; __pyx_t_18 = 0; - __pyx_t_7 = __Pyx_PyObject_Call(__pyx_t_11, __pyx_t_33, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2512, __pyx_L61_error) + __pyx_t_7 = __Pyx_PyObject_Call(__pyx_t_11, __pyx_t_33, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2513, __pyx_L61_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_33); __pyx_t_33 = 0; } __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "pyrfc/_cyrfc.pyx":2511 + /* "pyrfc/_cyrfc.pyx":2512 * format_ok = False * else: * if len(value.rstrip()) > 0: # <<<<<<<<<<<<<< @@ -32678,19 +32678,19 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2513 + /* "pyrfc/_cyrfc.pyx":2514 * if len(value.rstrip()) > 0: * date(int(value[:4]), int(value[4:6]), int(value[6:8])) * cValue = fillString(value) # <<<<<<<<<<<<<< * except Exception as ex: * format_ok = False */ - __pyx_t_14 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_value); if (unlikely(__pyx_t_14 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2513, __pyx_L61_error) + __pyx_t_14 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_value); if (unlikely(__pyx_t_14 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2514, __pyx_L61_error) __pyx_v_cValue = __pyx_t_14; } __pyx_L67:; - /* "pyrfc/_cyrfc.pyx":2507 + /* "pyrfc/_cyrfc.pyx":2508 * cValue = fillString(f'{value.year:04}{value.month:02}{value.day:02}') * else: * try: # <<<<<<<<<<<<<< @@ -32711,7 +32711,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "pyrfc/_cyrfc.pyx":2514 + /* "pyrfc/_cyrfc.pyx":2515 * date(int(value[:4]), int(value[4:6]), int(value[6:8])) * cValue = fillString(value) * except Exception as ex: # <<<<<<<<<<<<<< @@ -32721,7 +32721,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_10 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0]))); if (__pyx_t_10) { __Pyx_AddTraceback("pyrfc._cyrfc.fillVariable", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_7, &__pyx_t_11, &__pyx_t_33) < 0) __PYX_ERR(0, 2514, __pyx_L63_except_error) + if (__Pyx_GetException(&__pyx_t_7, &__pyx_t_11, &__pyx_t_33) < 0) __PYX_ERR(0, 2515, __pyx_L63_except_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_GOTREF(__pyx_t_11); __Pyx_GOTREF(__pyx_t_33); @@ -32729,7 +32729,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_v_ex = __pyx_t_11; /*try:*/ { - /* "pyrfc/_cyrfc.pyx":2515 + /* "pyrfc/_cyrfc.pyx":2516 * cValue = fillString(value) * except Exception as ex: * format_ok = False # <<<<<<<<<<<<<< @@ -32739,7 +32739,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_v_format_ok = 0; } - /* "pyrfc/_cyrfc.pyx":2514 + /* "pyrfc/_cyrfc.pyx":2515 * date(int(value[:4]), int(value[4:6]), int(value[6:8])) * cValue = fillString(value) * except Exception as ex: # <<<<<<<<<<<<<< @@ -32762,7 +32762,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU goto __pyx_L63_except_error; __pyx_L63_except_error:; - /* "pyrfc/_cyrfc.pyx":2507 + /* "pyrfc/_cyrfc.pyx":2508 * cValue = fillString(f'{value.year:04}{value.month:02}{value.day:02}') * else: * try: # <<<<<<<<<<<<<< @@ -32784,7 +32784,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU } __pyx_L60:; - /* "pyrfc/_cyrfc.pyx":2516 + /* "pyrfc/_cyrfc.pyx":2517 * except Exception as ex: * format_ok = False * if not format_ok: # <<<<<<<<<<<<<< @@ -32794,14 +32794,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_4 = ((!(__pyx_v_format_ok != 0)) != 0); if (unlikely(__pyx_t_4)) { - /* "pyrfc/_cyrfc.pyx":2517 + /* "pyrfc/_cyrfc.pyx":2518 * format_ok = False * if not format_ok: * raise TypeError('date value required, received', value, 'of type', type(value)) # <<<<<<<<<<<<<< * rc = RfcSetDate(container, cName, cValue, &errorInfo) * free(cValue) */ - __pyx_t_33 = PyTuple_New(4); if (unlikely(!__pyx_t_33)) __PYX_ERR(0, 2517, __pyx_L3_error) + __pyx_t_33 = PyTuple_New(4); if (unlikely(!__pyx_t_33)) __PYX_ERR(0, 2518, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_33); __Pyx_INCREF(__pyx_kp_u_date_value_required_received); __Pyx_GIVEREF(__pyx_kp_u_date_value_required_received); @@ -32815,14 +32815,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_value))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(__pyx_v_value))); PyTuple_SET_ITEM(__pyx_t_33, 3, ((PyObject *)Py_TYPE(__pyx_v_value))); - __pyx_t_11 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_33, NULL); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2517, __pyx_L3_error) + __pyx_t_11 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_33, NULL); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2518, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_33); __pyx_t_33 = 0; __Pyx_Raise(__pyx_t_11, 0, 0, 0); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - __PYX_ERR(0, 2517, __pyx_L3_error) + __PYX_ERR(0, 2518, __pyx_L3_error) - /* "pyrfc/_cyrfc.pyx":2516 + /* "pyrfc/_cyrfc.pyx":2517 * except Exception as ex: * format_ok = False * if not format_ok: # <<<<<<<<<<<<<< @@ -32831,7 +32831,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2518 + /* "pyrfc/_cyrfc.pyx":2519 * if not format_ok: * raise TypeError('date value required, received', value, 'of type', type(value)) * rc = RfcSetDate(container, cName, cValue, &errorInfo) # <<<<<<<<<<<<<< @@ -32840,7 +32840,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcSetDate(__pyx_v_container, __pyx_v_cName, __pyx_v_cValue, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2519 + /* "pyrfc/_cyrfc.pyx":2520 * raise TypeError('date value required, received', value, 'of type', type(value)) * rc = RfcSetDate(container, cName, cValue, &errorInfo) * free(cValue) # <<<<<<<<<<<<<< @@ -32849,7 +32849,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ free(__pyx_v_cValue); - /* "pyrfc/_cyrfc.pyx":2502 + /* "pyrfc/_cyrfc.pyx":2503 * free(cValue) * elif typ == RFCTYPE_DATE: * if value: # <<<<<<<<<<<<<< @@ -32859,7 +32859,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU goto __pyx_L59; } - /* "pyrfc/_cyrfc.pyx":2521 + /* "pyrfc/_cyrfc.pyx":2522 * free(cValue) * else: * rc = RFC_OK # <<<<<<<<<<<<<< @@ -32871,7 +32871,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU } __pyx_L59:; - /* "pyrfc/_cyrfc.pyx":2501 + /* "pyrfc/_cyrfc.pyx":2502 * rc = RfcSetString(container, cName, cValue, strlenU(cValue), &errorInfo) * free(cValue) * elif typ == RFCTYPE_DATE: # <<<<<<<<<<<<<< @@ -32881,17 +32881,17 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_TIME: - /* "pyrfc/_cyrfc.pyx":2523 + /* "pyrfc/_cyrfc.pyx":2524 * rc = RFC_OK * elif typ == RFCTYPE_TIME: * if value: # <<<<<<<<<<<<<< * format_ok = True * if type(value) is time: */ - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 2523, __pyx_L3_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 2524, __pyx_L3_error) if (__pyx_t_4) { - /* "pyrfc/_cyrfc.pyx":2524 + /* "pyrfc/_cyrfc.pyx":2525 * elif typ == RFCTYPE_TIME: * if value: * format_ok = True # <<<<<<<<<<<<<< @@ -32900,34 +32900,34 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_format_ok = 1; - /* "pyrfc/_cyrfc.pyx":2525 + /* "pyrfc/_cyrfc.pyx":2526 * if value: * format_ok = True * if type(value) is time: # <<<<<<<<<<<<<< * cValue = fillString(f'{value.hour:02}{value.minute:02}{value.second:02}') * else: */ - __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_n_s_time); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2525, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_n_s_time); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2526, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_11); __pyx_t_4 = (((PyObject *)Py_TYPE(__pyx_v_value)) == __pyx_t_11); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; __pyx_t_5 = (__pyx_t_4 != 0); if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":2526 + /* "pyrfc/_cyrfc.pyx":2527 * format_ok = True * if type(value) is time: * cValue = fillString(f'{value.hour:02}{value.minute:02}{value.second:02}') # <<<<<<<<<<<<<< * else: * try: */ - __pyx_t_11 = PyTuple_New(3); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2526, __pyx_L3_error) + __pyx_t_11 = PyTuple_New(3); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2527, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_11); __pyx_t_9 = 0; __pyx_t_32 = 127; - __pyx_t_33 = __Pyx_PyObject_GetAttrStr(__pyx_v_value, __pyx_n_s_hour); if (unlikely(!__pyx_t_33)) __PYX_ERR(0, 2526, __pyx_L3_error) + __pyx_t_33 = __Pyx_PyObject_GetAttrStr(__pyx_v_value, __pyx_n_s_hour); if (unlikely(!__pyx_t_33)) __PYX_ERR(0, 2527, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_33); - __pyx_t_7 = __Pyx_PyObject_Format(__pyx_t_33, __pyx_kp_u_02); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2526, __pyx_L3_error) + __pyx_t_7 = __Pyx_PyObject_Format(__pyx_t_33, __pyx_kp_u_02); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2527, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_33); __pyx_t_33 = 0; __pyx_t_32 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) > __pyx_t_32) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) : __pyx_t_32; @@ -32935,9 +32935,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_GIVEREF(__pyx_t_7); PyTuple_SET_ITEM(__pyx_t_11, 0, __pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_value, __pyx_n_s_minute); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2526, __pyx_L3_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_value, __pyx_n_s_minute); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2527, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_33 = __Pyx_PyObject_Format(__pyx_t_7, __pyx_kp_u_02); if (unlikely(!__pyx_t_33)) __PYX_ERR(0, 2526, __pyx_L3_error) + __pyx_t_33 = __Pyx_PyObject_Format(__pyx_t_7, __pyx_kp_u_02); if (unlikely(!__pyx_t_33)) __PYX_ERR(0, 2527, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_33); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_32 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_33) > __pyx_t_32) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_33) : __pyx_t_32; @@ -32945,9 +32945,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_GIVEREF(__pyx_t_33); PyTuple_SET_ITEM(__pyx_t_11, 1, __pyx_t_33); __pyx_t_33 = 0; - __pyx_t_33 = __Pyx_PyObject_GetAttrStr(__pyx_v_value, __pyx_n_s_second); if (unlikely(!__pyx_t_33)) __PYX_ERR(0, 2526, __pyx_L3_error) + __pyx_t_33 = __Pyx_PyObject_GetAttrStr(__pyx_v_value, __pyx_n_s_second); if (unlikely(!__pyx_t_33)) __PYX_ERR(0, 2527, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_33); - __pyx_t_7 = __Pyx_PyObject_Format(__pyx_t_33, __pyx_kp_u_02); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2526, __pyx_L3_error) + __pyx_t_7 = __Pyx_PyObject_Format(__pyx_t_33, __pyx_kp_u_02); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2527, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_33); __pyx_t_33 = 0; __pyx_t_32 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) > __pyx_t_32) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) : __pyx_t_32; @@ -32955,14 +32955,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_GIVEREF(__pyx_t_7); PyTuple_SET_ITEM(__pyx_t_11, 2, __pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = __Pyx_PyUnicode_Join(__pyx_t_11, 3, __pyx_t_9, __pyx_t_32); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2526, __pyx_L3_error) + __pyx_t_7 = __Pyx_PyUnicode_Join(__pyx_t_11, 3, __pyx_t_9, __pyx_t_32); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2527, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - __pyx_t_14 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_7); if (unlikely(__pyx_t_14 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2526, __pyx_L3_error) + __pyx_t_14 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_7); if (unlikely(__pyx_t_14 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2527, __pyx_L3_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_v_cValue = __pyx_t_14; - /* "pyrfc/_cyrfc.pyx":2525 + /* "pyrfc/_cyrfc.pyx":2526 * if value: * format_ok = True * if type(value) is time: # <<<<<<<<<<<<<< @@ -32972,7 +32972,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU goto __pyx_L78; } - /* "pyrfc/_cyrfc.pyx":2528 + /* "pyrfc/_cyrfc.pyx":2529 * cValue = fillString(f'{value.hour:02}{value.minute:02}{value.second:02}') * else: * try: # <<<<<<<<<<<<<< @@ -32989,18 +32989,18 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_XGOTREF(__pyx_t_15); /*try:*/ { - /* "pyrfc/_cyrfc.pyx":2529 + /* "pyrfc/_cyrfc.pyx":2530 * else: * try: * if len(value) != 6: # <<<<<<<<<<<<<< * format_ok = False * else: */ - __pyx_t_9 = PyObject_Length(__pyx_v_value); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2529, __pyx_L79_error) + __pyx_t_9 = PyObject_Length(__pyx_v_value); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2530, __pyx_L79_error) __pyx_t_5 = ((__pyx_t_9 != 6) != 0); if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":2530 + /* "pyrfc/_cyrfc.pyx":2531 * try: * if len(value) != 6: * format_ok = False # <<<<<<<<<<<<<< @@ -33009,7 +33009,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_format_ok = 0; - /* "pyrfc/_cyrfc.pyx":2529 + /* "pyrfc/_cyrfc.pyx":2530 * else: * try: * if len(value) != 6: # <<<<<<<<<<<<<< @@ -33019,7 +33019,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU goto __pyx_L85; } - /* "pyrfc/_cyrfc.pyx":2532 + /* "pyrfc/_cyrfc.pyx":2533 * format_ok = False * else: * if len(value.rstrip()) > 0: # <<<<<<<<<<<<<< @@ -33027,7 +33027,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU * cValue = fillString(value) */ /*else*/ { - __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_value, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2532, __pyx_L79_error) + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_value, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2533, __pyx_L79_error) __Pyx_GOTREF(__pyx_t_11); __pyx_t_33 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_11))) { @@ -33041,36 +33041,36 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU } __pyx_t_7 = (__pyx_t_33) ? __Pyx_PyObject_CallOneArg(__pyx_t_11, __pyx_t_33) : __Pyx_PyObject_CallNoArg(__pyx_t_11); __Pyx_XDECREF(__pyx_t_33); __pyx_t_33 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2532, __pyx_L79_error) + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2533, __pyx_L79_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - __pyx_t_9 = PyObject_Length(__pyx_t_7); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2532, __pyx_L79_error) + __pyx_t_9 = PyObject_Length(__pyx_t_7); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2533, __pyx_L79_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_5 = ((__pyx_t_9 > 0) != 0); if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":2533 + /* "pyrfc/_cyrfc.pyx":2534 * else: * if len(value.rstrip()) > 0: * time(int(value[:2]), int(value[2:4]), int(value[4:6])) # <<<<<<<<<<<<<< * cValue = fillString(value) * except Exception as ex: */ - __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_n_s_time); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2533, __pyx_L79_error) + __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_n_s_time); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2534, __pyx_L79_error) __Pyx_GOTREF(__pyx_t_11); - __pyx_t_33 = __Pyx_PyObject_GetSlice(__pyx_v_value, 0, 2, NULL, NULL, &__pyx_slice__30, 0, 1, 1); if (unlikely(!__pyx_t_33)) __PYX_ERR(0, 2533, __pyx_L79_error) + __pyx_t_33 = __Pyx_PyObject_GetSlice(__pyx_v_value, 0, 2, NULL, NULL, &__pyx_slice__30, 0, 1, 1); if (unlikely(!__pyx_t_33)) __PYX_ERR(0, 2534, __pyx_L79_error) __Pyx_GOTREF(__pyx_t_33); - __pyx_t_18 = __Pyx_PyNumber_Int(__pyx_t_33); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 2533, __pyx_L79_error) + __pyx_t_18 = __Pyx_PyNumber_Int(__pyx_t_33); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 2534, __pyx_L79_error) __Pyx_GOTREF(__pyx_t_18); __Pyx_DECREF(__pyx_t_33); __pyx_t_33 = 0; - __pyx_t_33 = __Pyx_PyObject_GetSlice(__pyx_v_value, 2, 4, NULL, NULL, &__pyx_slice__41, 1, 1, 1); if (unlikely(!__pyx_t_33)) __PYX_ERR(0, 2533, __pyx_L79_error) + __pyx_t_33 = __Pyx_PyObject_GetSlice(__pyx_v_value, 2, 4, NULL, NULL, &__pyx_slice__41, 1, 1, 1); if (unlikely(!__pyx_t_33)) __PYX_ERR(0, 2534, __pyx_L79_error) __Pyx_GOTREF(__pyx_t_33); - __pyx_t_6 = __Pyx_PyNumber_Int(__pyx_t_33); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2533, __pyx_L79_error) + __pyx_t_6 = __Pyx_PyNumber_Int(__pyx_t_33); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2534, __pyx_L79_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_33); __pyx_t_33 = 0; - __pyx_t_33 = __Pyx_PyObject_GetSlice(__pyx_v_value, 4, 6, NULL, NULL, &__pyx_slice__39, 1, 1, 1); if (unlikely(!__pyx_t_33)) __PYX_ERR(0, 2533, __pyx_L79_error) + __pyx_t_33 = __Pyx_PyObject_GetSlice(__pyx_v_value, 4, 6, NULL, NULL, &__pyx_slice__39, 1, 1, 1); if (unlikely(!__pyx_t_33)) __PYX_ERR(0, 2534, __pyx_L79_error) __Pyx_GOTREF(__pyx_t_33); - __pyx_t_28 = __Pyx_PyNumber_Int(__pyx_t_33); if (unlikely(!__pyx_t_28)) __PYX_ERR(0, 2533, __pyx_L79_error) + __pyx_t_28 = __Pyx_PyNumber_Int(__pyx_t_33); if (unlikely(!__pyx_t_28)) __PYX_ERR(0, 2534, __pyx_L79_error) __Pyx_GOTREF(__pyx_t_28); __Pyx_DECREF(__pyx_t_33); __pyx_t_33 = 0; __pyx_t_33 = NULL; @@ -33088,7 +33088,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_11)) { PyObject *__pyx_temp[4] = {__pyx_t_33, __pyx_t_18, __pyx_t_6, __pyx_t_28}; - __pyx_t_7 = __Pyx_PyFunction_FastCall(__pyx_t_11, __pyx_temp+1-__pyx_t_10, 3+__pyx_t_10); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2533, __pyx_L79_error) + __pyx_t_7 = __Pyx_PyFunction_FastCall(__pyx_t_11, __pyx_temp+1-__pyx_t_10, 3+__pyx_t_10); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2534, __pyx_L79_error) __Pyx_XDECREF(__pyx_t_33); __pyx_t_33 = 0; __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0; @@ -33099,7 +33099,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_11)) { PyObject *__pyx_temp[4] = {__pyx_t_33, __pyx_t_18, __pyx_t_6, __pyx_t_28}; - __pyx_t_7 = __Pyx_PyCFunction_FastCall(__pyx_t_11, __pyx_temp+1-__pyx_t_10, 3+__pyx_t_10); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2533, __pyx_L79_error) + __pyx_t_7 = __Pyx_PyCFunction_FastCall(__pyx_t_11, __pyx_temp+1-__pyx_t_10, 3+__pyx_t_10); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2534, __pyx_L79_error) __Pyx_XDECREF(__pyx_t_33); __pyx_t_33 = 0; __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0; @@ -33108,7 +33108,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU } else #endif { - __pyx_t_19 = PyTuple_New(3+__pyx_t_10); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2533, __pyx_L79_error) + __pyx_t_19 = PyTuple_New(3+__pyx_t_10); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2534, __pyx_L79_error) __Pyx_GOTREF(__pyx_t_19); if (__pyx_t_33) { __Pyx_GIVEREF(__pyx_t_33); PyTuple_SET_ITEM(__pyx_t_19, 0, __pyx_t_33); __pyx_t_33 = NULL; @@ -33122,14 +33122,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_18 = 0; __pyx_t_6 = 0; __pyx_t_28 = 0; - __pyx_t_7 = __Pyx_PyObject_Call(__pyx_t_11, __pyx_t_19, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2533, __pyx_L79_error) + __pyx_t_7 = __Pyx_PyObject_Call(__pyx_t_11, __pyx_t_19, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2534, __pyx_L79_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; } __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "pyrfc/_cyrfc.pyx":2532 + /* "pyrfc/_cyrfc.pyx":2533 * format_ok = False * else: * if len(value.rstrip()) > 0: # <<<<<<<<<<<<<< @@ -33138,19 +33138,19 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2534 + /* "pyrfc/_cyrfc.pyx":2535 * if len(value.rstrip()) > 0: * time(int(value[:2]), int(value[2:4]), int(value[4:6])) * cValue = fillString(value) # <<<<<<<<<<<<<< * except Exception as ex: * format_ok = False */ - __pyx_t_14 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_value); if (unlikely(__pyx_t_14 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2534, __pyx_L79_error) + __pyx_t_14 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_value); if (unlikely(__pyx_t_14 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2535, __pyx_L79_error) __pyx_v_cValue = __pyx_t_14; } __pyx_L85:; - /* "pyrfc/_cyrfc.pyx":2528 + /* "pyrfc/_cyrfc.pyx":2529 * cValue = fillString(f'{value.hour:02}{value.minute:02}{value.second:02}') * else: * try: # <<<<<<<<<<<<<< @@ -33171,7 +33171,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "pyrfc/_cyrfc.pyx":2535 + /* "pyrfc/_cyrfc.pyx":2536 * time(int(value[:2]), int(value[2:4]), int(value[4:6])) * cValue = fillString(value) * except Exception as ex: # <<<<<<<<<<<<<< @@ -33181,7 +33181,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_10 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0]))); if (__pyx_t_10) { __Pyx_AddTraceback("pyrfc._cyrfc.fillVariable", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_7, &__pyx_t_11, &__pyx_t_19) < 0) __PYX_ERR(0, 2535, __pyx_L81_except_error) + if (__Pyx_GetException(&__pyx_t_7, &__pyx_t_11, &__pyx_t_19) < 0) __PYX_ERR(0, 2536, __pyx_L81_except_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_GOTREF(__pyx_t_11); __Pyx_GOTREF(__pyx_t_19); @@ -33189,7 +33189,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_v_ex = __pyx_t_11; /*try:*/ { - /* "pyrfc/_cyrfc.pyx":2536 + /* "pyrfc/_cyrfc.pyx":2537 * cValue = fillString(value) * except Exception as ex: * format_ok = False # <<<<<<<<<<<<<< @@ -33199,7 +33199,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_v_format_ok = 0; } - /* "pyrfc/_cyrfc.pyx":2535 + /* "pyrfc/_cyrfc.pyx":2536 * time(int(value[:2]), int(value[2:4]), int(value[4:6])) * cValue = fillString(value) * except Exception as ex: # <<<<<<<<<<<<<< @@ -33222,7 +33222,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU goto __pyx_L81_except_error; __pyx_L81_except_error:; - /* "pyrfc/_cyrfc.pyx":2528 + /* "pyrfc/_cyrfc.pyx":2529 * cValue = fillString(f'{value.hour:02}{value.minute:02}{value.second:02}') * else: * try: # <<<<<<<<<<<<<< @@ -33244,7 +33244,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU } __pyx_L78:; - /* "pyrfc/_cyrfc.pyx":2538 + /* "pyrfc/_cyrfc.pyx":2539 * format_ok = False * * if not format_ok: # <<<<<<<<<<<<<< @@ -33254,14 +33254,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_5 = ((!(__pyx_v_format_ok != 0)) != 0); if (unlikely(__pyx_t_5)) { - /* "pyrfc/_cyrfc.pyx":2539 + /* "pyrfc/_cyrfc.pyx":2540 * * if not format_ok: * raise TypeError('time value required, received', value, 'of type', type(value)) # <<<<<<<<<<<<<< * rc = RfcSetTime(container, cName, cValue, &errorInfo) * free(cValue) */ - __pyx_t_19 = PyTuple_New(4); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2539, __pyx_L3_error) + __pyx_t_19 = PyTuple_New(4); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2540, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_19); __Pyx_INCREF(__pyx_kp_u_time_value_required_received); __Pyx_GIVEREF(__pyx_kp_u_time_value_required_received); @@ -33275,14 +33275,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_value))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(__pyx_v_value))); PyTuple_SET_ITEM(__pyx_t_19, 3, ((PyObject *)Py_TYPE(__pyx_v_value))); - __pyx_t_11 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_19, NULL); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2539, __pyx_L3_error) + __pyx_t_11 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_19, NULL); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2540, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; __Pyx_Raise(__pyx_t_11, 0, 0, 0); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - __PYX_ERR(0, 2539, __pyx_L3_error) + __PYX_ERR(0, 2540, __pyx_L3_error) - /* "pyrfc/_cyrfc.pyx":2538 + /* "pyrfc/_cyrfc.pyx":2539 * format_ok = False * * if not format_ok: # <<<<<<<<<<<<<< @@ -33291,7 +33291,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2540 + /* "pyrfc/_cyrfc.pyx":2541 * if not format_ok: * raise TypeError('time value required, received', value, 'of type', type(value)) * rc = RfcSetTime(container, cName, cValue, &errorInfo) # <<<<<<<<<<<<<< @@ -33300,7 +33300,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcSetTime(__pyx_v_container, __pyx_v_cName, __pyx_v_cValue, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2541 + /* "pyrfc/_cyrfc.pyx":2542 * raise TypeError('time value required, received', value, 'of type', type(value)) * rc = RfcSetTime(container, cName, cValue, &errorInfo) * free(cValue) # <<<<<<<<<<<<<< @@ -33309,7 +33309,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ free(__pyx_v_cValue); - /* "pyrfc/_cyrfc.pyx":2523 + /* "pyrfc/_cyrfc.pyx":2524 * rc = RFC_OK * elif typ == RFCTYPE_TIME: * if value: # <<<<<<<<<<<<<< @@ -33319,7 +33319,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU goto __pyx_L77; } - /* "pyrfc/_cyrfc.pyx":2543 + /* "pyrfc/_cyrfc.pyx":2544 * free(cValue) * else: * rc = RFC_OK # <<<<<<<<<<<<<< @@ -33331,7 +33331,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU } __pyx_L77:; - /* "pyrfc/_cyrfc.pyx":2522 + /* "pyrfc/_cyrfc.pyx":2523 * else: * rc = RFC_OK * elif typ == RFCTYPE_TIME: # <<<<<<<<<<<<<< @@ -33341,16 +33341,16 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU break; default: - /* "pyrfc/_cyrfc.pyx":2545 + /* "pyrfc/_cyrfc.pyx":2546 * rc = RFC_OK * else: * raise RFCError('Unknown RFC type %d when filling %s' % (typ, wrapString(cName))) # <<<<<<<<<<<<<< * except TypeError as e: * # This way the field name will be attached in reverse direction */ - __Pyx_GetModuleGlobalName(__pyx_t_19, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2545, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_19, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2546, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_19); - __pyx_t_7 = PyTuple_New(4); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2545, __pyx_L3_error) + __pyx_t_7 = PyTuple_New(4); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2546, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_9 = 0; __pyx_t_32 = 127; @@ -33358,7 +33358,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_9 += 17; __Pyx_GIVEREF(__pyx_kp_u_Unknown_RFC_type); PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_kp_u_Unknown_RFC_type); - __pyx_t_28 = __Pyx_PyUnicode_From_RFCTYPE(__pyx_v_typ, 0, ' ', 'd'); if (unlikely(!__pyx_t_28)) __PYX_ERR(0, 2545, __pyx_L3_error) + __pyx_t_28 = __Pyx_PyUnicode_From_RFCTYPE(__pyx_v_typ, 0, ' ', 'd'); if (unlikely(!__pyx_t_28)) __PYX_ERR(0, 2546, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_28); __pyx_t_32 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_28) > __pyx_t_32) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_28) : __pyx_t_32; __pyx_t_9 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_28); @@ -33369,9 +33369,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_9 += 14; __Pyx_GIVEREF(__pyx_kp_u_when_filling); PyTuple_SET_ITEM(__pyx_t_7, 2, __pyx_kp_u_when_filling); - __pyx_t_28 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_cName, NULL); if (unlikely(!__pyx_t_28)) __PYX_ERR(0, 2545, __pyx_L3_error) + __pyx_t_28 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_cName, NULL); if (unlikely(!__pyx_t_28)) __PYX_ERR(0, 2546, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_28); - __pyx_t_6 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Unicode(__pyx_t_28), __pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2545, __pyx_L3_error) + __pyx_t_6 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Unicode(__pyx_t_28), __pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2546, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_28); __pyx_t_28 = 0; __pyx_t_32 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6) > __pyx_t_32) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6) : __pyx_t_32; @@ -33379,7 +33379,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_GIVEREF(__pyx_t_6); PyTuple_SET_ITEM(__pyx_t_7, 3, __pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = __Pyx_PyUnicode_Join(__pyx_t_7, 4, __pyx_t_9, __pyx_t_32); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2545, __pyx_L3_error) + __pyx_t_6 = __Pyx_PyUnicode_Join(__pyx_t_7, 4, __pyx_t_9, __pyx_t_32); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2546, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_7 = NULL; @@ -33395,16 +33395,16 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_11 = (__pyx_t_7) ? __Pyx_PyObject_Call2Args(__pyx_t_19, __pyx_t_7, __pyx_t_6) : __Pyx_PyObject_CallOneArg(__pyx_t_19, __pyx_t_6); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2545, __pyx_L3_error) + if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2546, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; __Pyx_Raise(__pyx_t_11, 0, 0, 0); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - __PYX_ERR(0, 2545, __pyx_L3_error) + __PYX_ERR(0, 2546, __pyx_L3_error) break; } - /* "pyrfc/_cyrfc.pyx":2422 + /* "pyrfc/_cyrfc.pyx":2423 * global _LOCALE_RADIX * # print ("fill", wrapString(cName), value, type(value)) * try: # <<<<<<<<<<<<<< @@ -33425,7 +33425,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "pyrfc/_cyrfc.pyx":2546 + /* "pyrfc/_cyrfc.pyx":2547 * else: * raise RFCError('Unknown RFC type %d when filling %s' % (typ, wrapString(cName))) * except TypeError as e: # <<<<<<<<<<<<<< @@ -33435,7 +33435,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_10 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_TypeError); if (__pyx_t_10) { __Pyx_AddTraceback("pyrfc._cyrfc.fillVariable", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_11, &__pyx_t_19, &__pyx_t_6) < 0) __PYX_ERR(0, 2546, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_11, &__pyx_t_19, &__pyx_t_6) < 0) __PYX_ERR(0, 2547, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_GOTREF(__pyx_t_19); __Pyx_GOTREF(__pyx_t_6); @@ -33443,30 +33443,30 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_v_e = __pyx_t_19; /*try:*/ { - /* "pyrfc/_cyrfc.pyx":2550 + /* "pyrfc/_cyrfc.pyx":2551 * # to the argument list of the exception. This helps users to find * # mistakes easier in complex mapping scenarios. * e.args += (wrapString(cName), ) # <<<<<<<<<<<<<< * raise * if rc != RFC_OK: */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_e, __pyx_n_s_args); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2550, __pyx_L100_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_e, __pyx_n_s_args); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2551, __pyx_L100_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_28 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_cName, NULL); if (unlikely(!__pyx_t_28)) __PYX_ERR(0, 2550, __pyx_L100_error) + __pyx_t_28 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_cName, NULL); if (unlikely(!__pyx_t_28)) __PYX_ERR(0, 2551, __pyx_L100_error) __Pyx_GOTREF(__pyx_t_28); - __pyx_t_18 = PyTuple_New(1); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 2550, __pyx_L100_error) + __pyx_t_18 = PyTuple_New(1); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 2551, __pyx_L100_error) __Pyx_GOTREF(__pyx_t_18); __Pyx_GIVEREF(__pyx_t_28); PyTuple_SET_ITEM(__pyx_t_18, 0, __pyx_t_28); __pyx_t_28 = 0; - __pyx_t_28 = PyNumber_InPlaceAdd(__pyx_t_7, __pyx_t_18); if (unlikely(!__pyx_t_28)) __PYX_ERR(0, 2550, __pyx_L100_error) + __pyx_t_28 = PyNumber_InPlaceAdd(__pyx_t_7, __pyx_t_18); if (unlikely(!__pyx_t_28)) __PYX_ERR(0, 2551, __pyx_L100_error) __Pyx_GOTREF(__pyx_t_28); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0; - if (__Pyx_PyObject_SetAttrStr(__pyx_v_e, __pyx_n_s_args, __pyx_t_28) < 0) __PYX_ERR(0, 2550, __pyx_L100_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_v_e, __pyx_n_s_args, __pyx_t_28) < 0) __PYX_ERR(0, 2551, __pyx_L100_error) __Pyx_DECREF(__pyx_t_28); __pyx_t_28 = 0; - /* "pyrfc/_cyrfc.pyx":2551 + /* "pyrfc/_cyrfc.pyx":2552 * # mistakes easier in complex mapping scenarios. * e.args += (wrapString(cName), ) * raise # <<<<<<<<<<<<<< @@ -33478,10 +33478,10 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_XGIVEREF(__pyx_t_6); __Pyx_ErrRestoreWithState(__pyx_t_11, __pyx_t_19, __pyx_t_6); __pyx_t_11 = 0; __pyx_t_19 = 0; __pyx_t_6 = 0; - __PYX_ERR(0, 2551, __pyx_L100_error) + __PYX_ERR(0, 2552, __pyx_L100_error) } - /* "pyrfc/_cyrfc.pyx":2546 + /* "pyrfc/_cyrfc.pyx":2547 * else: * raise RFCError('Unknown RFC type %d when filling %s' % (typ, wrapString(cName))) * except TypeError as e: # <<<<<<<<<<<<<< @@ -33530,7 +33530,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU goto __pyx_L5_except_error; __pyx_L5_except_error:; - /* "pyrfc/_cyrfc.pyx":2422 + /* "pyrfc/_cyrfc.pyx":2423 * global _LOCALE_RADIX * # print ("fill", wrapString(cName), value, type(value)) * try: # <<<<<<<<<<<<<< @@ -33545,7 +33545,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_L8_try_end:; } - /* "pyrfc/_cyrfc.pyx":2552 + /* "pyrfc/_cyrfc.pyx":2553 * e.args += (wrapString(cName), ) * raise * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -33555,20 +33555,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_5 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_5)) { - /* "pyrfc/_cyrfc.pyx":2553 + /* "pyrfc/_cyrfc.pyx":2554 * raise * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * * cdef SAP_RAW* fillBytes(pystr) except NULL: */ - __pyx_t_6 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2553, __pyx_L1_error) + __pyx_t_6 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2554, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_Raise(__pyx_t_6, 0, 0, 0); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __PYX_ERR(0, 2553, __pyx_L1_error) + __PYX_ERR(0, 2554, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2552 + /* "pyrfc/_cyrfc.pyx":2553 * e.args += (wrapString(cName), ) * raise * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -33577,7 +33577,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2413 + /* "pyrfc/_cyrfc.pyx":2414 * i += 1 * * cdef fillVariable(RFCTYPE typ, RFC_FUNCTION_HANDLE container, SAP_UC* cName, value, RFC_TYPE_DESC_HANDLE typeDesc): # <<<<<<<<<<<<<< @@ -33610,7 +33610,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillVariable(RFCTYPE __pyx_v_typ, RFC_FU return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2555 +/* "pyrfc/_cyrfc.pyx":2556 * raise wrapError(&errorInfo) * * cdef SAP_RAW* fillBytes(pystr) except NULL: # <<<<<<<<<<<<<< @@ -33630,17 +33630,17 @@ static SAP_RAW *__pyx_f_5pyrfc_6_cyrfc_fillBytes(PyObject *__pyx_v_pystr) { int __pyx_clineno = 0; __Pyx_RefNannySetupContext("fillBytes", 0); - /* "pyrfc/_cyrfc.pyx":2556 + /* "pyrfc/_cyrfc.pyx":2557 * * cdef SAP_RAW* fillBytes(pystr) except NULL: * cdef size_t size = len(pystr) # <<<<<<<<<<<<<< * cdef SAP_RAW* bytes = malloc(size) * memcpy(bytes, pystr, size) */ - __pyx_t_1 = PyObject_Length(__pyx_v_pystr); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2556, __pyx_L1_error) + __pyx_t_1 = PyObject_Length(__pyx_v_pystr); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2557, __pyx_L1_error) __pyx_v_size = __pyx_t_1; - /* "pyrfc/_cyrfc.pyx":2557 + /* "pyrfc/_cyrfc.pyx":2558 * cdef SAP_RAW* fillBytes(pystr) except NULL: * cdef size_t size = len(pystr) * cdef SAP_RAW* bytes = malloc(size) # <<<<<<<<<<<<<< @@ -33649,17 +33649,17 @@ static SAP_RAW *__pyx_f_5pyrfc_6_cyrfc_fillBytes(PyObject *__pyx_v_pystr) { */ __pyx_v_bytes = ((SAP_RAW *)malloc(__pyx_v_size)); - /* "pyrfc/_cyrfc.pyx":2558 + /* "pyrfc/_cyrfc.pyx":2559 * cdef size_t size = len(pystr) * cdef SAP_RAW* bytes = malloc(size) * memcpy(bytes, pystr, size) # <<<<<<<<<<<<<< * return bytes * */ - __pyx_t_2 = __Pyx_PyObject_AsWritableString(__pyx_v_pystr); if (unlikely((!__pyx_t_2) && PyErr_Occurred())) __PYX_ERR(0, 2558, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_AsWritableString(__pyx_v_pystr); if (unlikely((!__pyx_t_2) && PyErr_Occurred())) __PYX_ERR(0, 2559, __pyx_L1_error) (void)(memcpy(__pyx_v_bytes, ((char *)__pyx_t_2), __pyx_v_size)); - /* "pyrfc/_cyrfc.pyx":2559 + /* "pyrfc/_cyrfc.pyx":2560 * cdef SAP_RAW* bytes = malloc(size) * memcpy(bytes, pystr, size) * return bytes # <<<<<<<<<<<<<< @@ -33669,7 +33669,7 @@ static SAP_RAW *__pyx_f_5pyrfc_6_cyrfc_fillBytes(PyObject *__pyx_v_pystr) { __pyx_r = __pyx_v_bytes; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2555 + /* "pyrfc/_cyrfc.pyx":2556 * raise wrapError(&errorInfo) * * cdef SAP_RAW* fillBytes(pystr) except NULL: # <<<<<<<<<<<<<< @@ -33686,7 +33686,7 @@ static SAP_RAW *__pyx_f_5pyrfc_6_cyrfc_fillBytes(PyObject *__pyx_v_pystr) { return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2561 +/* "pyrfc/_cyrfc.pyx":2562 * return bytes * * cdef fillError(exception, RFC_ERROR_INFO* errorInfo): # <<<<<<<<<<<<<< @@ -33717,134 +33717,134 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R int __pyx_clineno = 0; __Pyx_RefNannySetupContext("fillError", 0); - /* "pyrfc/_cyrfc.pyx":2563 + /* "pyrfc/_cyrfc.pyx":2564 * cdef fillError(exception, RFC_ERROR_INFO* errorInfo): * group2error = { * ABAPApplicationError: ABAP_APPLICATION_FAILURE, # <<<<<<<<<<<<<< * ABAPRuntimeError: ABAP_RUNTIME_FAILURE, * LogonError: LOGON_FAILURE, */ - __pyx_t_1 = __Pyx_PyDict_NewPresized(7); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2563, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(7); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2564, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_ABAPApplicationError); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2563, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_ABAPApplicationError); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2564, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyInt_From_RFC_ERROR_GROUP(ABAP_APPLICATION_FAILURE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2563, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_From_RFC_ERROR_GROUP(ABAP_APPLICATION_FAILURE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2564, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_1, __pyx_t_2, __pyx_t_3) < 0) __PYX_ERR(0, 2563, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_t_2, __pyx_t_3) < 0) __PYX_ERR(0, 2564, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":2564 + /* "pyrfc/_cyrfc.pyx":2565 * group2error = { * ABAPApplicationError: ABAP_APPLICATION_FAILURE, * ABAPRuntimeError: ABAP_RUNTIME_FAILURE, # <<<<<<<<<<<<<< * LogonError: LOGON_FAILURE, * CommunicationError: COMMUNICATION_FAILURE, */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_ABAPRuntimeError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2564, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_ABAPRuntimeError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2565, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_2 = __Pyx_PyInt_From_RFC_ERROR_GROUP(ABAP_RUNTIME_FAILURE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2564, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_From_RFC_ERROR_GROUP(ABAP_RUNTIME_FAILURE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2565, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_t_1, __pyx_t_3, __pyx_t_2) < 0) __PYX_ERR(0, 2563, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_t_3, __pyx_t_2) < 0) __PYX_ERR(0, 2564, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2565 + /* "pyrfc/_cyrfc.pyx":2566 * ABAPApplicationError: ABAP_APPLICATION_FAILURE, * ABAPRuntimeError: ABAP_RUNTIME_FAILURE, * LogonError: LOGON_FAILURE, # <<<<<<<<<<<<<< * CommunicationError: COMMUNICATION_FAILURE, * ExternalRuntimeError: EXTERNAL_RUNTIME_FAILURE, */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_LogonError); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2565, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_LogonError); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2566, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyInt_From_RFC_ERROR_GROUP(LOGON_FAILURE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2565, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_From_RFC_ERROR_GROUP(LOGON_FAILURE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2566, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_1, __pyx_t_2, __pyx_t_3) < 0) __PYX_ERR(0, 2563, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_t_2, __pyx_t_3) < 0) __PYX_ERR(0, 2564, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":2566 + /* "pyrfc/_cyrfc.pyx":2567 * ABAPRuntimeError: ABAP_RUNTIME_FAILURE, * LogonError: LOGON_FAILURE, * CommunicationError: COMMUNICATION_FAILURE, # <<<<<<<<<<<<<< * ExternalRuntimeError: EXTERNAL_RUNTIME_FAILURE, * ExternalApplicationError: EXTERNAL_APPLICATION_FAILURE, */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_CommunicationError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2566, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_CommunicationError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2567, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_2 = __Pyx_PyInt_From_RFC_ERROR_GROUP(COMMUNICATION_FAILURE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2566, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_From_RFC_ERROR_GROUP(COMMUNICATION_FAILURE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2567, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_t_1, __pyx_t_3, __pyx_t_2) < 0) __PYX_ERR(0, 2563, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_t_3, __pyx_t_2) < 0) __PYX_ERR(0, 2564, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2567 + /* "pyrfc/_cyrfc.pyx":2568 * LogonError: LOGON_FAILURE, * CommunicationError: COMMUNICATION_FAILURE, * ExternalRuntimeError: EXTERNAL_RUNTIME_FAILURE, # <<<<<<<<<<<<<< * ExternalApplicationError: EXTERNAL_APPLICATION_FAILURE, * ExternalAuthorizationError: EXTERNAL_AUTHORIZATION_FAILURE */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_ExternalRuntimeError); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2567, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_ExternalRuntimeError); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2568, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyInt_From_RFC_ERROR_GROUP(EXTERNAL_RUNTIME_FAILURE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2567, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_From_RFC_ERROR_GROUP(EXTERNAL_RUNTIME_FAILURE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2568, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_1, __pyx_t_2, __pyx_t_3) < 0) __PYX_ERR(0, 2563, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_t_2, __pyx_t_3) < 0) __PYX_ERR(0, 2564, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":2568 + /* "pyrfc/_cyrfc.pyx":2569 * CommunicationError: COMMUNICATION_FAILURE, * ExternalRuntimeError: EXTERNAL_RUNTIME_FAILURE, * ExternalApplicationError: EXTERNAL_APPLICATION_FAILURE, # <<<<<<<<<<<<<< * ExternalAuthorizationError: EXTERNAL_AUTHORIZATION_FAILURE * } */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_ExternalApplicationError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2568, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_ExternalApplicationError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2569, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_2 = __Pyx_PyInt_From_RFC_ERROR_GROUP(EXTERNAL_APPLICATION_FAILURE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2568, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_From_RFC_ERROR_GROUP(EXTERNAL_APPLICATION_FAILURE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2569, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_t_1, __pyx_t_3, __pyx_t_2) < 0) __PYX_ERR(0, 2563, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_t_3, __pyx_t_2) < 0) __PYX_ERR(0, 2564, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2569 + /* "pyrfc/_cyrfc.pyx":2570 * ExternalRuntimeError: EXTERNAL_RUNTIME_FAILURE, * ExternalApplicationError: EXTERNAL_APPLICATION_FAILURE, * ExternalAuthorizationError: EXTERNAL_AUTHORIZATION_FAILURE # <<<<<<<<<<<<<< * } * if type(exception) not in group2error: */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_ExternalAuthorizationError); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2569, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_ExternalAuthorizationError); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2570, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyInt_From_RFC_ERROR_GROUP(EXTERNAL_AUTHORIZATION_FAILURE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2569, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_From_RFC_ERROR_GROUP(EXTERNAL_AUTHORIZATION_FAILURE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2570, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_1, __pyx_t_2, __pyx_t_3) < 0) __PYX_ERR(0, 2563, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_t_2, __pyx_t_3) < 0) __PYX_ERR(0, 2564, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_v_group2error = ((PyObject*)__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2571 + /* "pyrfc/_cyrfc.pyx":2572 * ExternalAuthorizationError: EXTERNAL_AUTHORIZATION_FAILURE * } * if type(exception) not in group2error: # <<<<<<<<<<<<<< * raise RFCError("Not a valid error group.") * */ - __pyx_t_4 = (__Pyx_PyDict_ContainsTF(((PyObject *)Py_TYPE(__pyx_v_exception)), __pyx_v_group2error, Py_NE)); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 2571, __pyx_L1_error) + __pyx_t_4 = (__Pyx_PyDict_ContainsTF(((PyObject *)Py_TYPE(__pyx_v_exception)), __pyx_v_group2error, Py_NE)); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 2572, __pyx_L1_error) __pyx_t_5 = (__pyx_t_4 != 0); if (unlikely(__pyx_t_5)) { - /* "pyrfc/_cyrfc.pyx":2572 + /* "pyrfc/_cyrfc.pyx":2573 * } * if type(exception) not in group2error: * raise RFCError("Not a valid error group.") # <<<<<<<<<<<<<< * * errorInfo.group = group2error.get(type(exception)) */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2572, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2573, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_2 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) { @@ -33858,14 +33858,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R } __pyx_t_1 = (__pyx_t_2) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_2, __pyx_kp_u_Not_a_valid_error_group) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_kp_u_Not_a_valid_error_group); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2572, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2573, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 2572, __pyx_L1_error) + __PYX_ERR(0, 2573, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2571 + /* "pyrfc/_cyrfc.pyx":2572 * ExternalAuthorizationError: EXTERNAL_AUTHORIZATION_FAILURE * } * if type(exception) not in group2error: # <<<<<<<<<<<<<< @@ -33874,58 +33874,58 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R */ } - /* "pyrfc/_cyrfc.pyx":2574 + /* "pyrfc/_cyrfc.pyx":2575 * raise RFCError("Not a valid error group.") * * errorInfo.group = group2error.get(type(exception)) # <<<<<<<<<<<<<< * * if exception.message: # fixed length, exactly 512 chars */ - __pyx_t_1 = __Pyx_PyDict_GetItemDefault(__pyx_v_group2error, ((PyObject *)Py_TYPE(__pyx_v_exception)), Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2574, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_GetItemDefault(__pyx_v_group2error, ((PyObject *)Py_TYPE(__pyx_v_exception)), Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2575, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_6 = ((RFC_ERROR_GROUP)__Pyx_PyInt_As_RFC_ERROR_GROUP(__pyx_t_1)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 2574, __pyx_L1_error) + __pyx_t_6 = ((RFC_ERROR_GROUP)__Pyx_PyInt_As_RFC_ERROR_GROUP(__pyx_t_1)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 2575, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_errorInfo->group = __pyx_t_6; - /* "pyrfc/_cyrfc.pyx":2576 + /* "pyrfc/_cyrfc.pyx":2577 * errorInfo.group = group2error.get(type(exception)) * * if exception.message: # fixed length, exactly 512 chars # <<<<<<<<<<<<<< * # str = exception.message[0:512].ljust(512) * str = exception.message[0:512] */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_message); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2576, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_message); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2577, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 2576, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 2577, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":2578 + /* "pyrfc/_cyrfc.pyx":2579 * if exception.message: # fixed length, exactly 512 chars * # str = exception.message[0:512].ljust(512) * str = exception.message[0:512] # <<<<<<<<<<<<<< * sapuc = fillString(str) * strncpyU(errorInfo.message, sapuc, min(len(str)+1, 512)) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_message); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2578, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_message); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2579, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 0x200, NULL, NULL, &__pyx_slice__42, 1, 1, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2578, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 0x200, NULL, NULL, &__pyx_slice__42, 1, 1, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2579, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_str = __pyx_t_3; __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":2579 + /* "pyrfc/_cyrfc.pyx":2580 * # str = exception.message[0:512].ljust(512) * str = exception.message[0:512] * sapuc = fillString(str) # <<<<<<<<<<<<<< * strncpyU(errorInfo.message, sapuc, min(len(str)+1, 512)) * free(sapuc) */ - __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_str); if (unlikely(__pyx_t_7 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2579, __pyx_L1_error) + __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_str); if (unlikely(__pyx_t_7 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2580, __pyx_L1_error) __pyx_v_sapuc = __pyx_t_7; - /* "pyrfc/_cyrfc.pyx":2580 + /* "pyrfc/_cyrfc.pyx":2581 * str = exception.message[0:512] * sapuc = fillString(str) * strncpyU(errorInfo.message, sapuc, min(len(str)+1, 512)) # <<<<<<<<<<<<<< @@ -33933,7 +33933,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R * errorInfo.code = exception.code if exception.code else RFC_UNKNOWN_ERROR */ __pyx_t_8 = 0x200; - __pyx_t_9 = PyObject_Length(__pyx_v_str); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2580, __pyx_L1_error) + __pyx_t_9 = PyObject_Length(__pyx_v_str); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2581, __pyx_L1_error) __pyx_t_10 = (__pyx_t_9 + 1); if (((__pyx_t_8 < __pyx_t_10) != 0)) { __pyx_t_9 = __pyx_t_8; @@ -33942,7 +33942,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R } strncpyU(__pyx_v_errorInfo->message, __pyx_v_sapuc, __pyx_t_9); - /* "pyrfc/_cyrfc.pyx":2581 + /* "pyrfc/_cyrfc.pyx":2582 * sapuc = fillString(str) * strncpyU(errorInfo.message, sapuc, min(len(str)+1, 512)) * free(sapuc) # <<<<<<<<<<<<<< @@ -33951,7 +33951,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R */ free(__pyx_v_sapuc); - /* "pyrfc/_cyrfc.pyx":2576 + /* "pyrfc/_cyrfc.pyx":2577 * errorInfo.group = group2error.get(type(exception)) * * if exception.message: # fixed length, exactly 512 chars # <<<<<<<<<<<<<< @@ -33960,21 +33960,21 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R */ } - /* "pyrfc/_cyrfc.pyx":2582 + /* "pyrfc/_cyrfc.pyx":2583 * strncpyU(errorInfo.message, sapuc, min(len(str)+1, 512)) * free(sapuc) * errorInfo.code = exception.code if exception.code else RFC_UNKNOWN_ERROR # <<<<<<<<<<<<<< * if exception.key: # fixed length, exactly 128 chars * str = exception.key[0:128] */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2582, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2583, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 2582, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 2583, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (__pyx_t_5) { - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2582, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2583, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_12 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_3)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 2582, __pyx_L1_error) + __pyx_t_12 = ((RFC_RC)__Pyx_PyInt_As_RFC_RC(__pyx_t_3)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 2583, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_11 = __pyx_t_12; } else { @@ -33982,45 +33982,45 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R } __pyx_v_errorInfo->code = __pyx_t_11; - /* "pyrfc/_cyrfc.pyx":2583 + /* "pyrfc/_cyrfc.pyx":2584 * free(sapuc) * errorInfo.code = exception.code if exception.code else RFC_UNKNOWN_ERROR * if exception.key: # fixed length, exactly 128 chars # <<<<<<<<<<<<<< * str = exception.key[0:128] * sapuc = fillString(str) */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_key); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2583, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_key); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2584, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 2583, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 2584, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":2584 + /* "pyrfc/_cyrfc.pyx":2585 * errorInfo.code = exception.code if exception.code else RFC_UNKNOWN_ERROR * if exception.key: # fixed length, exactly 128 chars * str = exception.key[0:128] # <<<<<<<<<<<<<< * sapuc = fillString(str) * strncpyU(errorInfo.key, sapuc, min(len(str)+1, 128)) */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_key); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2584, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_key); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2585, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_3, 0, 0x80, NULL, NULL, &__pyx_slice__43, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2584, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_3, 0, 0x80, NULL, NULL, &__pyx_slice__43, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2585, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_XDECREF_SET(__pyx_v_str, __pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2585 + /* "pyrfc/_cyrfc.pyx":2586 * if exception.key: # fixed length, exactly 128 chars * str = exception.key[0:128] * sapuc = fillString(str) # <<<<<<<<<<<<<< * strncpyU(errorInfo.key, sapuc, min(len(str)+1, 128)) * free(sapuc) */ - __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_str); if (unlikely(__pyx_t_7 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2585, __pyx_L1_error) + __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_v_str); if (unlikely(__pyx_t_7 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2586, __pyx_L1_error) __pyx_v_sapuc = __pyx_t_7; - /* "pyrfc/_cyrfc.pyx":2586 + /* "pyrfc/_cyrfc.pyx":2587 * str = exception.key[0:128] * sapuc = fillString(str) * strncpyU(errorInfo.key, sapuc, min(len(str)+1, 128)) # <<<<<<<<<<<<<< @@ -34028,7 +34028,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R * if exception.msg_class: */ __pyx_t_8 = 0x80; - __pyx_t_9 = PyObject_Length(__pyx_v_str); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2586, __pyx_L1_error) + __pyx_t_9 = PyObject_Length(__pyx_v_str); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2587, __pyx_L1_error) __pyx_t_10 = (__pyx_t_9 + 1); if (((__pyx_t_8 < __pyx_t_10) != 0)) { __pyx_t_9 = __pyx_t_8; @@ -34037,7 +34037,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R } strncpyU(__pyx_v_errorInfo->key, __pyx_v_sapuc, __pyx_t_9); - /* "pyrfc/_cyrfc.pyx":2587 + /* "pyrfc/_cyrfc.pyx":2588 * sapuc = fillString(str) * strncpyU(errorInfo.key, sapuc, min(len(str)+1, 128)) * free(sapuc) # <<<<<<<<<<<<<< @@ -34046,7 +34046,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R */ free(__pyx_v_sapuc); - /* "pyrfc/_cyrfc.pyx":2583 + /* "pyrfc/_cyrfc.pyx":2584 * free(sapuc) * errorInfo.code = exception.code if exception.code else RFC_UNKNOWN_ERROR * if exception.key: # fixed length, exactly 128 chars # <<<<<<<<<<<<<< @@ -34055,52 +34055,52 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R */ } - /* "pyrfc/_cyrfc.pyx":2588 + /* "pyrfc/_cyrfc.pyx":2589 * strncpyU(errorInfo.key, sapuc, min(len(str)+1, 128)) * free(sapuc) * if exception.msg_class: # <<<<<<<<<<<<<< * sapuc = fillString(exception.msg_class[0:20]) * strncpyU(errorInfo.abapMsgClass, sapuc, len(exception.msg_class[0:20]) + 1) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_class); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2588, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_class); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2589, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 2588, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 2589, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":2589 + /* "pyrfc/_cyrfc.pyx":2590 * free(sapuc) * if exception.msg_class: * sapuc = fillString(exception.msg_class[0:20]) # <<<<<<<<<<<<<< * strncpyU(errorInfo.abapMsgClass, sapuc, len(exception.msg_class[0:20]) + 1) * free(sapuc) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_class); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2589, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_class); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2590, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 20, NULL, NULL, &__pyx_slice__14, 1, 1, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2589, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 20, NULL, NULL, &__pyx_slice__14, 1, 1, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2590, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_3); if (unlikely(__pyx_t_7 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2589, __pyx_L1_error) + __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_3); if (unlikely(__pyx_t_7 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2590, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_v_sapuc = __pyx_t_7; - /* "pyrfc/_cyrfc.pyx":2590 + /* "pyrfc/_cyrfc.pyx":2591 * if exception.msg_class: * sapuc = fillString(exception.msg_class[0:20]) * strncpyU(errorInfo.abapMsgClass, sapuc, len(exception.msg_class[0:20]) + 1) # <<<<<<<<<<<<<< * free(sapuc) * if exception.msg_type: */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_class); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2590, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_class); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2591, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_3, 0, 20, NULL, NULL, &__pyx_slice__14, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2590, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_3, 0, 20, NULL, NULL, &__pyx_slice__14, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2591, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_9 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2590, __pyx_L1_error) + __pyx_t_9 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2591, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; strncpyU(__pyx_v_errorInfo->abapMsgClass, __pyx_v_sapuc, (__pyx_t_9 + 1)); - /* "pyrfc/_cyrfc.pyx":2591 + /* "pyrfc/_cyrfc.pyx":2592 * sapuc = fillString(exception.msg_class[0:20]) * strncpyU(errorInfo.abapMsgClass, sapuc, len(exception.msg_class[0:20]) + 1) * free(sapuc) # <<<<<<<<<<<<<< @@ -34109,7 +34109,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R */ free(__pyx_v_sapuc); - /* "pyrfc/_cyrfc.pyx":2588 + /* "pyrfc/_cyrfc.pyx":2589 * strncpyU(errorInfo.key, sapuc, min(len(str)+1, 128)) * free(sapuc) * if exception.msg_class: # <<<<<<<<<<<<<< @@ -34118,52 +34118,52 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R */ } - /* "pyrfc/_cyrfc.pyx":2592 + /* "pyrfc/_cyrfc.pyx":2593 * strncpyU(errorInfo.abapMsgClass, sapuc, len(exception.msg_class[0:20]) + 1) * free(sapuc) * if exception.msg_type: # <<<<<<<<<<<<<< * sapuc = fillString(exception.msg_type[0:1]) * strncpyU(errorInfo.abapMsgType, sapuc, len(exception.msg_type[0:1]) + 1) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_type); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2592, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_type); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2593, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 2592, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 2593, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":2593 + /* "pyrfc/_cyrfc.pyx":2594 * free(sapuc) * if exception.msg_type: * sapuc = fillString(exception.msg_type[0:1]) # <<<<<<<<<<<<<< * strncpyU(errorInfo.abapMsgType, sapuc, len(exception.msg_type[0:1]) + 1) * free(sapuc) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_type); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2593, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_type); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2594, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 1, NULL, NULL, &__pyx_slice__44, 1, 1, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2593, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 1, NULL, NULL, &__pyx_slice__44, 1, 1, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2594, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_3); if (unlikely(__pyx_t_7 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2593, __pyx_L1_error) + __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_3); if (unlikely(__pyx_t_7 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2594, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_v_sapuc = __pyx_t_7; - /* "pyrfc/_cyrfc.pyx":2594 + /* "pyrfc/_cyrfc.pyx":2595 * if exception.msg_type: * sapuc = fillString(exception.msg_type[0:1]) * strncpyU(errorInfo.abapMsgType, sapuc, len(exception.msg_type[0:1]) + 1) # <<<<<<<<<<<<<< * free(sapuc) * if exception.msg_number: */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_type); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2594, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_type); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2595, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_3, 0, 1, NULL, NULL, &__pyx_slice__44, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2594, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_3, 0, 1, NULL, NULL, &__pyx_slice__44, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2595, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_9 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2594, __pyx_L1_error) + __pyx_t_9 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2595, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; strncpyU(__pyx_v_errorInfo->abapMsgType, __pyx_v_sapuc, (__pyx_t_9 + 1)); - /* "pyrfc/_cyrfc.pyx":2595 + /* "pyrfc/_cyrfc.pyx":2596 * sapuc = fillString(exception.msg_type[0:1]) * strncpyU(errorInfo.abapMsgType, sapuc, len(exception.msg_type[0:1]) + 1) * free(sapuc) # <<<<<<<<<<<<<< @@ -34172,7 +34172,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R */ free(__pyx_v_sapuc); - /* "pyrfc/_cyrfc.pyx":2592 + /* "pyrfc/_cyrfc.pyx":2593 * strncpyU(errorInfo.abapMsgClass, sapuc, len(exception.msg_class[0:20]) + 1) * free(sapuc) * if exception.msg_type: # <<<<<<<<<<<<<< @@ -34181,52 +34181,52 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R */ } - /* "pyrfc/_cyrfc.pyx":2596 + /* "pyrfc/_cyrfc.pyx":2597 * strncpyU(errorInfo.abapMsgType, sapuc, len(exception.msg_type[0:1]) + 1) * free(sapuc) * if exception.msg_number: # <<<<<<<<<<<<<< * sapuc = fillString(exception.msg_number[0:3]) * strncpyU(errorInfo.abapMsgNumber, sapuc, len(exception.msg_number[0:3]) + 1) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_number); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2596, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_number); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2597, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 2596, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 2597, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":2597 + /* "pyrfc/_cyrfc.pyx":2598 * free(sapuc) * if exception.msg_number: * sapuc = fillString(exception.msg_number[0:3]) # <<<<<<<<<<<<<< * strncpyU(errorInfo.abapMsgNumber, sapuc, len(exception.msg_number[0:3]) + 1) * free(sapuc) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_number); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2597, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_number); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2598, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 3, NULL, NULL, &__pyx_slice__13, 1, 1, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2597, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 3, NULL, NULL, &__pyx_slice__13, 1, 1, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2598, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_3); if (unlikely(__pyx_t_7 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2597, __pyx_L1_error) + __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_3); if (unlikely(__pyx_t_7 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2598, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_v_sapuc = __pyx_t_7; - /* "pyrfc/_cyrfc.pyx":2598 + /* "pyrfc/_cyrfc.pyx":2599 * if exception.msg_number: * sapuc = fillString(exception.msg_number[0:3]) * strncpyU(errorInfo.abapMsgNumber, sapuc, len(exception.msg_number[0:3]) + 1) # <<<<<<<<<<<<<< * free(sapuc) * if exception.msg_v1: */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_number); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2598, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_number); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2599, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_3, 0, 3, NULL, NULL, &__pyx_slice__13, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2598, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_3, 0, 3, NULL, NULL, &__pyx_slice__13, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2599, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_9 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2598, __pyx_L1_error) + __pyx_t_9 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2599, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; strncpyU(__pyx_v_errorInfo->abapMsgNumber, __pyx_v_sapuc, (__pyx_t_9 + 1)); - /* "pyrfc/_cyrfc.pyx":2599 + /* "pyrfc/_cyrfc.pyx":2600 * sapuc = fillString(exception.msg_number[0:3]) * strncpyU(errorInfo.abapMsgNumber, sapuc, len(exception.msg_number[0:3]) + 1) * free(sapuc) # <<<<<<<<<<<<<< @@ -34235,7 +34235,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R */ free(__pyx_v_sapuc); - /* "pyrfc/_cyrfc.pyx":2596 + /* "pyrfc/_cyrfc.pyx":2597 * strncpyU(errorInfo.abapMsgType, sapuc, len(exception.msg_type[0:1]) + 1) * free(sapuc) * if exception.msg_number: # <<<<<<<<<<<<<< @@ -34244,52 +34244,52 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R */ } - /* "pyrfc/_cyrfc.pyx":2600 + /* "pyrfc/_cyrfc.pyx":2601 * strncpyU(errorInfo.abapMsgNumber, sapuc, len(exception.msg_number[0:3]) + 1) * free(sapuc) * if exception.msg_v1: # <<<<<<<<<<<<<< * sapuc = fillString(exception.msg_v1[0:50]) * strncpyU(errorInfo.abapMsgV1, sapuc, len(exception.msg_v1[0:50]) + 1) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2600, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2601, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 2600, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 2601, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":2601 + /* "pyrfc/_cyrfc.pyx":2602 * free(sapuc) * if exception.msg_v1: * sapuc = fillString(exception.msg_v1[0:50]) # <<<<<<<<<<<<<< * strncpyU(errorInfo.abapMsgV1, sapuc, len(exception.msg_v1[0:50]) + 1) * free(sapuc) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2601, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2602, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 50, NULL, NULL, &__pyx_slice__45, 1, 1, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2601, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 50, NULL, NULL, &__pyx_slice__45, 1, 1, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2602, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_3); if (unlikely(__pyx_t_7 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2601, __pyx_L1_error) + __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_3); if (unlikely(__pyx_t_7 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2602, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_v_sapuc = __pyx_t_7; - /* "pyrfc/_cyrfc.pyx":2602 + /* "pyrfc/_cyrfc.pyx":2603 * if exception.msg_v1: * sapuc = fillString(exception.msg_v1[0:50]) * strncpyU(errorInfo.abapMsgV1, sapuc, len(exception.msg_v1[0:50]) + 1) # <<<<<<<<<<<<<< * free(sapuc) * if exception.msg_v2: */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2602, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2603, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_3, 0, 50, NULL, NULL, &__pyx_slice__45, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2602, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_3, 0, 50, NULL, NULL, &__pyx_slice__45, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2603, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_9 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2602, __pyx_L1_error) + __pyx_t_9 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2603, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; strncpyU(__pyx_v_errorInfo->abapMsgV1, __pyx_v_sapuc, (__pyx_t_9 + 1)); - /* "pyrfc/_cyrfc.pyx":2603 + /* "pyrfc/_cyrfc.pyx":2604 * sapuc = fillString(exception.msg_v1[0:50]) * strncpyU(errorInfo.abapMsgV1, sapuc, len(exception.msg_v1[0:50]) + 1) * free(sapuc) # <<<<<<<<<<<<<< @@ -34298,7 +34298,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R */ free(__pyx_v_sapuc); - /* "pyrfc/_cyrfc.pyx":2600 + /* "pyrfc/_cyrfc.pyx":2601 * strncpyU(errorInfo.abapMsgNumber, sapuc, len(exception.msg_number[0:3]) + 1) * free(sapuc) * if exception.msg_v1: # <<<<<<<<<<<<<< @@ -34307,52 +34307,52 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R */ } - /* "pyrfc/_cyrfc.pyx":2604 + /* "pyrfc/_cyrfc.pyx":2605 * strncpyU(errorInfo.abapMsgV1, sapuc, len(exception.msg_v1[0:50]) + 1) * free(sapuc) * if exception.msg_v2: # <<<<<<<<<<<<<< * sapuc = fillString(exception.msg_v2[0:50]) * strncpyU(errorInfo.abapMsgV2, sapuc, len(exception.msg_v2[0:50]) + 1) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2604, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2605, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 2604, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 2605, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":2605 + /* "pyrfc/_cyrfc.pyx":2606 * free(sapuc) * if exception.msg_v2: * sapuc = fillString(exception.msg_v2[0:50]) # <<<<<<<<<<<<<< * strncpyU(errorInfo.abapMsgV2, sapuc, len(exception.msg_v2[0:50]) + 1) * free(sapuc) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2605, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2606, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 50, NULL, NULL, &__pyx_slice__45, 1, 1, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2605, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 50, NULL, NULL, &__pyx_slice__45, 1, 1, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2606, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_3); if (unlikely(__pyx_t_7 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2605, __pyx_L1_error) + __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_3); if (unlikely(__pyx_t_7 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2606, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_v_sapuc = __pyx_t_7; - /* "pyrfc/_cyrfc.pyx":2606 + /* "pyrfc/_cyrfc.pyx":2607 * if exception.msg_v2: * sapuc = fillString(exception.msg_v2[0:50]) * strncpyU(errorInfo.abapMsgV2, sapuc, len(exception.msg_v2[0:50]) + 1) # <<<<<<<<<<<<<< * free(sapuc) * if exception.msg_v3: */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2606, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2607, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_3, 0, 50, NULL, NULL, &__pyx_slice__45, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2606, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_3, 0, 50, NULL, NULL, &__pyx_slice__45, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2607, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_9 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2606, __pyx_L1_error) + __pyx_t_9 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2607, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; strncpyU(__pyx_v_errorInfo->abapMsgV2, __pyx_v_sapuc, (__pyx_t_9 + 1)); - /* "pyrfc/_cyrfc.pyx":2607 + /* "pyrfc/_cyrfc.pyx":2608 * sapuc = fillString(exception.msg_v2[0:50]) * strncpyU(errorInfo.abapMsgV2, sapuc, len(exception.msg_v2[0:50]) + 1) * free(sapuc) # <<<<<<<<<<<<<< @@ -34361,7 +34361,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R */ free(__pyx_v_sapuc); - /* "pyrfc/_cyrfc.pyx":2604 + /* "pyrfc/_cyrfc.pyx":2605 * strncpyU(errorInfo.abapMsgV1, sapuc, len(exception.msg_v1[0:50]) + 1) * free(sapuc) * if exception.msg_v2: # <<<<<<<<<<<<<< @@ -34370,52 +34370,52 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R */ } - /* "pyrfc/_cyrfc.pyx":2608 + /* "pyrfc/_cyrfc.pyx":2609 * strncpyU(errorInfo.abapMsgV2, sapuc, len(exception.msg_v2[0:50]) + 1) * free(sapuc) * if exception.msg_v3: # <<<<<<<<<<<<<< * sapuc = fillString(exception.msg_v3[0:50]) * strncpyU(errorInfo.abapMsgV3, sapuc, len(exception.msg_v3[0:50]) + 1) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2608, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2609, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 2608, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 2609, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":2609 + /* "pyrfc/_cyrfc.pyx":2610 * free(sapuc) * if exception.msg_v3: * sapuc = fillString(exception.msg_v3[0:50]) # <<<<<<<<<<<<<< * strncpyU(errorInfo.abapMsgV3, sapuc, len(exception.msg_v3[0:50]) + 1) * free(sapuc) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2609, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2610, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 50, NULL, NULL, &__pyx_slice__45, 1, 1, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2609, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 50, NULL, NULL, &__pyx_slice__45, 1, 1, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2610, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_3); if (unlikely(__pyx_t_7 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2609, __pyx_L1_error) + __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_3); if (unlikely(__pyx_t_7 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2610, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_v_sapuc = __pyx_t_7; - /* "pyrfc/_cyrfc.pyx":2610 + /* "pyrfc/_cyrfc.pyx":2611 * if exception.msg_v3: * sapuc = fillString(exception.msg_v3[0:50]) * strncpyU(errorInfo.abapMsgV3, sapuc, len(exception.msg_v3[0:50]) + 1) # <<<<<<<<<<<<<< * free(sapuc) * if exception.msg_v4: */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2610, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2611, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_3, 0, 50, NULL, NULL, &__pyx_slice__45, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2610, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_3, 0, 50, NULL, NULL, &__pyx_slice__45, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2611, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_9 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2610, __pyx_L1_error) + __pyx_t_9 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2611, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; strncpyU(__pyx_v_errorInfo->abapMsgV3, __pyx_v_sapuc, (__pyx_t_9 + 1)); - /* "pyrfc/_cyrfc.pyx":2611 + /* "pyrfc/_cyrfc.pyx":2612 * sapuc = fillString(exception.msg_v3[0:50]) * strncpyU(errorInfo.abapMsgV3, sapuc, len(exception.msg_v3[0:50]) + 1) * free(sapuc) # <<<<<<<<<<<<<< @@ -34424,7 +34424,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R */ free(__pyx_v_sapuc); - /* "pyrfc/_cyrfc.pyx":2608 + /* "pyrfc/_cyrfc.pyx":2609 * strncpyU(errorInfo.abapMsgV2, sapuc, len(exception.msg_v2[0:50]) + 1) * free(sapuc) * if exception.msg_v3: # <<<<<<<<<<<<<< @@ -34433,52 +34433,52 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R */ } - /* "pyrfc/_cyrfc.pyx":2612 + /* "pyrfc/_cyrfc.pyx":2613 * strncpyU(errorInfo.abapMsgV3, sapuc, len(exception.msg_v3[0:50]) + 1) * free(sapuc) * if exception.msg_v4: # <<<<<<<<<<<<<< * sapuc = fillString(exception.msg_v4[0:50]) * strncpyU(errorInfo.abapMsgV4, sapuc, len(exception.msg_v4[0:50]) + 1) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v4); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2612, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v4); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2613, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 2612, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 2613, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":2613 + /* "pyrfc/_cyrfc.pyx":2614 * free(sapuc) * if exception.msg_v4: * sapuc = fillString(exception.msg_v4[0:50]) # <<<<<<<<<<<<<< * strncpyU(errorInfo.abapMsgV4, sapuc, len(exception.msg_v4[0:50]) + 1) * free(sapuc) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v4); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2613, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v4); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2614, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 50, NULL, NULL, &__pyx_slice__45, 1, 1, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2613, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, 50, NULL, NULL, &__pyx_slice__45, 1, 1, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2614, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_3); if (unlikely(__pyx_t_7 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2613, __pyx_L1_error) + __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_fillString(__pyx_t_3); if (unlikely(__pyx_t_7 == ((SAP_UC *)NULL))) __PYX_ERR(0, 2614, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_v_sapuc = __pyx_t_7; - /* "pyrfc/_cyrfc.pyx":2614 + /* "pyrfc/_cyrfc.pyx":2615 * if exception.msg_v4: * sapuc = fillString(exception.msg_v4[0:50]) * strncpyU(errorInfo.abapMsgV4, sapuc, len(exception.msg_v4[0:50]) + 1) # <<<<<<<<<<<<<< * free(sapuc) * */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2614, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_msg_v4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2615, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_3, 0, 50, NULL, NULL, &__pyx_slice__45, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2614, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_t_3, 0, 50, NULL, NULL, &__pyx_slice__45, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2615, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_9 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2614, __pyx_L1_error) + __pyx_t_9 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2615, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; strncpyU(__pyx_v_errorInfo->abapMsgV4, __pyx_v_sapuc, (__pyx_t_9 + 1)); - /* "pyrfc/_cyrfc.pyx":2615 + /* "pyrfc/_cyrfc.pyx":2616 * sapuc = fillString(exception.msg_v4[0:50]) * strncpyU(errorInfo.abapMsgV4, sapuc, len(exception.msg_v4[0:50]) + 1) * free(sapuc) # <<<<<<<<<<<<<< @@ -34487,7 +34487,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R */ free(__pyx_v_sapuc); - /* "pyrfc/_cyrfc.pyx":2612 + /* "pyrfc/_cyrfc.pyx":2613 * strncpyU(errorInfo.abapMsgV3, sapuc, len(exception.msg_v3[0:50]) + 1) * free(sapuc) * if exception.msg_v4: # <<<<<<<<<<<<<< @@ -34496,7 +34496,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R */ } - /* "pyrfc/_cyrfc.pyx":2561 + /* "pyrfc/_cyrfc.pyx":2562 * return bytes * * cdef fillError(exception, RFC_ERROR_INFO* errorInfo): # <<<<<<<<<<<<<< @@ -34521,7 +34521,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_fillError(PyObject *__pyx_v_exception, R return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2617 +/* "pyrfc/_cyrfc.pyx":2618 * free(sapuc) * * cdef SAP_UC* fillString(pyuc) except NULL: # <<<<<<<<<<<<<< @@ -34550,14 +34550,14 @@ static SAP_UC *__pyx_f_5pyrfc_6_cyrfc_fillString(PyObject *__pyx_v_pyuc) { int __pyx_clineno = 0; __Pyx_RefNannySetupContext("fillString", 0); - /* "pyrfc/_cyrfc.pyx":2620 + /* "pyrfc/_cyrfc.pyx":2621 * cdef RFC_RC rc * cdef RFC_ERROR_INFO errorInfo * ucbytes = pyuc.encode() # <<<<<<<<<<<<<< * cdef unsigned ucbytes_len = len(ucbytes) * cdef unsigned sapuc_size = ucbytes_len + 1 */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_pyuc, __pyx_n_s_encode); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2620, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_pyuc, __pyx_n_s_encode); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2621, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -34571,23 +34571,23 @@ static SAP_UC *__pyx_f_5pyrfc_6_cyrfc_fillString(PyObject *__pyx_v_pyuc) { } __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2620, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2621, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_v_ucbytes = __pyx_t_1; __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2621 + /* "pyrfc/_cyrfc.pyx":2622 * cdef RFC_ERROR_INFO errorInfo * ucbytes = pyuc.encode() * cdef unsigned ucbytes_len = len(ucbytes) # <<<<<<<<<<<<<< * cdef unsigned sapuc_size = ucbytes_len + 1 * cdef SAP_UC* sapuc = mallocU(sapuc_size) */ - __pyx_t_4 = PyObject_Length(__pyx_v_ucbytes); if (unlikely(__pyx_t_4 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2621, __pyx_L1_error) + __pyx_t_4 = PyObject_Length(__pyx_v_ucbytes); if (unlikely(__pyx_t_4 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2622, __pyx_L1_error) __pyx_v_ucbytes_len = ((unsigned int)__pyx_t_4); - /* "pyrfc/_cyrfc.pyx":2622 + /* "pyrfc/_cyrfc.pyx":2623 * ucbytes = pyuc.encode() * cdef unsigned ucbytes_len = len(ucbytes) * cdef unsigned sapuc_size = ucbytes_len + 1 # <<<<<<<<<<<<<< @@ -34596,7 +34596,7 @@ static SAP_UC *__pyx_f_5pyrfc_6_cyrfc_fillString(PyObject *__pyx_v_pyuc) { */ __pyx_v_sapuc_size = (__pyx_v_ucbytes_len + 1); - /* "pyrfc/_cyrfc.pyx":2623 + /* "pyrfc/_cyrfc.pyx":2624 * cdef unsigned ucbytes_len = len(ucbytes) * cdef unsigned sapuc_size = ucbytes_len + 1 * cdef SAP_UC* sapuc = mallocU(sapuc_size) # <<<<<<<<<<<<<< @@ -34605,7 +34605,7 @@ static SAP_UC *__pyx_f_5pyrfc_6_cyrfc_fillString(PyObject *__pyx_v_pyuc) { */ __pyx_v_sapuc = mallocU(__pyx_v_sapuc_size); - /* "pyrfc/_cyrfc.pyx":2624 + /* "pyrfc/_cyrfc.pyx":2625 * cdef unsigned sapuc_size = ucbytes_len + 1 * cdef SAP_UC* sapuc = mallocU(sapuc_size) * sapuc[0] = 0 # <<<<<<<<<<<<<< @@ -34614,7 +34614,7 @@ static SAP_UC *__pyx_f_5pyrfc_6_cyrfc_fillString(PyObject *__pyx_v_pyuc) { */ (__pyx_v_sapuc[0]) = 0; - /* "pyrfc/_cyrfc.pyx":2625 + /* "pyrfc/_cyrfc.pyx":2626 * cdef SAP_UC* sapuc = mallocU(sapuc_size) * sapuc[0] = 0 * cdef unsigned result_len = 0 # <<<<<<<<<<<<<< @@ -34623,7 +34623,7 @@ static SAP_UC *__pyx_f_5pyrfc_6_cyrfc_fillString(PyObject *__pyx_v_pyuc) { */ __pyx_v_result_len = 0; - /* "pyrfc/_cyrfc.pyx":2626 + /* "pyrfc/_cyrfc.pyx":2627 * sapuc[0] = 0 * cdef unsigned result_len = 0 * if ucbytes_len > 0: # <<<<<<<<<<<<<< @@ -34633,17 +34633,17 @@ static SAP_UC *__pyx_f_5pyrfc_6_cyrfc_fillString(PyObject *__pyx_v_pyuc) { __pyx_t_5 = ((__pyx_v_ucbytes_len > 0) != 0); if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":2627 + /* "pyrfc/_cyrfc.pyx":2628 * cdef unsigned result_len = 0 * if ucbytes_len > 0: * rc = RfcUTF8ToSAPUC(ucbytes, ucbytes_len, sapuc, &sapuc_size, &result_len, &errorInfo) # <<<<<<<<<<<<<< * if rc != RFC_OK: * raise wrapError(&errorInfo) */ - __pyx_t_6 = __Pyx_PyObject_AsUString(__pyx_v_ucbytes); if (unlikely((!__pyx_t_6) && PyErr_Occurred())) __PYX_ERR(0, 2627, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_AsUString(__pyx_v_ucbytes); if (unlikely((!__pyx_t_6) && PyErr_Occurred())) __PYX_ERR(0, 2628, __pyx_L1_error) __pyx_v_rc = RfcUTF8ToSAPUC(__pyx_t_6, __pyx_v_ucbytes_len, __pyx_v_sapuc, (&__pyx_v_sapuc_size), (&__pyx_v_result_len), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2628 + /* "pyrfc/_cyrfc.pyx":2629 * if ucbytes_len > 0: * rc = RfcUTF8ToSAPUC(ucbytes, ucbytes_len, sapuc, &sapuc_size, &result_len, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -34653,20 +34653,20 @@ static SAP_UC *__pyx_f_5pyrfc_6_cyrfc_fillString(PyObject *__pyx_v_pyuc) { __pyx_t_5 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_5)) { - /* "pyrfc/_cyrfc.pyx":2629 + /* "pyrfc/_cyrfc.pyx":2630 * rc = RfcUTF8ToSAPUC(ucbytes, ucbytes_len, sapuc, &sapuc_size, &result_len, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * return sapuc * */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2629, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2630, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 2629, __pyx_L1_error) + __PYX_ERR(0, 2630, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2628 + /* "pyrfc/_cyrfc.pyx":2629 * if ucbytes_len > 0: * rc = RfcUTF8ToSAPUC(ucbytes, ucbytes_len, sapuc, &sapuc_size, &result_len, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -34675,7 +34675,7 @@ static SAP_UC *__pyx_f_5pyrfc_6_cyrfc_fillString(PyObject *__pyx_v_pyuc) { */ } - /* "pyrfc/_cyrfc.pyx":2626 + /* "pyrfc/_cyrfc.pyx":2627 * sapuc[0] = 0 * cdef unsigned result_len = 0 * if ucbytes_len > 0: # <<<<<<<<<<<<<< @@ -34684,7 +34684,7 @@ static SAP_UC *__pyx_f_5pyrfc_6_cyrfc_fillString(PyObject *__pyx_v_pyuc) { */ } - /* "pyrfc/_cyrfc.pyx":2630 + /* "pyrfc/_cyrfc.pyx":2631 * if rc != RFC_OK: * raise wrapError(&errorInfo) * return sapuc # <<<<<<<<<<<<<< @@ -34694,7 +34694,7 @@ static SAP_UC *__pyx_f_5pyrfc_6_cyrfc_fillString(PyObject *__pyx_v_pyuc) { __pyx_r = __pyx_v_sapuc; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2617 + /* "pyrfc/_cyrfc.pyx":2618 * free(sapuc) * * cdef SAP_UC* fillString(pyuc) except NULL: # <<<<<<<<<<<<<< @@ -34715,7 +34715,7 @@ static SAP_UC *__pyx_f_5pyrfc_6_cyrfc_fillString(PyObject *__pyx_v_pyuc) { return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2637 +/* "pyrfc/_cyrfc.pyx":2638 * # wrapper functions take C values and returns Python values * * cdef wrapConnectionAttributes(RFC_ATTRIBUTES attributes): # <<<<<<<<<<<<<< @@ -34736,7 +34736,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES int __pyx_clineno = 0; __Pyx_RefNannySetupContext("wrapConnectionAttributes", 0); - /* "pyrfc/_cyrfc.pyx":2638 + /* "pyrfc/_cyrfc.pyx":2639 * * cdef wrapConnectionAttributes(RFC_ATTRIBUTES attributes): * return { # <<<<<<<<<<<<<< @@ -34745,21 +34745,21 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES */ __Pyx_XDECREF(__pyx_r); - /* "pyrfc/_cyrfc.pyx":2639 + /* "pyrfc/_cyrfc.pyx":2640 * cdef wrapConnectionAttributes(RFC_ATTRIBUTES attributes): * return { * 'dest': wrapString(attributes.dest, 64, True).rstrip('\0') # <<<<<<<<<<<<<< * , 'host': wrapString(attributes.host, 100, True).rstrip('\0') * , 'partnerHost': wrapString(attributes.partnerHost, 100, True).rstrip('\0') */ - __pyx_t_1 = __Pyx_PyDict_NewPresized(25); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2639, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(25); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_64; __pyx_t_4.rstrip = Py_True; - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.dest, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2639, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.dest, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2639, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_3 = NULL; @@ -34774,13 +34774,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_5, __pyx_t_3, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2639, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_dest, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_dest, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2640 + /* "pyrfc/_cyrfc.pyx":2641 * return { * 'dest': wrapString(attributes.dest, 64, True).rstrip('\0') * , 'host': wrapString(attributes.host, 100, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -34790,9 +34790,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_100; __pyx_t_4.rstrip = Py_True; - __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.host, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2640, __pyx_L1_error) + __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.host, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2641, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2640, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2641, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_5 = NULL; @@ -34807,13 +34807,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_5, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2640, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2641, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_host, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_host, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2641 + /* "pyrfc/_cyrfc.pyx":2642 * 'dest': wrapString(attributes.dest, 64, True).rstrip('\0') * , 'host': wrapString(attributes.host, 100, True).rstrip('\0') * , 'partnerHost': wrapString(attributes.partnerHost, 100, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -34823,9 +34823,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_100; __pyx_t_4.rstrip = Py_True; - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.partnerHost, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2641, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.partnerHost, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2642, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2641, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2642, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_3 = NULL; @@ -34840,13 +34840,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_5, __pyx_t_3, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2641, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2642, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_partnerHost, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_partnerHost, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2642 + /* "pyrfc/_cyrfc.pyx":2643 * , 'host': wrapString(attributes.host, 100, True).rstrip('\0') * , 'partnerHost': wrapString(attributes.partnerHost, 100, True).rstrip('\0') * , 'sysNumber': wrapString(attributes.sysNumber, 2, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -34856,9 +34856,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_2; __pyx_t_4.rstrip = Py_True; - __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.sysNumber, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2642, __pyx_L1_error) + __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.sysNumber, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2643, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2642, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2643, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_5 = NULL; @@ -34873,13 +34873,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_5, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2642, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2643, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_sysNumber, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_sysNumber, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2643 + /* "pyrfc/_cyrfc.pyx":2644 * , 'partnerHost': wrapString(attributes.partnerHost, 100, True).rstrip('\0') * , 'sysNumber': wrapString(attributes.sysNumber, 2, True).rstrip('\0') * , 'sysId': wrapString(attributes.sysId, 8, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -34889,9 +34889,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_8; __pyx_t_4.rstrip = Py_True; - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.sysId, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2643, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.sysId, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2644, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2643, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2644, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_3 = NULL; @@ -34906,13 +34906,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_5, __pyx_t_3, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2643, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2644, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_sysId, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_sysId, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2644 + /* "pyrfc/_cyrfc.pyx":2645 * , 'sysNumber': wrapString(attributes.sysNumber, 2, True).rstrip('\0') * , 'sysId': wrapString(attributes.sysId, 8, True).rstrip('\0') * , 'client': wrapString(attributes.client, 3, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -34922,9 +34922,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_3; __pyx_t_4.rstrip = Py_True; - __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.client, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2644, __pyx_L1_error) + __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.client, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2645, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2644, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2645, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_5 = NULL; @@ -34939,13 +34939,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_5, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2644, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2645, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_client, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_client, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2645 + /* "pyrfc/_cyrfc.pyx":2646 * , 'sysId': wrapString(attributes.sysId, 8, True).rstrip('\0') * , 'client': wrapString(attributes.client, 3, True).rstrip('\0') * , 'user': wrapString(attributes.user, 12, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -34955,9 +34955,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_12; __pyx_t_4.rstrip = Py_True; - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.user, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2645, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.user, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2646, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2645, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2646, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_3 = NULL; @@ -34972,13 +34972,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_5, __pyx_t_3, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2645, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2646, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_user, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_user, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2646 + /* "pyrfc/_cyrfc.pyx":2647 * , 'client': wrapString(attributes.client, 3, True).rstrip('\0') * , 'user': wrapString(attributes.user, 12, True).rstrip('\0') * , 'language': wrapString(attributes.language, 2, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -34988,9 +34988,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_2; __pyx_t_4.rstrip = Py_True; - __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.language, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2646, __pyx_L1_error) + __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.language, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2647, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2646, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2647, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_5 = NULL; @@ -35005,13 +35005,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_5, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2646, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2647, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_language, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_language, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2647 + /* "pyrfc/_cyrfc.pyx":2648 * , 'user': wrapString(attributes.user, 12, True).rstrip('\0') * , 'language': wrapString(attributes.language, 2, True).rstrip('\0') * , 'trace': wrapString(attributes.trace, 1, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -35021,9 +35021,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_1; __pyx_t_4.rstrip = Py_True; - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.trace, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2647, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.trace, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2648, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2647, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2648, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_3 = NULL; @@ -35038,13 +35038,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_5, __pyx_t_3, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2647, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2648, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_trace, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_trace, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2648 + /* "pyrfc/_cyrfc.pyx":2649 * , 'language': wrapString(attributes.language, 2, True).rstrip('\0') * , 'trace': wrapString(attributes.trace, 1, True).rstrip('\0') * , 'isoLanguage': wrapString(attributes.isoLanguage, 2, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -35054,9 +35054,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_2; __pyx_t_4.rstrip = Py_True; - __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.isoLanguage, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2648, __pyx_L1_error) + __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.isoLanguage, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2649, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2648, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2649, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_5 = NULL; @@ -35071,13 +35071,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_5, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2648, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2649, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_isoLanguage, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_isoLanguage, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2649 + /* "pyrfc/_cyrfc.pyx":2650 * , 'trace': wrapString(attributes.trace, 1, True).rstrip('\0') * , 'isoLanguage': wrapString(attributes.isoLanguage, 2, True).rstrip('\0') * , 'codepage': wrapString(attributes.codepage, 4, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -35087,9 +35087,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_4; __pyx_t_4.rstrip = Py_True; - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.codepage, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2649, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.codepage, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2650, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2649, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2650, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_3 = NULL; @@ -35104,13 +35104,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_5, __pyx_t_3, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2649, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2650, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_codepage, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_codepage, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2650 + /* "pyrfc/_cyrfc.pyx":2651 * , 'isoLanguage': wrapString(attributes.isoLanguage, 2, True).rstrip('\0') * , 'codepage': wrapString(attributes.codepage, 4, True).rstrip('\0') * , 'partnerCodepage': wrapString(attributes.partnerCodepage, 4, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -35120,9 +35120,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_4; __pyx_t_4.rstrip = Py_True; - __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.partnerCodepage, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2650, __pyx_L1_error) + __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.partnerCodepage, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2651, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2650, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2651, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_5 = NULL; @@ -35137,13 +35137,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_5, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2650, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2651, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_partnerCodepage, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_partnerCodepage, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2651 + /* "pyrfc/_cyrfc.pyx":2652 * , 'codepage': wrapString(attributes.codepage, 4, True).rstrip('\0') * , 'partnerCodepage': wrapString(attributes.partnerCodepage, 4, True).rstrip('\0') * , 'rfcRole': wrapString(attributes.rfcRole, 1, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -35153,9 +35153,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_1; __pyx_t_4.rstrip = Py_True; - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.rfcRole, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2651, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.rfcRole, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2652, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2651, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2652, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_3 = NULL; @@ -35170,13 +35170,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_5, __pyx_t_3, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2651, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2652, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_rfcRole, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_rfcRole, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2652 + /* "pyrfc/_cyrfc.pyx":2653 * , 'partnerCodepage': wrapString(attributes.partnerCodepage, 4, True).rstrip('\0') * , 'rfcRole': wrapString(attributes.rfcRole, 1, True).rstrip('\0') * , 'type': wrapString(attributes.type, 1).rstrip('\0') # <<<<<<<<<<<<<< @@ -35185,9 +35185,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES */ __pyx_t_4.__pyx_n = 1; __pyx_t_4.uclen = __pyx_int_1; - __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.type, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2652, __pyx_L1_error) + __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.type, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2653, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2652, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2653, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_5 = NULL; @@ -35202,13 +35202,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_5, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2652, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2653, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_type, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_type, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2653 + /* "pyrfc/_cyrfc.pyx":2654 * , 'rfcRole': wrapString(attributes.rfcRole, 1, True).rstrip('\0') * , 'type': wrapString(attributes.type, 1).rstrip('\0') * , 'partnerType': wrapString(attributes.partnerType, 1, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -35218,9 +35218,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_1; __pyx_t_4.rstrip = Py_True; - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.partnerType, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2653, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.partnerType, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2654, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2653, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2654, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_3 = NULL; @@ -35235,13 +35235,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_5, __pyx_t_3, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2653, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2654, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_partnerType, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_partnerType, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2654 + /* "pyrfc/_cyrfc.pyx":2655 * , 'type': wrapString(attributes.type, 1).rstrip('\0') * , 'partnerType': wrapString(attributes.partnerType, 1, True).rstrip('\0') * , 'rel': wrapString(attributes.rel, 4, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -35251,9 +35251,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_4; __pyx_t_4.rstrip = Py_True; - __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.rel, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2654, __pyx_L1_error) + __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.rel, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2655, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2654, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2655, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_5 = NULL; @@ -35268,13 +35268,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_5, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2654, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2655, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_rel, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_rel, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2655 + /* "pyrfc/_cyrfc.pyx":2656 * , 'partnerType': wrapString(attributes.partnerType, 1, True).rstrip('\0') * , 'rel': wrapString(attributes.rel, 4, True).rstrip('\0') * , 'partnerRel': wrapString(attributes.partnerRel, 4, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -35284,9 +35284,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_4; __pyx_t_4.rstrip = Py_True; - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.partnerRel, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2655, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.partnerRel, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2656, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2655, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2656, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_3 = NULL; @@ -35301,13 +35301,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_5, __pyx_t_3, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2655, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2656, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_partnerRel, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_partnerRel, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2656 + /* "pyrfc/_cyrfc.pyx":2657 * , 'rel': wrapString(attributes.rel, 4, True).rstrip('\0') * , 'partnerRel': wrapString(attributes.partnerRel, 4, True).rstrip('\0') * , 'kernelRel': wrapString(attributes.kernelRel, 4, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -35317,9 +35317,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_4; __pyx_t_4.rstrip = Py_True; - __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.kernelRel, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2656, __pyx_L1_error) + __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.kernelRel, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2657, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2656, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2657, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_5 = NULL; @@ -35334,13 +35334,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_5, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2656, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2657, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_kernelRel, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_kernelRel, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2657 + /* "pyrfc/_cyrfc.pyx":2658 * , 'partnerRel': wrapString(attributes.partnerRel, 4, True).rstrip('\0') * , 'kernelRel': wrapString(attributes.kernelRel, 4, True).rstrip('\0') * , 'cpicConvId': wrapString(attributes.cpicConvId, 8, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -35350,9 +35350,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_8; __pyx_t_4.rstrip = Py_True; - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.cpicConvId, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2657, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.cpicConvId, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2658, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2657, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2658, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_3 = NULL; @@ -35367,13 +35367,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_5, __pyx_t_3, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2657, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2658, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_cpicConvId, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_cpicConvId, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2658 + /* "pyrfc/_cyrfc.pyx":2659 * , 'kernelRel': wrapString(attributes.kernelRel, 4, True).rstrip('\0') * , 'cpicConvId': wrapString(attributes.cpicConvId, 8, True).rstrip('\0') * , 'progName': wrapString(attributes.progName, 128, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -35383,9 +35383,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_128; __pyx_t_4.rstrip = Py_True; - __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.progName, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2658, __pyx_L1_error) + __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.progName, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2659, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2658, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2659, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_5 = NULL; @@ -35400,13 +35400,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_5, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2658, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2659, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_progName, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_progName, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2659 + /* "pyrfc/_cyrfc.pyx":2660 * , 'cpicConvId': wrapString(attributes.cpicConvId, 8, True).rstrip('\0') * , 'progName': wrapString(attributes.progName, 128, True).rstrip('\0') * , 'partnerBytesPerChar': wrapString(attributes.partnerBytesPerChar, 1, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -35416,9 +35416,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_1; __pyx_t_4.rstrip = Py_True; - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.partnerBytesPerChar, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2659, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.partnerBytesPerChar, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2660, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2659, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2660, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_3 = NULL; @@ -35433,13 +35433,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_5, __pyx_t_3, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2659, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2660, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_partnerBytesPerChar, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_partnerBytesPerChar, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2660 + /* "pyrfc/_cyrfc.pyx":2661 * , 'progName': wrapString(attributes.progName, 128, True).rstrip('\0') * , 'partnerBytesPerChar': wrapString(attributes.partnerBytesPerChar, 1, True).rstrip('\0') * , 'partnerSystemCodepage': wrapString(attributes.partnerSystemCodepage, 4, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -35449,9 +35449,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_4; __pyx_t_4.rstrip = Py_True; - __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.partnerSystemCodepage, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2660, __pyx_L1_error) + __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.partnerSystemCodepage, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2661, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2660, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2661, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_5 = NULL; @@ -35466,13 +35466,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_5, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2660, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2661, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_partnerSystemCodepage, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_partnerSystemCodepage, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2661 + /* "pyrfc/_cyrfc.pyx":2662 * , 'partnerBytesPerChar': wrapString(attributes.partnerBytesPerChar, 1, True).rstrip('\0') * , 'partnerSystemCodepage': wrapString(attributes.partnerSystemCodepage, 4, True).rstrip('\0') * , 'partnerIP': wrapString(attributes.partnerIP, 15, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -35482,9 +35482,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_15; __pyx_t_4.rstrip = Py_True; - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.partnerIP, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2661, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.partnerIP, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2662, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2661, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2662, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_3 = NULL; @@ -35499,13 +35499,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_5, __pyx_t_3, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2661, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2662, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_partnerIP, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_partnerIP, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2662 + /* "pyrfc/_cyrfc.pyx":2663 * , 'partnerSystemCodepage': wrapString(attributes.partnerSystemCodepage, 4, True).rstrip('\0') * , 'partnerIP': wrapString(attributes.partnerIP, 15, True).rstrip('\0') * , 'partnerIPv6': wrapString(attributes.partnerIPv6, 45, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -35515,9 +35515,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_45; __pyx_t_4.rstrip = Py_True; - __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.partnerIPv6, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2662, __pyx_L1_error) + __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.partnerIPv6, &__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2663, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2662, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2663, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_5 = NULL; @@ -35532,13 +35532,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_5, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2662, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2663, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_partnerIPv6, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_partnerIPv6, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2663 + /* "pyrfc/_cyrfc.pyx":2664 * , 'partnerIP': wrapString(attributes.partnerIP, 15, True).rstrip('\0') * , 'partnerIPv6': wrapString(attributes.partnerIPv6, 45, True).rstrip('\0') * , 'reserved': wrapString(attributes.reserved, 17, True).rstrip('\0') # <<<<<<<<<<<<<< @@ -35548,9 +35548,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES __pyx_t_4.__pyx_n = 2; __pyx_t_4.uclen = __pyx_int_17; __pyx_t_4.rstrip = Py_True; - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.reserved, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2663, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_attributes.reserved, &__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2664, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2663, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2664, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_3 = NULL; @@ -35565,16 +35565,16 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES } __pyx_t_2 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_5, __pyx_t_3, __pyx_kp_u__46) : __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_kp_u__46); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2663, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2664, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_reserved, __pyx_t_2) < 0) __PYX_ERR(0, 2639, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_reserved, __pyx_t_2) < 0) __PYX_ERR(0, 2640, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_r = __pyx_t_1; __pyx_t_1 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2637 + /* "pyrfc/_cyrfc.pyx":2638 * # wrapper functions take C values and returns Python values * * cdef wrapConnectionAttributes(RFC_ATTRIBUTES attributes): # <<<<<<<<<<<<<< @@ -35596,7 +35596,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapConnectionAttributes(RFC_ATTRIBUTES return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2667 +/* "pyrfc/_cyrfc.pyx":2668 * * * cdef wrapTypeDescription(RFC_TYPE_DESC_HANDLE typeDesc): # <<<<<<<<<<<<<< @@ -35634,7 +35634,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE int __pyx_clineno = 0; __Pyx_RefNannySetupContext("wrapTypeDescription", 0); - /* "pyrfc/_cyrfc.pyx":2680 + /* "pyrfc/_cyrfc.pyx":2681 * cdef unsigned i, fieldCount * * rc = RfcGetTypeName(typeDesc, typeName, &errorInfo) # <<<<<<<<<<<<<< @@ -35643,7 +35643,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE */ __pyx_v_rc = RfcGetTypeName(__pyx_v_typeDesc, __pyx_v_typeName, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2681 + /* "pyrfc/_cyrfc.pyx":2682 * * rc = RfcGetTypeName(typeDesc, typeName, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -35653,20 +35653,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2682 + /* "pyrfc/_cyrfc.pyx":2683 * rc = RfcGetTypeName(typeDesc, typeName, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * name = wrapString(typeName) * rc = RfcGetTypeLength(typeDesc, &nuc_length, &uc_length, &errorInfo) */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2682, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2683, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 2682, __pyx_L1_error) + __PYX_ERR(0, 2683, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2681 + /* "pyrfc/_cyrfc.pyx":2682 * * rc = RfcGetTypeName(typeDesc, typeName, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -35675,19 +35675,19 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE */ } - /* "pyrfc/_cyrfc.pyx":2683 + /* "pyrfc/_cyrfc.pyx":2684 * if rc != RFC_OK: * raise wrapError(&errorInfo) * name = wrapString(typeName) # <<<<<<<<<<<<<< * rc = RfcGetTypeLength(typeDesc, &nuc_length, &uc_length, &errorInfo) * if rc != RFC_OK: */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_typeName, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2683, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_typeName, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2684, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v_name = __pyx_t_2; __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2684 + /* "pyrfc/_cyrfc.pyx":2685 * raise wrapError(&errorInfo) * name = wrapString(typeName) * rc = RfcGetTypeLength(typeDesc, &nuc_length, &uc_length, &errorInfo) # <<<<<<<<<<<<<< @@ -35696,7 +35696,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE */ __pyx_v_rc = RfcGetTypeLength(__pyx_v_typeDesc, (&__pyx_v_nuc_length), (&__pyx_v_uc_length), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2685 + /* "pyrfc/_cyrfc.pyx":2686 * name = wrapString(typeName) * rc = RfcGetTypeLength(typeDesc, &nuc_length, &uc_length, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -35706,20 +35706,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2686 + /* "pyrfc/_cyrfc.pyx":2687 * rc = RfcGetTypeLength(typeDesc, &nuc_length, &uc_length, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * type_desc = TypeDescription(name, nuc_length, uc_length) * */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2686, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2687, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 2686, __pyx_L1_error) + __PYX_ERR(0, 2687, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2685 + /* "pyrfc/_cyrfc.pyx":2686 * name = wrapString(typeName) * rc = RfcGetTypeLength(typeDesc, &nuc_length, &uc_length, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -35728,18 +35728,18 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE */ } - /* "pyrfc/_cyrfc.pyx":2687 + /* "pyrfc/_cyrfc.pyx":2688 * if rc != RFC_OK: * raise wrapError(&errorInfo) * type_desc = TypeDescription(name, nuc_length, uc_length) # <<<<<<<<<<<<<< * * rc = RfcGetFieldCount(typeDesc, &fieldCount, &errorInfo) */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_TypeDescription_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2687, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_TypeDescription_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2688, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyInt_From_unsigned_int(__pyx_v_nuc_length); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2687, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_unsigned_int(__pyx_v_nuc_length); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2688, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyInt_From_unsigned_int(__pyx_v_uc_length); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2687, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_unsigned_int(__pyx_v_uc_length); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2688, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; __pyx_t_7 = 0; @@ -35756,7 +35756,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_3)) { PyObject *__pyx_temp[4] = {__pyx_t_6, __pyx_v_name, __pyx_t_4, __pyx_t_5}; - __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_3, __pyx_temp+1-__pyx_t_7, 3+__pyx_t_7); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2687, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_3, __pyx_temp+1-__pyx_t_7, 3+__pyx_t_7); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2688, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; @@ -35766,7 +35766,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) { PyObject *__pyx_temp[4] = {__pyx_t_6, __pyx_v_name, __pyx_t_4, __pyx_t_5}; - __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_3, __pyx_temp+1-__pyx_t_7, 3+__pyx_t_7); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2687, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_3, __pyx_temp+1-__pyx_t_7, 3+__pyx_t_7); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2688, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; @@ -35774,7 +35774,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE } else #endif { - __pyx_t_8 = PyTuple_New(3+__pyx_t_7); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2687, __pyx_L1_error) + __pyx_t_8 = PyTuple_New(3+__pyx_t_7); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2688, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); if (__pyx_t_6) { __Pyx_GIVEREF(__pyx_t_6); PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_6); __pyx_t_6 = NULL; @@ -35788,7 +35788,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE PyTuple_SET_ITEM(__pyx_t_8, 2+__pyx_t_7, __pyx_t_5); __pyx_t_4 = 0; __pyx_t_5 = 0; - __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_8, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2687, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_8, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2688, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; } @@ -35796,7 +35796,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE __pyx_v_type_desc = __pyx_t_2; __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2689 + /* "pyrfc/_cyrfc.pyx":2690 * type_desc = TypeDescription(name, nuc_length, uc_length) * * rc = RfcGetFieldCount(typeDesc, &fieldCount, &errorInfo) # <<<<<<<<<<<<<< @@ -35805,7 +35805,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE */ __pyx_v_rc = RfcGetFieldCount(__pyx_v_typeDesc, (&__pyx_v_fieldCount), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2690 + /* "pyrfc/_cyrfc.pyx":2691 * * rc = RfcGetFieldCount(typeDesc, &fieldCount, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -35815,20 +35815,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2691 + /* "pyrfc/_cyrfc.pyx":2692 * rc = RfcGetFieldCount(typeDesc, &fieldCount, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * for i in range(fieldCount): * rc = RfcGetFieldDescByIndex(typeDesc, i, &fieldDesc, &errorInfo) */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2691, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2692, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 2691, __pyx_L1_error) + __PYX_ERR(0, 2692, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2690 + /* "pyrfc/_cyrfc.pyx":2691 * * rc = RfcGetFieldCount(typeDesc, &fieldCount, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -35837,7 +35837,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE */ } - /* "pyrfc/_cyrfc.pyx":2692 + /* "pyrfc/_cyrfc.pyx":2693 * if rc != RFC_OK: * raise wrapError(&errorInfo) * for i in range(fieldCount): # <<<<<<<<<<<<<< @@ -35849,7 +35849,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE for (__pyx_t_11 = 0; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) { __pyx_v_i = __pyx_t_11; - /* "pyrfc/_cyrfc.pyx":2693 + /* "pyrfc/_cyrfc.pyx":2694 * raise wrapError(&errorInfo) * for i in range(fieldCount): * rc = RfcGetFieldDescByIndex(typeDesc, i, &fieldDesc, &errorInfo) # <<<<<<<<<<<<<< @@ -35858,7 +35858,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE */ __pyx_v_rc = RfcGetFieldDescByIndex(__pyx_v_typeDesc, __pyx_v_i, (&__pyx_v_fieldDesc), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2694 + /* "pyrfc/_cyrfc.pyx":2695 * for i in range(fieldCount): * rc = RfcGetFieldDescByIndex(typeDesc, i, &fieldDesc, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -35868,20 +35868,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2695 + /* "pyrfc/_cyrfc.pyx":2696 * rc = RfcGetFieldDescByIndex(typeDesc, i, &fieldDesc, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * field_description = { * 'name': wrapString(fieldDesc.name), */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2695, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2696, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 2695, __pyx_L1_error) + __PYX_ERR(0, 2696, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2694 + /* "pyrfc/_cyrfc.pyx":2695 * for i in range(fieldCount): * rc = RfcGetFieldDescByIndex(typeDesc, i, &fieldDesc, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -35890,30 +35890,30 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE */ } - /* "pyrfc/_cyrfc.pyx":2697 + /* "pyrfc/_cyrfc.pyx":2698 * raise wrapError(&errorInfo) * field_description = { * 'name': wrapString(fieldDesc.name), # <<<<<<<<<<<<<< * 'field_type': RfcFieldType(fieldDesc.type).name, * 'nuc_length': fieldDesc.nucLength, */ - __pyx_t_2 = __Pyx_PyDict_NewPresized(7); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2697, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyDict_NewPresized(7); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2698, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_fieldDesc.name, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2697, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_fieldDesc.name, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2698, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_name, __pyx_t_3) < 0) __PYX_ERR(0, 2697, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_name, __pyx_t_3) < 0) __PYX_ERR(0, 2698, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":2698 + /* "pyrfc/_cyrfc.pyx":2699 * field_description = { * 'name': wrapString(fieldDesc.name), * 'field_type': RfcFieldType(fieldDesc.type).name, # <<<<<<<<<<<<<< * 'nuc_length': fieldDesc.nucLength, * 'nuc_offset': fieldDesc.nucOffset, */ - __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_RfcFieldType); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2698, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_RfcFieldType); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2699, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); - __pyx_t_5 = __Pyx_PyInt_From_RFCTYPE(__pyx_v_fieldDesc.type); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2698, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_RFCTYPE(__pyx_v_fieldDesc.type); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2699, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_4 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_8))) { @@ -35928,78 +35928,78 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE __pyx_t_3 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_8, __pyx_t_4, __pyx_t_5) : __Pyx_PyObject_CallOneArg(__pyx_t_8, __pyx_t_5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2698, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2699, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_name); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2698, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_name); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2699, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_field_type, __pyx_t_8) < 0) __PYX_ERR(0, 2697, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_field_type, __pyx_t_8) < 0) __PYX_ERR(0, 2698, __pyx_L1_error) __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - /* "pyrfc/_cyrfc.pyx":2699 + /* "pyrfc/_cyrfc.pyx":2700 * 'name': wrapString(fieldDesc.name), * 'field_type': RfcFieldType(fieldDesc.type).name, * 'nuc_length': fieldDesc.nucLength, # <<<<<<<<<<<<<< * 'nuc_offset': fieldDesc.nucOffset, * 'uc_length': fieldDesc.ucLength, */ - __pyx_t_8 = __Pyx_PyInt_From_unsigned_int(__pyx_v_fieldDesc.nucLength); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2699, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyInt_From_unsigned_int(__pyx_v_fieldDesc.nucLength); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2700, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); - if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_nuc_length, __pyx_t_8) < 0) __PYX_ERR(0, 2697, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_nuc_length, __pyx_t_8) < 0) __PYX_ERR(0, 2698, __pyx_L1_error) __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - /* "pyrfc/_cyrfc.pyx":2700 + /* "pyrfc/_cyrfc.pyx":2701 * 'field_type': RfcFieldType(fieldDesc.type).name, * 'nuc_length': fieldDesc.nucLength, * 'nuc_offset': fieldDesc.nucOffset, # <<<<<<<<<<<<<< * 'uc_length': fieldDesc.ucLength, * 'uc_offset': fieldDesc.ucOffset, */ - __pyx_t_8 = __Pyx_PyInt_From_unsigned_int(__pyx_v_fieldDesc.nucOffset); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2700, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyInt_From_unsigned_int(__pyx_v_fieldDesc.nucOffset); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2701, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); - if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_nuc_offset, __pyx_t_8) < 0) __PYX_ERR(0, 2697, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_nuc_offset, __pyx_t_8) < 0) __PYX_ERR(0, 2698, __pyx_L1_error) __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - /* "pyrfc/_cyrfc.pyx":2701 + /* "pyrfc/_cyrfc.pyx":2702 * 'nuc_length': fieldDesc.nucLength, * 'nuc_offset': fieldDesc.nucOffset, * 'uc_length': fieldDesc.ucLength, # <<<<<<<<<<<<<< * 'uc_offset': fieldDesc.ucOffset, * 'decimals': fieldDesc.decimals */ - __pyx_t_8 = __Pyx_PyInt_From_unsigned_int(__pyx_v_fieldDesc.ucLength); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2701, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyInt_From_unsigned_int(__pyx_v_fieldDesc.ucLength); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2702, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); - if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_uc_length, __pyx_t_8) < 0) __PYX_ERR(0, 2697, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_uc_length, __pyx_t_8) < 0) __PYX_ERR(0, 2698, __pyx_L1_error) __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - /* "pyrfc/_cyrfc.pyx":2702 + /* "pyrfc/_cyrfc.pyx":2703 * 'nuc_offset': fieldDesc.nucOffset, * 'uc_length': fieldDesc.ucLength, * 'uc_offset': fieldDesc.ucOffset, # <<<<<<<<<<<<<< * 'decimals': fieldDesc.decimals * } */ - __pyx_t_8 = __Pyx_PyInt_From_unsigned_int(__pyx_v_fieldDesc.ucOffset); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2702, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyInt_From_unsigned_int(__pyx_v_fieldDesc.ucOffset); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2703, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); - if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_uc_offset, __pyx_t_8) < 0) __PYX_ERR(0, 2697, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_uc_offset, __pyx_t_8) < 0) __PYX_ERR(0, 2698, __pyx_L1_error) __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - /* "pyrfc/_cyrfc.pyx":2703 + /* "pyrfc/_cyrfc.pyx":2704 * 'uc_length': fieldDesc.ucLength, * 'uc_offset': fieldDesc.ucOffset, * 'decimals': fieldDesc.decimals # <<<<<<<<<<<<<< * } * if fieldDesc.typeDescHandle is NULL: */ - __pyx_t_8 = __Pyx_PyInt_From_unsigned_int(__pyx_v_fieldDesc.decimals); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2703, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyInt_From_unsigned_int(__pyx_v_fieldDesc.decimals); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2704, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); - if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_decimals, __pyx_t_8) < 0) __PYX_ERR(0, 2697, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_decimals, __pyx_t_8) < 0) __PYX_ERR(0, 2698, __pyx_L1_error) __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_XDECREF_SET(__pyx_v_field_description, ((PyObject*)__pyx_t_2)); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2705 + /* "pyrfc/_cyrfc.pyx":2706 * 'decimals': fieldDesc.decimals * } * if fieldDesc.typeDescHandle is NULL: # <<<<<<<<<<<<<< @@ -36009,16 +36009,16 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE __pyx_t_1 = ((__pyx_v_fieldDesc.typeDescHandle == NULL) != 0); if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":2706 + /* "pyrfc/_cyrfc.pyx":2707 * } * if fieldDesc.typeDescHandle is NULL: * field_description['type_description'] = None # <<<<<<<<<<<<<< * else: * field_description['type_description'] = wrapTypeDescription(fieldDesc.typeDescHandle) */ - if (unlikely(PyDict_SetItem(__pyx_v_field_description, __pyx_n_u_type_description, Py_None) < 0)) __PYX_ERR(0, 2706, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_field_description, __pyx_n_u_type_description, Py_None) < 0)) __PYX_ERR(0, 2707, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2705 + /* "pyrfc/_cyrfc.pyx":2706 * 'decimals': fieldDesc.decimals * } * if fieldDesc.typeDescHandle is NULL: # <<<<<<<<<<<<<< @@ -36028,7 +36028,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE goto __pyx_L9; } - /* "pyrfc/_cyrfc.pyx":2708 + /* "pyrfc/_cyrfc.pyx":2709 * field_description['type_description'] = None * else: * field_description['type_description'] = wrapTypeDescription(fieldDesc.typeDescHandle) # <<<<<<<<<<<<<< @@ -36036,32 +36036,32 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE * type_desc.add_field(**field_description) */ /*else*/ { - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(__pyx_v_fieldDesc.typeDescHandle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2708, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(__pyx_v_fieldDesc.typeDescHandle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2709, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (unlikely(PyDict_SetItem(__pyx_v_field_description, __pyx_n_u_type_description, __pyx_t_2) < 0)) __PYX_ERR(0, 2708, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_field_description, __pyx_n_u_type_description, __pyx_t_2) < 0)) __PYX_ERR(0, 2709, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } __pyx_L9:; - /* "pyrfc/_cyrfc.pyx":2710 + /* "pyrfc/_cyrfc.pyx":2711 * field_description['type_description'] = wrapTypeDescription(fieldDesc.typeDescHandle) * # Add field to object * type_desc.add_field(**field_description) # <<<<<<<<<<<<<< * * return type_desc */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_type_desc, __pyx_n_s_add_field); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2710, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_type_desc, __pyx_n_s_add_field); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2711, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_8 = PyDict_Copy(__pyx_v_field_description); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2710, __pyx_L1_error) + __pyx_t_8 = PyDict_Copy(__pyx_v_field_description); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2711, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); - __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_empty_tuple, __pyx_t_8); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2710, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_empty_tuple, __pyx_t_8); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2711, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } - /* "pyrfc/_cyrfc.pyx":2712 + /* "pyrfc/_cyrfc.pyx":2713 * type_desc.add_field(**field_description) * * return type_desc # <<<<<<<<<<<<<< @@ -36073,7 +36073,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE __pyx_r = __pyx_v_type_desc; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2667 + /* "pyrfc/_cyrfc.pyx":2668 * * * cdef wrapTypeDescription(RFC_TYPE_DESC_HANDLE typeDesc): # <<<<<<<<<<<<<< @@ -36100,7 +36100,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(RFC_TYPE_DESC_HANDLE return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2714 +/* "pyrfc/_cyrfc.pyx":2715 * return type_desc * * cdef wrapFunctionDescription(RFC_FUNCTION_DESC_HANDLE funcDesc): # <<<<<<<<<<<<<< @@ -36134,7 +36134,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapFunctionDescription(RFC_FUNCTION_DES int __pyx_clineno = 0; __Pyx_RefNannySetupContext("wrapFunctionDescription", 0); - /* "pyrfc/_cyrfc.pyx":2721 + /* "pyrfc/_cyrfc.pyx":2722 * cdef RFC_PARAMETER_DESC paramDesc * * rc = RfcGetFunctionName(funcDesc, functionName, &errorInfo) # <<<<<<<<<<<<<< @@ -36143,7 +36143,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapFunctionDescription(RFC_FUNCTION_DES */ __pyx_v_rc = RfcGetFunctionName(__pyx_v_funcDesc, __pyx_v_functionName, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2722 + /* "pyrfc/_cyrfc.pyx":2723 * * rc = RfcGetFunctionName(funcDesc, functionName, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -36153,20 +36153,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapFunctionDescription(RFC_FUNCTION_DES __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2723 + /* "pyrfc/_cyrfc.pyx":2724 * rc = RfcGetFunctionName(funcDesc, functionName, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * name = wrapString(functionName) * func_desc = FunctionDescription(name) */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2723, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2724, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 2723, __pyx_L1_error) + __PYX_ERR(0, 2724, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2722 + /* "pyrfc/_cyrfc.pyx":2723 * * rc = RfcGetFunctionName(funcDesc, functionName, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -36175,26 +36175,26 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapFunctionDescription(RFC_FUNCTION_DES */ } - /* "pyrfc/_cyrfc.pyx":2724 + /* "pyrfc/_cyrfc.pyx":2725 * if rc != RFC_OK: * raise wrapError(&errorInfo) * name = wrapString(functionName) # <<<<<<<<<<<<<< * func_desc = FunctionDescription(name) * */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_functionName, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2724, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_functionName, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2725, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v_name = __pyx_t_2; __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2725 + /* "pyrfc/_cyrfc.pyx":2726 * raise wrapError(&errorInfo) * name = wrapString(functionName) * func_desc = FunctionDescription(name) # <<<<<<<<<<<<<< * * rc = RfcGetParameterCount(funcDesc, ¶mCount, &errorInfo) */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_FunctionDescription_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2725, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_FunctionDescription_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2726, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) { @@ -36208,13 +36208,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapFunctionDescription(RFC_FUNCTION_DES } __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_v_name) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_v_name); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2725, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2726, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_v_func_desc = __pyx_t_2; __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2727 + /* "pyrfc/_cyrfc.pyx":2728 * func_desc = FunctionDescription(name) * * rc = RfcGetParameterCount(funcDesc, ¶mCount, &errorInfo) # <<<<<<<<<<<<<< @@ -36223,7 +36223,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapFunctionDescription(RFC_FUNCTION_DES */ __pyx_v_rc = RfcGetParameterCount(__pyx_v_funcDesc, (&__pyx_v_paramCount), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2728 + /* "pyrfc/_cyrfc.pyx":2729 * * rc = RfcGetParameterCount(funcDesc, ¶mCount, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -36233,20 +36233,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapFunctionDescription(RFC_FUNCTION_DES __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2729 + /* "pyrfc/_cyrfc.pyx":2730 * rc = RfcGetParameterCount(funcDesc, ¶mCount, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * for i in range(paramCount): * rc = RfcGetParameterDescByIndex(funcDesc, i, ¶mDesc, &errorInfo) */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2729, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2730, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 2729, __pyx_L1_error) + __PYX_ERR(0, 2730, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2728 + /* "pyrfc/_cyrfc.pyx":2729 * * rc = RfcGetParameterCount(funcDesc, ¶mCount, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -36255,7 +36255,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapFunctionDescription(RFC_FUNCTION_DES */ } - /* "pyrfc/_cyrfc.pyx":2730 + /* "pyrfc/_cyrfc.pyx":2731 * if rc != RFC_OK: * raise wrapError(&errorInfo) * for i in range(paramCount): # <<<<<<<<<<<<<< @@ -36267,7 +36267,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapFunctionDescription(RFC_FUNCTION_DES for (__pyx_t_7 = 0; __pyx_t_7 < __pyx_t_6; __pyx_t_7+=1) { __pyx_v_i = __pyx_t_7; - /* "pyrfc/_cyrfc.pyx":2731 + /* "pyrfc/_cyrfc.pyx":2732 * raise wrapError(&errorInfo) * for i in range(paramCount): * rc = RfcGetParameterDescByIndex(funcDesc, i, ¶mDesc, &errorInfo) # <<<<<<<<<<<<<< @@ -36276,7 +36276,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapFunctionDescription(RFC_FUNCTION_DES */ __pyx_v_rc = RfcGetParameterDescByIndex(__pyx_v_funcDesc, __pyx_v_i, (&__pyx_v_paramDesc), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2732 + /* "pyrfc/_cyrfc.pyx":2733 * for i in range(paramCount): * rc = RfcGetParameterDescByIndex(funcDesc, i, ¶mDesc, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -36286,20 +36286,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapFunctionDescription(RFC_FUNCTION_DES __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2733 + /* "pyrfc/_cyrfc.pyx":2734 * rc = RfcGetParameterDescByIndex(funcDesc, i, ¶mDesc, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * parameter_description = { * 'name': wrapString(paramDesc.name), */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2733, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2734, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 2733, __pyx_L1_error) + __PYX_ERR(0, 2734, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2732 + /* "pyrfc/_cyrfc.pyx":2733 * for i in range(paramCount): * rc = RfcGetParameterDescByIndex(funcDesc, i, ¶mDesc, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -36308,30 +36308,30 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapFunctionDescription(RFC_FUNCTION_DES */ } - /* "pyrfc/_cyrfc.pyx":2735 + /* "pyrfc/_cyrfc.pyx":2736 * raise wrapError(&errorInfo) * parameter_description = { * 'name': wrapString(paramDesc.name), # <<<<<<<<<<<<<< * 'parameter_type': RfcFieldType(paramDesc.type).name, * 'direction': RfcParameterDirection(paramDesc.direction).name, */ - __pyx_t_2 = __Pyx_PyDict_NewPresized(9); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2735, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyDict_NewPresized(9); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2736, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_paramDesc.name, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2735, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_paramDesc.name, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2736, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_name, __pyx_t_3) < 0) __PYX_ERR(0, 2735, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_name, __pyx_t_3) < 0) __PYX_ERR(0, 2736, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":2736 + /* "pyrfc/_cyrfc.pyx":2737 * parameter_description = { * 'name': wrapString(paramDesc.name), * 'parameter_type': RfcFieldType(paramDesc.type).name, # <<<<<<<<<<<<<< * 'direction': RfcParameterDirection(paramDesc.direction).name, * 'nuc_length': paramDesc.nucLength, */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_RfcFieldType); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2736, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_RfcFieldType); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2737, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_8 = __Pyx_PyInt_From_RFCTYPE(__pyx_v_paramDesc.type); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2736, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyInt_From_RFCTYPE(__pyx_v_paramDesc.type); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2737, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_9 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_4))) { @@ -36346,25 +36346,25 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapFunctionDescription(RFC_FUNCTION_DES __pyx_t_3 = (__pyx_t_9) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_9, __pyx_t_8) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_8); __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2736, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2737, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_name); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2736, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_name); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2737, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_parameter_type, __pyx_t_4) < 0) __PYX_ERR(0, 2735, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_parameter_type, __pyx_t_4) < 0) __PYX_ERR(0, 2736, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":2737 + /* "pyrfc/_cyrfc.pyx":2738 * 'name': wrapString(paramDesc.name), * 'parameter_type': RfcFieldType(paramDesc.type).name, * 'direction': RfcParameterDirection(paramDesc.direction).name, # <<<<<<<<<<<<<< * 'nuc_length': paramDesc.nucLength, * 'uc_length': paramDesc.ucLength, */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_RfcParameterDirection); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2737, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_RfcParameterDirection); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2738, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_8 = __Pyx_PyInt_From_RFC_DIRECTION(__pyx_v_paramDesc.direction); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2737, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyInt_From_RFC_DIRECTION(__pyx_v_paramDesc.direction); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2738, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_9 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) { @@ -36379,94 +36379,94 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapFunctionDescription(RFC_FUNCTION_DES __pyx_t_4 = (__pyx_t_9) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_9, __pyx_t_8) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_8); __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2737, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2738, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_name); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2737, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_name); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2738, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_direction, __pyx_t_3) < 0) __PYX_ERR(0, 2735, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_direction, __pyx_t_3) < 0) __PYX_ERR(0, 2736, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":2738 + /* "pyrfc/_cyrfc.pyx":2739 * 'parameter_type': RfcFieldType(paramDesc.type).name, * 'direction': RfcParameterDirection(paramDesc.direction).name, * 'nuc_length': paramDesc.nucLength, # <<<<<<<<<<<<<< * 'uc_length': paramDesc.ucLength, * 'decimals': paramDesc.decimals, */ - __pyx_t_3 = __Pyx_PyInt_From_unsigned_int(__pyx_v_paramDesc.nucLength); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2738, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_From_unsigned_int(__pyx_v_paramDesc.nucLength); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2739, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_nuc_length, __pyx_t_3) < 0) __PYX_ERR(0, 2735, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_nuc_length, __pyx_t_3) < 0) __PYX_ERR(0, 2736, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":2739 + /* "pyrfc/_cyrfc.pyx":2740 * 'direction': RfcParameterDirection(paramDesc.direction).name, * 'nuc_length': paramDesc.nucLength, * 'uc_length': paramDesc.ucLength, # <<<<<<<<<<<<<< * 'decimals': paramDesc.decimals, * 'default_value': wrapString(paramDesc.defaultValue), */ - __pyx_t_3 = __Pyx_PyInt_From_unsigned_int(__pyx_v_paramDesc.ucLength); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2739, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_From_unsigned_int(__pyx_v_paramDesc.ucLength); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2740, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_uc_length, __pyx_t_3) < 0) __PYX_ERR(0, 2735, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_uc_length, __pyx_t_3) < 0) __PYX_ERR(0, 2736, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":2740 + /* "pyrfc/_cyrfc.pyx":2741 * 'nuc_length': paramDesc.nucLength, * 'uc_length': paramDesc.ucLength, * 'decimals': paramDesc.decimals, # <<<<<<<<<<<<<< * 'default_value': wrapString(paramDesc.defaultValue), * 'parameter_text': wrapString(paramDesc.parameterText), */ - __pyx_t_3 = __Pyx_PyInt_From_unsigned_int(__pyx_v_paramDesc.decimals); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2740, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_From_unsigned_int(__pyx_v_paramDesc.decimals); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2741, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_decimals, __pyx_t_3) < 0) __PYX_ERR(0, 2735, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_decimals, __pyx_t_3) < 0) __PYX_ERR(0, 2736, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":2741 + /* "pyrfc/_cyrfc.pyx":2742 * 'uc_length': paramDesc.ucLength, * 'decimals': paramDesc.decimals, * 'default_value': wrapString(paramDesc.defaultValue), # <<<<<<<<<<<<<< * 'parameter_text': wrapString(paramDesc.parameterText), * 'optional': bool(paramDesc.optional) */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_paramDesc.defaultValue, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2741, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_paramDesc.defaultValue, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2742, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_default_value, __pyx_t_3) < 0) __PYX_ERR(0, 2735, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_default_value, __pyx_t_3) < 0) __PYX_ERR(0, 2736, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":2742 + /* "pyrfc/_cyrfc.pyx":2743 * 'decimals': paramDesc.decimals, * 'default_value': wrapString(paramDesc.defaultValue), * 'parameter_text': wrapString(paramDesc.parameterText), # <<<<<<<<<<<<<< * 'optional': bool(paramDesc.optional) * # skip: void* extendedDescription; */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_paramDesc.parameterText, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2742, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_paramDesc.parameterText, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2743, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_parameter_text, __pyx_t_3) < 0) __PYX_ERR(0, 2735, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_parameter_text, __pyx_t_3) < 0) __PYX_ERR(0, 2736, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":2743 + /* "pyrfc/_cyrfc.pyx":2744 * 'default_value': wrapString(paramDesc.defaultValue), * 'parameter_text': wrapString(paramDesc.parameterText), * 'optional': bool(paramDesc.optional) # <<<<<<<<<<<<<< * # skip: void* extendedDescription; * # This field can be used by the application programmer (i.e. you) to store arbitrary extra information. */ - __pyx_t_3 = __Pyx_PyInt_From_SAP_RAW(__pyx_v_paramDesc.optional); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2743, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_From_SAP_RAW(__pyx_v_paramDesc.optional); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2744, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 2743, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 2744, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyBool_FromLong((!(!__pyx_t_1))); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2743, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyBool_FromLong((!(!__pyx_t_1))); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2744, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_optional, __pyx_t_3) < 0) __PYX_ERR(0, 2735, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_optional, __pyx_t_3) < 0) __PYX_ERR(0, 2736, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_XDECREF_SET(__pyx_v_parameter_description, ((PyObject*)__pyx_t_2)); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":2747 + /* "pyrfc/_cyrfc.pyx":2748 * # This field can be used by the application programmer (i.e. you) to store arbitrary extra information. * } * if paramDesc.typeDescHandle is NULL: # <<<<<<<<<<<<<< @@ -36476,16 +36476,16 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapFunctionDescription(RFC_FUNCTION_DES __pyx_t_1 = ((__pyx_v_paramDesc.typeDescHandle == NULL) != 0); if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":2748 + /* "pyrfc/_cyrfc.pyx":2749 * } * if paramDesc.typeDescHandle is NULL: * parameter_description['type_description'] = None # <<<<<<<<<<<<<< * else: * parameter_description['type_description'] = wrapTypeDescription(paramDesc.typeDescHandle) */ - if (unlikely(PyDict_SetItem(__pyx_v_parameter_description, __pyx_n_u_type_description, Py_None) < 0)) __PYX_ERR(0, 2748, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_parameter_description, __pyx_n_u_type_description, Py_None) < 0)) __PYX_ERR(0, 2749, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2747 + /* "pyrfc/_cyrfc.pyx":2748 * # This field can be used by the application programmer (i.e. you) to store arbitrary extra information. * } * if paramDesc.typeDescHandle is NULL: # <<<<<<<<<<<<<< @@ -36495,7 +36495,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapFunctionDescription(RFC_FUNCTION_DES goto __pyx_L8; } - /* "pyrfc/_cyrfc.pyx":2750 + /* "pyrfc/_cyrfc.pyx":2751 * parameter_description['type_description'] = None * else: * parameter_description['type_description'] = wrapTypeDescription(paramDesc.typeDescHandle) # <<<<<<<<<<<<<< @@ -36503,32 +36503,32 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapFunctionDescription(RFC_FUNCTION_DES * */ /*else*/ { - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(__pyx_v_paramDesc.typeDescHandle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2750, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapTypeDescription(__pyx_v_paramDesc.typeDescHandle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2751, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (unlikely(PyDict_SetItem(__pyx_v_parameter_description, __pyx_n_u_type_description, __pyx_t_2) < 0)) __PYX_ERR(0, 2750, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_parameter_description, __pyx_n_u_type_description, __pyx_t_2) < 0)) __PYX_ERR(0, 2751, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } __pyx_L8:; - /* "pyrfc/_cyrfc.pyx":2751 + /* "pyrfc/_cyrfc.pyx":2752 * else: * parameter_description['type_description'] = wrapTypeDescription(paramDesc.typeDescHandle) * func_desc.add_parameter(**parameter_description) # <<<<<<<<<<<<<< * * return func_desc */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_func_desc, __pyx_n_s_add_parameter); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2751, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_func_desc, __pyx_n_s_add_parameter); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2752, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = PyDict_Copy(__pyx_v_parameter_description); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2751, __pyx_L1_error) + __pyx_t_3 = PyDict_Copy(__pyx_v_parameter_description); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2752, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_empty_tuple, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2751, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_empty_tuple, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2752, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } - /* "pyrfc/_cyrfc.pyx":2753 + /* "pyrfc/_cyrfc.pyx":2754 * func_desc.add_parameter(**parameter_description) * * return func_desc # <<<<<<<<<<<<<< @@ -36540,7 +36540,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapFunctionDescription(RFC_FUNCTION_DES __pyx_r = __pyx_v_func_desc; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2714 + /* "pyrfc/_cyrfc.pyx":2715 * return type_desc * * cdef wrapFunctionDescription(RFC_FUNCTION_DESC_HANDLE funcDesc): # <<<<<<<<<<<<<< @@ -36566,7 +36566,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapFunctionDescription(RFC_FUNCTION_DES return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2756 +/* "pyrfc/_cyrfc.pyx":2757 * * * cdef wrapResult( # <<<<<<<<<<<<<< @@ -36592,7 +36592,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapResult(RFC_FUNCTION_DESC_HANDLE __py int __pyx_clineno = 0; __Pyx_RefNannySetupContext("wrapResult", 0); - /* "pyrfc/_cyrfc.pyx":2772 + /* "pyrfc/_cyrfc.pyx":2773 * cdef unsigned i, paramCount * cdef RFC_PARAMETER_DESC paramDesc * RfcGetParameterCount(funcDesc, ¶mCount, NULL) # <<<<<<<<<<<<<< @@ -36601,19 +36601,19 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapResult(RFC_FUNCTION_DESC_HANDLE __py */ (void)(RfcGetParameterCount(__pyx_v_funcDesc, (&__pyx_v_paramCount), NULL)); - /* "pyrfc/_cyrfc.pyx":2773 + /* "pyrfc/_cyrfc.pyx":2774 * cdef RFC_PARAMETER_DESC paramDesc * RfcGetParameterCount(funcDesc, ¶mCount, NULL) * result = {} # <<<<<<<<<<<<<< * for i in range(paramCount): * RfcGetParameterDescByIndex(funcDesc, i, ¶mDesc, NULL) */ - __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2773, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2774, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_result = ((PyObject*)__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2774 + /* "pyrfc/_cyrfc.pyx":2775 * RfcGetParameterCount(funcDesc, ¶mCount, NULL) * result = {} * for i in range(paramCount): # <<<<<<<<<<<<<< @@ -36625,7 +36625,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapResult(RFC_FUNCTION_DESC_HANDLE __py for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { __pyx_v_i = __pyx_t_4; - /* "pyrfc/_cyrfc.pyx":2775 + /* "pyrfc/_cyrfc.pyx":2776 * result = {} * for i in range(paramCount): * RfcGetParameterDescByIndex(funcDesc, i, ¶mDesc, NULL) # <<<<<<<<<<<<<< @@ -36634,7 +36634,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapResult(RFC_FUNCTION_DESC_HANDLE __py */ (void)(RfcGetParameterDescByIndex(__pyx_v_funcDesc, __pyx_v_i, (&__pyx_v_paramDesc), NULL)); - /* "pyrfc/_cyrfc.pyx":2776 + /* "pyrfc/_cyrfc.pyx":2777 * for i in range(paramCount): * RfcGetParameterDescByIndex(funcDesc, i, ¶mDesc, NULL) * if paramDesc.direction != filter_parameter_direction: # <<<<<<<<<<<<<< @@ -36644,22 +36644,22 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapResult(RFC_FUNCTION_DESC_HANDLE __py __pyx_t_5 = ((__pyx_v_paramDesc.direction != __pyx_v_filter_parameter_direction) != 0); if (__pyx_t_5) { - /* "pyrfc/_cyrfc.pyx":2777 + /* "pyrfc/_cyrfc.pyx":2778 * RfcGetParameterDescByIndex(funcDesc, i, ¶mDesc, NULL) * if paramDesc.direction != filter_parameter_direction: * result[wrapString(paramDesc.name)] = wrapVariable( # <<<<<<<<<<<<<< * paramDesc.type, * container, */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapVariable(__pyx_v_paramDesc.type, __pyx_v_container, __pyx_v_paramDesc.name, __pyx_v_paramDesc.nucLength, __pyx_v_paramDesc.typeDescHandle, __pyx_v_config); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2777, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapVariable(__pyx_v_paramDesc.type, __pyx_v_container, __pyx_v_paramDesc.name, __pyx_v_paramDesc.nucLength, __pyx_v_paramDesc.typeDescHandle, __pyx_v_config); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2778, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_6 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_paramDesc.name, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2777, __pyx_L1_error) + __pyx_t_6 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_paramDesc.name, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2778, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - if (unlikely(PyDict_SetItem(__pyx_v_result, __pyx_t_6, __pyx_t_1) < 0)) __PYX_ERR(0, 2777, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_result, __pyx_t_6, __pyx_t_1) < 0)) __PYX_ERR(0, 2778, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2776 + /* "pyrfc/_cyrfc.pyx":2777 * for i in range(paramCount): * RfcGetParameterDescByIndex(funcDesc, i, ¶mDesc, NULL) * if paramDesc.direction != filter_parameter_direction: # <<<<<<<<<<<<<< @@ -36669,7 +36669,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapResult(RFC_FUNCTION_DESC_HANDLE __py } } - /* "pyrfc/_cyrfc.pyx":2785 + /* "pyrfc/_cyrfc.pyx":2786 * config * ) * return result # <<<<<<<<<<<<<< @@ -36681,7 +36681,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapResult(RFC_FUNCTION_DESC_HANDLE __py __pyx_r = __pyx_v_result; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2756 + /* "pyrfc/_cyrfc.pyx":2757 * * * cdef wrapResult( # <<<<<<<<<<<<<< @@ -36702,7 +36702,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapResult(RFC_FUNCTION_DESC_HANDLE __py return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2787 +/* "pyrfc/_cyrfc.pyx":2788 * return result * * cdef wrapUnitIdentifier(RFC_UNIT_IDENTIFIER uIdentifier): # <<<<<<<<<<<<<< @@ -36722,7 +36722,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapUnitIdentifier(RFC_UNIT_IDENTIFIER _ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("wrapUnitIdentifier", 0); - /* "pyrfc/_cyrfc.pyx":2788 + /* "pyrfc/_cyrfc.pyx":2789 * * cdef wrapUnitIdentifier(RFC_UNIT_IDENTIFIER uIdentifier): * return { # <<<<<<<<<<<<<< @@ -36731,40 +36731,40 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapUnitIdentifier(RFC_UNIT_IDENTIFIER _ */ __Pyx_XDECREF(__pyx_r); - /* "pyrfc/_cyrfc.pyx":2789 + /* "pyrfc/_cyrfc.pyx":2790 * cdef wrapUnitIdentifier(RFC_UNIT_IDENTIFIER uIdentifier): * return { * 'queued': "Q" == wrapString(&uIdentifier.unitType, 1), # <<<<<<<<<<<<<< * 'id': wrapString(uIdentifier.unitID) * } */ - __pyx_t_1 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2789, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2790, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3.__pyx_n = 1; __pyx_t_3.uclen = __pyx_int_1; - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapString((&__pyx_v_uIdentifier.unitType), &__pyx_t_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2789, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapString((&__pyx_v_uIdentifier.unitType), &__pyx_t_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2790, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_4 = PyObject_RichCompare(__pyx_n_u_Q, __pyx_t_2, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2789, __pyx_L1_error) + __pyx_t_4 = PyObject_RichCompare(__pyx_n_u_Q, __pyx_t_2, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2790, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_queued, __pyx_t_4) < 0) __PYX_ERR(0, 2789, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_queued, __pyx_t_4) < 0) __PYX_ERR(0, 2790, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":2790 + /* "pyrfc/_cyrfc.pyx":2791 * return { * 'queued': "Q" == wrapString(&uIdentifier.unitType, 1), * 'id': wrapString(uIdentifier.unitID) # <<<<<<<<<<<<<< * } * */ - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_uIdentifier.unitID, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2790, __pyx_L1_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_uIdentifier.unitID, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2791, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_id, __pyx_t_4) < 0) __PYX_ERR(0, 2789, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_u_id, __pyx_t_4) < 0) __PYX_ERR(0, 2790, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_r = __pyx_t_1; __pyx_t_1 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2787 + /* "pyrfc/_cyrfc.pyx":2788 * return result * * cdef wrapUnitIdentifier(RFC_UNIT_IDENTIFIER uIdentifier): # <<<<<<<<<<<<<< @@ -36785,7 +36785,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapUnitIdentifier(RFC_UNIT_IDENTIFIER _ return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2793 +/* "pyrfc/_cyrfc.pyx":2794 * } * * cdef wrapUnitAttributes(RFC_UNIT_ATTRIBUTES *uattr): # <<<<<<<<<<<<<< @@ -36804,79 +36804,79 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapUnitAttributes(RFC_UNIT_ATTRIBUTES * int __pyx_clineno = 0; __Pyx_RefNannySetupContext("wrapUnitAttributes", 0); - /* "pyrfc/_cyrfc.pyx":2794 + /* "pyrfc/_cyrfc.pyx":2795 * * cdef wrapUnitAttributes(RFC_UNIT_ATTRIBUTES *uattr): * unit_attributes = {} # <<<<<<<<<<<<<< * unit_attributes['kernel_trace'] = uattr.kernelTrace != 0 * unit_attributes['sat_trace'] = uattr.satTrace != 0 */ - __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2794, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2795, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_unit_attributes = ((PyObject*)__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2795 + /* "pyrfc/_cyrfc.pyx":2796 * cdef wrapUnitAttributes(RFC_UNIT_ATTRIBUTES *uattr): * unit_attributes = {} * unit_attributes['kernel_trace'] = uattr.kernelTrace != 0 # <<<<<<<<<<<<<< * unit_attributes['sat_trace'] = uattr.satTrace != 0 * unit_attributes['unit_history'] = uattr.unitHistory != 0 */ - __pyx_t_1 = __Pyx_PyBool_FromLong((__pyx_v_uattr->kernelTrace != 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2795, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyBool_FromLong((__pyx_v_uattr->kernelTrace != 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2796, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_kernel_trace, __pyx_t_1) < 0)) __PYX_ERR(0, 2795, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_kernel_trace, __pyx_t_1) < 0)) __PYX_ERR(0, 2796, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2796 + /* "pyrfc/_cyrfc.pyx":2797 * unit_attributes = {} * unit_attributes['kernel_trace'] = uattr.kernelTrace != 0 * unit_attributes['sat_trace'] = uattr.satTrace != 0 # <<<<<<<<<<<<<< * unit_attributes['unit_history'] = uattr.unitHistory != 0 * unit_attributes['lock'] = uattr.lock != 0 */ - __pyx_t_1 = __Pyx_PyBool_FromLong((__pyx_v_uattr->satTrace != 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2796, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyBool_FromLong((__pyx_v_uattr->satTrace != 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2797, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_sat_trace, __pyx_t_1) < 0)) __PYX_ERR(0, 2796, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_sat_trace, __pyx_t_1) < 0)) __PYX_ERR(0, 2797, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2797 + /* "pyrfc/_cyrfc.pyx":2798 * unit_attributes['kernel_trace'] = uattr.kernelTrace != 0 * unit_attributes['sat_trace'] = uattr.satTrace != 0 * unit_attributes['unit_history'] = uattr.unitHistory != 0 # <<<<<<<<<<<<<< * unit_attributes['lock'] = uattr.lock != 0 * unit_attributes['no_commit_check'] = uattr.noCommitCheck != 0 */ - __pyx_t_1 = __Pyx_PyBool_FromLong((__pyx_v_uattr->unitHistory != 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2797, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyBool_FromLong((__pyx_v_uattr->unitHistory != 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2798, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_unit_history, __pyx_t_1) < 0)) __PYX_ERR(0, 2797, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_unit_history, __pyx_t_1) < 0)) __PYX_ERR(0, 2798, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2798 + /* "pyrfc/_cyrfc.pyx":2799 * unit_attributes['sat_trace'] = uattr.satTrace != 0 * unit_attributes['unit_history'] = uattr.unitHistory != 0 * unit_attributes['lock'] = uattr.lock != 0 # <<<<<<<<<<<<<< * unit_attributes['no_commit_check'] = uattr.noCommitCheck != 0 * unit_attributes['user'] = wrapString(uattr.user, 12, True) */ - __pyx_t_1 = __Pyx_PyBool_FromLong((__pyx_v_uattr->lock != 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2798, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyBool_FromLong((__pyx_v_uattr->lock != 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2799, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_lock, __pyx_t_1) < 0)) __PYX_ERR(0, 2798, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_lock, __pyx_t_1) < 0)) __PYX_ERR(0, 2799, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2799 + /* "pyrfc/_cyrfc.pyx":2800 * unit_attributes['unit_history'] = uattr.unitHistory != 0 * unit_attributes['lock'] = uattr.lock != 0 * unit_attributes['no_commit_check'] = uattr.noCommitCheck != 0 # <<<<<<<<<<<<<< * unit_attributes['user'] = wrapString(uattr.user, 12, True) * unit_attributes['client'] = wrapString(uattr.client, 3, True) */ - __pyx_t_1 = __Pyx_PyBool_FromLong((__pyx_v_uattr->noCommitCheck != 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2799, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyBool_FromLong((__pyx_v_uattr->noCommitCheck != 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2800, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_no_commit_check, __pyx_t_1) < 0)) __PYX_ERR(0, 2799, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_no_commit_check, __pyx_t_1) < 0)) __PYX_ERR(0, 2800, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2800 + /* "pyrfc/_cyrfc.pyx":2801 * unit_attributes['lock'] = uattr.lock != 0 * unit_attributes['no_commit_check'] = uattr.noCommitCheck != 0 * unit_attributes['user'] = wrapString(uattr.user, 12, True) # <<<<<<<<<<<<<< @@ -36886,12 +36886,12 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapUnitAttributes(RFC_UNIT_ATTRIBUTES * __pyx_t_2.__pyx_n = 2; __pyx_t_2.uclen = __pyx_int_12; __pyx_t_2.rstrip = Py_True; - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_uattr->user, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2800, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_uattr->user, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2801, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_user, __pyx_t_1) < 0)) __PYX_ERR(0, 2800, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_user, __pyx_t_1) < 0)) __PYX_ERR(0, 2801, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2801 + /* "pyrfc/_cyrfc.pyx":2802 * unit_attributes['no_commit_check'] = uattr.noCommitCheck != 0 * unit_attributes['user'] = wrapString(uattr.user, 12, True) * unit_attributes['client'] = wrapString(uattr.client, 3, True) # <<<<<<<<<<<<<< @@ -36901,12 +36901,12 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapUnitAttributes(RFC_UNIT_ATTRIBUTES * __pyx_t_2.__pyx_n = 2; __pyx_t_2.uclen = __pyx_int_3; __pyx_t_2.rstrip = Py_True; - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_uattr->client, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2801, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_uattr->client, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2802, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_client, __pyx_t_1) < 0)) __PYX_ERR(0, 2801, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_client, __pyx_t_1) < 0)) __PYX_ERR(0, 2802, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2802 + /* "pyrfc/_cyrfc.pyx":2803 * unit_attributes['user'] = wrapString(uattr.user, 12, True) * unit_attributes['client'] = wrapString(uattr.client, 3, True) * unit_attributes['t_code'] = wrapString(uattr.tCode, 20, True) # <<<<<<<<<<<<<< @@ -36916,12 +36916,12 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapUnitAttributes(RFC_UNIT_ATTRIBUTES * __pyx_t_2.__pyx_n = 2; __pyx_t_2.uclen = __pyx_int_20; __pyx_t_2.rstrip = Py_True; - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_uattr->tCode, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2802, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_uattr->tCode, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2803, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_t_code, __pyx_t_1) < 0)) __PYX_ERR(0, 2802, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_t_code, __pyx_t_1) < 0)) __PYX_ERR(0, 2803, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2803 + /* "pyrfc/_cyrfc.pyx":2804 * unit_attributes['client'] = wrapString(uattr.client, 3, True) * unit_attributes['t_code'] = wrapString(uattr.tCode, 20, True) * unit_attributes['program'] = wrapString(uattr.program, 40, True) # <<<<<<<<<<<<<< @@ -36931,12 +36931,12 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapUnitAttributes(RFC_UNIT_ATTRIBUTES * __pyx_t_2.__pyx_n = 2; __pyx_t_2.uclen = __pyx_int_40; __pyx_t_2.rstrip = Py_True; - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_uattr->program, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2803, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_uattr->program, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2804, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_program, __pyx_t_1) < 0)) __PYX_ERR(0, 2803, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_program, __pyx_t_1) < 0)) __PYX_ERR(0, 2804, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2804 + /* "pyrfc/_cyrfc.pyx":2805 * unit_attributes['t_code'] = wrapString(uattr.tCode, 20, True) * unit_attributes['program'] = wrapString(uattr.program, 40, True) * unit_attributes['hostname'] = wrapString(uattr.hostname, 40, True) # <<<<<<<<<<<<<< @@ -36946,12 +36946,12 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapUnitAttributes(RFC_UNIT_ATTRIBUTES * __pyx_t_2.__pyx_n = 2; __pyx_t_2.uclen = __pyx_int_40; __pyx_t_2.rstrip = Py_True; - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_uattr->hostname, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2804, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_uattr->hostname, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2805, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_hostname, __pyx_t_1) < 0)) __PYX_ERR(0, 2804, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_hostname, __pyx_t_1) < 0)) __PYX_ERR(0, 2805, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2805 + /* "pyrfc/_cyrfc.pyx":2806 * unit_attributes['program'] = wrapString(uattr.program, 40, True) * unit_attributes['hostname'] = wrapString(uattr.hostname, 40, True) * unit_attributes['sending_date'] = wrapString(uattr.sendingDate, 8, True) # <<<<<<<<<<<<<< @@ -36961,12 +36961,12 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapUnitAttributes(RFC_UNIT_ATTRIBUTES * __pyx_t_2.__pyx_n = 2; __pyx_t_2.uclen = __pyx_int_8; __pyx_t_2.rstrip = Py_True; - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_uattr->sendingDate, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2805, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_uattr->sendingDate, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2806, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_sending_date, __pyx_t_1) < 0)) __PYX_ERR(0, 2805, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_sending_date, __pyx_t_1) < 0)) __PYX_ERR(0, 2806, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2806 + /* "pyrfc/_cyrfc.pyx":2807 * unit_attributes['hostname'] = wrapString(uattr.hostname, 40, True) * unit_attributes['sending_date'] = wrapString(uattr.sendingDate, 8, True) * unit_attributes['sending_time'] = wrapString(uattr.sendingTime, 6, True) # <<<<<<<<<<<<<< @@ -36976,12 +36976,12 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapUnitAttributes(RFC_UNIT_ATTRIBUTES * __pyx_t_2.__pyx_n = 2; __pyx_t_2.uclen = __pyx_int_6; __pyx_t_2.rstrip = Py_True; - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_uattr->sendingTime, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2806, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_uattr->sendingTime, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2807, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_sending_time, __pyx_t_1) < 0)) __PYX_ERR(0, 2806, __pyx_L1_error) + if (unlikely(PyDict_SetItem(__pyx_v_unit_attributes, __pyx_n_u_sending_time, __pyx_t_1) < 0)) __PYX_ERR(0, 2807, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2807 + /* "pyrfc/_cyrfc.pyx":2808 * unit_attributes['sending_date'] = wrapString(uattr.sendingDate, 8, True) * unit_attributes['sending_time'] = wrapString(uattr.sendingTime, 6, True) * return unit_attributes # <<<<<<<<<<<<<< @@ -36993,7 +36993,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapUnitAttributes(RFC_UNIT_ATTRIBUTES * __pyx_r = __pyx_v_unit_attributes; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2793 + /* "pyrfc/_cyrfc.pyx":2794 * } * * cdef wrapUnitAttributes(RFC_UNIT_ATTRIBUTES *uattr): # <<<<<<<<<<<<<< @@ -37013,7 +37013,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapUnitAttributes(RFC_UNIT_ATTRIBUTES * return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2809 +/* "pyrfc/_cyrfc.pyx":2810 * return unit_attributes * * cdef wrapStructure(RFC_TYPE_DESC_HANDLE typeDesc, RFC_STRUCTURE_HANDLE container, config): # <<<<<<<<<<<<<< @@ -37041,7 +37041,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapStructure(RFC_TYPE_DESC_HANDLE __pyx int __pyx_clineno = 0; __Pyx_RefNannySetupContext("wrapStructure", 0); - /* "pyrfc/_cyrfc.pyx":2812 + /* "pyrfc/_cyrfc.pyx":2813 * cdef unsigned i, fieldCount * cdef RFC_FIELD_DESC fieldDesc * RfcGetFieldCount(typeDesc, &fieldCount, NULL) # <<<<<<<<<<<<<< @@ -37050,19 +37050,19 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapStructure(RFC_TYPE_DESC_HANDLE __pyx */ (void)(RfcGetFieldCount(__pyx_v_typeDesc, (&__pyx_v_fieldCount), NULL)); - /* "pyrfc/_cyrfc.pyx":2813 + /* "pyrfc/_cyrfc.pyx":2814 * cdef RFC_FIELD_DESC fieldDesc * RfcGetFieldCount(typeDesc, &fieldCount, NULL) * result = {} # <<<<<<<<<<<<<< * for i in range(fieldCount): * RfcGetFieldDescByIndex(typeDesc, i, &fieldDesc, NULL) */ - __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2813, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2814, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_result = __pyx_t_1; __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2814 + /* "pyrfc/_cyrfc.pyx":2815 * RfcGetFieldCount(typeDesc, &fieldCount, NULL) * result = {} * for i in range(fieldCount): # <<<<<<<<<<<<<< @@ -37074,7 +37074,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapStructure(RFC_TYPE_DESC_HANDLE __pyx for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { __pyx_v_i = __pyx_t_4; - /* "pyrfc/_cyrfc.pyx":2815 + /* "pyrfc/_cyrfc.pyx":2816 * result = {} * for i in range(fieldCount): * RfcGetFieldDescByIndex(typeDesc, i, &fieldDesc, NULL) # <<<<<<<<<<<<<< @@ -37083,57 +37083,57 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapStructure(RFC_TYPE_DESC_HANDLE __pyx */ (void)(RfcGetFieldDescByIndex(__pyx_v_typeDesc, __pyx_v_i, (&__pyx_v_fieldDesc), NULL)); - /* "pyrfc/_cyrfc.pyx":2816 + /* "pyrfc/_cyrfc.pyx":2817 * for i in range(fieldCount): * RfcGetFieldDescByIndex(typeDesc, i, &fieldDesc, NULL) * result[wrapString(fieldDesc.name)] = wrapVariable( # <<<<<<<<<<<<<< * fieldDesc.type, * container, */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapVariable(__pyx_v_fieldDesc.type, __pyx_v_container, __pyx_v_fieldDesc.name, __pyx_v_fieldDesc.nucLength, __pyx_v_fieldDesc.typeDescHandle, __pyx_v_config); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2816, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapVariable(__pyx_v_fieldDesc.type, __pyx_v_container, __pyx_v_fieldDesc.name, __pyx_v_fieldDesc.nucLength, __pyx_v_fieldDesc.typeDescHandle, __pyx_v_config); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2817, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_fieldDesc.name, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2816, __pyx_L1_error) + __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_fieldDesc.name, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2817, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - if (unlikely(PyObject_SetItem(__pyx_v_result, __pyx_t_5, __pyx_t_1) < 0)) __PYX_ERR(0, 2816, __pyx_L1_error) + if (unlikely(PyObject_SetItem(__pyx_v_result, __pyx_t_5, __pyx_t_1) < 0)) __PYX_ERR(0, 2817, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } - /* "pyrfc/_cyrfc.pyx":2824 + /* "pyrfc/_cyrfc.pyx":2825 * config * ) * if len(result) == 1: # <<<<<<<<<<<<<< * if '' in result: * result = result[''] */ - __pyx_t_6 = PyObject_Length(__pyx_v_result); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2824, __pyx_L1_error) + __pyx_t_6 = PyObject_Length(__pyx_v_result); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2825, __pyx_L1_error) __pyx_t_7 = ((__pyx_t_6 == 1) != 0); if (__pyx_t_7) { - /* "pyrfc/_cyrfc.pyx":2825 + /* "pyrfc/_cyrfc.pyx":2826 * ) * if len(result) == 1: * if '' in result: # <<<<<<<<<<<<<< * result = result[''] * return result */ - __pyx_t_7 = (__Pyx_PySequence_ContainsTF(__pyx_kp_u__5, __pyx_v_result, Py_EQ)); if (unlikely(__pyx_t_7 < 0)) __PYX_ERR(0, 2825, __pyx_L1_error) + __pyx_t_7 = (__Pyx_PySequence_ContainsTF(__pyx_kp_u__5, __pyx_v_result, Py_EQ)); if (unlikely(__pyx_t_7 < 0)) __PYX_ERR(0, 2826, __pyx_L1_error) __pyx_t_8 = (__pyx_t_7 != 0); if (__pyx_t_8) { - /* "pyrfc/_cyrfc.pyx":2826 + /* "pyrfc/_cyrfc.pyx":2827 * if len(result) == 1: * if '' in result: * result = result[''] # <<<<<<<<<<<<<< * return result * */ - __pyx_t_1 = __Pyx_PyDict_GetItem(__pyx_v_result, __pyx_kp_u__5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2826, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_GetItem(__pyx_v_result, __pyx_kp_u__5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2827, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF_SET(__pyx_v_result, __pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2825 + /* "pyrfc/_cyrfc.pyx":2826 * ) * if len(result) == 1: * if '' in result: # <<<<<<<<<<<<<< @@ -37142,7 +37142,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapStructure(RFC_TYPE_DESC_HANDLE __pyx */ } - /* "pyrfc/_cyrfc.pyx":2824 + /* "pyrfc/_cyrfc.pyx":2825 * config * ) * if len(result) == 1: # <<<<<<<<<<<<<< @@ -37151,7 +37151,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapStructure(RFC_TYPE_DESC_HANDLE __pyx */ } - /* "pyrfc/_cyrfc.pyx":2827 + /* "pyrfc/_cyrfc.pyx":2828 * if '' in result: * result = result[''] * return result # <<<<<<<<<<<<<< @@ -37163,7 +37163,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapStructure(RFC_TYPE_DESC_HANDLE __pyx __pyx_r = __pyx_v_result; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2809 + /* "pyrfc/_cyrfc.pyx":2810 * return unit_attributes * * cdef wrapStructure(RFC_TYPE_DESC_HANDLE typeDesc, RFC_STRUCTURE_HANDLE container, config): # <<<<<<<<<<<<<< @@ -37184,7 +37184,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapStructure(RFC_TYPE_DESC_HANDLE __pyx return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2840 +/* "pyrfc/_cyrfc.pyx":2841 * # return wrapStructure(self.typeDesc, self.container) * * cdef wrapTable(RFC_TYPE_DESC_HANDLE typeDesc, RFC_TABLE_HANDLE container, config): # <<<<<<<<<<<<<< @@ -37205,7 +37205,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTable(RFC_TYPE_DESC_HANDLE __pyx_v_t int __pyx_clineno = 0; __Pyx_RefNannySetupContext("wrapTable", 0); - /* "pyrfc/_cyrfc.pyx":2848 + /* "pyrfc/_cyrfc.pyx":2849 * # tc.container = container * # return tc * RfcGetRowCount(container, &rowCount, &errorInfo) # <<<<<<<<<<<<<< @@ -37214,14 +37214,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTable(RFC_TYPE_DESC_HANDLE __pyx_v_t */ (void)(RfcGetRowCount(__pyx_v_container, (&__pyx_v_rowCount), (&__pyx_v_errorInfo))); - /* "pyrfc/_cyrfc.pyx":2849 + /* "pyrfc/_cyrfc.pyx":2850 * # return tc * RfcGetRowCount(container, &rowCount, &errorInfo) * table = [None] * rowCount # <<<<<<<<<<<<<< * while rowCount > 0: * rowCount -= 1 */ - __pyx_t_1 = PyList_New(1 * (__pyx_v_rowCount)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2849, __pyx_L1_error) + __pyx_t_1 = PyList_New(1 * (__pyx_v_rowCount)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2850, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); { Py_ssize_t __pyx_temp; for (__pyx_temp=0; __pyx_temp < __pyx_v_rowCount; __pyx_temp++) { @@ -37233,7 +37233,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTable(RFC_TYPE_DESC_HANDLE __pyx_v_t __pyx_v_table = ((PyObject*)__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2850 + /* "pyrfc/_cyrfc.pyx":2851 * RfcGetRowCount(container, &rowCount, &errorInfo) * table = [None] * rowCount * while rowCount > 0: # <<<<<<<<<<<<<< @@ -37244,7 +37244,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTable(RFC_TYPE_DESC_HANDLE __pyx_v_t __pyx_t_2 = ((__pyx_v_rowCount > 0) != 0); if (!__pyx_t_2) break; - /* "pyrfc/_cyrfc.pyx":2851 + /* "pyrfc/_cyrfc.pyx":2852 * table = [None] * rowCount * while rowCount > 0: * rowCount -= 1 # <<<<<<<<<<<<<< @@ -37253,7 +37253,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTable(RFC_TYPE_DESC_HANDLE __pyx_v_t */ __pyx_v_rowCount = (__pyx_v_rowCount - 1); - /* "pyrfc/_cyrfc.pyx":2852 + /* "pyrfc/_cyrfc.pyx":2853 * while rowCount > 0: * rowCount -= 1 * RfcMoveTo(container, rowCount, &errorInfo) # <<<<<<<<<<<<<< @@ -37262,19 +37262,19 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTable(RFC_TYPE_DESC_HANDLE __pyx_v_t */ (void)(RfcMoveTo(__pyx_v_container, __pyx_v_rowCount, (&__pyx_v_errorInfo))); - /* "pyrfc/_cyrfc.pyx":2853 + /* "pyrfc/_cyrfc.pyx":2854 * rowCount -= 1 * RfcMoveTo(container, rowCount, &errorInfo) * table[rowCount] = wrapStructure(typeDesc, container, config) # <<<<<<<<<<<<<< * RfcDeleteCurrentRow(container, &errorInfo) * return table */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapStructure(__pyx_v_typeDesc, __pyx_v_container, __pyx_v_config); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2853, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapStructure(__pyx_v_typeDesc, __pyx_v_container, __pyx_v_config); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2854, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(__Pyx_SetItemInt(__pyx_v_table, __pyx_v_rowCount, __pyx_t_1, unsigned int, 0, __Pyx_PyInt_From_unsigned_int, 1, 0, 1) < 0)) __PYX_ERR(0, 2853, __pyx_L1_error) + if (unlikely(__Pyx_SetItemInt(__pyx_v_table, __pyx_v_rowCount, __pyx_t_1, unsigned int, 0, __Pyx_PyInt_From_unsigned_int, 1, 0, 1) < 0)) __PYX_ERR(0, 2854, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":2854 + /* "pyrfc/_cyrfc.pyx":2855 * RfcMoveTo(container, rowCount, &errorInfo) * table[rowCount] = wrapStructure(typeDesc, container, config) * RfcDeleteCurrentRow(container, &errorInfo) # <<<<<<<<<<<<<< @@ -37284,7 +37284,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTable(RFC_TYPE_DESC_HANDLE __pyx_v_t (void)(RfcDeleteCurrentRow(__pyx_v_container, (&__pyx_v_errorInfo))); } - /* "pyrfc/_cyrfc.pyx":2855 + /* "pyrfc/_cyrfc.pyx":2856 * table[rowCount] = wrapStructure(typeDesc, container, config) * RfcDeleteCurrentRow(container, &errorInfo) * return table # <<<<<<<<<<<<<< @@ -37296,7 +37296,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTable(RFC_TYPE_DESC_HANDLE __pyx_v_t __pyx_r = __pyx_v_table; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2840 + /* "pyrfc/_cyrfc.pyx":2841 * # return wrapStructure(self.typeDesc, self.container) * * cdef wrapTable(RFC_TYPE_DESC_HANDLE typeDesc, RFC_TABLE_HANDLE container, config): # <<<<<<<<<<<<<< @@ -37316,7 +37316,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapTable(RFC_TYPE_DESC_HANDLE __pyx_v_t return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":2857 +/* "pyrfc/_cyrfc.pyx":2858 * return table * * cdef wrapVariable( # <<<<<<<<<<<<<< @@ -37378,7 +37378,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU int __pyx_clineno = 0; __Pyx_RefNannySetupContext("wrapVariable", 0); - /* "pyrfc/_cyrfc.pyx":2881 + /* "pyrfc/_cyrfc.pyx":2882 * cdef RFC_TIME timeValue * cdef unsigned resultLen, strLen * if typ == RFCTYPE_STRUCTURE: # <<<<<<<<<<<<<< @@ -37388,7 +37388,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU switch (__pyx_v_typ) { case RFCTYPE_STRUCTURE: - /* "pyrfc/_cyrfc.pyx":2882 + /* "pyrfc/_cyrfc.pyx":2883 * cdef unsigned resultLen, strLen * if typ == RFCTYPE_STRUCTURE: * rc = RfcGetStructure(container, cName, &structure, &errorInfo) # <<<<<<<<<<<<<< @@ -37397,7 +37397,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetStructure(__pyx_v_container, __pyx_v_cName, (&__pyx_v_structure), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2883 + /* "pyrfc/_cyrfc.pyx":2884 * if typ == RFCTYPE_STRUCTURE: * rc = RfcGetStructure(container, cName, &structure, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -37407,20 +37407,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2884 + /* "pyrfc/_cyrfc.pyx":2885 * rc = RfcGetStructure(container, cName, &structure, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * return wrapStructure(typeDesc, structure, config) * elif typ == RFCTYPE_TABLE: */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2884, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2885, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 2884, __pyx_L1_error) + __PYX_ERR(0, 2885, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2883 + /* "pyrfc/_cyrfc.pyx":2884 * if typ == RFCTYPE_STRUCTURE: * rc = RfcGetStructure(container, cName, &structure, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -37429,7 +37429,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2885 + /* "pyrfc/_cyrfc.pyx":2886 * if rc != RFC_OK: * raise wrapError(&errorInfo) * return wrapStructure(typeDesc, structure, config) # <<<<<<<<<<<<<< @@ -37437,13 +37437,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU * rc = RfcGetTable(container, cName, &table, &errorInfo) */ __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapStructure(__pyx_v_typeDesc, __pyx_v_structure, __pyx_v_config); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2885, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapStructure(__pyx_v_typeDesc, __pyx_v_structure, __pyx_v_config); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2886, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_r = __pyx_t_2; __pyx_t_2 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2881 + /* "pyrfc/_cyrfc.pyx":2882 * cdef RFC_TIME timeValue * cdef unsigned resultLen, strLen * if typ == RFCTYPE_STRUCTURE: # <<<<<<<<<<<<<< @@ -37453,7 +37453,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_TABLE: - /* "pyrfc/_cyrfc.pyx":2887 + /* "pyrfc/_cyrfc.pyx":2888 * return wrapStructure(typeDesc, structure, config) * elif typ == RFCTYPE_TABLE: * rc = RfcGetTable(container, cName, &table, &errorInfo) # <<<<<<<<<<<<<< @@ -37462,7 +37462,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetTable(__pyx_v_container, __pyx_v_cName, (&__pyx_v_table), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2888 + /* "pyrfc/_cyrfc.pyx":2889 * elif typ == RFCTYPE_TABLE: * rc = RfcGetTable(container, cName, &table, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -37472,20 +37472,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2889 + /* "pyrfc/_cyrfc.pyx":2890 * rc = RfcGetTable(container, cName, &table, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * return wrapTable(typeDesc, table, config) * elif typ == RFCTYPE_CHAR: */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2889, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2890, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 2889, __pyx_L1_error) + __PYX_ERR(0, 2890, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2888 + /* "pyrfc/_cyrfc.pyx":2889 * elif typ == RFCTYPE_TABLE: * rc = RfcGetTable(container, cName, &table, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -37494,7 +37494,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2890 + /* "pyrfc/_cyrfc.pyx":2891 * if rc != RFC_OK: * raise wrapError(&errorInfo) * return wrapTable(typeDesc, table, config) # <<<<<<<<<<<<<< @@ -37502,13 +37502,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU * charValue = mallocU(cLen) */ __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapTable(__pyx_v_typeDesc, __pyx_v_table, __pyx_v_config); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2890, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapTable(__pyx_v_typeDesc, __pyx_v_table, __pyx_v_config); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2891, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_r = __pyx_t_2; __pyx_t_2 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2886 + /* "pyrfc/_cyrfc.pyx":2887 * raise wrapError(&errorInfo) * return wrapStructure(typeDesc, structure, config) * elif typ == RFCTYPE_TABLE: # <<<<<<<<<<<<<< @@ -37518,7 +37518,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_CHAR: - /* "pyrfc/_cyrfc.pyx":2892 + /* "pyrfc/_cyrfc.pyx":2893 * return wrapTable(typeDesc, table, config) * elif typ == RFCTYPE_CHAR: * charValue = mallocU(cLen) # <<<<<<<<<<<<<< @@ -37527,7 +37527,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_charValue = mallocU(__pyx_v_cLen); - /* "pyrfc/_cyrfc.pyx":2893 + /* "pyrfc/_cyrfc.pyx":2894 * elif typ == RFCTYPE_CHAR: * charValue = mallocU(cLen) * try: # <<<<<<<<<<<<<< @@ -37536,7 +37536,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ /*try:*/ { - /* "pyrfc/_cyrfc.pyx":2894 + /* "pyrfc/_cyrfc.pyx":2895 * charValue = mallocU(cLen) * try: * rc = RfcGetChars(container, cName, charValue, cLen, &errorInfo) # <<<<<<<<<<<<<< @@ -37545,7 +37545,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetChars(__pyx_v_container, __pyx_v_cName, __pyx_v_charValue, __pyx_v_cLen, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2895 + /* "pyrfc/_cyrfc.pyx":2896 * try: * rc = RfcGetChars(container, cName, charValue, cLen, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -37555,20 +37555,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2896 + /* "pyrfc/_cyrfc.pyx":2897 * rc = RfcGetChars(container, cName, charValue, cLen, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * return wrapString(charValue, cLen, config & _MASK_RSTRIP) * finally: */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2896, __pyx_L6_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2897, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 2896, __pyx_L6_error) + __PYX_ERR(0, 2897, __pyx_L6_error) - /* "pyrfc/_cyrfc.pyx":2895 + /* "pyrfc/_cyrfc.pyx":2896 * try: * rc = RfcGetChars(container, cName, charValue, cLen, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -37577,7 +37577,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2897 + /* "pyrfc/_cyrfc.pyx":2898 * if rc != RFC_OK: * raise wrapError(&errorInfo) * return wrapString(charValue, cLen, config & _MASK_RSTRIP) # <<<<<<<<<<<<<< @@ -37585,17 +37585,17 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU * free(charValue) */ __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = __Pyx_PyInt_From_unsigned_int(__pyx_v_cLen); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2897, __pyx_L6_error) + __pyx_t_2 = __Pyx_PyInt_From_unsigned_int(__pyx_v_cLen); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2898, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_2); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_MASK_RSTRIP); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2897, __pyx_L6_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_MASK_RSTRIP); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2898, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = PyNumber_And(__pyx_v_config, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2897, __pyx_L6_error) + __pyx_t_4 = PyNumber_And(__pyx_v_config, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2898, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_5.__pyx_n = 2; __pyx_t_5.uclen = __pyx_t_2; __pyx_t_5.rstrip = __pyx_t_4; - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_charValue, &__pyx_t_5); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2897, __pyx_L6_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_charValue, &__pyx_t_5); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2898, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; @@ -37604,7 +37604,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU goto __pyx_L5_return; } - /* "pyrfc/_cyrfc.pyx":2899 + /* "pyrfc/_cyrfc.pyx":2900 * return wrapString(charValue, cLen, config & _MASK_RSTRIP) * finally: * free(charValue) # <<<<<<<<<<<<<< @@ -37656,7 +37656,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU } } - /* "pyrfc/_cyrfc.pyx":2891 + /* "pyrfc/_cyrfc.pyx":2892 * raise wrapError(&errorInfo) * return wrapTable(typeDesc, table, config) * elif typ == RFCTYPE_CHAR: # <<<<<<<<<<<<<< @@ -37666,7 +37666,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_STRING: - /* "pyrfc/_cyrfc.pyx":2901 + /* "pyrfc/_cyrfc.pyx":2902 * free(charValue) * elif typ == RFCTYPE_STRING: * rc = RfcGetStringLength(container, cName, &strLen, &errorInfo) # <<<<<<<<<<<<<< @@ -37675,7 +37675,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetStringLength(__pyx_v_container, __pyx_v_cName, (&__pyx_v_strLen), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2902 + /* "pyrfc/_cyrfc.pyx":2903 * elif typ == RFCTYPE_STRING: * rc = RfcGetStringLength(container, cName, &strLen, &errorInfo) * try: # <<<<<<<<<<<<<< @@ -37684,7 +37684,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ /*try:*/ { - /* "pyrfc/_cyrfc.pyx":2903 + /* "pyrfc/_cyrfc.pyx":2904 * rc = RfcGetStringLength(container, cName, &strLen, &errorInfo) * try: * stringValue = mallocU(strLen+1) # <<<<<<<<<<<<<< @@ -37693,7 +37693,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_stringValue = mallocU((__pyx_v_strLen + 1)); - /* "pyrfc/_cyrfc.pyx":2904 + /* "pyrfc/_cyrfc.pyx":2905 * try: * stringValue = mallocU(strLen+1) * rc = RfcGetString(container, cName, stringValue, strLen+1, &resultLen, &errorInfo) # <<<<<<<<<<<<<< @@ -37702,7 +37702,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetString(__pyx_v_container, __pyx_v_cName, __pyx_v_stringValue, (__pyx_v_strLen + 1), (&__pyx_v_resultLen), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2905 + /* "pyrfc/_cyrfc.pyx":2906 * stringValue = mallocU(strLen+1) * rc = RfcGetString(container, cName, stringValue, strLen+1, &resultLen, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -37712,20 +37712,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2906 + /* "pyrfc/_cyrfc.pyx":2907 * rc = RfcGetString(container, cName, stringValue, strLen+1, &resultLen, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * return wrapString(stringValue, resultLen) * finally: */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2906, __pyx_L12_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2907, __pyx_L12_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 2906, __pyx_L12_error) + __PYX_ERR(0, 2907, __pyx_L12_error) - /* "pyrfc/_cyrfc.pyx":2905 + /* "pyrfc/_cyrfc.pyx":2906 * stringValue = mallocU(strLen+1) * rc = RfcGetString(container, cName, stringValue, strLen+1, &resultLen, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -37734,7 +37734,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2907 + /* "pyrfc/_cyrfc.pyx":2908 * if rc != RFC_OK: * raise wrapError(&errorInfo) * return wrapString(stringValue, resultLen) # <<<<<<<<<<<<<< @@ -37742,11 +37742,11 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU * free(stringValue) */ __Pyx_XDECREF(__pyx_r); - __pyx_t_3 = __Pyx_PyInt_From_unsigned_int(__pyx_v_resultLen); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2907, __pyx_L12_error) + __pyx_t_3 = __Pyx_PyInt_From_unsigned_int(__pyx_v_resultLen); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2908, __pyx_L12_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_5.__pyx_n = 1; __pyx_t_5.uclen = __pyx_t_3; - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_stringValue, &__pyx_t_5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2907, __pyx_L12_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_stringValue, &__pyx_t_5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2908, __pyx_L12_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_r = __pyx_t_4; @@ -37754,7 +37754,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU goto __pyx_L11_return; } - /* "pyrfc/_cyrfc.pyx":2909 + /* "pyrfc/_cyrfc.pyx":2910 * return wrapString(stringValue, resultLen) * finally: * free(stringValue) # <<<<<<<<<<<<<< @@ -37806,7 +37806,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU } } - /* "pyrfc/_cyrfc.pyx":2900 + /* "pyrfc/_cyrfc.pyx":2901 * finally: * free(charValue) * elif typ == RFCTYPE_STRING: # <<<<<<<<<<<<<< @@ -37816,7 +37816,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_NUM: - /* "pyrfc/_cyrfc.pyx":2911 + /* "pyrfc/_cyrfc.pyx":2912 * free(stringValue) * elif typ == RFCTYPE_NUM: * numValue = mallocU(cLen) # <<<<<<<<<<<<<< @@ -37825,7 +37825,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_numValue = mallocU(__pyx_v_cLen); - /* "pyrfc/_cyrfc.pyx":2912 + /* "pyrfc/_cyrfc.pyx":2913 * elif typ == RFCTYPE_NUM: * numValue = mallocU(cLen) * try: # <<<<<<<<<<<<<< @@ -37834,7 +37834,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ /*try:*/ { - /* "pyrfc/_cyrfc.pyx":2913 + /* "pyrfc/_cyrfc.pyx":2914 * numValue = mallocU(cLen) * try: * rc = RfcGetNum(container, cName, numValue, cLen, &errorInfo) # <<<<<<<<<<<<<< @@ -37843,7 +37843,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetNum(__pyx_v_container, __pyx_v_cName, __pyx_v_numValue, __pyx_v_cLen, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2914 + /* "pyrfc/_cyrfc.pyx":2915 * try: * rc = RfcGetNum(container, cName, numValue, cLen, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -37853,20 +37853,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2915 + /* "pyrfc/_cyrfc.pyx":2916 * rc = RfcGetNum(container, cName, numValue, cLen, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * return wrapString(numValue, cLen) * finally: */ - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2915, __pyx_L18_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2916, __pyx_L18_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __PYX_ERR(0, 2915, __pyx_L18_error) + __PYX_ERR(0, 2916, __pyx_L18_error) - /* "pyrfc/_cyrfc.pyx":2914 + /* "pyrfc/_cyrfc.pyx":2915 * try: * rc = RfcGetNum(container, cName, numValue, cLen, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -37875,7 +37875,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2916 + /* "pyrfc/_cyrfc.pyx":2917 * if rc != RFC_OK: * raise wrapError(&errorInfo) * return wrapString(numValue, cLen) # <<<<<<<<<<<<<< @@ -37883,11 +37883,11 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU * free(numValue) */ __Pyx_XDECREF(__pyx_r); - __pyx_t_4 = __Pyx_PyInt_From_unsigned_int(__pyx_v_cLen); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2916, __pyx_L18_error) + __pyx_t_4 = __Pyx_PyInt_From_unsigned_int(__pyx_v_cLen); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2917, __pyx_L18_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5.__pyx_n = 1; __pyx_t_5.uclen = __pyx_t_4; - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_numValue, &__pyx_t_5); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2916, __pyx_L18_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_numValue, &__pyx_t_5); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2917, __pyx_L18_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_r = __pyx_t_3; @@ -37895,7 +37895,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU goto __pyx_L17_return; } - /* "pyrfc/_cyrfc.pyx":2918 + /* "pyrfc/_cyrfc.pyx":2919 * return wrapString(numValue, cLen) * finally: * free(numValue) # <<<<<<<<<<<<<< @@ -37947,7 +37947,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU } } - /* "pyrfc/_cyrfc.pyx":2910 + /* "pyrfc/_cyrfc.pyx":2911 * finally: * free(stringValue) * elif typ == RFCTYPE_NUM: # <<<<<<<<<<<<<< @@ -37957,7 +37957,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_BYTE: - /* "pyrfc/_cyrfc.pyx":2920 + /* "pyrfc/_cyrfc.pyx":2921 * free(numValue) * elif typ == RFCTYPE_BYTE: * byteValue = malloc(cLen) # <<<<<<<<<<<<<< @@ -37966,7 +37966,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_byteValue = ((SAP_RAW *)malloc(__pyx_v_cLen)); - /* "pyrfc/_cyrfc.pyx":2921 + /* "pyrfc/_cyrfc.pyx":2922 * elif typ == RFCTYPE_BYTE: * byteValue = malloc(cLen) * try: # <<<<<<<<<<<<<< @@ -37975,7 +37975,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ /*try:*/ { - /* "pyrfc/_cyrfc.pyx":2922 + /* "pyrfc/_cyrfc.pyx":2923 * byteValue = malloc(cLen) * try: * rc = RfcGetBytes(container, cName, byteValue, cLen, &errorInfo) # <<<<<<<<<<<<<< @@ -37984,7 +37984,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetBytes(__pyx_v_container, __pyx_v_cName, __pyx_v_byteValue, __pyx_v_cLen, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2923 + /* "pyrfc/_cyrfc.pyx":2924 * try: * rc = RfcGetBytes(container, cName, byteValue, cLen, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -37994,20 +37994,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2924 + /* "pyrfc/_cyrfc.pyx":2925 * rc = RfcGetBytes(container, cName, byteValue, cLen, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * return byteValue[:cLen] * finally: */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2924, __pyx_L24_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2925, __pyx_L24_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 2924, __pyx_L24_error) + __PYX_ERR(0, 2925, __pyx_L24_error) - /* "pyrfc/_cyrfc.pyx":2923 + /* "pyrfc/_cyrfc.pyx":2924 * try: * rc = RfcGetBytes(container, cName, byteValue, cLen, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -38016,7 +38016,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2925 + /* "pyrfc/_cyrfc.pyx":2926 * if rc != RFC_OK: * raise wrapError(&errorInfo) * return byteValue[:cLen] # <<<<<<<<<<<<<< @@ -38024,14 +38024,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU * free(byteValue) */ __Pyx_XDECREF(__pyx_r); - __pyx_t_3 = __Pyx_PyBytes_FromStringAndSize(((const char*)__pyx_v_byteValue) + 0, __pyx_v_cLen - 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2925, __pyx_L24_error) + __pyx_t_3 = __Pyx_PyBytes_FromStringAndSize(((const char*)__pyx_v_byteValue) + 0, __pyx_v_cLen - 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2926, __pyx_L24_error) __Pyx_GOTREF(__pyx_t_3); __pyx_r = __pyx_t_3; __pyx_t_3 = 0; goto __pyx_L23_return; } - /* "pyrfc/_cyrfc.pyx":2927 + /* "pyrfc/_cyrfc.pyx":2928 * return byteValue[:cLen] * finally: * free(byteValue) # <<<<<<<<<<<<<< @@ -38083,7 +38083,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU } } - /* "pyrfc/_cyrfc.pyx":2919 + /* "pyrfc/_cyrfc.pyx":2920 * finally: * free(numValue) * elif typ == RFCTYPE_BYTE: # <<<<<<<<<<<<<< @@ -38093,7 +38093,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_XSTRING: - /* "pyrfc/_cyrfc.pyx":2929 + /* "pyrfc/_cyrfc.pyx":2930 * free(byteValue) * elif typ == RFCTYPE_XSTRING: * rc = RfcGetStringLength(container, cName, &strLen, &errorInfo) # <<<<<<<<<<<<<< @@ -38102,7 +38102,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetStringLength(__pyx_v_container, __pyx_v_cName, (&__pyx_v_strLen), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2930 + /* "pyrfc/_cyrfc.pyx":2931 * elif typ == RFCTYPE_XSTRING: * rc = RfcGetStringLength(container, cName, &strLen, &errorInfo) * try: # <<<<<<<<<<<<<< @@ -38111,7 +38111,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ /*try:*/ { - /* "pyrfc/_cyrfc.pyx":2931 + /* "pyrfc/_cyrfc.pyx":2932 * rc = RfcGetStringLength(container, cName, &strLen, &errorInfo) * try: * byteValue = malloc(strLen+1) # <<<<<<<<<<<<<< @@ -38120,7 +38120,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_byteValue = ((SAP_RAW *)malloc((__pyx_v_strLen + 1))); - /* "pyrfc/_cyrfc.pyx":2932 + /* "pyrfc/_cyrfc.pyx":2933 * try: * byteValue = malloc(strLen+1) * byteValue[strLen] = 0 # <<<<<<<<<<<<<< @@ -38129,7 +38129,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ (__pyx_v_byteValue[__pyx_v_strLen]) = 0; - /* "pyrfc/_cyrfc.pyx":2933 + /* "pyrfc/_cyrfc.pyx":2934 * byteValue = malloc(strLen+1) * byteValue[strLen] = 0 * rc = RfcGetXString(container, cName, byteValue, strLen, &resultLen, &errorInfo) # <<<<<<<<<<<<<< @@ -38138,7 +38138,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetXString(__pyx_v_container, __pyx_v_cName, __pyx_v_byteValue, __pyx_v_strLen, (&__pyx_v_resultLen), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2934 + /* "pyrfc/_cyrfc.pyx":2935 * byteValue[strLen] = 0 * rc = RfcGetXString(container, cName, byteValue, strLen, &resultLen, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -38148,20 +38148,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2935 + /* "pyrfc/_cyrfc.pyx":2936 * rc = RfcGetXString(container, cName, byteValue, strLen, &resultLen, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * return byteValue[:resultLen] * finally: */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2935, __pyx_L30_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2936, __pyx_L30_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 2935, __pyx_L30_error) + __PYX_ERR(0, 2936, __pyx_L30_error) - /* "pyrfc/_cyrfc.pyx":2934 + /* "pyrfc/_cyrfc.pyx":2935 * byteValue[strLen] = 0 * rc = RfcGetXString(container, cName, byteValue, strLen, &resultLen, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -38170,7 +38170,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2936 + /* "pyrfc/_cyrfc.pyx":2937 * if rc != RFC_OK: * raise wrapError(&errorInfo) * return byteValue[:resultLen] # <<<<<<<<<<<<<< @@ -38178,14 +38178,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU * free(byteValue) */ __Pyx_XDECREF(__pyx_r); - __pyx_t_3 = __Pyx_PyBytes_FromStringAndSize(((const char*)__pyx_v_byteValue) + 0, __pyx_v_resultLen - 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2936, __pyx_L30_error) + __pyx_t_3 = __Pyx_PyBytes_FromStringAndSize(((const char*)__pyx_v_byteValue) + 0, __pyx_v_resultLen - 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2937, __pyx_L30_error) __Pyx_GOTREF(__pyx_t_3); __pyx_r = __pyx_t_3; __pyx_t_3 = 0; goto __pyx_L29_return; } - /* "pyrfc/_cyrfc.pyx":2938 + /* "pyrfc/_cyrfc.pyx":2939 * return byteValue[:resultLen] * finally: * free(byteValue) # <<<<<<<<<<<<<< @@ -38237,7 +38237,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU } } - /* "pyrfc/_cyrfc.pyx":2928 + /* "pyrfc/_cyrfc.pyx":2929 * finally: * free(byteValue) * elif typ == RFCTYPE_XSTRING: # <<<<<<<<<<<<<< @@ -38247,7 +38247,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_BCD: - /* "pyrfc/_cyrfc.pyx":2945 + /* "pyrfc/_cyrfc.pyx":2946 * # Furthermore, a sign char, a decimal separator char may be present * # => (2*cLen)+1 * strLen = 2*cLen + 1 # <<<<<<<<<<<<<< @@ -38256,7 +38256,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_strLen = ((2 * __pyx_v_cLen) + 1); - /* "pyrfc/_cyrfc.pyx":2946 + /* "pyrfc/_cyrfc.pyx":2947 * # => (2*cLen)+1 * strLen = 2*cLen + 1 * try: # <<<<<<<<<<<<<< @@ -38265,7 +38265,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ /*try:*/ { - /* "pyrfc/_cyrfc.pyx":2947 + /* "pyrfc/_cyrfc.pyx":2948 * strLen = 2*cLen + 1 * try: * stringValue = mallocU(strLen+1) # <<<<<<<<<<<<<< @@ -38274,7 +38274,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_stringValue = mallocU((__pyx_v_strLen + 1)); - /* "pyrfc/_cyrfc.pyx":2948 + /* "pyrfc/_cyrfc.pyx":2949 * try: * stringValue = mallocU(strLen+1) * rc = RfcGetString(container, cName, stringValue, strLen+1, &resultLen, &errorInfo) # <<<<<<<<<<<<<< @@ -38283,7 +38283,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetString(__pyx_v_container, __pyx_v_cName, __pyx_v_stringValue, (__pyx_v_strLen + 1), (&__pyx_v_resultLen), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2949 + /* "pyrfc/_cyrfc.pyx":2950 * stringValue = mallocU(strLen+1) * rc = RfcGetString(container, cName, stringValue, strLen+1, &resultLen, &errorInfo) * if rc == 23: # Buffer too small, use returned requried result length # <<<<<<<<<<<<<< @@ -38293,7 +38293,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_1 = ((__pyx_v_rc == 23) != 0); if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":2952 + /* "pyrfc/_cyrfc.pyx":2953 * # print("Warning: Buffer for BCD (cLen={}, buffer={}) too small: " * # "trying with {}".format(cLen, strLen, resultLen)) * free(stringValue) # <<<<<<<<<<<<<< @@ -38302,7 +38302,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ free(__pyx_v_stringValue); - /* "pyrfc/_cyrfc.pyx":2953 + /* "pyrfc/_cyrfc.pyx":2954 * # "trying with {}".format(cLen, strLen, resultLen)) * free(stringValue) * strLen = resultLen # <<<<<<<<<<<<<< @@ -38311,7 +38311,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_strLen = __pyx_v_resultLen; - /* "pyrfc/_cyrfc.pyx":2954 + /* "pyrfc/_cyrfc.pyx":2955 * free(stringValue) * strLen = resultLen * stringValue = mallocU(strLen+1) # <<<<<<<<<<<<<< @@ -38320,7 +38320,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_stringValue = mallocU((__pyx_v_strLen + 1)); - /* "pyrfc/_cyrfc.pyx":2955 + /* "pyrfc/_cyrfc.pyx":2956 * strLen = resultLen * stringValue = mallocU(strLen+1) * rc = RfcGetString(container, cName, stringValue, strLen+1, &resultLen, &errorInfo) # <<<<<<<<<<<<<< @@ -38329,7 +38329,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetString(__pyx_v_container, __pyx_v_cName, __pyx_v_stringValue, (__pyx_v_strLen + 1), (&__pyx_v_resultLen), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2949 + /* "pyrfc/_cyrfc.pyx":2950 * stringValue = mallocU(strLen+1) * rc = RfcGetString(container, cName, stringValue, strLen+1, &resultLen, &errorInfo) * if rc == 23: # Buffer too small, use returned requried result length # <<<<<<<<<<<<<< @@ -38338,7 +38338,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2956 + /* "pyrfc/_cyrfc.pyx":2957 * stringValue = mallocU(strLen+1) * rc = RfcGetString(container, cName, stringValue, strLen+1, &resultLen, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -38348,20 +38348,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2957 + /* "pyrfc/_cyrfc.pyx":2958 * rc = RfcGetString(container, cName, stringValue, strLen+1, &resultLen, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * return Decimal(wrapString(stringValue, -1, config & _MASK_RSTRIP)) * finally: */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2957, __pyx_L36_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2958, __pyx_L36_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 2957, __pyx_L36_error) + __PYX_ERR(0, 2958, __pyx_L36_error) - /* "pyrfc/_cyrfc.pyx":2956 + /* "pyrfc/_cyrfc.pyx":2957 * stringValue = mallocU(strLen+1) * rc = RfcGetString(container, cName, stringValue, strLen+1, &resultLen, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -38370,7 +38370,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2958 + /* "pyrfc/_cyrfc.pyx":2959 * if rc != RFC_OK: * raise wrapError(&errorInfo) * return Decimal(wrapString(stringValue, -1, config & _MASK_RSTRIP)) # <<<<<<<<<<<<<< @@ -38378,17 +38378,17 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU * free(stringValue) */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Decimal); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2958, __pyx_L36_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Decimal); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2959, __pyx_L36_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_MASK_RSTRIP); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2958, __pyx_L36_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_MASK_RSTRIP); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2959, __pyx_L36_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_19 = PyNumber_And(__pyx_v_config, __pyx_t_2); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2958, __pyx_L36_error) + __pyx_t_19 = PyNumber_And(__pyx_v_config, __pyx_t_2); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2959, __pyx_L36_error) __Pyx_GOTREF(__pyx_t_19); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_5.__pyx_n = 2; __pyx_t_5.uclen = __pyx_int_neg_1; __pyx_t_5.rstrip = __pyx_t_19; - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_stringValue, &__pyx_t_5); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2958, __pyx_L36_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_stringValue, &__pyx_t_5); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2959, __pyx_L36_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; __pyx_t_19 = NULL; @@ -38404,7 +38404,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_3 = (__pyx_t_19) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_19, __pyx_t_2) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_2); __Pyx_XDECREF(__pyx_t_19); __pyx_t_19 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2958, __pyx_L36_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2959, __pyx_L36_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_r = __pyx_t_3; @@ -38412,7 +38412,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU goto __pyx_L35_return; } - /* "pyrfc/_cyrfc.pyx":2960 + /* "pyrfc/_cyrfc.pyx":2961 * return Decimal(wrapString(stringValue, -1, config & _MASK_RSTRIP)) * finally: * free(stringValue) # <<<<<<<<<<<<<< @@ -38465,7 +38465,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU } } - /* "pyrfc/_cyrfc.pyx":2939 + /* "pyrfc/_cyrfc.pyx":2940 * finally: * free(byteValue) * elif typ == RFCTYPE_BCD: # <<<<<<<<<<<<<< @@ -38475,7 +38475,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_DECF16: - /* "pyrfc/_cyrfc.pyx":2961 + /* "pyrfc/_cyrfc.pyx":2962 * finally: * free(stringValue) * elif typ == RFCTYPE_DECF16 or typ == RFCTYPE_DECF34: # <<<<<<<<<<<<<< @@ -38484,7 +38484,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ case RFCTYPE_DECF34: - /* "pyrfc/_cyrfc.pyx":2969 + /* "pyrfc/_cyrfc.pyx":2970 * # and exponent char, sign and exponent * # => +9 * strLen = 2*cLen + 10 # <<<<<<<<<<<<<< @@ -38493,7 +38493,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_strLen = ((2 * __pyx_v_cLen) + 10); - /* "pyrfc/_cyrfc.pyx":2970 + /* "pyrfc/_cyrfc.pyx":2971 * # => +9 * strLen = 2*cLen + 10 * try: # <<<<<<<<<<<<<< @@ -38502,7 +38502,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ /*try:*/ { - /* "pyrfc/_cyrfc.pyx":2971 + /* "pyrfc/_cyrfc.pyx":2972 * strLen = 2*cLen + 10 * try: * stringValue = mallocU(strLen+1) # <<<<<<<<<<<<<< @@ -38511,7 +38511,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_stringValue = mallocU((__pyx_v_strLen + 1)); - /* "pyrfc/_cyrfc.pyx":2972 + /* "pyrfc/_cyrfc.pyx":2973 * try: * stringValue = mallocU(strLen+1) * rc = RfcGetString(container, cName, stringValue, strLen+1, &resultLen, &errorInfo) # <<<<<<<<<<<<<< @@ -38520,7 +38520,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetString(__pyx_v_container, __pyx_v_cName, __pyx_v_stringValue, (__pyx_v_strLen + 1), (&__pyx_v_resultLen), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2973 + /* "pyrfc/_cyrfc.pyx":2974 * stringValue = mallocU(strLen+1) * rc = RfcGetString(container, cName, stringValue, strLen+1, &resultLen, &errorInfo) * if rc == 23: # Buffer too small, use returned requried result length # <<<<<<<<<<<<<< @@ -38530,7 +38530,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_1 = ((__pyx_v_rc == 23) != 0); if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":2976 + /* "pyrfc/_cyrfc.pyx":2977 * # print("Warning: Buffer for DECF (cLen={}, buffer={}) too small: " * # "trying with {}".format(cLen, strLen, resultLen)) * free(stringValue) # <<<<<<<<<<<<<< @@ -38539,7 +38539,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ free(__pyx_v_stringValue); - /* "pyrfc/_cyrfc.pyx":2977 + /* "pyrfc/_cyrfc.pyx":2978 * # "trying with {}".format(cLen, strLen, resultLen)) * free(stringValue) * strLen = resultLen # <<<<<<<<<<<<<< @@ -38548,7 +38548,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_strLen = __pyx_v_resultLen; - /* "pyrfc/_cyrfc.pyx":2978 + /* "pyrfc/_cyrfc.pyx":2979 * free(stringValue) * strLen = resultLen * stringValue = mallocU(strLen+1) # <<<<<<<<<<<<<< @@ -38557,7 +38557,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_stringValue = mallocU((__pyx_v_strLen + 1)); - /* "pyrfc/_cyrfc.pyx":2979 + /* "pyrfc/_cyrfc.pyx":2980 * strLen = resultLen * stringValue = mallocU(strLen+1) * rc = RfcGetString(container, cName, stringValue, strLen+1, &resultLen, &errorInfo) # <<<<<<<<<<<<<< @@ -38566,7 +38566,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetString(__pyx_v_container, __pyx_v_cName, __pyx_v_stringValue, (__pyx_v_strLen + 1), (&__pyx_v_resultLen), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2973 + /* "pyrfc/_cyrfc.pyx":2974 * stringValue = mallocU(strLen+1) * rc = RfcGetString(container, cName, stringValue, strLen+1, &resultLen, &errorInfo) * if rc == 23: # Buffer too small, use returned requried result length # <<<<<<<<<<<<<< @@ -38575,7 +38575,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2980 + /* "pyrfc/_cyrfc.pyx":2981 * stringValue = mallocU(strLen+1) * rc = RfcGetString(container, cName, stringValue, strLen+1, &resultLen, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -38585,20 +38585,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2981 + /* "pyrfc/_cyrfc.pyx":2982 * rc = RfcGetString(container, cName, stringValue, strLen+1, &resultLen, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * return Decimal(wrapString(stringValue, -1, config & _MASK_RSTRIP)) * finally: */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2981, __pyx_L43_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2982, __pyx_L43_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 2981, __pyx_L43_error) + __PYX_ERR(0, 2982, __pyx_L43_error) - /* "pyrfc/_cyrfc.pyx":2980 + /* "pyrfc/_cyrfc.pyx":2981 * stringValue = mallocU(strLen+1) * rc = RfcGetString(container, cName, stringValue, strLen+1, &resultLen, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -38607,7 +38607,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2982 + /* "pyrfc/_cyrfc.pyx":2983 * if rc != RFC_OK: * raise wrapError(&errorInfo) * return Decimal(wrapString(stringValue, -1, config & _MASK_RSTRIP)) # <<<<<<<<<<<<<< @@ -38615,17 +38615,17 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU * free(stringValue) */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Decimal); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2982, __pyx_L43_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Decimal); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2983, __pyx_L43_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_MASK_RSTRIP); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2982, __pyx_L43_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_MASK_RSTRIP); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2983, __pyx_L43_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_19 = PyNumber_And(__pyx_v_config, __pyx_t_2); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2982, __pyx_L43_error) + __pyx_t_19 = PyNumber_And(__pyx_v_config, __pyx_t_2); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 2983, __pyx_L43_error) __Pyx_GOTREF(__pyx_t_19); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_5.__pyx_n = 2; __pyx_t_5.uclen = __pyx_int_neg_1; __pyx_t_5.rstrip = __pyx_t_19; - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_stringValue, &__pyx_t_5); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2982, __pyx_L43_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_stringValue, &__pyx_t_5); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2983, __pyx_L43_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; __pyx_t_19 = NULL; @@ -38641,7 +38641,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_3 = (__pyx_t_19) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_19, __pyx_t_2) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_2); __Pyx_XDECREF(__pyx_t_19); __pyx_t_19 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2982, __pyx_L43_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2983, __pyx_L43_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_r = __pyx_t_3; @@ -38649,7 +38649,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU goto __pyx_L42_return; } - /* "pyrfc/_cyrfc.pyx":2984 + /* "pyrfc/_cyrfc.pyx":2985 * return Decimal(wrapString(stringValue, -1, config & _MASK_RSTRIP)) * finally: * free(stringValue) # <<<<<<<<<<<<<< @@ -38702,7 +38702,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU } } - /* "pyrfc/_cyrfc.pyx":2961 + /* "pyrfc/_cyrfc.pyx":2962 * finally: * free(stringValue) * elif typ == RFCTYPE_DECF16 or typ == RFCTYPE_DECF34: # <<<<<<<<<<<<<< @@ -38712,7 +38712,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_FLOAT: - /* "pyrfc/_cyrfc.pyx":2986 + /* "pyrfc/_cyrfc.pyx":2987 * free(stringValue) * elif typ == RFCTYPE_FLOAT: * rc = RfcGetFloat(container, cName, &floatValue, &errorInfo) # <<<<<<<<<<<<<< @@ -38721,7 +38721,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetFloat(__pyx_v_container, __pyx_v_cName, (&__pyx_v_floatValue), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2987 + /* "pyrfc/_cyrfc.pyx":2988 * elif typ == RFCTYPE_FLOAT: * rc = RfcGetFloat(container, cName, &floatValue, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -38731,20 +38731,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2988 + /* "pyrfc/_cyrfc.pyx":2989 * rc = RfcGetFloat(container, cName, &floatValue, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * return floatValue * elif typ == RFCTYPE_INT: */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2988, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2989, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 2988, __pyx_L1_error) + __PYX_ERR(0, 2989, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2987 + /* "pyrfc/_cyrfc.pyx":2988 * elif typ == RFCTYPE_FLOAT: * rc = RfcGetFloat(container, cName, &floatValue, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -38753,7 +38753,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2989 + /* "pyrfc/_cyrfc.pyx":2990 * if rc != RFC_OK: * raise wrapError(&errorInfo) * return floatValue # <<<<<<<<<<<<<< @@ -38761,13 +38761,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU * rc = RfcGetInt(container, cName, &intValue, &errorInfo) */ __Pyx_XDECREF(__pyx_r); - __pyx_t_3 = PyFloat_FromDouble(__pyx_v_floatValue); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2989, __pyx_L1_error) + __pyx_t_3 = PyFloat_FromDouble(__pyx_v_floatValue); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2990, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_r = __pyx_t_3; __pyx_t_3 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2985 + /* "pyrfc/_cyrfc.pyx":2986 * finally: * free(stringValue) * elif typ == RFCTYPE_FLOAT: # <<<<<<<<<<<<<< @@ -38777,7 +38777,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_INT: - /* "pyrfc/_cyrfc.pyx":2991 + /* "pyrfc/_cyrfc.pyx":2992 * return floatValue * elif typ == RFCTYPE_INT: * rc = RfcGetInt(container, cName, &intValue, &errorInfo) # <<<<<<<<<<<<<< @@ -38786,7 +38786,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetInt(__pyx_v_container, __pyx_v_cName, (&__pyx_v_intValue), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2992 + /* "pyrfc/_cyrfc.pyx":2993 * elif typ == RFCTYPE_INT: * rc = RfcGetInt(container, cName, &intValue, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -38796,20 +38796,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2993 + /* "pyrfc/_cyrfc.pyx":2994 * rc = RfcGetInt(container, cName, &intValue, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * return intValue * elif typ == RFCTYPE_INT1: */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2993, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2994, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 2993, __pyx_L1_error) + __PYX_ERR(0, 2994, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2992 + /* "pyrfc/_cyrfc.pyx":2993 * elif typ == RFCTYPE_INT: * rc = RfcGetInt(container, cName, &intValue, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -38818,7 +38818,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2994 + /* "pyrfc/_cyrfc.pyx":2995 * if rc != RFC_OK: * raise wrapError(&errorInfo) * return intValue # <<<<<<<<<<<<<< @@ -38826,13 +38826,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU * rc = RfcGetInt1(container, cName, &int1Value, &errorInfo) */ __Pyx_XDECREF(__pyx_r); - __pyx_t_3 = __Pyx_PyInt_From_RFC_INT(__pyx_v_intValue); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2994, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_From_RFC_INT(__pyx_v_intValue); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2995, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_r = __pyx_t_3; __pyx_t_3 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2990 + /* "pyrfc/_cyrfc.pyx":2991 * raise wrapError(&errorInfo) * return floatValue * elif typ == RFCTYPE_INT: # <<<<<<<<<<<<<< @@ -38842,7 +38842,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_INT1: - /* "pyrfc/_cyrfc.pyx":2996 + /* "pyrfc/_cyrfc.pyx":2997 * return intValue * elif typ == RFCTYPE_INT1: * rc = RfcGetInt1(container, cName, &int1Value, &errorInfo) # <<<<<<<<<<<<<< @@ -38851,7 +38851,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetInt1(__pyx_v_container, __pyx_v_cName, (&__pyx_v_int1Value), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":2997 + /* "pyrfc/_cyrfc.pyx":2998 * elif typ == RFCTYPE_INT1: * rc = RfcGetInt1(container, cName, &int1Value, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -38861,20 +38861,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":2998 + /* "pyrfc/_cyrfc.pyx":2999 * rc = RfcGetInt1(container, cName, &int1Value, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * return int1Value * elif typ == RFCTYPE_INT2: */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2998, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2999, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 2998, __pyx_L1_error) + __PYX_ERR(0, 2999, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2997 + /* "pyrfc/_cyrfc.pyx":2998 * elif typ == RFCTYPE_INT1: * rc = RfcGetInt1(container, cName, &int1Value, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -38883,7 +38883,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":2999 + /* "pyrfc/_cyrfc.pyx":3000 * if rc != RFC_OK: * raise wrapError(&errorInfo) * return int1Value # <<<<<<<<<<<<<< @@ -38891,13 +38891,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU * rc = RfcGetInt2(container, cName, &int2Value, &errorInfo) */ __Pyx_XDECREF(__pyx_r); - __pyx_t_3 = __Pyx_PyInt_From_SAP_RAW(__pyx_v_int1Value); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2999, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_From_SAP_RAW(__pyx_v_int1Value); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3000, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_r = __pyx_t_3; __pyx_t_3 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":2995 + /* "pyrfc/_cyrfc.pyx":2996 * raise wrapError(&errorInfo) * return intValue * elif typ == RFCTYPE_INT1: # <<<<<<<<<<<<<< @@ -38907,7 +38907,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_INT2: - /* "pyrfc/_cyrfc.pyx":3001 + /* "pyrfc/_cyrfc.pyx":3002 * return int1Value * elif typ == RFCTYPE_INT2: * rc = RfcGetInt2(container, cName, &int2Value, &errorInfo) # <<<<<<<<<<<<<< @@ -38916,7 +38916,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetInt2(__pyx_v_container, __pyx_v_cName, (&__pyx_v_int2Value), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":3002 + /* "pyrfc/_cyrfc.pyx":3003 * elif typ == RFCTYPE_INT2: * rc = RfcGetInt2(container, cName, &int2Value, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -38926,20 +38926,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":3003 + /* "pyrfc/_cyrfc.pyx":3004 * rc = RfcGetInt2(container, cName, &int2Value, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * return int2Value * elif typ == RFCTYPE_INT8: */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3003, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3004, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 3003, __pyx_L1_error) + __PYX_ERR(0, 3004, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":3002 + /* "pyrfc/_cyrfc.pyx":3003 * elif typ == RFCTYPE_INT2: * rc = RfcGetInt2(container, cName, &int2Value, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -38948,7 +38948,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":3004 + /* "pyrfc/_cyrfc.pyx":3005 * if rc != RFC_OK: * raise wrapError(&errorInfo) * return int2Value # <<<<<<<<<<<<<< @@ -38956,13 +38956,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU * rc = RfcGetInt8(container, cName, &int8Value, &errorInfo) */ __Pyx_XDECREF(__pyx_r); - __pyx_t_3 = __Pyx_PyInt_From_RFC_INT2(__pyx_v_int2Value); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3004, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_From_RFC_INT2(__pyx_v_int2Value); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3005, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_r = __pyx_t_3; __pyx_t_3 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":3000 + /* "pyrfc/_cyrfc.pyx":3001 * raise wrapError(&errorInfo) * return int1Value * elif typ == RFCTYPE_INT2: # <<<<<<<<<<<<<< @@ -38972,7 +38972,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_INT8: - /* "pyrfc/_cyrfc.pyx":3006 + /* "pyrfc/_cyrfc.pyx":3007 * return int2Value * elif typ == RFCTYPE_INT8: * rc = RfcGetInt8(container, cName, &int8Value, &errorInfo) # <<<<<<<<<<<<<< @@ -38981,7 +38981,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetInt8(__pyx_v_container, __pyx_v_cName, (&__pyx_v_int8Value), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":3007 + /* "pyrfc/_cyrfc.pyx":3008 * elif typ == RFCTYPE_INT8: * rc = RfcGetInt8(container, cName, &int8Value, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -38991,20 +38991,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":3008 + /* "pyrfc/_cyrfc.pyx":3009 * rc = RfcGetInt8(container, cName, &int8Value, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * return int8Value * elif typ == RFCTYPE_UTCLONG: */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3008, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3009, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 3008, __pyx_L1_error) + __PYX_ERR(0, 3009, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":3007 + /* "pyrfc/_cyrfc.pyx":3008 * elif typ == RFCTYPE_INT8: * rc = RfcGetInt8(container, cName, &int8Value, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -39013,7 +39013,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":3009 + /* "pyrfc/_cyrfc.pyx":3010 * if rc != RFC_OK: * raise wrapError(&errorInfo) * return int8Value # <<<<<<<<<<<<<< @@ -39021,13 +39021,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU * # rc = RfcGetStringLength(container, cName, &strLen, &errorInfo) */ __Pyx_XDECREF(__pyx_r); - __pyx_t_3 = __Pyx_PyInt_From_RFC_INT8(__pyx_v_int8Value); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3009, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_From_RFC_INT8(__pyx_v_int8Value); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3010, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_r = __pyx_t_3; __pyx_t_3 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":3005 + /* "pyrfc/_cyrfc.pyx":3006 * raise wrapError(&errorInfo) * return int2Value * elif typ == RFCTYPE_INT8: # <<<<<<<<<<<<<< @@ -39037,7 +39037,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_UTCLONG: - /* "pyrfc/_cyrfc.pyx":3012 + /* "pyrfc/_cyrfc.pyx":3013 * elif typ == RFCTYPE_UTCLONG: * # rc = RfcGetStringLength(container, cName, &strLen, &errorInfo) * strLen = 27 # is fixed # <<<<<<<<<<<<<< @@ -39046,7 +39046,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_strLen = 27; - /* "pyrfc/_cyrfc.pyx":3013 + /* "pyrfc/_cyrfc.pyx":3014 * # rc = RfcGetStringLength(container, cName, &strLen, &errorInfo) * strLen = 27 # is fixed * try: # <<<<<<<<<<<<<< @@ -39055,7 +39055,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ /*try:*/ { - /* "pyrfc/_cyrfc.pyx":3014 + /* "pyrfc/_cyrfc.pyx":3015 * strLen = 27 # is fixed * try: * stringValue = mallocU(strLen+1) # <<<<<<<<<<<<<< @@ -39064,7 +39064,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_stringValue = mallocU((__pyx_v_strLen + 1)); - /* "pyrfc/_cyrfc.pyx":3016 + /* "pyrfc/_cyrfc.pyx":3017 * stringValue = mallocU(strLen+1) * # textual representation from NWRFC SDK because clients' systems unlikely support nanoseconds * rc = RfcGetString(container, cName, stringValue, strLen+1, &resultLen, &errorInfo) # <<<<<<<<<<<<<< @@ -39073,7 +39073,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetString(__pyx_v_container, __pyx_v_cName, __pyx_v_stringValue, (__pyx_v_strLen + 1), (&__pyx_v_resultLen), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":3017 + /* "pyrfc/_cyrfc.pyx":3018 * # textual representation from NWRFC SDK because clients' systems unlikely support nanoseconds * rc = RfcGetString(container, cName, stringValue, strLen+1, &resultLen, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -39083,20 +39083,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":3018 + /* "pyrfc/_cyrfc.pyx":3019 * rc = RfcGetString(container, cName, stringValue, strLen+1, &resultLen, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * utcValue = wrapString(stringValue, resultLen) * # replace the "," separator with "." */ - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3018, __pyx_L55_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3019, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 3018, __pyx_L55_error) + __PYX_ERR(0, 3019, __pyx_L55_error) - /* "pyrfc/_cyrfc.pyx":3017 + /* "pyrfc/_cyrfc.pyx":3018 * # textual representation from NWRFC SDK because clients' systems unlikely support nanoseconds * rc = RfcGetString(container, cName, stringValue, strLen+1, &resultLen, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -39105,24 +39105,24 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":3019 + /* "pyrfc/_cyrfc.pyx":3020 * if rc != RFC_OK: * raise wrapError(&errorInfo) * utcValue = wrapString(stringValue, resultLen) # <<<<<<<<<<<<<< * # replace the "," separator with "." * return utcValue[:19]+'.'+utcValue[20:] */ - __pyx_t_3 = __Pyx_PyInt_From_unsigned_int(__pyx_v_resultLen); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3019, __pyx_L55_error) + __pyx_t_3 = __Pyx_PyInt_From_unsigned_int(__pyx_v_resultLen); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3020, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_5.__pyx_n = 1; __pyx_t_5.uclen = __pyx_t_3; - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_stringValue, &__pyx_t_5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3019, __pyx_L55_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_stringValue, &__pyx_t_5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3020, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_v_utcValue = __pyx_t_4; __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":3021 + /* "pyrfc/_cyrfc.pyx":3022 * utcValue = wrapString(stringValue, resultLen) * # replace the "," separator with "." * return utcValue[:19]+'.'+utcValue[20:] # <<<<<<<<<<<<<< @@ -39130,14 +39130,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU * free(stringValue) */ __Pyx_XDECREF(__pyx_r); - __pyx_t_4 = __Pyx_PyObject_GetSlice(__pyx_v_utcValue, 0, 19, NULL, NULL, &__pyx_slice__47, 0, 1, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3021, __pyx_L55_error) + __pyx_t_4 = __Pyx_PyObject_GetSlice(__pyx_v_utcValue, 0, 19, NULL, NULL, &__pyx_slice__47, 0, 1, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3022, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_3 = PyNumber_Add(__pyx_t_4, __pyx_kp_u__21); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3021, __pyx_L55_error) + __pyx_t_3 = PyNumber_Add(__pyx_t_4, __pyx_kp_u__21); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3022, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_GetSlice(__pyx_v_utcValue, 20, 0, NULL, NULL, &__pyx_slice__48, 1, 0, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3021, __pyx_L55_error) + __pyx_t_4 = __Pyx_PyObject_GetSlice(__pyx_v_utcValue, 20, 0, NULL, NULL, &__pyx_slice__48, 1, 0, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3022, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_2 = PyNumber_Add(__pyx_t_3, __pyx_t_4); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3021, __pyx_L55_error) + __pyx_t_2 = PyNumber_Add(__pyx_t_3, __pyx_t_4); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3022, __pyx_L55_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; @@ -39146,7 +39146,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU goto __pyx_L54_return; } - /* "pyrfc/_cyrfc.pyx":3023 + /* "pyrfc/_cyrfc.pyx":3024 * return utcValue[:19]+'.'+utcValue[20:] * finally: * free(stringValue) # <<<<<<<<<<<<<< @@ -39199,7 +39199,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU } } - /* "pyrfc/_cyrfc.pyx":3010 + /* "pyrfc/_cyrfc.pyx":3011 * raise wrapError(&errorInfo) * return int8Value * elif typ == RFCTYPE_UTCLONG: # <<<<<<<<<<<<<< @@ -39209,7 +39209,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_DATE: - /* "pyrfc/_cyrfc.pyx":3025 + /* "pyrfc/_cyrfc.pyx":3026 * free(stringValue) * elif typ == RFCTYPE_DATE: * rc = RfcGetDate(container, cName, dateValue, &errorInfo) # <<<<<<<<<<<<<< @@ -39218,7 +39218,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetDate(__pyx_v_container, __pyx_v_cName, __pyx_v_dateValue, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":3026 + /* "pyrfc/_cyrfc.pyx":3027 * elif typ == RFCTYPE_DATE: * rc = RfcGetDate(container, cName, dateValue, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -39228,20 +39228,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":3027 + /* "pyrfc/_cyrfc.pyx":3028 * rc = RfcGetDate(container, cName, dateValue, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * value = wrapString(dateValue, 8) * # return date or None */ - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3027, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3028, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 3027, __pyx_L1_error) + __PYX_ERR(0, 3028, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":3026 + /* "pyrfc/_cyrfc.pyx":3027 * elif typ == RFCTYPE_DATE: * rc = RfcGetDate(container, cName, dateValue, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -39250,7 +39250,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":3028 + /* "pyrfc/_cyrfc.pyx":3029 * if rc != RFC_OK: * raise wrapError(&errorInfo) * value = wrapString(dateValue, 8) # <<<<<<<<<<<<<< @@ -39259,47 +39259,47 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_t_5.__pyx_n = 1; __pyx_t_5.uclen = __pyx_int_8; - __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_dateValue, &__pyx_t_5); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3028, __pyx_L1_error) + __pyx_t_2 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_dateValue, &__pyx_t_5); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3029, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v_value = __pyx_t_2; __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":3030 + /* "pyrfc/_cyrfc.pyx":3031 * value = wrapString(dateValue, 8) * # return date or None * if config & _MASK_DTIME: # <<<<<<<<<<<<<< * if (value == '00000000') or not value: * return None */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_MASK_DTIME); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3030, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_MASK_DTIME); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3031, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_4 = PyNumber_And(__pyx_v_config, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3030, __pyx_L1_error) + __pyx_t_4 = PyNumber_And(__pyx_v_config, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3031, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 3030, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 3031, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":3031 + /* "pyrfc/_cyrfc.pyx":3032 * # return date or None * if config & _MASK_DTIME: * if (value == '00000000') or not value: # <<<<<<<<<<<<<< * return None * return datetime.strptime(value, '%Y%m%d').date() */ - __pyx_t_23 = (__Pyx_PyUnicode_Equals(__pyx_v_value, __pyx_kp_u_00000000, Py_EQ)); if (unlikely(__pyx_t_23 < 0)) __PYX_ERR(0, 3031, __pyx_L1_error) + __pyx_t_23 = (__Pyx_PyUnicode_Equals(__pyx_v_value, __pyx_kp_u_00000000, Py_EQ)); if (unlikely(__pyx_t_23 < 0)) __PYX_ERR(0, 3032, __pyx_L1_error) if (!__pyx_t_23) { } else { __pyx_t_1 = __pyx_t_23; goto __pyx_L63_bool_binop_done; } - __pyx_t_23 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely(__pyx_t_23 < 0)) __PYX_ERR(0, 3031, __pyx_L1_error) + __pyx_t_23 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely(__pyx_t_23 < 0)) __PYX_ERR(0, 3032, __pyx_L1_error) __pyx_t_24 = ((!__pyx_t_23) != 0); __pyx_t_1 = __pyx_t_24; __pyx_L63_bool_binop_done:; if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":3032 + /* "pyrfc/_cyrfc.pyx":3033 * if config & _MASK_DTIME: * if (value == '00000000') or not value: * return None # <<<<<<<<<<<<<< @@ -39310,7 +39310,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":3031 + /* "pyrfc/_cyrfc.pyx":3032 * # return date or None * if config & _MASK_DTIME: * if (value == '00000000') or not value: # <<<<<<<<<<<<<< @@ -39319,7 +39319,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":3033 + /* "pyrfc/_cyrfc.pyx":3034 * if (value == '00000000') or not value: * return None * return datetime.strptime(value, '%Y%m%d').date() # <<<<<<<<<<<<<< @@ -39327,9 +39327,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU * if (value == '00000000') or not value: */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_datetime); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3033, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_datetime); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3034, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_19 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_strptime); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 3033, __pyx_L1_error) + __pyx_t_19 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_strptime); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 3034, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_19); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_3 = NULL; @@ -39347,7 +39347,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_19)) { PyObject *__pyx_temp[3] = {__pyx_t_3, __pyx_v_value, __pyx_kp_u_Y_m_d}; - __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_19, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3033, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_19, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3034, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_GOTREF(__pyx_t_2); } else @@ -39355,13 +39355,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_19)) { PyObject *__pyx_temp[3] = {__pyx_t_3, __pyx_v_value, __pyx_kp_u_Y_m_d}; - __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_19, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3033, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_19, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3034, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_GOTREF(__pyx_t_2); } else #endif { - __pyx_t_25 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_25)) __PYX_ERR(0, 3033, __pyx_L1_error) + __pyx_t_25 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_25)) __PYX_ERR(0, 3034, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_25); if (__pyx_t_3) { __Pyx_GIVEREF(__pyx_t_3); PyTuple_SET_ITEM(__pyx_t_25, 0, __pyx_t_3); __pyx_t_3 = NULL; @@ -39372,12 +39372,12 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_INCREF(__pyx_kp_u_Y_m_d); __Pyx_GIVEREF(__pyx_kp_u_Y_m_d); PyTuple_SET_ITEM(__pyx_t_25, 1+__pyx_t_6, __pyx_kp_u_Y_m_d); - __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_19, __pyx_t_25, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3033, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_19, __pyx_t_25, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3034, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_25); __pyx_t_25 = 0; } __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; - __pyx_t_19 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_date); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 3033, __pyx_L1_error) + __pyx_t_19 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_date); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 3034, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_19); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_2 = NULL; @@ -39392,14 +39392,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU } __pyx_t_4 = (__pyx_t_2) ? __Pyx_PyObject_CallOneArg(__pyx_t_19, __pyx_t_2) : __Pyx_PyObject_CallNoArg(__pyx_t_19); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3033, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3034, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; __pyx_r = __pyx_t_4; __pyx_t_4 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":3030 + /* "pyrfc/_cyrfc.pyx":3031 * value = wrapString(dateValue, 8) * # return date or None * if config & _MASK_DTIME: # <<<<<<<<<<<<<< @@ -39408,26 +39408,26 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":3035 + /* "pyrfc/_cyrfc.pyx":3036 * return datetime.strptime(value, '%Y%m%d').date() * # return date string or '' * if (value == '00000000') or not value: # <<<<<<<<<<<<<< * return '' * return value */ - __pyx_t_24 = (__Pyx_PyUnicode_Equals(__pyx_v_value, __pyx_kp_u_00000000, Py_EQ)); if (unlikely(__pyx_t_24 < 0)) __PYX_ERR(0, 3035, __pyx_L1_error) + __pyx_t_24 = (__Pyx_PyUnicode_Equals(__pyx_v_value, __pyx_kp_u_00000000, Py_EQ)); if (unlikely(__pyx_t_24 < 0)) __PYX_ERR(0, 3036, __pyx_L1_error) if (!__pyx_t_24) { } else { __pyx_t_1 = __pyx_t_24; goto __pyx_L66_bool_binop_done; } - __pyx_t_24 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely(__pyx_t_24 < 0)) __PYX_ERR(0, 3035, __pyx_L1_error) + __pyx_t_24 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely(__pyx_t_24 < 0)) __PYX_ERR(0, 3036, __pyx_L1_error) __pyx_t_23 = ((!__pyx_t_24) != 0); __pyx_t_1 = __pyx_t_23; __pyx_L66_bool_binop_done:; if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":3036 + /* "pyrfc/_cyrfc.pyx":3037 * # return date string or '' * if (value == '00000000') or not value: * return '' # <<<<<<<<<<<<<< @@ -39439,7 +39439,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_r = __pyx_kp_u__5; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":3035 + /* "pyrfc/_cyrfc.pyx":3036 * return datetime.strptime(value, '%Y%m%d').date() * # return date string or '' * if (value == '00000000') or not value: # <<<<<<<<<<<<<< @@ -39448,7 +39448,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":3037 + /* "pyrfc/_cyrfc.pyx":3038 * if (value == '00000000') or not value: * return '' * return value # <<<<<<<<<<<<<< @@ -39460,7 +39460,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_r = __pyx_v_value; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":3024 + /* "pyrfc/_cyrfc.pyx":3025 * finally: * free(stringValue) * elif typ == RFCTYPE_DATE: # <<<<<<<<<<<<<< @@ -39470,7 +39470,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU break; case RFCTYPE_TIME: - /* "pyrfc/_cyrfc.pyx":3039 + /* "pyrfc/_cyrfc.pyx":3040 * return value * elif typ == RFCTYPE_TIME: * rc = RfcGetTime(container, cName, timeValue, &errorInfo) # <<<<<<<<<<<<<< @@ -39479,7 +39479,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_v_rc = RfcGetTime(__pyx_v_container, __pyx_v_cName, __pyx_v_timeValue, (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":3040 + /* "pyrfc/_cyrfc.pyx":3041 * elif typ == RFCTYPE_TIME: * rc = RfcGetTime(container, cName, timeValue, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -39489,20 +39489,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_1 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_1)) { - /* "pyrfc/_cyrfc.pyx":3041 + /* "pyrfc/_cyrfc.pyx":3042 * rc = RfcGetTime(container, cName, timeValue, &errorInfo) * if rc != RFC_OK: * raise wrapError(&errorInfo) # <<<<<<<<<<<<<< * value = wrapString(timeValue, 6) * # return time or None */ - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3041, __pyx_L1_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_wrapError((&__pyx_v_errorInfo)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3042, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __PYX_ERR(0, 3041, __pyx_L1_error) + __PYX_ERR(0, 3042, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":3040 + /* "pyrfc/_cyrfc.pyx":3041 * elif typ == RFCTYPE_TIME: * rc = RfcGetTime(container, cName, timeValue, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -39511,7 +39511,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":3042 + /* "pyrfc/_cyrfc.pyx":3043 * if rc != RFC_OK: * raise wrapError(&errorInfo) * value = wrapString(timeValue, 6) # <<<<<<<<<<<<<< @@ -39520,39 +39520,39 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ __pyx_t_5.__pyx_n = 1; __pyx_t_5.uclen = __pyx_int_6; - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_timeValue, &__pyx_t_5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3042, __pyx_L1_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_timeValue, &__pyx_t_5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3043, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v_value = __pyx_t_4; __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":3044 + /* "pyrfc/_cyrfc.pyx":3045 * value = wrapString(timeValue, 6) * # return time or None * if config & _MASK_DTIME: # <<<<<<<<<<<<<< * if not value: * return None */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_MASK_DTIME); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3044, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_MASK_DTIME); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3045, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_19 = PyNumber_And(__pyx_v_config, __pyx_t_4); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 3044, __pyx_L1_error) + __pyx_t_19 = PyNumber_And(__pyx_v_config, __pyx_t_4); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 3045, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_19); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_19); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 3044, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_19); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 3045, __pyx_L1_error) __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":3045 + /* "pyrfc/_cyrfc.pyx":3046 * # return time or None * if config & _MASK_DTIME: * if not value: # <<<<<<<<<<<<<< * return None * return datetime.strptime(value, '%H%M%S').time() */ - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 3045, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 3046, __pyx_L1_error) __pyx_t_23 = ((!__pyx_t_1) != 0); if (__pyx_t_23) { - /* "pyrfc/_cyrfc.pyx":3046 + /* "pyrfc/_cyrfc.pyx":3047 * if config & _MASK_DTIME: * if not value: * return None # <<<<<<<<<<<<<< @@ -39563,7 +39563,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":3045 + /* "pyrfc/_cyrfc.pyx":3046 * # return time or None * if config & _MASK_DTIME: * if not value: # <<<<<<<<<<<<<< @@ -39572,7 +39572,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":3047 + /* "pyrfc/_cyrfc.pyx":3048 * if not value: * return None * return datetime.strptime(value, '%H%M%S').time() # <<<<<<<<<<<<<< @@ -39580,9 +39580,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU * if not value: */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_datetime); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3047, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_datetime); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3048, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_25 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_strptime); if (unlikely(!__pyx_t_25)) __PYX_ERR(0, 3047, __pyx_L1_error) + __pyx_t_25 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_strptime); if (unlikely(!__pyx_t_25)) __PYX_ERR(0, 3048, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_25); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_2 = NULL; @@ -39600,7 +39600,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_25)) { PyObject *__pyx_temp[3] = {__pyx_t_2, __pyx_v_value, __pyx_kp_u_H_M_S}; - __pyx_t_4 = __Pyx_PyFunction_FastCall(__pyx_t_25, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3047, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyFunction_FastCall(__pyx_t_25, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3048, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_GOTREF(__pyx_t_4); } else @@ -39608,13 +39608,13 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_25)) { PyObject *__pyx_temp[3] = {__pyx_t_2, __pyx_v_value, __pyx_kp_u_H_M_S}; - __pyx_t_4 = __Pyx_PyCFunction_FastCall(__pyx_t_25, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3047, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyCFunction_FastCall(__pyx_t_25, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3048, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_GOTREF(__pyx_t_4); } else #endif { - __pyx_t_3 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3047, __pyx_L1_error) + __pyx_t_3 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3048, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (__pyx_t_2) { __Pyx_GIVEREF(__pyx_t_2); PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2); __pyx_t_2 = NULL; @@ -39625,12 +39625,12 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_INCREF(__pyx_kp_u_H_M_S); __Pyx_GIVEREF(__pyx_kp_u_H_M_S); PyTuple_SET_ITEM(__pyx_t_3, 1+__pyx_t_6, __pyx_kp_u_H_M_S); - __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_25, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3047, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_25, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3048, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } __Pyx_DECREF(__pyx_t_25); __pyx_t_25 = 0; - __pyx_t_25 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_time); if (unlikely(!__pyx_t_25)) __PYX_ERR(0, 3047, __pyx_L1_error) + __pyx_t_25 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_time); if (unlikely(!__pyx_t_25)) __PYX_ERR(0, 3048, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_25); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_4 = NULL; @@ -39645,14 +39645,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU } __pyx_t_19 = (__pyx_t_4) ? __Pyx_PyObject_CallOneArg(__pyx_t_25, __pyx_t_4) : __Pyx_PyObject_CallNoArg(__pyx_t_25); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 3047, __pyx_L1_error) + if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 3048, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_19); __Pyx_DECREF(__pyx_t_25); __pyx_t_25 = 0; __pyx_r = __pyx_t_19; __pyx_t_19 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":3044 + /* "pyrfc/_cyrfc.pyx":3045 * value = wrapString(timeValue, 6) * # return time or None * if config & _MASK_DTIME: # <<<<<<<<<<<<<< @@ -39661,18 +39661,18 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":3049 + /* "pyrfc/_cyrfc.pyx":3050 * return datetime.strptime(value, '%H%M%S').time() * # return time string or '' * if not value: # <<<<<<<<<<<<<< * return '' * return value */ - __pyx_t_23 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely(__pyx_t_23 < 0)) __PYX_ERR(0, 3049, __pyx_L1_error) + __pyx_t_23 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely(__pyx_t_23 < 0)) __PYX_ERR(0, 3050, __pyx_L1_error) __pyx_t_1 = ((!__pyx_t_23) != 0); if (__pyx_t_1) { - /* "pyrfc/_cyrfc.pyx":3050 + /* "pyrfc/_cyrfc.pyx":3051 * # return time string or '' * if not value: * return '' # <<<<<<<<<<<<<< @@ -39684,7 +39684,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_r = __pyx_kp_u__5; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":3049 + /* "pyrfc/_cyrfc.pyx":3050 * return datetime.strptime(value, '%H%M%S').time() * # return time string or '' * if not value: # <<<<<<<<<<<<<< @@ -39693,7 +39693,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU */ } - /* "pyrfc/_cyrfc.pyx":3051 + /* "pyrfc/_cyrfc.pyx":3052 * if not value: * return '' * return value # <<<<<<<<<<<<<< @@ -39705,7 +39705,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_r = __pyx_v_value; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":3038 + /* "pyrfc/_cyrfc.pyx":3039 * return '' * return value * elif typ == RFCTYPE_TIME: # <<<<<<<<<<<<<< @@ -39715,16 +39715,16 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU break; default: - /* "pyrfc/_cyrfc.pyx":3053 + /* "pyrfc/_cyrfc.pyx":3054 * return value * else: * raise RFCError('Unknown RFC type %d when wrapping %s' % (typ, wrapString(cName))) # <<<<<<<<<<<<<< * * cdef wrapError(RFC_ERROR_INFO* errorInfo): */ - __Pyx_GetModuleGlobalName(__pyx_t_25, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_25)) __PYX_ERR(0, 3053, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_25, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_25)) __PYX_ERR(0, 3054, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_25); - __pyx_t_4 = PyTuple_New(4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3053, __pyx_L1_error) + __pyx_t_4 = PyTuple_New(4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3054, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_26 = 0; __pyx_t_27 = 127; @@ -39732,7 +39732,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_26 += 17; __Pyx_GIVEREF(__pyx_kp_u_Unknown_RFC_type); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_kp_u_Unknown_RFC_type); - __pyx_t_3 = __Pyx_PyUnicode_From_RFCTYPE(__pyx_v_typ, 0, ' ', 'd'); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3053, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyUnicode_From_RFCTYPE(__pyx_v_typ, 0, ' ', 'd'); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3054, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_27 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_3) > __pyx_t_27) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_3) : __pyx_t_27; __pyx_t_26 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_3); @@ -39743,9 +39743,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_26 += 15; __Pyx_GIVEREF(__pyx_kp_u_when_wrapping); PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_kp_u_when_wrapping); - __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_cName, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3053, __pyx_L1_error) + __pyx_t_3 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_cName, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3054, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_2 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Unicode(__pyx_t_3), __pyx_empty_unicode); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3053, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Unicode(__pyx_t_3), __pyx_empty_unicode); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3054, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_27 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_2) > __pyx_t_27) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_2) : __pyx_t_27; @@ -39753,7 +39753,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __Pyx_GIVEREF(__pyx_t_2); PyTuple_SET_ITEM(__pyx_t_4, 3, __pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyUnicode_Join(__pyx_t_4, 4, __pyx_t_26, __pyx_t_27); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3053, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyUnicode_Join(__pyx_t_4, 4, __pyx_t_26, __pyx_t_27); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3054, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_4 = NULL; @@ -39769,16 +39769,16 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU __pyx_t_19 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_25, __pyx_t_4, __pyx_t_2) : __Pyx_PyObject_CallOneArg(__pyx_t_25, __pyx_t_2); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 3053, __pyx_L1_error) + if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 3054, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_19); __Pyx_DECREF(__pyx_t_25); __pyx_t_25 = 0; __Pyx_Raise(__pyx_t_19, 0, 0, 0); __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; - __PYX_ERR(0, 3053, __pyx_L1_error) + __PYX_ERR(0, 3054, __pyx_L1_error) break; } - /* "pyrfc/_cyrfc.pyx":2857 + /* "pyrfc/_cyrfc.pyx":2858 * return table * * cdef wrapVariable( # <<<<<<<<<<<<<< @@ -39803,7 +39803,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapVariable(RFCTYPE __pyx_v_typ, RFC_FU return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":3055 +/* "pyrfc/_cyrfc.pyx":3056 * raise RFCError('Unknown RFC type %d when wrapping %s' % (typ, wrapString(cName))) * * cdef wrapError(RFC_ERROR_INFO* errorInfo): # <<<<<<<<<<<<<< @@ -39836,131 +39836,131 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapError(RFC_ERROR_INFO *__pyx_v_errorI int __pyx_clineno = 0; __Pyx_RefNannySetupContext("wrapError", 0); - /* "pyrfc/_cyrfc.pyx":3057 + /* "pyrfc/_cyrfc.pyx":3058 * cdef wrapError(RFC_ERROR_INFO* errorInfo): * group2error = { * ABAP_APPLICATION_FAILURE: ABAPApplicationError, # <<<<<<<<<<<<<< * ABAP_RUNTIME_FAILURE: ABAPRuntimeError, * LOGON_FAILURE: LogonError, */ - __pyx_t_1 = __Pyx_PyDict_NewPresized(7); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3057, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(7); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3058, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyInt_From_RFC_ERROR_GROUP(ABAP_APPLICATION_FAILURE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3057, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_From_RFC_ERROR_GROUP(ABAP_APPLICATION_FAILURE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3058, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_ABAPApplicationError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3057, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_ABAPApplicationError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3058, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_1, __pyx_t_2, __pyx_t_3) < 0) __PYX_ERR(0, 3057, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_t_2, __pyx_t_3) < 0) __PYX_ERR(0, 3058, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":3058 + /* "pyrfc/_cyrfc.pyx":3059 * group2error = { * ABAP_APPLICATION_FAILURE: ABAPApplicationError, * ABAP_RUNTIME_FAILURE: ABAPRuntimeError, # <<<<<<<<<<<<<< * LOGON_FAILURE: LogonError, * COMMUNICATION_FAILURE: CommunicationError, */ - __pyx_t_3 = __Pyx_PyInt_From_RFC_ERROR_GROUP(ABAP_RUNTIME_FAILURE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3058, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_From_RFC_ERROR_GROUP(ABAP_RUNTIME_FAILURE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3059, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_ABAPRuntimeError); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3058, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_ABAPRuntimeError); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3059, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_t_1, __pyx_t_3, __pyx_t_2) < 0) __PYX_ERR(0, 3057, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_t_3, __pyx_t_2) < 0) __PYX_ERR(0, 3058, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":3059 + /* "pyrfc/_cyrfc.pyx":3060 * ABAP_APPLICATION_FAILURE: ABAPApplicationError, * ABAP_RUNTIME_FAILURE: ABAPRuntimeError, * LOGON_FAILURE: LogonError, # <<<<<<<<<<<<<< * COMMUNICATION_FAILURE: CommunicationError, * EXTERNAL_RUNTIME_FAILURE: ExternalRuntimeError, */ - __pyx_t_2 = __Pyx_PyInt_From_RFC_ERROR_GROUP(LOGON_FAILURE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3059, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_From_RFC_ERROR_GROUP(LOGON_FAILURE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3060, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_LogonError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3059, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_LogonError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3060, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_1, __pyx_t_2, __pyx_t_3) < 0) __PYX_ERR(0, 3057, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_t_2, __pyx_t_3) < 0) __PYX_ERR(0, 3058, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":3060 + /* "pyrfc/_cyrfc.pyx":3061 * ABAP_RUNTIME_FAILURE: ABAPRuntimeError, * LOGON_FAILURE: LogonError, * COMMUNICATION_FAILURE: CommunicationError, # <<<<<<<<<<<<<< * EXTERNAL_RUNTIME_FAILURE: ExternalRuntimeError, * EXTERNAL_APPLICATION_FAILURE: ExternalApplicationError, */ - __pyx_t_3 = __Pyx_PyInt_From_RFC_ERROR_GROUP(COMMUNICATION_FAILURE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3060, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_From_RFC_ERROR_GROUP(COMMUNICATION_FAILURE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3061, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_CommunicationError); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3060, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_CommunicationError); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3061, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_t_1, __pyx_t_3, __pyx_t_2) < 0) __PYX_ERR(0, 3057, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_t_3, __pyx_t_2) < 0) __PYX_ERR(0, 3058, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":3061 + /* "pyrfc/_cyrfc.pyx":3062 * LOGON_FAILURE: LogonError, * COMMUNICATION_FAILURE: CommunicationError, * EXTERNAL_RUNTIME_FAILURE: ExternalRuntimeError, # <<<<<<<<<<<<<< * EXTERNAL_APPLICATION_FAILURE: ExternalApplicationError, * EXTERNAL_AUTHORIZATION_FAILURE: ExternalAuthorizationError */ - __pyx_t_2 = __Pyx_PyInt_From_RFC_ERROR_GROUP(EXTERNAL_RUNTIME_FAILURE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3061, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_From_RFC_ERROR_GROUP(EXTERNAL_RUNTIME_FAILURE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3062, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_ExternalRuntimeError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3061, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_ExternalRuntimeError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3062, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_1, __pyx_t_2, __pyx_t_3) < 0) __PYX_ERR(0, 3057, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_t_2, __pyx_t_3) < 0) __PYX_ERR(0, 3058, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":3062 + /* "pyrfc/_cyrfc.pyx":3063 * COMMUNICATION_FAILURE: CommunicationError, * EXTERNAL_RUNTIME_FAILURE: ExternalRuntimeError, * EXTERNAL_APPLICATION_FAILURE: ExternalApplicationError, # <<<<<<<<<<<<<< * EXTERNAL_AUTHORIZATION_FAILURE: ExternalAuthorizationError * } */ - __pyx_t_3 = __Pyx_PyInt_From_RFC_ERROR_GROUP(EXTERNAL_APPLICATION_FAILURE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3062, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_From_RFC_ERROR_GROUP(EXTERNAL_APPLICATION_FAILURE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3063, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_ExternalApplicationError); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3062, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_ExternalApplicationError); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3063, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_t_1, __pyx_t_3, __pyx_t_2) < 0) __PYX_ERR(0, 3057, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_t_3, __pyx_t_2) < 0) __PYX_ERR(0, 3058, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":3063 + /* "pyrfc/_cyrfc.pyx":3064 * EXTERNAL_RUNTIME_FAILURE: ExternalRuntimeError, * EXTERNAL_APPLICATION_FAILURE: ExternalApplicationError, * EXTERNAL_AUTHORIZATION_FAILURE: ExternalAuthorizationError # <<<<<<<<<<<<<< * } * error = group2error[errorInfo.group] */ - __pyx_t_2 = __Pyx_PyInt_From_RFC_ERROR_GROUP(EXTERNAL_AUTHORIZATION_FAILURE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3063, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_From_RFC_ERROR_GROUP(EXTERNAL_AUTHORIZATION_FAILURE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3064, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_ExternalAuthorizationError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3063, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_ExternalAuthorizationError); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3064, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_1, __pyx_t_2, __pyx_t_3) < 0) __PYX_ERR(0, 3057, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_t_2, __pyx_t_3) < 0) __PYX_ERR(0, 3058, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_v_group2error = ((PyObject*)__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":3065 + /* "pyrfc/_cyrfc.pyx":3066 * EXTERNAL_AUTHORIZATION_FAILURE: ExternalAuthorizationError * } * error = group2error[errorInfo.group] # <<<<<<<<<<<<<< * return error( * wrapString(errorInfo.message), errorInfo.code, wrapString(errorInfo.key), */ - __pyx_t_1 = __Pyx_PyInt_From_RFC_ERROR_GROUP(__pyx_v_errorInfo->group); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3065, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_RFC_ERROR_GROUP(__pyx_v_errorInfo->group); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3066, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyDict_GetItem(__pyx_v_group2error, __pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3065, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyDict_GetItem(__pyx_v_group2error, __pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3066, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_error = __pyx_t_3; __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":3066 + /* "pyrfc/_cyrfc.pyx":3067 * } * error = group2error[errorInfo.group] * return error( # <<<<<<<<<<<<<< @@ -39969,56 +39969,56 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapError(RFC_ERROR_INFO *__pyx_v_errorI */ __Pyx_XDECREF(__pyx_r); - /* "pyrfc/_cyrfc.pyx":3067 + /* "pyrfc/_cyrfc.pyx":3068 * error = group2error[errorInfo.group] * return error( * wrapString(errorInfo.message), errorInfo.code, wrapString(errorInfo.key), # <<<<<<<<<<<<<< * wrapString(errorInfo.abapMsgClass), wrapString(errorInfo.abapMsgType), wrapString(errorInfo.abapMsgNumber), * wrapString(errorInfo.abapMsgV1), wrapString(errorInfo.abapMsgV2), */ - __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_errorInfo->message, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3067, __pyx_L1_error) + __pyx_t_1 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_errorInfo->message, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3068, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyInt_From_RFC_RC(__pyx_v_errorInfo->code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3067, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_From_RFC_RC(__pyx_v_errorInfo->code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3068, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_errorInfo->key, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3067, __pyx_L1_error) + __pyx_t_4 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_errorInfo->key, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3068, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - /* "pyrfc/_cyrfc.pyx":3068 + /* "pyrfc/_cyrfc.pyx":3069 * return error( * wrapString(errorInfo.message), errorInfo.code, wrapString(errorInfo.key), * wrapString(errorInfo.abapMsgClass), wrapString(errorInfo.abapMsgType), wrapString(errorInfo.abapMsgNumber), # <<<<<<<<<<<<<< * wrapString(errorInfo.abapMsgV1), wrapString(errorInfo.abapMsgV2), * wrapString(errorInfo.abapMsgV3), wrapString(errorInfo.abapMsgV4) */ - __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_errorInfo->abapMsgClass, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 3068, __pyx_L1_error) + __pyx_t_5 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_errorInfo->abapMsgClass, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 3069, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_errorInfo->abapMsgType, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 3068, __pyx_L1_error) + __pyx_t_6 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_errorInfo->abapMsgType, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 3069, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_errorInfo->abapMsgNumber, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 3068, __pyx_L1_error) + __pyx_t_7 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_errorInfo->abapMsgNumber, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 3069, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - /* "pyrfc/_cyrfc.pyx":3069 + /* "pyrfc/_cyrfc.pyx":3070 * wrapString(errorInfo.message), errorInfo.code, wrapString(errorInfo.key), * wrapString(errorInfo.abapMsgClass), wrapString(errorInfo.abapMsgType), wrapString(errorInfo.abapMsgNumber), * wrapString(errorInfo.abapMsgV1), wrapString(errorInfo.abapMsgV2), # <<<<<<<<<<<<<< * wrapString(errorInfo.abapMsgV3), wrapString(errorInfo.abapMsgV4) * ) */ - __pyx_t_8 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_errorInfo->abapMsgV1, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 3069, __pyx_L1_error) + __pyx_t_8 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_errorInfo->abapMsgV1, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 3070, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); - __pyx_t_9 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_errorInfo->abapMsgV2, NULL); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 3069, __pyx_L1_error) + __pyx_t_9 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_errorInfo->abapMsgV2, NULL); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 3070, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - /* "pyrfc/_cyrfc.pyx":3070 + /* "pyrfc/_cyrfc.pyx":3071 * wrapString(errorInfo.abapMsgClass), wrapString(errorInfo.abapMsgType), wrapString(errorInfo.abapMsgNumber), * wrapString(errorInfo.abapMsgV1), wrapString(errorInfo.abapMsgV2), * wrapString(errorInfo.abapMsgV3), wrapString(errorInfo.abapMsgV4) # <<<<<<<<<<<<<< * ) * */ - __pyx_t_10 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_errorInfo->abapMsgV3, NULL); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 3070, __pyx_L1_error) + __pyx_t_10 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_errorInfo->abapMsgV3, NULL); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 3071, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); - __pyx_t_11 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_errorInfo->abapMsgV4, NULL); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 3070, __pyx_L1_error) + __pyx_t_11 = __pyx_f_5pyrfc_6_cyrfc_wrapString(__pyx_v_errorInfo->abapMsgV4, NULL); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 3071, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_INCREF(__pyx_v_error); __pyx_t_12 = __pyx_v_error; __pyx_t_13 = NULL; @@ -40036,7 +40036,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapError(RFC_ERROR_INFO *__pyx_v_errorI #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_12)) { PyObject *__pyx_temp[11] = {__pyx_t_13, __pyx_t_1, __pyx_t_2, __pyx_t_4, __pyx_t_5, __pyx_t_6, __pyx_t_7, __pyx_t_8, __pyx_t_9, __pyx_t_10, __pyx_t_11}; - __pyx_t_3 = __Pyx_PyFunction_FastCall(__pyx_t_12, __pyx_temp+1-__pyx_t_14, 10+__pyx_t_14); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3066, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyFunction_FastCall(__pyx_t_12, __pyx_temp+1-__pyx_t_14, 10+__pyx_t_14); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3067, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0; __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -40054,7 +40054,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapError(RFC_ERROR_INFO *__pyx_v_errorI #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_12)) { PyObject *__pyx_temp[11] = {__pyx_t_13, __pyx_t_1, __pyx_t_2, __pyx_t_4, __pyx_t_5, __pyx_t_6, __pyx_t_7, __pyx_t_8, __pyx_t_9, __pyx_t_10, __pyx_t_11}; - __pyx_t_3 = __Pyx_PyCFunction_FastCall(__pyx_t_12, __pyx_temp+1-__pyx_t_14, 10+__pyx_t_14); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3066, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyCFunction_FastCall(__pyx_t_12, __pyx_temp+1-__pyx_t_14, 10+__pyx_t_14); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3067, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0; __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -40070,7 +40070,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapError(RFC_ERROR_INFO *__pyx_v_errorI } else #endif { - __pyx_t_15 = PyTuple_New(10+__pyx_t_14); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 3066, __pyx_L1_error) + __pyx_t_15 = PyTuple_New(10+__pyx_t_14); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 3067, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_15); if (__pyx_t_13) { __Pyx_GIVEREF(__pyx_t_13); PyTuple_SET_ITEM(__pyx_t_15, 0, __pyx_t_13); __pyx_t_13 = NULL; @@ -40105,7 +40105,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapError(RFC_ERROR_INFO *__pyx_v_errorI __pyx_t_9 = 0; __pyx_t_10 = 0; __pyx_t_11 = 0; - __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_12, __pyx_t_15, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3066, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_12, __pyx_t_15, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3067, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; } @@ -40114,7 +40114,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapError(RFC_ERROR_INFO *__pyx_v_errorI __pyx_t_3 = 0; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":3055 + /* "pyrfc/_cyrfc.pyx":3056 * raise RFCError('Unknown RFC type %d when wrapping %s' % (typ, wrapString(cName))) * * cdef wrapError(RFC_ERROR_INFO* errorInfo): # <<<<<<<<<<<<<< @@ -40148,7 +40148,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapError(RFC_ERROR_INFO *__pyx_v_errorI return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":3073 +/* "pyrfc/_cyrfc.pyx":3074 * ) * * cdef wrapString(const SAP_UC* uc, uclen=-1, rstrip=False): # <<<<<<<<<<<<<< @@ -40195,32 +40195,32 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC const *__pyx_v_uc, str } __Pyx_INCREF(__pyx_v_uclen); - /* "pyrfc/_cyrfc.pyx":3076 + /* "pyrfc/_cyrfc.pyx":3077 * cdef RFC_RC rc * cdef RFC_ERROR_INFO errorInfo * if uclen == -1: # <<<<<<<<<<<<<< * uclen = strlenU(uc) * if uclen == 0: */ - __pyx_t_1 = __Pyx_PyInt_EqObjC(__pyx_v_uclen, __pyx_int_neg_1, -1L, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3076, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_EqObjC(__pyx_v_uclen, __pyx_int_neg_1, -1L, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3077, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 3076, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 3077, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":3077 + /* "pyrfc/_cyrfc.pyx":3078 * cdef RFC_ERROR_INFO errorInfo * if uclen == -1: * uclen = strlenU(uc) # <<<<<<<<<<<<<< * if uclen == 0: * return '' */ - __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(strlenU(__pyx_v_uc)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3077, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(strlenU(__pyx_v_uc)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3078, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF_SET(__pyx_v_uclen, __pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":3076 + /* "pyrfc/_cyrfc.pyx":3077 * cdef RFC_RC rc * cdef RFC_ERROR_INFO errorInfo * if uclen == -1: # <<<<<<<<<<<<<< @@ -40229,20 +40229,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC const *__pyx_v_uc, str */ } - /* "pyrfc/_cyrfc.pyx":3078 + /* "pyrfc/_cyrfc.pyx":3079 * if uclen == -1: * uclen = strlenU(uc) * if uclen == 0: # <<<<<<<<<<<<<< * return '' * cdef unsigned utf8_size = uclen * 5 + 1 */ - __pyx_t_1 = __Pyx_PyInt_EqObjC(__pyx_v_uclen, __pyx_int_0, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3078, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_EqObjC(__pyx_v_uclen, __pyx_int_0, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3079, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 3078, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 3079, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":3079 + /* "pyrfc/_cyrfc.pyx":3080 * uclen = strlenU(uc) * if uclen == 0: * return '' # <<<<<<<<<<<<<< @@ -40254,7 +40254,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC const *__pyx_v_uc, str __pyx_r = __pyx_kp_u__5; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":3078 + /* "pyrfc/_cyrfc.pyx":3079 * if uclen == -1: * uclen = strlenU(uc) * if uclen == 0: # <<<<<<<<<<<<<< @@ -40263,23 +40263,23 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC const *__pyx_v_uc, str */ } - /* "pyrfc/_cyrfc.pyx":3080 + /* "pyrfc/_cyrfc.pyx":3081 * if uclen == 0: * return '' * cdef unsigned utf8_size = uclen * 5 + 1 # <<<<<<<<<<<<<< * cdef char *utf8 = malloc(utf8_size) * utf8[0] = 0 */ - __pyx_t_1 = PyNumber_Multiply(__pyx_v_uclen, __pyx_int_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3080, __pyx_L1_error) + __pyx_t_1 = PyNumber_Multiply(__pyx_v_uclen, __pyx_int_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3081, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AddObjC(__pyx_t_1, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3080, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_AddObjC(__pyx_t_1, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3081, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_4 = __Pyx_PyInt_As_unsigned_int(__pyx_t_3); if (unlikely((__pyx_t_4 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 3080, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_As_unsigned_int(__pyx_t_3); if (unlikely((__pyx_t_4 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 3081, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_v_utf8_size = __pyx_t_4; - /* "pyrfc/_cyrfc.pyx":3081 + /* "pyrfc/_cyrfc.pyx":3082 * return '' * cdef unsigned utf8_size = uclen * 5 + 1 * cdef char *utf8 = malloc(utf8_size) # <<<<<<<<<<<<<< @@ -40288,7 +40288,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC const *__pyx_v_uc, str */ __pyx_v_utf8 = ((char *)malloc(__pyx_v_utf8_size)); - /* "pyrfc/_cyrfc.pyx":3082 + /* "pyrfc/_cyrfc.pyx":3083 * cdef unsigned utf8_size = uclen * 5 + 1 * cdef char *utf8 = malloc(utf8_size) * utf8[0] = 0 # <<<<<<<<<<<<<< @@ -40297,7 +40297,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC const *__pyx_v_uc, str */ (__pyx_v_utf8[0]) = 0; - /* "pyrfc/_cyrfc.pyx":3083 + /* "pyrfc/_cyrfc.pyx":3084 * cdef char *utf8 = malloc(utf8_size) * utf8[0] = 0 * cdef unsigned result_len = 0 # <<<<<<<<<<<<<< @@ -40306,17 +40306,17 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC const *__pyx_v_uc, str */ __pyx_v_result_len = 0; - /* "pyrfc/_cyrfc.pyx":3084 + /* "pyrfc/_cyrfc.pyx":3085 * utf8[0] = 0 * cdef unsigned result_len = 0 * rc = RfcSAPUCToUTF8(uc, uclen, utf8, &utf8_size, &result_len, &errorInfo) # <<<<<<<<<<<<<< * if rc != RFC_OK: * # raise wrapError(&errorInfo) */ - __pyx_t_4 = __Pyx_PyInt_As_unsigned_int(__pyx_v_uclen); if (unlikely((__pyx_t_4 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 3084, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_As_unsigned_int(__pyx_v_uclen); if (unlikely((__pyx_t_4 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 3085, __pyx_L1_error) __pyx_v_rc = RfcSAPUCToUTF8(__pyx_v_uc, __pyx_t_4, ((RFC_BYTE *)__pyx_v_utf8), (&__pyx_v_utf8_size), (&__pyx_v_result_len), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":3085 + /* "pyrfc/_cyrfc.pyx":3086 * cdef unsigned result_len = 0 * rc = RfcSAPUCToUTF8(uc, uclen, utf8, &utf8_size, &result_len, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -40326,18 +40326,18 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC const *__pyx_v_uc, str __pyx_t_2 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":3087 + /* "pyrfc/_cyrfc.pyx":3088 * if rc != RFC_OK: * # raise wrapError(&errorInfo) * raise RFCError('wrapString uclen: %u utf8_size: %u' % (uclen, utf8_size)) # <<<<<<<<<<<<<< * utf8[result_len] = 0 * try: */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3087, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3088, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyInt_From_unsigned_int(__pyx_v_utf8_size); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 3087, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_unsigned_int(__pyx_v_utf8_size); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 3088, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 3087, __pyx_L1_error) + __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 3088, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_INCREF(__pyx_v_uclen); __Pyx_GIVEREF(__pyx_v_uclen); @@ -40345,7 +40345,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC const *__pyx_v_uc, str __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_5); __pyx_t_5 = 0; - __pyx_t_5 = PyUnicode_Format(__pyx_kp_u_wrapString_uclen_u_utf8_size_u, __pyx_t_6); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 3087, __pyx_L1_error) + __pyx_t_5 = PyUnicode_Format(__pyx_kp_u_wrapString_uclen_u_utf8_size_u, __pyx_t_6); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 3088, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_6 = NULL; @@ -40361,14 +40361,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC const *__pyx_v_uc, str __pyx_t_3 = (__pyx_t_6) ? __Pyx_PyObject_Call2Args(__pyx_t_1, __pyx_t_6, __pyx_t_5) : __Pyx_PyObject_CallOneArg(__pyx_t_1, __pyx_t_5); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3087, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3088, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 3087, __pyx_L1_error) + __PYX_ERR(0, 3088, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":3085 + /* "pyrfc/_cyrfc.pyx":3086 * cdef unsigned result_len = 0 * rc = RfcSAPUCToUTF8(uc, uclen, utf8, &utf8_size, &result_len, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -40377,7 +40377,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC const *__pyx_v_uc, str */ } - /* "pyrfc/_cyrfc.pyx":3088 + /* "pyrfc/_cyrfc.pyx":3089 * # raise wrapError(&errorInfo) * raise RFCError('wrapString uclen: %u utf8_size: %u' % (uclen, utf8_size)) * utf8[result_len] = 0 # <<<<<<<<<<<<<< @@ -40386,7 +40386,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC const *__pyx_v_uc, str */ (__pyx_v_utf8[__pyx_v_result_len]) = 0; - /* "pyrfc/_cyrfc.pyx":3089 + /* "pyrfc/_cyrfc.pyx":3090 * raise RFCError('wrapString uclen: %u utf8_size: %u' % (uclen, utf8_size)) * utf8[result_len] = 0 * try: # <<<<<<<<<<<<<< @@ -40395,17 +40395,17 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC const *__pyx_v_uc, str */ /*try:*/ { - /* "pyrfc/_cyrfc.pyx":3090 + /* "pyrfc/_cyrfc.pyx":3091 * utf8[result_len] = 0 * try: * if rstrip: # <<<<<<<<<<<<<< * return utf8[:result_len].rstrip().decode() * else: */ - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_rstrip); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 3090, __pyx_L7_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_rstrip); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 3091, __pyx_L7_error) if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":3091 + /* "pyrfc/_cyrfc.pyx":3092 * try: * if rstrip: * return utf8[:result_len].rstrip().decode() # <<<<<<<<<<<<<< @@ -40413,9 +40413,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC const *__pyx_v_uc, str * return utf8[:result_len].decode() */ __Pyx_XDECREF(__pyx_r); - __pyx_t_5 = __Pyx_PyBytes_FromStringAndSize(__pyx_v_utf8 + 0, __pyx_v_result_len - 0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 3091, __pyx_L7_error) + __pyx_t_5 = __Pyx_PyBytes_FromStringAndSize(__pyx_v_utf8 + 0, __pyx_v_result_len - 0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 3092, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 3091, __pyx_L7_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 3092, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_5 = NULL; @@ -40430,10 +40430,10 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC const *__pyx_v_uc, str } __pyx_t_1 = (__pyx_t_5) ? __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_5) : __Pyx_PyObject_CallNoArg(__pyx_t_6); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3091, __pyx_L7_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3092, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_decode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 3091, __pyx_L7_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_decode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 3092, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_1 = NULL; @@ -40448,14 +40448,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC const *__pyx_v_uc, str } __pyx_t_3 = (__pyx_t_1) ? __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_1) : __Pyx_PyObject_CallNoArg(__pyx_t_6); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3091, __pyx_L7_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3092, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_r = __pyx_t_3; __pyx_t_3 = 0; goto __pyx_L6_return; - /* "pyrfc/_cyrfc.pyx":3090 + /* "pyrfc/_cyrfc.pyx":3091 * utf8[result_len] = 0 * try: * if rstrip: # <<<<<<<<<<<<<< @@ -40464,7 +40464,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC const *__pyx_v_uc, str */ } - /* "pyrfc/_cyrfc.pyx":3093 + /* "pyrfc/_cyrfc.pyx":3094 * return utf8[:result_len].rstrip().decode() * else: * return utf8[:result_len].decode() # <<<<<<<<<<<<<< @@ -40473,7 +40473,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC const *__pyx_v_uc, str */ /*else*/ { __Pyx_XDECREF(__pyx_r); - __pyx_t_3 = __Pyx_decode_c_string(__pyx_v_utf8, 0, __pyx_v_result_len, NULL, NULL, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3093, __pyx_L7_error) + __pyx_t_3 = __Pyx_decode_c_string(__pyx_v_utf8, 0, __pyx_v_result_len, NULL, NULL, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3094, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_3); __pyx_r = __pyx_t_3; __pyx_t_3 = 0; @@ -40481,7 +40481,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC const *__pyx_v_uc, str } } - /* "pyrfc/_cyrfc.pyx":3095 + /* "pyrfc/_cyrfc.pyx":3096 * return utf8[:result_len].decode() * finally: * free(utf8) # <<<<<<<<<<<<<< @@ -40534,7 +40534,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC const *__pyx_v_uc, str } } - /* "pyrfc/_cyrfc.pyx":3073 + /* "pyrfc/_cyrfc.pyx":3074 * ) * * cdef wrapString(const SAP_UC* uc, uclen=-1, rstrip=False): # <<<<<<<<<<<<<< @@ -40557,7 +40557,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC const *__pyx_v_uc, str return __pyx_r; } -/* "pyrfc/_cyrfc.pyx":3097 +/* "pyrfc/_cyrfc.pyx":3098 * free(utf8) * * cdef wrapString(SAP_UC* uc, uclen=-1, rstrip=True): # <<<<<<<<<<<<<< @@ -40604,32 +40604,32 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC *__pyx_v_uc, struct __ } __Pyx_INCREF(__pyx_v_uclen); - /* "pyrfc/_cyrfc.pyx":3100 + /* "pyrfc/_cyrfc.pyx":3101 * cdef RFC_RC rc * cdef RFC_ERROR_INFO errorInfo * if uclen == -1: # <<<<<<<<<<<<<< * uclen = strlenU(uc) * if uclen == 0: */ - __pyx_t_1 = __Pyx_PyInt_EqObjC(__pyx_v_uclen, __pyx_int_neg_1, -1L, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3100, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_EqObjC(__pyx_v_uclen, __pyx_int_neg_1, -1L, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3101, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 3100, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 3101, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":3101 + /* "pyrfc/_cyrfc.pyx":3102 * cdef RFC_ERROR_INFO errorInfo * if uclen == -1: * uclen = strlenU(uc) # <<<<<<<<<<<<<< * if uclen == 0: * return '' */ - __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(strlenU(__pyx_v_uc)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3101, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_unsigned_int(strlenU(__pyx_v_uc)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3102, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF_SET(__pyx_v_uclen, __pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":3100 + /* "pyrfc/_cyrfc.pyx":3101 * cdef RFC_RC rc * cdef RFC_ERROR_INFO errorInfo * if uclen == -1: # <<<<<<<<<<<<<< @@ -40638,20 +40638,20 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC *__pyx_v_uc, struct __ */ } - /* "pyrfc/_cyrfc.pyx":3102 + /* "pyrfc/_cyrfc.pyx":3103 * if uclen == -1: * uclen = strlenU(uc) * if uclen == 0: # <<<<<<<<<<<<<< * return '' * cdef unsigned utf8_size = uclen * 5 + 1 */ - __pyx_t_1 = __Pyx_PyInt_EqObjC(__pyx_v_uclen, __pyx_int_0, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3102, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_EqObjC(__pyx_v_uclen, __pyx_int_0, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3103, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 3102, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 3103, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":3103 + /* "pyrfc/_cyrfc.pyx":3104 * uclen = strlenU(uc) * if uclen == 0: * return '' # <<<<<<<<<<<<<< @@ -40663,7 +40663,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC *__pyx_v_uc, struct __ __pyx_r = __pyx_kp_u__5; goto __pyx_L0; - /* "pyrfc/_cyrfc.pyx":3102 + /* "pyrfc/_cyrfc.pyx":3103 * if uclen == -1: * uclen = strlenU(uc) * if uclen == 0: # <<<<<<<<<<<<<< @@ -40672,23 +40672,23 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC *__pyx_v_uc, struct __ */ } - /* "pyrfc/_cyrfc.pyx":3104 + /* "pyrfc/_cyrfc.pyx":3105 * if uclen == 0: * return '' * cdef unsigned utf8_size = uclen * 5 + 1 # <<<<<<<<<<<<<< * cdef char *utf8 = malloc(utf8_size) * utf8[0] = 0 */ - __pyx_t_1 = PyNumber_Multiply(__pyx_v_uclen, __pyx_int_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3104, __pyx_L1_error) + __pyx_t_1 = PyNumber_Multiply(__pyx_v_uclen, __pyx_int_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3105, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_AddObjC(__pyx_t_1, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3104, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_AddObjC(__pyx_t_1, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3105, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_4 = __Pyx_PyInt_As_unsigned_int(__pyx_t_3); if (unlikely((__pyx_t_4 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 3104, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_As_unsigned_int(__pyx_t_3); if (unlikely((__pyx_t_4 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 3105, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_v_utf8_size = __pyx_t_4; - /* "pyrfc/_cyrfc.pyx":3105 + /* "pyrfc/_cyrfc.pyx":3106 * return '' * cdef unsigned utf8_size = uclen * 5 + 1 * cdef char *utf8 = malloc(utf8_size) # <<<<<<<<<<<<<< @@ -40697,7 +40697,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC *__pyx_v_uc, struct __ */ __pyx_v_utf8 = ((char *)malloc(__pyx_v_utf8_size)); - /* "pyrfc/_cyrfc.pyx":3106 + /* "pyrfc/_cyrfc.pyx":3107 * cdef unsigned utf8_size = uclen * 5 + 1 * cdef char *utf8 = malloc(utf8_size) * utf8[0] = 0 # <<<<<<<<<<<<<< @@ -40706,7 +40706,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC *__pyx_v_uc, struct __ */ (__pyx_v_utf8[0]) = 0; - /* "pyrfc/_cyrfc.pyx":3107 + /* "pyrfc/_cyrfc.pyx":3108 * cdef char *utf8 = malloc(utf8_size) * utf8[0] = 0 * cdef unsigned result_len = 0 # <<<<<<<<<<<<<< @@ -40715,17 +40715,17 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC *__pyx_v_uc, struct __ */ __pyx_v_result_len = 0; - /* "pyrfc/_cyrfc.pyx":3108 + /* "pyrfc/_cyrfc.pyx":3109 * utf8[0] = 0 * cdef unsigned result_len = 0 * rc = RfcSAPUCToUTF8(uc, uclen, utf8, &utf8_size, &result_len, &errorInfo) # <<<<<<<<<<<<<< * if rc != RFC_OK: * # raise wrapError(&errorInfo) */ - __pyx_t_4 = __Pyx_PyInt_As_unsigned_int(__pyx_v_uclen); if (unlikely((__pyx_t_4 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 3108, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_As_unsigned_int(__pyx_v_uclen); if (unlikely((__pyx_t_4 == (unsigned int)-1) && PyErr_Occurred())) __PYX_ERR(0, 3109, __pyx_L1_error) __pyx_v_rc = RfcSAPUCToUTF8(__pyx_v_uc, __pyx_t_4, ((RFC_BYTE *)__pyx_v_utf8), (&__pyx_v_utf8_size), (&__pyx_v_result_len), (&__pyx_v_errorInfo)); - /* "pyrfc/_cyrfc.pyx":3109 + /* "pyrfc/_cyrfc.pyx":3110 * cdef unsigned result_len = 0 * rc = RfcSAPUCToUTF8(uc, uclen, utf8, &utf8_size, &result_len, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -40735,18 +40735,18 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC *__pyx_v_uc, struct __ __pyx_t_2 = ((__pyx_v_rc != RFC_OK) != 0); if (unlikely(__pyx_t_2)) { - /* "pyrfc/_cyrfc.pyx":3111 + /* "pyrfc/_cyrfc.pyx":3112 * if rc != RFC_OK: * # raise wrapError(&errorInfo) * raise RFCError('wrapString uclen: %u utf8_size: %u' % (uclen, utf8_size)) # <<<<<<<<<<<<<< * utf8[result_len] = 0 * try: */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3111, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_RFCError); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3112, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyInt_From_unsigned_int(__pyx_v_utf8_size); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 3111, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_unsigned_int(__pyx_v_utf8_size); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 3112, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 3111, __pyx_L1_error) + __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 3112, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_INCREF(__pyx_v_uclen); __Pyx_GIVEREF(__pyx_v_uclen); @@ -40754,7 +40754,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC *__pyx_v_uc, struct __ __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_5); __pyx_t_5 = 0; - __pyx_t_5 = PyUnicode_Format(__pyx_kp_u_wrapString_uclen_u_utf8_size_u, __pyx_t_6); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 3111, __pyx_L1_error) + __pyx_t_5 = PyUnicode_Format(__pyx_kp_u_wrapString_uclen_u_utf8_size_u, __pyx_t_6); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 3112, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_6 = NULL; @@ -40770,14 +40770,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC *__pyx_v_uc, struct __ __pyx_t_3 = (__pyx_t_6) ? __Pyx_PyObject_Call2Args(__pyx_t_1, __pyx_t_6, __pyx_t_5) : __Pyx_PyObject_CallOneArg(__pyx_t_1, __pyx_t_5); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3111, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3112, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 3111, __pyx_L1_error) + __PYX_ERR(0, 3112, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":3109 + /* "pyrfc/_cyrfc.pyx":3110 * cdef unsigned result_len = 0 * rc = RfcSAPUCToUTF8(uc, uclen, utf8, &utf8_size, &result_len, &errorInfo) * if rc != RFC_OK: # <<<<<<<<<<<<<< @@ -40786,7 +40786,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC *__pyx_v_uc, struct __ */ } - /* "pyrfc/_cyrfc.pyx":3112 + /* "pyrfc/_cyrfc.pyx":3113 * # raise wrapError(&errorInfo) * raise RFCError('wrapString uclen: %u utf8_size: %u' % (uclen, utf8_size)) * utf8[result_len] = 0 # <<<<<<<<<<<<<< @@ -40795,7 +40795,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC *__pyx_v_uc, struct __ */ (__pyx_v_utf8[__pyx_v_result_len]) = 0; - /* "pyrfc/_cyrfc.pyx":3113 + /* "pyrfc/_cyrfc.pyx":3114 * raise RFCError('wrapString uclen: %u utf8_size: %u' % (uclen, utf8_size)) * utf8[result_len] = 0 * try: # <<<<<<<<<<<<<< @@ -40804,17 +40804,17 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC *__pyx_v_uc, struct __ */ /*try:*/ { - /* "pyrfc/_cyrfc.pyx":3114 + /* "pyrfc/_cyrfc.pyx":3115 * utf8[result_len] = 0 * try: * if rstrip: # <<<<<<<<<<<<<< * return utf8[:result_len].rstrip().decode() * else: */ - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_rstrip); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 3114, __pyx_L7_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_rstrip); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 3115, __pyx_L7_error) if (__pyx_t_2) { - /* "pyrfc/_cyrfc.pyx":3115 + /* "pyrfc/_cyrfc.pyx":3116 * try: * if rstrip: * return utf8[:result_len].rstrip().decode() # <<<<<<<<<<<<<< @@ -40822,9 +40822,9 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC *__pyx_v_uc, struct __ * return utf8[:result_len].decode() */ __Pyx_XDECREF(__pyx_r); - __pyx_t_5 = __Pyx_PyBytes_FromStringAndSize(__pyx_v_utf8 + 0, __pyx_v_result_len - 0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 3115, __pyx_L7_error) + __pyx_t_5 = __Pyx_PyBytes_FromStringAndSize(__pyx_v_utf8 + 0, __pyx_v_result_len - 0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 3116, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 3115, __pyx_L7_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_rstrip); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 3116, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_5 = NULL; @@ -40839,10 +40839,10 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC *__pyx_v_uc, struct __ } __pyx_t_1 = (__pyx_t_5) ? __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_5) : __Pyx_PyObject_CallNoArg(__pyx_t_6); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3115, __pyx_L7_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3116, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_decode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 3115, __pyx_L7_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_decode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 3116, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_1 = NULL; @@ -40857,14 +40857,14 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC *__pyx_v_uc, struct __ } __pyx_t_3 = (__pyx_t_1) ? __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_1) : __Pyx_PyObject_CallNoArg(__pyx_t_6); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3115, __pyx_L7_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3116, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_r = __pyx_t_3; __pyx_t_3 = 0; goto __pyx_L6_return; - /* "pyrfc/_cyrfc.pyx":3114 + /* "pyrfc/_cyrfc.pyx":3115 * utf8[result_len] = 0 * try: * if rstrip: # <<<<<<<<<<<<<< @@ -40873,7 +40873,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC *__pyx_v_uc, struct __ */ } - /* "pyrfc/_cyrfc.pyx":3117 + /* "pyrfc/_cyrfc.pyx":3118 * return utf8[:result_len].rstrip().decode() * else: * return utf8[:result_len].decode() # <<<<<<<<<<<<<< @@ -40882,7 +40882,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC *__pyx_v_uc, struct __ */ /*else*/ { __Pyx_XDECREF(__pyx_r); - __pyx_t_3 = __Pyx_decode_c_string(__pyx_v_utf8, 0, __pyx_v_result_len, NULL, NULL, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3117, __pyx_L7_error) + __pyx_t_3 = __Pyx_decode_c_string(__pyx_v_utf8, 0, __pyx_v_result_len, NULL, NULL, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3118, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_3); __pyx_r = __pyx_t_3; __pyx_t_3 = 0; @@ -40890,7 +40890,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC *__pyx_v_uc, struct __ } } - /* "pyrfc/_cyrfc.pyx":3119 + /* "pyrfc/_cyrfc.pyx":3120 * return utf8[:result_len].decode() * finally: * free(utf8) # <<<<<<<<<<<<<< @@ -40941,7 +40941,7 @@ static PyObject *__pyx_f_5pyrfc_6_cyrfc_wrapString(SAP_UC *__pyx_v_uc, struct __ } } - /* "pyrfc/_cyrfc.pyx":3097 + /* "pyrfc/_cyrfc.pyx":3098 * free(utf8) * * cdef wrapString(SAP_UC* uc, uclen=-1, rstrip=True): # <<<<<<<<<<<<<< @@ -42898,12 +42898,12 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = { {0, 0, 0, 0, 0, 0, 0} }; static CYTHON_SMALL_CODE int __Pyx_InitCachedBuiltins(void) { - __pyx_builtin_object = __Pyx_GetBuiltinName(__pyx_n_s_object); if (!__pyx_builtin_object) __PYX_ERR(0, 312, __pyx_L1_error) - __pyx_builtin_staticmethod = __Pyx_GetBuiltinName(__pyx_n_s_staticmethod); if (!__pyx_builtin_staticmethod) __PYX_ERR(0, 2231, __pyx_L1_error) - __pyx_builtin_TypeError = __Pyx_GetBuiltinName(__pyx_n_s_TypeError); if (!__pyx_builtin_TypeError) __PYX_ERR(0, 132, __pyx_L1_error) - __pyx_builtin_range = __Pyx_GetBuiltinName(__pyx_n_s_range); if (!__pyx_builtin_range) __PYX_ERR(0, 301, __pyx_L1_error) - __pyx_builtin_enumerate = __Pyx_GetBuiltinName(__pyx_n_s_enumerate); if (!__pyx_builtin_enumerate) __PYX_ERR(0, 1145, __pyx_L1_error) - __pyx_builtin_print = __Pyx_GetBuiltinName(__pyx_n_s_print); if (!__pyx_builtin_print) __PYX_ERR(0, 1243, __pyx_L1_error) + __pyx_builtin_object = __Pyx_GetBuiltinName(__pyx_n_s_object); if (!__pyx_builtin_object) __PYX_ERR(0, 313, __pyx_L1_error) + __pyx_builtin_staticmethod = __Pyx_GetBuiltinName(__pyx_n_s_staticmethod); if (!__pyx_builtin_staticmethod) __PYX_ERR(0, 2232, __pyx_L1_error) + __pyx_builtin_TypeError = __Pyx_GetBuiltinName(__pyx_n_s_TypeError); if (!__pyx_builtin_TypeError) __PYX_ERR(0, 133, __pyx_L1_error) + __pyx_builtin_range = __Pyx_GetBuiltinName(__pyx_n_s_range); if (!__pyx_builtin_range) __PYX_ERR(0, 302, __pyx_L1_error) + __pyx_builtin_enumerate = __Pyx_GetBuiltinName(__pyx_n_s_enumerate); if (!__pyx_builtin_enumerate) __PYX_ERR(0, 1146, __pyx_L1_error) + __pyx_builtin_print = __Pyx_GetBuiltinName(__pyx_n_s_print); if (!__pyx_builtin_print) __PYX_ERR(0, 1244, __pyx_L1_error) return 0; __pyx_L1_error:; return -1; @@ -42932,157 +42932,157 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { __Pyx_GOTREF(__pyx_tuple__2); __Pyx_GIVEREF(__pyx_tuple__2); - /* "pyrfc/_cyrfc.pyx":460 + /* "pyrfc/_cyrfc.pyx":461 * raise TypeError(f"'default_value' (string) '{default_value}' must not exceed 30 chars.") * if len(parameter_text)>79: * raise TypeError("'parameter_text' (string) '{parameter_text}' must not exceed 79 chars.") # <<<<<<<<<<<<<< * self.parameters.append({ * 'name': name, */ - __pyx_tuple__7 = PyTuple_Pack(1, __pyx_kp_u_parameter_text_string_parameter); if (unlikely(!__pyx_tuple__7)) __PYX_ERR(0, 460, __pyx_L1_error) + __pyx_tuple__7 = PyTuple_Pack(1, __pyx_kp_u_parameter_text_string_parameter); if (unlikely(!__pyx_tuple__7)) __PYX_ERR(0, 461, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__7); __Pyx_GIVEREF(__pyx_tuple__7); - /* "pyrfc/_cyrfc.pyx":599 + /* "pyrfc/_cyrfc.pyx":600 * raise RFCError(f"Connection configuration option '{k}' is not supported") * self.__config = {} * self.__config['dtime'] = config.get('dtime', False) # <<<<<<<<<<<<<< * self.__config['return_import_params'] = config.get('return_import_params', False) * self.__config['rstrip'] = config.get('rstrip', True) */ - __pyx_tuple__8 = PyTuple_Pack(2, __pyx_n_u_dtime, Py_False); if (unlikely(!__pyx_tuple__8)) __PYX_ERR(0, 599, __pyx_L1_error) + __pyx_tuple__8 = PyTuple_Pack(2, __pyx_n_u_dtime, Py_False); if (unlikely(!__pyx_tuple__8)) __PYX_ERR(0, 600, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__8); __Pyx_GIVEREF(__pyx_tuple__8); - /* "pyrfc/_cyrfc.pyx":600 + /* "pyrfc/_cyrfc.pyx":601 * self.__config = {} * self.__config['dtime'] = config.get('dtime', False) * self.__config['return_import_params'] = config.get('return_import_params', False) # <<<<<<<<<<<<<< * self.__config['rstrip'] = config.get('rstrip', True) * self.__config['timeout'] = config.get('timeout', None) */ - __pyx_tuple__9 = PyTuple_Pack(2, __pyx_n_u_return_import_params, Py_False); if (unlikely(!__pyx_tuple__9)) __PYX_ERR(0, 600, __pyx_L1_error) + __pyx_tuple__9 = PyTuple_Pack(2, __pyx_n_u_return_import_params, Py_False); if (unlikely(!__pyx_tuple__9)) __PYX_ERR(0, 601, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__9); __Pyx_GIVEREF(__pyx_tuple__9); - /* "pyrfc/_cyrfc.pyx":601 + /* "pyrfc/_cyrfc.pyx":602 * self.__config['dtime'] = config.get('dtime', False) * self.__config['return_import_params'] = config.get('return_import_params', False) * self.__config['rstrip'] = config.get('rstrip', True) # <<<<<<<<<<<<<< * self.__config['timeout'] = config.get('timeout', None) * */ - __pyx_tuple__10 = PyTuple_Pack(2, __pyx_n_u_rstrip, Py_True); if (unlikely(!__pyx_tuple__10)) __PYX_ERR(0, 601, __pyx_L1_error) + __pyx_tuple__10 = PyTuple_Pack(2, __pyx_n_u_rstrip, Py_True); if (unlikely(!__pyx_tuple__10)) __PYX_ERR(0, 602, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__10); __Pyx_GIVEREF(__pyx_tuple__10); - /* "pyrfc/_cyrfc.pyx":602 + /* "pyrfc/_cyrfc.pyx":603 * self.__config['return_import_params'] = config.get('return_import_params', False) * self.__config['rstrip'] = config.get('rstrip', True) * self.__config['timeout'] = config.get('timeout', None) # <<<<<<<<<<<<<< * * # set internal configuration */ - __pyx_tuple__11 = PyTuple_Pack(2, __pyx_n_u_timeout, Py_None); if (unlikely(!__pyx_tuple__11)) __PYX_ERR(0, 602, __pyx_L1_error) + __pyx_tuple__11 = PyTuple_Pack(2, __pyx_n_u_timeout, Py_None); if (unlikely(!__pyx_tuple__11)) __PYX_ERR(0, 603, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__11); __Pyx_GIVEREF(__pyx_tuple__11); - /* "pyrfc/_cyrfc.pyx":1190 + /* "pyrfc/_cyrfc.pyx":1191 * if 'user' in attributes and attributes['user'] is not None: * # (SAP_UC[12+1]) Sender User (optional). Default is current operating system User. * sapuc = fillString(attributes['user'][0:12]) # <<<<<<<<<<<<<< * strncpyU(unitAttr.user, sapuc, len(attributes['user'][0:12]) + 1) * free(sapuc) */ - __pyx_slice__12 = PySlice_New(__pyx_int_0, __pyx_int_12, Py_None); if (unlikely(!__pyx_slice__12)) __PYX_ERR(0, 1190, __pyx_L1_error) + __pyx_slice__12 = PySlice_New(__pyx_int_0, __pyx_int_12, Py_None); if (unlikely(!__pyx_slice__12)) __PYX_ERR(0, 1191, __pyx_L1_error) __Pyx_GOTREF(__pyx_slice__12); __Pyx_GIVEREF(__pyx_slice__12); - /* "pyrfc/_cyrfc.pyx":1195 + /* "pyrfc/_cyrfc.pyx":1196 * if 'client' in attributes: * # (SAP_UC[3+1]) Sender Client ("Mandant") (optional). Default is "000". * sapuc = fillString(attributes['client'][0:3]) # <<<<<<<<<<<<<< * strncpyU(unitAttr.client, sapuc, len(attributes['client'][0:3]) + 1) * free(sapuc) */ - __pyx_slice__13 = PySlice_New(__pyx_int_0, __pyx_int_3, Py_None); if (unlikely(!__pyx_slice__13)) __PYX_ERR(0, 1195, __pyx_L1_error) + __pyx_slice__13 = PySlice_New(__pyx_int_0, __pyx_int_3, Py_None); if (unlikely(!__pyx_slice__13)) __PYX_ERR(0, 1196, __pyx_L1_error) __Pyx_GOTREF(__pyx_slice__13); __Pyx_GIVEREF(__pyx_slice__13); - /* "pyrfc/_cyrfc.pyx":1200 + /* "pyrfc/_cyrfc.pyx":1201 * if 't_code' in attributes: * # (SAP_UC[20+1]) Sender Transaction Code (optional). Default is "". * sapuc = fillString(attributes['t_code'][0:20]) # <<<<<<<<<<<<<< * strncpyU(unitAttr.tCode, sapuc, len(attributes['t_code'][0:20]) + 1) * free(sapuc) */ - __pyx_slice__14 = PySlice_New(__pyx_int_0, __pyx_int_20, Py_None); if (unlikely(!__pyx_slice__14)) __PYX_ERR(0, 1200, __pyx_L1_error) + __pyx_slice__14 = PySlice_New(__pyx_int_0, __pyx_int_20, Py_None); if (unlikely(!__pyx_slice__14)) __PYX_ERR(0, 1201, __pyx_L1_error) __Pyx_GOTREF(__pyx_slice__14); __Pyx_GIVEREF(__pyx_slice__14); - /* "pyrfc/_cyrfc.pyx":1205 + /* "pyrfc/_cyrfc.pyx":1206 * if 'program' in attributes and attributes['program'] is not None: * # (SAP_UC[40+1]) Sender Program (optional). Default is current executable name. * sapuc = fillString(attributes['program'][0:40]) # <<<<<<<<<<<<<< * strncpyU(unitAttr.program, sapuc, len(attributes['program'][0:40]) + 1) * free(sapuc) */ - __pyx_slice__15 = PySlice_New(__pyx_int_0, __pyx_int_40, Py_None); if (unlikely(!__pyx_slice__15)) __PYX_ERR(0, 1205, __pyx_L1_error) + __pyx_slice__15 = PySlice_New(__pyx_int_0, __pyx_int_40, Py_None); if (unlikely(!__pyx_slice__15)) __PYX_ERR(0, 1206, __pyx_L1_error) __Pyx_GOTREF(__pyx_slice__15); __Pyx_GIVEREF(__pyx_slice__15); - /* "pyrfc/_cyrfc.pyx":1243 + /* "pyrfc/_cyrfc.pyx":1244 * RfcDestroyFunction(funcCont, NULL) * # execute * print (" Invocation finished. submitting unit.") # <<<<<<<<<<<<<< * with nogil: * rc = RfcSubmitUnit(self._uHandle, &errorInfo) */ - __pyx_tuple__16 = PyTuple_Pack(1, __pyx_kp_u_Invocation_finished_submitting); if (unlikely(!__pyx_tuple__16)) __PYX_ERR(0, 1243, __pyx_L1_error) + __pyx_tuple__16 = PyTuple_Pack(1, __pyx_kp_u_Invocation_finished_submitting); if (unlikely(!__pyx_tuple__16)) __PYX_ERR(0, 1244, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__16); __Pyx_GIVEREF(__pyx_tuple__16); - /* "pyrfc/_cyrfc.pyx":1388 + /* "pyrfc/_cyrfc.pyx":1389 * * if type(unit) is not dict or 'id' not in unit or 'background' not in unit: * raise TypeError("Parameter 'unit' not valid. Please use initialize_unit() to retrieve a valid unit.") # <<<<<<<<<<<<<< * if not isinstance(calls, Iterable): * raise TypeError("Parameter 'calls' must be iterable.") */ - __pyx_tuple__17 = PyTuple_Pack(1, __pyx_kp_u_Parameter_unit_not_valid_Please); if (unlikely(!__pyx_tuple__17)) __PYX_ERR(0, 1388, __pyx_L1_error) + __pyx_tuple__17 = PyTuple_Pack(1, __pyx_kp_u_Parameter_unit_not_valid_Please); if (unlikely(!__pyx_tuple__17)) __PYX_ERR(0, 1389, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__17); __Pyx_GIVEREF(__pyx_tuple__17); - /* "pyrfc/_cyrfc.pyx":1390 + /* "pyrfc/_cyrfc.pyx":1391 * raise TypeError("Parameter 'unit' not valid. Please use initialize_unit() to retrieve a valid unit.") * if not isinstance(calls, Iterable): * raise TypeError("Parameter 'calls' must be iterable.") # <<<<<<<<<<<<<< * if len(calls)==0: * raise TypeError("Parameter 'calls' must contain at least on call description (func_name, params).") */ - __pyx_tuple__18 = PyTuple_Pack(1, __pyx_kp_u_Parameter_calls_must_be_iterable); if (unlikely(!__pyx_tuple__18)) __PYX_ERR(0, 1390, __pyx_L1_error) + __pyx_tuple__18 = PyTuple_Pack(1, __pyx_kp_u_Parameter_calls_must_be_iterable); if (unlikely(!__pyx_tuple__18)) __PYX_ERR(0, 1391, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__18); __Pyx_GIVEREF(__pyx_tuple__18); - /* "pyrfc/_cyrfc.pyx":1392 + /* "pyrfc/_cyrfc.pyx":1393 * raise TypeError("Parameter 'calls' must be iterable.") * if len(calls)==0: * raise TypeError("Parameter 'calls' must contain at least on call description (func_name, params).") # <<<<<<<<<<<<<< * for func_name, params in calls: * if type(func_name) is not str or type(params) is not dict: */ - __pyx_tuple__19 = PyTuple_Pack(1, __pyx_kp_u_Parameter_calls_must_contain_at); if (unlikely(!__pyx_tuple__19)) __PYX_ERR(0, 1392, __pyx_L1_error) + __pyx_tuple__19 = PyTuple_Pack(1, __pyx_kp_u_Parameter_calls_must_contain_at); if (unlikely(!__pyx_tuple__19)) __PYX_ERR(0, 1393, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__19); __Pyx_GIVEREF(__pyx_tuple__19); - /* "pyrfc/_cyrfc.pyx":1395 + /* "pyrfc/_cyrfc.pyx":1396 * for func_name, params in calls: * if type(func_name) is not str or type(params) is not dict: * raise TypeError("Parameter 'calls' must contain valid call descriptions (func_name, params dict).") # <<<<<<<<<<<<<< * if self.active_unit: * raise RFCError("There is an active unit for this connection. " */ - __pyx_tuple__20 = PyTuple_Pack(1, __pyx_kp_u_Parameter_calls_must_contain_val); if (unlikely(!__pyx_tuple__20)) __PYX_ERR(0, 1395, __pyx_L1_error) + __pyx_tuple__20 = PyTuple_Pack(1, __pyx_kp_u_Parameter_calls_must_contain_val); if (unlikely(!__pyx_tuple__20)) __PYX_ERR(0, 1396, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__20); __Pyx_GIVEREF(__pyx_tuple__20); @@ -43124,47 +43124,47 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { __Pyx_GOTREF(__pyx_tuple__27); __Pyx_GIVEREF(__pyx_tuple__27); - /* "pyrfc/_cyrfc.pyx":1705 + /* "pyrfc/_cyrfc.pyx":1706 * return RFC_ABAP_EXCEPTION * except Exception as ex: * exctype, value = exc_info()[:2] # <<<<<<<<<<<<<< * _server_log( * "genericHandler", */ - __pyx_slice__30 = PySlice_New(Py_None, __pyx_int_2, Py_None); if (unlikely(!__pyx_slice__30)) __PYX_ERR(0, 1705, __pyx_L1_error) + __pyx_slice__30 = PySlice_New(Py_None, __pyx_int_2, Py_None); if (unlikely(!__pyx_slice__30)) __PYX_ERR(0, 1706, __pyx_L1_error) __Pyx_GOTREF(__pyx_slice__30); __Pyx_GIVEREF(__pyx_slice__30); - /* "pyrfc/_cyrfc.pyx":1772 + /* "pyrfc/_cyrfc.pyx":1773 * # config parsing * config = config or {} * self.debug = config.get('debug', False) # <<<<<<<<<<<<<< * self.rstrip = config.get('rstrip', True) * server_context["server_log"] = config.get("server_log", False) */ - __pyx_tuple__31 = PyTuple_Pack(2, __pyx_n_u_debug, Py_False); if (unlikely(!__pyx_tuple__31)) __PYX_ERR(0, 1772, __pyx_L1_error) + __pyx_tuple__31 = PyTuple_Pack(2, __pyx_n_u_debug, Py_False); if (unlikely(!__pyx_tuple__31)) __PYX_ERR(0, 1773, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__31); __Pyx_GIVEREF(__pyx_tuple__31); - /* "pyrfc/_cyrfc.pyx":1774 + /* "pyrfc/_cyrfc.pyx":1775 * self.debug = config.get('debug', False) * self.rstrip = config.get('rstrip', True) * server_context["server_log"] = config.get("server_log", False) # <<<<<<<<<<<<<< * server_context["auth_check"] = config.get("auth_check", default_auth_check) * server_context["port"] = config.get("port", 8080) */ - __pyx_tuple__32 = PyTuple_Pack(2, __pyx_n_u_server_log_2, Py_False); if (unlikely(!__pyx_tuple__32)) __PYX_ERR(0, 1774, __pyx_L1_error) + __pyx_tuple__32 = PyTuple_Pack(2, __pyx_n_u_server_log_2, Py_False); if (unlikely(!__pyx_tuple__32)) __PYX_ERR(0, 1775, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__32); __Pyx_GIVEREF(__pyx_tuple__32); - /* "pyrfc/_cyrfc.pyx":1776 + /* "pyrfc/_cyrfc.pyx":1777 * server_context["server_log"] = config.get("server_log", False) * server_context["auth_check"] = config.get("auth_check", default_auth_check) * server_context["port"] = config.get("port", 8080) # <<<<<<<<<<<<<< * * self._client_connection = Connection(**client_params) */ - __pyx_tuple__33 = PyTuple_Pack(2, __pyx_n_u_port, __pyx_int_8080); if (unlikely(!__pyx_tuple__33)) __PYX_ERR(0, 1776, __pyx_L1_error) + __pyx_tuple__33 = PyTuple_Pack(2, __pyx_n_u_port, __pyx_int_8080); if (unlikely(!__pyx_tuple__33)) __PYX_ERR(0, 1777, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__33); __Pyx_GIVEREF(__pyx_tuple__33); @@ -43206,89 +43206,89 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { __Pyx_GOTREF(__pyx_tuple__37); __Pyx_GIVEREF(__pyx_tuple__37); - /* "pyrfc/_cyrfc.pyx":2512 + /* "pyrfc/_cyrfc.pyx":2513 * else: * if len(value.rstrip()) > 0: * date(int(value[:4]), int(value[4:6]), int(value[6:8])) # <<<<<<<<<<<<<< * cValue = fillString(value) * except Exception as ex: */ - __pyx_slice__38 = PySlice_New(Py_None, __pyx_int_4, Py_None); if (unlikely(!__pyx_slice__38)) __PYX_ERR(0, 2512, __pyx_L1_error) + __pyx_slice__38 = PySlice_New(Py_None, __pyx_int_4, Py_None); if (unlikely(!__pyx_slice__38)) __PYX_ERR(0, 2513, __pyx_L1_error) __Pyx_GOTREF(__pyx_slice__38); __Pyx_GIVEREF(__pyx_slice__38); - __pyx_slice__39 = PySlice_New(__pyx_int_4, __pyx_int_6, Py_None); if (unlikely(!__pyx_slice__39)) __PYX_ERR(0, 2512, __pyx_L1_error) + __pyx_slice__39 = PySlice_New(__pyx_int_4, __pyx_int_6, Py_None); if (unlikely(!__pyx_slice__39)) __PYX_ERR(0, 2513, __pyx_L1_error) __Pyx_GOTREF(__pyx_slice__39); __Pyx_GIVEREF(__pyx_slice__39); - __pyx_slice__40 = PySlice_New(__pyx_int_6, __pyx_int_8, Py_None); if (unlikely(!__pyx_slice__40)) __PYX_ERR(0, 2512, __pyx_L1_error) + __pyx_slice__40 = PySlice_New(__pyx_int_6, __pyx_int_8, Py_None); if (unlikely(!__pyx_slice__40)) __PYX_ERR(0, 2513, __pyx_L1_error) __Pyx_GOTREF(__pyx_slice__40); __Pyx_GIVEREF(__pyx_slice__40); - /* "pyrfc/_cyrfc.pyx":2533 + /* "pyrfc/_cyrfc.pyx":2534 * else: * if len(value.rstrip()) > 0: * time(int(value[:2]), int(value[2:4]), int(value[4:6])) # <<<<<<<<<<<<<< * cValue = fillString(value) * except Exception as ex: */ - __pyx_slice__41 = PySlice_New(__pyx_int_2, __pyx_int_4, Py_None); if (unlikely(!__pyx_slice__41)) __PYX_ERR(0, 2533, __pyx_L1_error) + __pyx_slice__41 = PySlice_New(__pyx_int_2, __pyx_int_4, Py_None); if (unlikely(!__pyx_slice__41)) __PYX_ERR(0, 2534, __pyx_L1_error) __Pyx_GOTREF(__pyx_slice__41); __Pyx_GIVEREF(__pyx_slice__41); - /* "pyrfc/_cyrfc.pyx":2578 + /* "pyrfc/_cyrfc.pyx":2579 * if exception.message: # fixed length, exactly 512 chars * # str = exception.message[0:512].ljust(512) * str = exception.message[0:512] # <<<<<<<<<<<<<< * sapuc = fillString(str) * strncpyU(errorInfo.message, sapuc, min(len(str)+1, 512)) */ - __pyx_slice__42 = PySlice_New(__pyx_int_0, __pyx_int_512, Py_None); if (unlikely(!__pyx_slice__42)) __PYX_ERR(0, 2578, __pyx_L1_error) + __pyx_slice__42 = PySlice_New(__pyx_int_0, __pyx_int_512, Py_None); if (unlikely(!__pyx_slice__42)) __PYX_ERR(0, 2579, __pyx_L1_error) __Pyx_GOTREF(__pyx_slice__42); __Pyx_GIVEREF(__pyx_slice__42); - /* "pyrfc/_cyrfc.pyx":2584 + /* "pyrfc/_cyrfc.pyx":2585 * errorInfo.code = exception.code if exception.code else RFC_UNKNOWN_ERROR * if exception.key: # fixed length, exactly 128 chars * str = exception.key[0:128] # <<<<<<<<<<<<<< * sapuc = fillString(str) * strncpyU(errorInfo.key, sapuc, min(len(str)+1, 128)) */ - __pyx_slice__43 = PySlice_New(__pyx_int_0, __pyx_int_128, Py_None); if (unlikely(!__pyx_slice__43)) __PYX_ERR(0, 2584, __pyx_L1_error) + __pyx_slice__43 = PySlice_New(__pyx_int_0, __pyx_int_128, Py_None); if (unlikely(!__pyx_slice__43)) __PYX_ERR(0, 2585, __pyx_L1_error) __Pyx_GOTREF(__pyx_slice__43); __Pyx_GIVEREF(__pyx_slice__43); - /* "pyrfc/_cyrfc.pyx":2593 + /* "pyrfc/_cyrfc.pyx":2594 * free(sapuc) * if exception.msg_type: * sapuc = fillString(exception.msg_type[0:1]) # <<<<<<<<<<<<<< * strncpyU(errorInfo.abapMsgType, sapuc, len(exception.msg_type[0:1]) + 1) * free(sapuc) */ - __pyx_slice__44 = PySlice_New(__pyx_int_0, __pyx_int_1, Py_None); if (unlikely(!__pyx_slice__44)) __PYX_ERR(0, 2593, __pyx_L1_error) + __pyx_slice__44 = PySlice_New(__pyx_int_0, __pyx_int_1, Py_None); if (unlikely(!__pyx_slice__44)) __PYX_ERR(0, 2594, __pyx_L1_error) __Pyx_GOTREF(__pyx_slice__44); __Pyx_GIVEREF(__pyx_slice__44); - /* "pyrfc/_cyrfc.pyx":2601 + /* "pyrfc/_cyrfc.pyx":2602 * free(sapuc) * if exception.msg_v1: * sapuc = fillString(exception.msg_v1[0:50]) # <<<<<<<<<<<<<< * strncpyU(errorInfo.abapMsgV1, sapuc, len(exception.msg_v1[0:50]) + 1) * free(sapuc) */ - __pyx_slice__45 = PySlice_New(__pyx_int_0, __pyx_int_50, Py_None); if (unlikely(!__pyx_slice__45)) __PYX_ERR(0, 2601, __pyx_L1_error) + __pyx_slice__45 = PySlice_New(__pyx_int_0, __pyx_int_50, Py_None); if (unlikely(!__pyx_slice__45)) __PYX_ERR(0, 2602, __pyx_L1_error) __Pyx_GOTREF(__pyx_slice__45); __Pyx_GIVEREF(__pyx_slice__45); - /* "pyrfc/_cyrfc.pyx":3021 + /* "pyrfc/_cyrfc.pyx":3022 * utcValue = wrapString(stringValue, resultLen) * # replace the "," separator with "." * return utcValue[:19]+'.'+utcValue[20:] # <<<<<<<<<<<<<< * finally: * free(stringValue) */ - __pyx_slice__47 = PySlice_New(Py_None, __pyx_int_19, Py_None); if (unlikely(!__pyx_slice__47)) __PYX_ERR(0, 3021, __pyx_L1_error) + __pyx_slice__47 = PySlice_New(Py_None, __pyx_int_19, Py_None); if (unlikely(!__pyx_slice__47)) __PYX_ERR(0, 3022, __pyx_L1_error) __Pyx_GOTREF(__pyx_slice__47); __Pyx_GIVEREF(__pyx_slice__47); - __pyx_slice__48 = PySlice_New(__pyx_int_20, Py_None, Py_None); if (unlikely(!__pyx_slice__48)) __PYX_ERR(0, 3021, __pyx_L1_error) + __pyx_slice__48 = PySlice_New(__pyx_int_20, Py_None, Py_None); if (unlikely(!__pyx_slice__48)) __PYX_ERR(0, 3022, __pyx_L1_error) __Pyx_GOTREF(__pyx_slice__48); __Pyx_GIVEREF(__pyx_slice__48); @@ -43304,237 +43304,237 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { __Pyx_GIVEREF(__pyx_tuple__49); __pyx_codeobj__50 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__49, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_wrap, 65, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__50)) __PYX_ERR(1, 65, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":112 + /* "pyrfc/_cyrfc.pyx":113 * * * def get_nwrfclib_version(): # <<<<<<<<<<<<<< * """Get SAP NW RFC Lib version * :returns: tuple of major, minor and patch level and OS platform */ - __pyx_tuple__52 = PyTuple_Pack(3, __pyx_n_s_major, __pyx_n_s_minor, __pyx_n_s_patchlevel); if (unlikely(!__pyx_tuple__52)) __PYX_ERR(0, 112, __pyx_L1_error) + __pyx_tuple__52 = PyTuple_Pack(3, __pyx_n_s_major, __pyx_n_s_minor, __pyx_n_s_patchlevel); if (unlikely(!__pyx_tuple__52)) __PYX_ERR(0, 113, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__52); __Pyx_GIVEREF(__pyx_tuple__52); - __pyx_codeobj__53 = (PyObject*)__Pyx_PyCode_New(0, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__52, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_get_nwrfclib_version, 112, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__53)) __PYX_ERR(0, 112, __pyx_L1_error) + __pyx_codeobj__53 = (PyObject*)__Pyx_PyCode_New(0, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__52, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_get_nwrfclib_version, 113, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__53)) __PYX_ERR(0, 113, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":123 + /* "pyrfc/_cyrfc.pyx":124 * * * def set_ini_file_directory(path_name): # <<<<<<<<<<<<<< * """Sets the directory in which to search for the sapnwrfc.ini file * */ - __pyx_tuple__54 = PyTuple_Pack(4, __pyx_n_s_path_name, __pyx_n_s_errorInfo, __pyx_n_s_pathName, __pyx_n_s_rc); if (unlikely(!__pyx_tuple__54)) __PYX_ERR(0, 123, __pyx_L1_error) + __pyx_tuple__54 = PyTuple_Pack(4, __pyx_n_s_path_name, __pyx_n_s_errorInfo, __pyx_n_s_pathName, __pyx_n_s_rc); if (unlikely(!__pyx_tuple__54)) __PYX_ERR(0, 124, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__54); __Pyx_GIVEREF(__pyx_tuple__54); - __pyx_codeobj__55 = (PyObject*)__Pyx_PyCode_New(1, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__54, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_set_ini_file_directory, 123, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__55)) __PYX_ERR(0, 123, __pyx_L1_error) + __pyx_codeobj__55 = (PyObject*)__Pyx_PyCode_New(1, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__54, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_set_ini_file_directory, 124, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__55)) __PYX_ERR(0, 124, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":143 + /* "pyrfc/_cyrfc.pyx":144 * * * def reload_ini_file(): # <<<<<<<<<<<<<< * """Reloads the contents of the sapnwrfc.ini file into memory. * */ - __pyx_tuple__56 = PyTuple_Pack(2, __pyx_n_s_errorInfo, __pyx_n_s_rc); if (unlikely(!__pyx_tuple__56)) __PYX_ERR(0, 143, __pyx_L1_error) + __pyx_tuple__56 = PyTuple_Pack(2, __pyx_n_s_errorInfo, __pyx_n_s_rc); if (unlikely(!__pyx_tuple__56)) __PYX_ERR(0, 144, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__56); __Pyx_GIVEREF(__pyx_tuple__56); - __pyx_codeobj__57 = (PyObject*)__Pyx_PyCode_New(0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__56, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_reload_ini_file, 143, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__57)) __PYX_ERR(0, 143, __pyx_L1_error) + __pyx_codeobj__57 = (PyObject*)__Pyx_PyCode_New(0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__56, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_reload_ini_file, 144, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__57)) __PYX_ERR(0, 144, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":162 + /* "pyrfc/_cyrfc.pyx":163 * * * def language_iso_to_sap(lang_iso): # <<<<<<<<<<<<<< * """Language code conversion of ISO code to SAP code. * */ - __pyx_tuple__58 = PyTuple_Pack(5, __pyx_n_s_lang_iso, __pyx_n_s_uclang_iso, __pyx_n_s_uclang_sap, __pyx_n_s_errorInfo, __pyx_n_s_rc); if (unlikely(!__pyx_tuple__58)) __PYX_ERR(0, 162, __pyx_L1_error) + __pyx_tuple__58 = PyTuple_Pack(5, __pyx_n_s_lang_iso, __pyx_n_s_uclang_iso, __pyx_n_s_uclang_sap, __pyx_n_s_errorInfo, __pyx_n_s_rc); if (unlikely(!__pyx_tuple__58)) __PYX_ERR(0, 163, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__58); __Pyx_GIVEREF(__pyx_tuple__58); - __pyx_codeobj__59 = (PyObject*)__Pyx_PyCode_New(1, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__58, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_language_iso_to_sap, 162, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__59)) __PYX_ERR(0, 162, __pyx_L1_error) + __pyx_codeobj__59 = (PyObject*)__Pyx_PyCode_New(1, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__58, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_language_iso_to_sap, 163, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__59)) __PYX_ERR(0, 163, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":183 + /* "pyrfc/_cyrfc.pyx":184 * * * def language_sap_to_iso(lang_sap): # <<<<<<<<<<<<<< * """Language code conversion of SAP code to ISO code. * */ - __pyx_tuple__60 = PyTuple_Pack(5, __pyx_n_s_lang_sap, __pyx_n_s_uclang_sap, __pyx_n_s_uclang_iso, __pyx_n_s_errorInfo, __pyx_n_s_rc); if (unlikely(!__pyx_tuple__60)) __PYX_ERR(0, 183, __pyx_L1_error) + __pyx_tuple__60 = PyTuple_Pack(5, __pyx_n_s_lang_sap, __pyx_n_s_uclang_sap, __pyx_n_s_uclang_iso, __pyx_n_s_errorInfo, __pyx_n_s_rc); if (unlikely(!__pyx_tuple__60)) __PYX_ERR(0, 184, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__60); __Pyx_GIVEREF(__pyx_tuple__60); - __pyx_codeobj__61 = (PyObject*)__Pyx_PyCode_New(1, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__60, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_language_sap_to_iso, 183, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__61)) __PYX_ERR(0, 183, __pyx_L1_error) + __pyx_codeobj__61 = (PyObject*)__Pyx_PyCode_New(1, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__60, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_language_sap_to_iso, 184, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__61)) __PYX_ERR(0, 184, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":204 + /* "pyrfc/_cyrfc.pyx":205 * * * def set_cryptolib_path(path_name): # <<<<<<<<<<<<<< * """Sets the absolute path to the sapcrypto library to enable TLS encryption via Websocket Rfc. * */ - __pyx_tuple__62 = PyTuple_Pack(4, __pyx_n_s_path_name, __pyx_n_s_errorInfo, __pyx_n_s_pathName, __pyx_n_s_rc); if (unlikely(!__pyx_tuple__62)) __PYX_ERR(0, 204, __pyx_L1_error) + __pyx_tuple__62 = PyTuple_Pack(4, __pyx_n_s_path_name, __pyx_n_s_errorInfo, __pyx_n_s_pathName, __pyx_n_s_rc); if (unlikely(!__pyx_tuple__62)) __PYX_ERR(0, 205, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__62); __Pyx_GIVEREF(__pyx_tuple__62); - __pyx_codeobj__63 = (PyObject*)__Pyx_PyCode_New(1, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__62, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_set_cryptolib_path, 204, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__63)) __PYX_ERR(0, 204, __pyx_L1_error) + __pyx_codeobj__63 = (PyObject*)__Pyx_PyCode_New(1, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__62, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_set_cryptolib_path, 205, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__63)) __PYX_ERR(0, 205, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":228 + /* "pyrfc/_cyrfc.pyx":229 * * * def set_locale_radix(value=None): # <<<<<<<<<<<<<< * """Sets the locale radix for decimal conversions. * */ - __pyx_tuple__64 = PyTuple_Pack(1, __pyx_n_s_value); if (unlikely(!__pyx_tuple__64)) __PYX_ERR(0, 228, __pyx_L1_error) + __pyx_tuple__64 = PyTuple_Pack(1, __pyx_n_s_value); if (unlikely(!__pyx_tuple__64)) __PYX_ERR(0, 229, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__64); __Pyx_GIVEREF(__pyx_tuple__64); - __pyx_codeobj__65 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__64, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_set_locale_radix, 228, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__65)) __PYX_ERR(0, 228, __pyx_L1_error) + __pyx_codeobj__65 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__64, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_set_locale_radix, 229, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__65)) __PYX_ERR(0, 229, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":252 + /* "pyrfc/_cyrfc.pyx":253 * * * def cancel_connection(client_connection): # <<<<<<<<<<<<<< * """Immediately cancels the RFC call which is currently being called over the given RFC connection * and closes the connection. Can be used only on an RFC client connection. */ - __pyx_tuple__66 = PyTuple_Pack(1, __pyx_n_s_client_connection); if (unlikely(!__pyx_tuple__66)) __PYX_ERR(0, 252, __pyx_L1_error) + __pyx_tuple__66 = PyTuple_Pack(1, __pyx_n_s_client_connection); if (unlikely(!__pyx_tuple__66)) __PYX_ERR(0, 253, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__66); __Pyx_GIVEREF(__pyx_tuple__66); - __pyx_codeobj__67 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__66, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_cancel_connection, 252, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__67)) __PYX_ERR(0, 252, __pyx_L1_error) + __pyx_codeobj__67 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__66, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_cancel_connection, 253, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__67)) __PYX_ERR(0, 253, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":312 + /* "pyrfc/_cyrfc.pyx":313 * * * class TypeDescription(object): # <<<<<<<<<<<<<< * """ A type description * */ - __pyx_tuple__68 = PyTuple_Pack(1, __pyx_builtin_object); if (unlikely(!__pyx_tuple__68)) __PYX_ERR(0, 312, __pyx_L1_error) + __pyx_tuple__68 = PyTuple_Pack(1, __pyx_builtin_object); if (unlikely(!__pyx_tuple__68)) __PYX_ERR(0, 313, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__68); __Pyx_GIVEREF(__pyx_tuple__68); - /* "pyrfc/_cyrfc.pyx":337 + /* "pyrfc/_cyrfc.pyx":338 * * """ * def __init__(self, name, nuc_length, uc_length): # <<<<<<<<<<<<<< * self.fields = [] * if len(name)<1 or len(name)>30: */ - __pyx_tuple__69 = PyTuple_Pack(5, __pyx_n_s_self, __pyx_n_s_name, __pyx_n_s_nuc_length, __pyx_n_s_uc_length, __pyx_n_s_int_field); if (unlikely(!__pyx_tuple__69)) __PYX_ERR(0, 337, __pyx_L1_error) + __pyx_tuple__69 = PyTuple_Pack(5, __pyx_n_s_self, __pyx_n_s_name, __pyx_n_s_nuc_length, __pyx_n_s_uc_length, __pyx_n_s_int_field); if (unlikely(!__pyx_tuple__69)) __PYX_ERR(0, 338, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__69); __Pyx_GIVEREF(__pyx_tuple__69); - __pyx_codeobj__70 = (PyObject*)__Pyx_PyCode_New(4, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__69, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_init, 337, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__70)) __PYX_ERR(0, 337, __pyx_L1_error) + __pyx_codeobj__70 = (PyObject*)__Pyx_PyCode_New(4, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__69, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_init, 338, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__70)) __PYX_ERR(0, 338, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":348 + /* "pyrfc/_cyrfc.pyx":349 * self.uc_length = uc_length * * def add_field(self, name, field_type, nuc_length, uc_length, nuc_offset, # <<<<<<<<<<<<<< * uc_offset, decimals=0, type_description=None): * """ Adds a field to the type description. */ - __pyx_tuple__71 = PyTuple_Pack(10, __pyx_n_s_self, __pyx_n_s_name, __pyx_n_s_field_type, __pyx_n_s_nuc_length, __pyx_n_s_uc_length, __pyx_n_s_nuc_offset, __pyx_n_s_uc_offset, __pyx_n_s_decimals, __pyx_n_s_type_description, __pyx_n_s_int_field); if (unlikely(!__pyx_tuple__71)) __PYX_ERR(0, 348, __pyx_L1_error) + __pyx_tuple__71 = PyTuple_Pack(10, __pyx_n_s_self, __pyx_n_s_name, __pyx_n_s_field_type, __pyx_n_s_nuc_length, __pyx_n_s_uc_length, __pyx_n_s_nuc_offset, __pyx_n_s_uc_offset, __pyx_n_s_decimals, __pyx_n_s_type_description, __pyx_n_s_int_field); if (unlikely(!__pyx_tuple__71)) __PYX_ERR(0, 349, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__71); __Pyx_GIVEREF(__pyx_tuple__71); - __pyx_codeobj__72 = (PyObject*)__Pyx_PyCode_New(9, 0, 10, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__71, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_add_field, 348, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__72)) __PYX_ERR(0, 348, __pyx_L1_error) - __pyx_tuple__73 = PyTuple_Pack(2, ((PyObject *)__pyx_int_0), ((PyObject *)Py_None)); if (unlikely(!__pyx_tuple__73)) __PYX_ERR(0, 348, __pyx_L1_error) + __pyx_codeobj__72 = (PyObject*)__Pyx_PyCode_New(9, 0, 10, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__71, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_add_field, 349, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__72)) __PYX_ERR(0, 349, __pyx_L1_error) + __pyx_tuple__73 = PyTuple_Pack(2, ((PyObject *)__pyx_int_0), ((PyObject *)Py_None)); if (unlikely(!__pyx_tuple__73)) __PYX_ERR(0, 349, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__73); __Pyx_GIVEREF(__pyx_tuple__73); - /* "pyrfc/_cyrfc.pyx":389 + /* "pyrfc/_cyrfc.pyx":390 * }) * * def __repr__(self): # <<<<<<<<<<<<<< * return f"" */ - __pyx_tuple__74 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__74)) __PYX_ERR(0, 389, __pyx_L1_error) + __pyx_tuple__74 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__74)) __PYX_ERR(0, 390, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__74); __Pyx_GIVEREF(__pyx_tuple__74); - __pyx_codeobj__75 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__74, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_repr, 389, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__75)) __PYX_ERR(0, 389, __pyx_L1_error) + __pyx_codeobj__75 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__74, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_repr, 390, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__75)) __PYX_ERR(0, 390, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":398 + /* "pyrfc/_cyrfc.pyx":399 * * * class FunctionDescription(object): # <<<<<<<<<<<<<< * """ A function description * */ - __pyx_tuple__76 = PyTuple_Pack(1, __pyx_builtin_object); if (unlikely(!__pyx_tuple__76)) __PYX_ERR(0, 398, __pyx_L1_error) + __pyx_tuple__76 = PyTuple_Pack(1, __pyx_builtin_object); if (unlikely(!__pyx_tuple__76)) __PYX_ERR(0, 399, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__76); __Pyx_GIVEREF(__pyx_tuple__76); - /* "pyrfc/_cyrfc.pyx":421 + /* "pyrfc/_cyrfc.pyx":422 * * """ * def __init__(self, name): # <<<<<<<<<<<<<< * self.name = name * self.parameters = [] */ - __pyx_tuple__77 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_name); if (unlikely(!__pyx_tuple__77)) __PYX_ERR(0, 421, __pyx_L1_error) + __pyx_tuple__77 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_name); if (unlikely(!__pyx_tuple__77)) __PYX_ERR(0, 422, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__77); __Pyx_GIVEREF(__pyx_tuple__77); - __pyx_codeobj__78 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__77, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_init, 421, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__78)) __PYX_ERR(0, 421, __pyx_L1_error) + __pyx_codeobj__78 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__77, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_init, 422, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__78)) __PYX_ERR(0, 422, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":425 + /* "pyrfc/_cyrfc.pyx":426 * self.parameters = [] * * def add_parameter(self, name, parameter_type, direction, nuc_length, # <<<<<<<<<<<<<< * uc_length, decimals=0, default_value="", parameter_text="", * optional=False, type_description=None): */ - __pyx_tuple__79 = PyTuple_Pack(11, __pyx_n_s_self, __pyx_n_s_name, __pyx_n_s_parameter_type, __pyx_n_s_direction, __pyx_n_s_nuc_length, __pyx_n_s_uc_length, __pyx_n_s_decimals, __pyx_n_s_default_value, __pyx_n_s_parameter_text, __pyx_n_s_optional, __pyx_n_s_type_description); if (unlikely(!__pyx_tuple__79)) __PYX_ERR(0, 425, __pyx_L1_error) + __pyx_tuple__79 = PyTuple_Pack(11, __pyx_n_s_self, __pyx_n_s_name, __pyx_n_s_parameter_type, __pyx_n_s_direction, __pyx_n_s_nuc_length, __pyx_n_s_uc_length, __pyx_n_s_decimals, __pyx_n_s_default_value, __pyx_n_s_parameter_text, __pyx_n_s_optional, __pyx_n_s_type_description); if (unlikely(!__pyx_tuple__79)) __PYX_ERR(0, 426, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__79); __Pyx_GIVEREF(__pyx_tuple__79); - __pyx_codeobj__80 = (PyObject*)__Pyx_PyCode_New(11, 0, 11, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__79, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_add_parameter, 425, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__80)) __PYX_ERR(0, 425, __pyx_L1_error) - __pyx_tuple__81 = PyTuple_Pack(5, ((PyObject *)__pyx_int_0), ((PyObject*)__pyx_kp_u__5), ((PyObject*)__pyx_kp_u__5), ((PyObject *)Py_False), ((PyObject *)Py_None)); if (unlikely(!__pyx_tuple__81)) __PYX_ERR(0, 425, __pyx_L1_error) + __pyx_codeobj__80 = (PyObject*)__Pyx_PyCode_New(11, 0, 11, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__79, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_add_parameter, 426, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__80)) __PYX_ERR(0, 426, __pyx_L1_error) + __pyx_tuple__81 = PyTuple_Pack(5, ((PyObject *)__pyx_int_0), ((PyObject*)__pyx_kp_u__5), ((PyObject*)__pyx_kp_u__5), ((PyObject *)Py_False), ((PyObject *)Py_None)); if (unlikely(!__pyx_tuple__81)) __PYX_ERR(0, 426, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__81); __Pyx_GIVEREF(__pyx_tuple__81); - /* "pyrfc/_cyrfc.pyx":474 + /* "pyrfc/_cyrfc.pyx":475 * }) * * def __repr__(self): # <<<<<<<<<<<<<< * return f"" * */ - __pyx_tuple__82 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__82)) __PYX_ERR(0, 474, __pyx_L1_error) + __pyx_tuple__82 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__82)) __PYX_ERR(0, 475, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__82); __Pyx_GIVEREF(__pyx_tuple__82); - __pyx_codeobj__83 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__82, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_repr, 474, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__83)) __PYX_ERR(0, 474, __pyx_L1_error) + __pyx_codeobj__83 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__82, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_repr, 475, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__83)) __PYX_ERR(0, 475, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1501 + /* "pyrfc/_cyrfc.pyx":1502 * * * def default_auth_check(func_name=False, request_context = None): # <<<<<<<<<<<<<< * request_context = request_context or {} * _server_log(f"authorization check for '{func_name}'", request_context['server_context']) */ - __pyx_tuple__84 = PyTuple_Pack(2, __pyx_n_s_func_name, __pyx_n_s_request_context); if (unlikely(!__pyx_tuple__84)) __PYX_ERR(0, 1501, __pyx_L1_error) + __pyx_tuple__84 = PyTuple_Pack(2, __pyx_n_s_func_name, __pyx_n_s_request_context); if (unlikely(!__pyx_tuple__84)) __PYX_ERR(0, 1502, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__84); __Pyx_GIVEREF(__pyx_tuple__84); - __pyx_codeobj__85 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__84, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_default_auth_check, 1501, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__85)) __PYX_ERR(0, 1501, __pyx_L1_error) + __pyx_codeobj__85 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__84, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_default_auth_check, 1502, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__85)) __PYX_ERR(0, 1502, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1507 + /* "pyrfc/_cyrfc.pyx":1508 * * * def _server_log(origin, log_message): # <<<<<<<<<<<<<< * if server_context["server_log"]: * print (f"[{datetime.utcnow()} UTC] {origin} '{log_message}'") */ - __pyx_tuple__86 = PyTuple_Pack(2, __pyx_n_s_origin, __pyx_n_s_log_message); if (unlikely(!__pyx_tuple__86)) __PYX_ERR(0, 1507, __pyx_L1_error) + __pyx_tuple__86 = PyTuple_Pack(2, __pyx_n_s_origin, __pyx_n_s_log_message); if (unlikely(!__pyx_tuple__86)) __PYX_ERR(0, 1508, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__86); __Pyx_GIVEREF(__pyx_tuple__86); - __pyx_codeobj__87 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__86, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_server_log, 1507, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__87)) __PYX_ERR(0, 1507, __pyx_L1_error) + __pyx_codeobj__87 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__86, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_server_log, 1508, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__87)) __PYX_ERR(0, 1508, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":2232 + /* "pyrfc/_cyrfc.pyx":2233 * * @staticmethod * def getFromConnection(Connection connection): # <<<<<<<<<<<<<< * """Returns the currently attached throughput object from a connection, if any. * */ - __pyx_tuple__88 = PyTuple_Pack(4, __pyx_n_s_connection, __pyx_n_s_errorInfo, __pyx_n_s_throughput, __pyx_n_s_t); if (unlikely(!__pyx_tuple__88)) __PYX_ERR(0, 2232, __pyx_L1_error) + __pyx_tuple__88 = PyTuple_Pack(4, __pyx_n_s_connection, __pyx_n_s_errorInfo, __pyx_n_s_throughput, __pyx_n_s_t); if (unlikely(!__pyx_tuple__88)) __PYX_ERR(0, 2233, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__88); __Pyx_GIVEREF(__pyx_tuple__88); - __pyx_codeobj__89 = (PyObject*)__Pyx_PyCode_New(1, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__88, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_getFromConnection, 2232, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__89)) __PYX_ERR(0, 2232, __pyx_L1_error) + __pyx_codeobj__89 = (PyObject*)__Pyx_PyCode_New(1, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__88, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_pyrfc__cyrfc_pyx, __pyx_n_s_getFromConnection, 2233, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__89)) __PYX_ERR(0, 2233, __pyx_L1_error) __Pyx_RefNannyFinishContext(); return 0; __pyx_L1_error:; @@ -43611,44 +43611,44 @@ static int __Pyx_modinit_type_init_code(void) { int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__Pyx_modinit_type_init_code", 0); /*--- Type init code ---*/ - if (PyType_Ready(&__pyx_type_5pyrfc_6_cyrfc_ConnectionParameters) < 0) __PYX_ERR(0, 274, __pyx_L1_error) + if (PyType_Ready(&__pyx_type_5pyrfc_6_cyrfc_ConnectionParameters) < 0) __PYX_ERR(0, 275, __pyx_L1_error) #if PY_VERSION_HEX < 0x030800B1 __pyx_type_5pyrfc_6_cyrfc_ConnectionParameters.tp_print = 0; #endif if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_5pyrfc_6_cyrfc_ConnectionParameters.tp_dictoffset && __pyx_type_5pyrfc_6_cyrfc_ConnectionParameters.tp_getattro == PyObject_GenericGetAttr)) { __pyx_type_5pyrfc_6_cyrfc_ConnectionParameters.tp_getattro = __Pyx_PyObject_GenericGetAttr; } - if (PyObject_SetAttr(__pyx_m, __pyx_n_s_ConnectionParameters, (PyObject *)&__pyx_type_5pyrfc_6_cyrfc_ConnectionParameters) < 0) __PYX_ERR(0, 274, __pyx_L1_error) - if (__Pyx_setup_reduce((PyObject*)&__pyx_type_5pyrfc_6_cyrfc_ConnectionParameters) < 0) __PYX_ERR(0, 274, __pyx_L1_error) + if (PyObject_SetAttr(__pyx_m, __pyx_n_s_ConnectionParameters, (PyObject *)&__pyx_type_5pyrfc_6_cyrfc_ConnectionParameters) < 0) __PYX_ERR(0, 275, __pyx_L1_error) + if (__Pyx_setup_reduce((PyObject*)&__pyx_type_5pyrfc_6_cyrfc_ConnectionParameters) < 0) __PYX_ERR(0, 275, __pyx_L1_error) __pyx_ptype_5pyrfc_6_cyrfc_ConnectionParameters = &__pyx_type_5pyrfc_6_cyrfc_ConnectionParameters; __pyx_vtabptr_5pyrfc_6_cyrfc_Connection = &__pyx_vtable_5pyrfc_6_cyrfc_Connection; __pyx_vtable_5pyrfc_6_cyrfc_Connection._reopen = (PyObject *(*)(struct __pyx_obj_5pyrfc_6_cyrfc_Connection *))__pyx_f_5pyrfc_6_cyrfc_10Connection__reopen; __pyx_vtable_5pyrfc_6_cyrfc_Connection._open = (PyObject *(*)(struct __pyx_obj_5pyrfc_6_cyrfc_Connection *))__pyx_f_5pyrfc_6_cyrfc_10Connection__open; __pyx_vtable_5pyrfc_6_cyrfc_Connection._error = (PyObject *(*)(struct __pyx_obj_5pyrfc_6_cyrfc_Connection *, RFC_ERROR_INFO *))__pyx_f_5pyrfc_6_cyrfc_10Connection__error; - if (PyType_Ready(&__pyx_type_5pyrfc_6_cyrfc_Connection) < 0) __PYX_ERR(0, 498, __pyx_L1_error) + if (PyType_Ready(&__pyx_type_5pyrfc_6_cyrfc_Connection) < 0) __PYX_ERR(0, 499, __pyx_L1_error) #if PY_VERSION_HEX < 0x030800B1 __pyx_type_5pyrfc_6_cyrfc_Connection.tp_print = 0; #endif if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_5pyrfc_6_cyrfc_Connection.tp_dictoffset && __pyx_type_5pyrfc_6_cyrfc_Connection.tp_getattro == PyObject_GenericGetAttr)) { __pyx_type_5pyrfc_6_cyrfc_Connection.tp_getattro = __Pyx_PyObject_GenericGetAttr; } - if (__Pyx_SetVtable(__pyx_type_5pyrfc_6_cyrfc_Connection.tp_dict, __pyx_vtabptr_5pyrfc_6_cyrfc_Connection) < 0) __PYX_ERR(0, 498, __pyx_L1_error) - if (PyObject_SetAttr(__pyx_m, __pyx_n_s_Connection, (PyObject *)&__pyx_type_5pyrfc_6_cyrfc_Connection) < 0) __PYX_ERR(0, 498, __pyx_L1_error) - if (__Pyx_setup_reduce((PyObject*)&__pyx_type_5pyrfc_6_cyrfc_Connection) < 0) __PYX_ERR(0, 498, __pyx_L1_error) + if (__Pyx_SetVtable(__pyx_type_5pyrfc_6_cyrfc_Connection.tp_dict, __pyx_vtabptr_5pyrfc_6_cyrfc_Connection) < 0) __PYX_ERR(0, 499, __pyx_L1_error) + if (PyObject_SetAttr(__pyx_m, __pyx_n_s_Connection, (PyObject *)&__pyx_type_5pyrfc_6_cyrfc_Connection) < 0) __PYX_ERR(0, 499, __pyx_L1_error) + if (__Pyx_setup_reduce((PyObject*)&__pyx_type_5pyrfc_6_cyrfc_Connection) < 0) __PYX_ERR(0, 499, __pyx_L1_error) __pyx_ptype_5pyrfc_6_cyrfc_Connection = &__pyx_type_5pyrfc_6_cyrfc_Connection; __pyx_vtabptr_5pyrfc_6_cyrfc_ServerConnection = &__pyx_vtable_5pyrfc_6_cyrfc_ServerConnection; __pyx_vtable_5pyrfc_6_cyrfc_ServerConnection._open = (PyObject *(*)(struct __pyx_obj_5pyrfc_6_cyrfc_ServerConnection *))__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__open; __pyx_vtable_5pyrfc_6_cyrfc_ServerConnection._close = (PyObject *(*)(struct __pyx_obj_5pyrfc_6_cyrfc_ServerConnection *))__pyx_f_5pyrfc_6_cyrfc_16ServerConnection__close; - if (PyType_Ready(&__pyx_type_5pyrfc_6_cyrfc_ServerConnection) < 0) __PYX_ERR(0, 1512, __pyx_L1_error) + if (PyType_Ready(&__pyx_type_5pyrfc_6_cyrfc_ServerConnection) < 0) __PYX_ERR(0, 1513, __pyx_L1_error) #if PY_VERSION_HEX < 0x030800B1 __pyx_type_5pyrfc_6_cyrfc_ServerConnection.tp_print = 0; #endif if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_5pyrfc_6_cyrfc_ServerConnection.tp_dictoffset && __pyx_type_5pyrfc_6_cyrfc_ServerConnection.tp_getattro == PyObject_GenericGetAttr)) { __pyx_type_5pyrfc_6_cyrfc_ServerConnection.tp_getattro = __Pyx_PyObject_GenericGetAttr; } - if (__Pyx_SetVtable(__pyx_type_5pyrfc_6_cyrfc_ServerConnection.tp_dict, __pyx_vtabptr_5pyrfc_6_cyrfc_ServerConnection) < 0) __PYX_ERR(0, 1512, __pyx_L1_error) - if (PyObject_SetAttr(__pyx_m, __pyx_n_s_ServerConnection, (PyObject *)&__pyx_type_5pyrfc_6_cyrfc_ServerConnection) < 0) __PYX_ERR(0, 1512, __pyx_L1_error) - if (__Pyx_setup_reduce((PyObject*)&__pyx_type_5pyrfc_6_cyrfc_ServerConnection) < 0) __PYX_ERR(0, 1512, __pyx_L1_error) + if (__Pyx_SetVtable(__pyx_type_5pyrfc_6_cyrfc_ServerConnection.tp_dict, __pyx_vtabptr_5pyrfc_6_cyrfc_ServerConnection) < 0) __PYX_ERR(0, 1513, __pyx_L1_error) + if (PyObject_SetAttr(__pyx_m, __pyx_n_s_ServerConnection, (PyObject *)&__pyx_type_5pyrfc_6_cyrfc_ServerConnection) < 0) __PYX_ERR(0, 1513, __pyx_L1_error) + if (__Pyx_setup_reduce((PyObject*)&__pyx_type_5pyrfc_6_cyrfc_ServerConnection) < 0) __PYX_ERR(0, 1513, __pyx_L1_error) __pyx_ptype_5pyrfc_6_cyrfc_ServerConnection = &__pyx_type_5pyrfc_6_cyrfc_ServerConnection; __pyx_vtabptr_5pyrfc_6_cyrfc_Server = &__pyx_vtable_5pyrfc_6_cyrfc_Server; __pyx_vtable_5pyrfc_6_cyrfc_Server.__pyx___onCheckFunction = (RFC_RC (*)(RFC_CONNECTION_HANDLE, RFC_UNIT_IDENTIFIER const *))__pyx_f_5pyrfc_6_cyrfc_6Server___onCheckFunction; @@ -43658,29 +43658,29 @@ static int __Pyx_modinit_type_init_code(void) { __pyx_vtable_5pyrfc_6_cyrfc_Server.__pyx___onGetStateFunction = (RFC_RC (*)(RFC_CONNECTION_HANDLE, RFC_UNIT_IDENTIFIER const *, RFC_UNIT_STATE *))__pyx_f_5pyrfc_6_cyrfc_6Server___onGetStateFunction; __pyx_vtable_5pyrfc_6_cyrfc_Server.install_bgrfc_handlers = (PyObject *(*)(struct __pyx_obj_5pyrfc_6_cyrfc_Server *, PyObject *))__pyx_f_5pyrfc_6_cyrfc_6Server_install_bgrfc_handlers; __pyx_vtable_5pyrfc_6_cyrfc_Server._error = (PyObject *(*)(struct __pyx_obj_5pyrfc_6_cyrfc_Server *, RFC_ERROR_INFO *))__pyx_f_5pyrfc_6_cyrfc_6Server__error; - if (PyType_Ready(&__pyx_type_5pyrfc_6_cyrfc_Server) < 0) __PYX_ERR(0, 1723, __pyx_L1_error) + if (PyType_Ready(&__pyx_type_5pyrfc_6_cyrfc_Server) < 0) __PYX_ERR(0, 1724, __pyx_L1_error) #if PY_VERSION_HEX < 0x030800B1 __pyx_type_5pyrfc_6_cyrfc_Server.tp_print = 0; #endif if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_5pyrfc_6_cyrfc_Server.tp_dictoffset && __pyx_type_5pyrfc_6_cyrfc_Server.tp_getattro == PyObject_GenericGetAttr)) { __pyx_type_5pyrfc_6_cyrfc_Server.tp_getattro = __Pyx_PyObject_GenericGetAttr; } - if (__Pyx_SetVtable(__pyx_type_5pyrfc_6_cyrfc_Server.tp_dict, __pyx_vtabptr_5pyrfc_6_cyrfc_Server) < 0) __PYX_ERR(0, 1723, __pyx_L1_error) - if (PyObject_SetAttr(__pyx_m, __pyx_n_s_Server, (PyObject *)&__pyx_type_5pyrfc_6_cyrfc_Server) < 0) __PYX_ERR(0, 1723, __pyx_L1_error) - if (__Pyx_setup_reduce((PyObject*)&__pyx_type_5pyrfc_6_cyrfc_Server) < 0) __PYX_ERR(0, 1723, __pyx_L1_error) + if (__Pyx_SetVtable(__pyx_type_5pyrfc_6_cyrfc_Server.tp_dict, __pyx_vtabptr_5pyrfc_6_cyrfc_Server) < 0) __PYX_ERR(0, 1724, __pyx_L1_error) + if (PyObject_SetAttr(__pyx_m, __pyx_n_s_Server, (PyObject *)&__pyx_type_5pyrfc_6_cyrfc_Server) < 0) __PYX_ERR(0, 1724, __pyx_L1_error) + if (__Pyx_setup_reduce((PyObject*)&__pyx_type_5pyrfc_6_cyrfc_Server) < 0) __PYX_ERR(0, 1724, __pyx_L1_error) __pyx_ptype_5pyrfc_6_cyrfc_Server = &__pyx_type_5pyrfc_6_cyrfc_Server; __pyx_vtabptr_5pyrfc_6_cyrfc_Throughput = &__pyx_vtable_5pyrfc_6_cyrfc_Throughput; __pyx_vtable_5pyrfc_6_cyrfc_Throughput._destroy = (PyObject *(*)(struct __pyx_obj_5pyrfc_6_cyrfc_Throughput *))__pyx_f_5pyrfc_6_cyrfc_10Throughput__destroy; - if (PyType_Ready(&__pyx_type_5pyrfc_6_cyrfc_Throughput) < 0) __PYX_ERR(0, 2172, __pyx_L1_error) + if (PyType_Ready(&__pyx_type_5pyrfc_6_cyrfc_Throughput) < 0) __PYX_ERR(0, 2173, __pyx_L1_error) #if PY_VERSION_HEX < 0x030800B1 __pyx_type_5pyrfc_6_cyrfc_Throughput.tp_print = 0; #endif if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_5pyrfc_6_cyrfc_Throughput.tp_dictoffset && __pyx_type_5pyrfc_6_cyrfc_Throughput.tp_getattro == PyObject_GenericGetAttr)) { __pyx_type_5pyrfc_6_cyrfc_Throughput.tp_getattro = __Pyx_PyObject_GenericGetAttr; } - if (__Pyx_SetVtable(__pyx_type_5pyrfc_6_cyrfc_Throughput.tp_dict, __pyx_vtabptr_5pyrfc_6_cyrfc_Throughput) < 0) __PYX_ERR(0, 2172, __pyx_L1_error) - if (PyObject_SetAttr(__pyx_m, __pyx_n_s_Throughput, (PyObject *)&__pyx_type_5pyrfc_6_cyrfc_Throughput) < 0) __PYX_ERR(0, 2172, __pyx_L1_error) - if (__Pyx_setup_reduce((PyObject*)&__pyx_type_5pyrfc_6_cyrfc_Throughput) < 0) __PYX_ERR(0, 2172, __pyx_L1_error) + if (__Pyx_SetVtable(__pyx_type_5pyrfc_6_cyrfc_Throughput.tp_dict, __pyx_vtabptr_5pyrfc_6_cyrfc_Throughput) < 0) __PYX_ERR(0, 2173, __pyx_L1_error) + if (PyObject_SetAttr(__pyx_m, __pyx_n_s_Throughput, (PyObject *)&__pyx_type_5pyrfc_6_cyrfc_Throughput) < 0) __PYX_ERR(0, 2173, __pyx_L1_error) + if (__Pyx_setup_reduce((PyObject*)&__pyx_type_5pyrfc_6_cyrfc_Throughput) < 0) __PYX_ERR(0, 2173, __pyx_L1_error) __pyx_ptype_5pyrfc_6_cyrfc_Throughput = &__pyx_type_5pyrfc_6_cyrfc_Throughput; if (PyType_Ready(&__pyx_scope_struct____Pyx_CFunc_object____object___to_py) < 0) __PYX_ERR(1, 64, __pyx_L1_error) #if PY_VERSION_HEX < 0x030800B1 @@ -43926,91 +43926,103 @@ if (!__Pyx_RefNanny) { if (__Pyx_patch_abc() < 0) __PYX_ERR(0, 1, __pyx_L1_error) #endif - /* "pyrfc/_cyrfc.pyx":9 - * from libc.stdlib cimport malloc, free - * from libc.stdint cimport uintptr_t + /* "pyrfc/_cyrfc.pyx":10 + * from libc.stdlib cimport free, malloc + * + * import socket # <<<<<<<<<<<<<< + * from collections.abc import Iterable + * from datetime import date, datetime, time + */ + __pyx_t_1 = __Pyx_Import(__pyx_n_s_socket, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 10, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_socket, __pyx_t_1) < 0) __PYX_ERR(0, 10, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + + /* "pyrfc/_cyrfc.pyx":11 + * + * import socket * from collections.abc import Iterable # <<<<<<<<<<<<<< - * from datetime import date, time, datetime + * from datetime import date, datetime, time * from decimal import Decimal */ - __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 9, __pyx_L1_error) + __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 11, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_n_s_Iterable); __Pyx_GIVEREF(__pyx_n_s_Iterable); PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_s_Iterable); - __pyx_t_2 = __Pyx_Import(__pyx_n_s_collections_abc, __pyx_t_1, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 9, __pyx_L1_error) + __pyx_t_2 = __Pyx_Import(__pyx_n_s_collections_abc, __pyx_t_1, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 11, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_Iterable); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 9, __pyx_L1_error) + __pyx_t_1 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_Iterable); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 11, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_Iterable, __pyx_t_1) < 0) __PYX_ERR(0, 9, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_Iterable, __pyx_t_1) < 0) __PYX_ERR(0, 11, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":10 - * from libc.stdint cimport uintptr_t + /* "pyrfc/_cyrfc.pyx":12 + * import socket * from collections.abc import Iterable - * from datetime import date, time, datetime # <<<<<<<<<<<<<< + * from datetime import date, datetime, time # <<<<<<<<<<<<<< * from decimal import Decimal * from enum import Enum, auto */ - __pyx_t_2 = PyList_New(3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 10, __pyx_L1_error) + __pyx_t_2 = PyList_New(3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_date); __Pyx_GIVEREF(__pyx_n_s_date); PyList_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_date); - __Pyx_INCREF(__pyx_n_s_time); - __Pyx_GIVEREF(__pyx_n_s_time); - PyList_SET_ITEM(__pyx_t_2, 1, __pyx_n_s_time); __Pyx_INCREF(__pyx_n_s_datetime); __Pyx_GIVEREF(__pyx_n_s_datetime); - PyList_SET_ITEM(__pyx_t_2, 2, __pyx_n_s_datetime); - __pyx_t_1 = __Pyx_Import(__pyx_n_s_datetime, __pyx_t_2, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 10, __pyx_L1_error) + PyList_SET_ITEM(__pyx_t_2, 1, __pyx_n_s_datetime); + __Pyx_INCREF(__pyx_n_s_time); + __Pyx_GIVEREF(__pyx_n_s_time); + PyList_SET_ITEM(__pyx_t_2, 2, __pyx_n_s_time); + __pyx_t_1 = __Pyx_Import(__pyx_n_s_datetime, __pyx_t_2, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_date); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 10, __pyx_L1_error) + __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_date); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_date, __pyx_t_2) < 0) __PYX_ERR(0, 10, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_date, __pyx_t_2) < 0) __PYX_ERR(0, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_time); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 10, __pyx_L1_error) + __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_datetime); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_time, __pyx_t_2) < 0) __PYX_ERR(0, 10, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_datetime, __pyx_t_2) < 0) __PYX_ERR(0, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_datetime); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 10, __pyx_L1_error) + __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_time); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_datetime, __pyx_t_2) < 0) __PYX_ERR(0, 10, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_time, __pyx_t_2) < 0) __PYX_ERR(0, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":11 + /* "pyrfc/_cyrfc.pyx":13 * from collections.abc import Iterable - * from datetime import date, time, datetime + * from datetime import date, datetime, time * from decimal import Decimal # <<<<<<<<<<<<<< * from enum import Enum, auto * from locale import localeconv */ - __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 11, __pyx_L1_error) + __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_n_s_Decimal); __Pyx_GIVEREF(__pyx_n_s_Decimal); PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_s_Decimal); - __pyx_t_2 = __Pyx_Import(__pyx_n_s_decimal, __pyx_t_1, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 11, __pyx_L1_error) + __pyx_t_2 = __Pyx_Import(__pyx_n_s_decimal, __pyx_t_1, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_Decimal); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 11, __pyx_L1_error) + __pyx_t_1 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_Decimal); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_Decimal, __pyx_t_1) < 0) __PYX_ERR(0, 11, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_Decimal, __pyx_t_1) < 0) __PYX_ERR(0, 13, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":12 - * from datetime import date, time, datetime + /* "pyrfc/_cyrfc.pyx":14 + * from datetime import date, datetime, time * from decimal import Decimal * from enum import Enum, auto # <<<<<<<<<<<<<< * from locale import localeconv * from os.path import isfile, join */ - __pyx_t_2 = PyList_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 12, __pyx_L1_error) + __pyx_t_2 = PyList_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_Enum); __Pyx_GIVEREF(__pyx_n_s_Enum); @@ -44018,48 +44030,48 @@ if (!__Pyx_RefNanny) { __Pyx_INCREF(__pyx_n_s_auto); __Pyx_GIVEREF(__pyx_n_s_auto); PyList_SET_ITEM(__pyx_t_2, 1, __pyx_n_s_auto); - __pyx_t_1 = __Pyx_Import(__pyx_n_s_enum, __pyx_t_2, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_Import(__pyx_n_s_enum, __pyx_t_2, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_Enum); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 12, __pyx_L1_error) + __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_Enum); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_Enum, __pyx_t_2) < 0) __PYX_ERR(0, 12, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_Enum, __pyx_t_2) < 0) __PYX_ERR(0, 14, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_auto); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 12, __pyx_L1_error) + __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_auto); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_auto, __pyx_t_2) < 0) __PYX_ERR(0, 12, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_auto, __pyx_t_2) < 0) __PYX_ERR(0, 14, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":13 + /* "pyrfc/_cyrfc.pyx":15 * from decimal import Decimal * from enum import Enum, auto * from locale import localeconv # <<<<<<<<<<<<<< * from os.path import isfile, join * from sys import exc_info, platform */ - __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 13, __pyx_L1_error) + __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 15, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_n_s_localeconv); __Pyx_GIVEREF(__pyx_n_s_localeconv); PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_s_localeconv); - __pyx_t_2 = __Pyx_Import(__pyx_n_s_locale, __pyx_t_1, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 13, __pyx_L1_error) + __pyx_t_2 = __Pyx_Import(__pyx_n_s_locale, __pyx_t_1, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 15, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_localeconv); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 13, __pyx_L1_error) + __pyx_t_1 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_localeconv); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 15, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_localeconv, __pyx_t_1) < 0) __PYX_ERR(0, 13, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_localeconv, __pyx_t_1) < 0) __PYX_ERR(0, 15, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":14 + /* "pyrfc/_cyrfc.pyx":16 * from enum import Enum, auto * from locale import localeconv * from os.path import isfile, join # <<<<<<<<<<<<<< * from sys import exc_info, platform - * import socket + * from threading import Thread, Timer */ - __pyx_t_2 = PyList_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 14, __pyx_L1_error) + __pyx_t_2 = PyList_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_isfile); __Pyx_GIVEREF(__pyx_n_s_isfile); @@ -44067,27 +44079,27 @@ if (!__Pyx_RefNanny) { __Pyx_INCREF(__pyx_n_s_join); __Pyx_GIVEREF(__pyx_n_s_join); PyList_SET_ITEM(__pyx_t_2, 1, __pyx_n_s_join); - __pyx_t_1 = __Pyx_Import(__pyx_n_s_os_path, __pyx_t_2, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 14, __pyx_L1_error) + __pyx_t_1 = __Pyx_Import(__pyx_n_s_os_path, __pyx_t_2, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_isfile); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 14, __pyx_L1_error) + __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_isfile); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_isfile, __pyx_t_2) < 0) __PYX_ERR(0, 14, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_isfile, __pyx_t_2) < 0) __PYX_ERR(0, 16, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_join); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 14, __pyx_L1_error) + __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_join); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_join, __pyx_t_2) < 0) __PYX_ERR(0, 14, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_join, __pyx_t_2) < 0) __PYX_ERR(0, 16, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":15 + /* "pyrfc/_cyrfc.pyx":17 * from locale import localeconv * from os.path import isfile, join * from sys import exc_info, platform # <<<<<<<<<<<<<< - * import socket * from threading import Thread, Timer + * */ - __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 15, __pyx_L1_error) + __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_n_s_exc_info); __Pyx_GIVEREF(__pyx_n_s_exc_info); @@ -44095,39 +44107,27 @@ if (!__Pyx_RefNanny) { __Pyx_INCREF(__pyx_n_s_platform); __Pyx_GIVEREF(__pyx_n_s_platform); PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_s_platform); - __pyx_t_2 = __Pyx_Import(__pyx_n_s_sys, __pyx_t_1, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 15, __pyx_L1_error) + __pyx_t_2 = __Pyx_Import(__pyx_n_s_sys, __pyx_t_1, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_exc_info); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 15, __pyx_L1_error) + __pyx_t_1 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_exc_info); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_exc_info, __pyx_t_1) < 0) __PYX_ERR(0, 15, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_exc_info, __pyx_t_1) < 0) __PYX_ERR(0, 17, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_platform); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 15, __pyx_L1_error) + __pyx_t_1 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_platform); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_platform, __pyx_t_1) < 0) __PYX_ERR(0, 15, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_platform, __pyx_t_1) < 0) __PYX_ERR(0, 17, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":16 + /* "pyrfc/_cyrfc.pyx":18 * from os.path import isfile, join * from sys import exc_info, platform - * import socket # <<<<<<<<<<<<<< - * from threading import Thread, Timer - * - */ - __pyx_t_2 = __Pyx_Import(__pyx_n_s_socket, 0, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 16, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_socket, __pyx_t_2) < 0) __PYX_ERR(0, 16, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - - /* "pyrfc/_cyrfc.pyx":17 - * from sys import exc_info, platform - * import socket * from threading import Thread, Timer # <<<<<<<<<<<<<< * * from pyrfc.csapnwrfc cimport * */ - __pyx_t_2 = PyList_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 17, __pyx_L1_error) + __pyx_t_2 = PyList_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 18, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_Thread); __Pyx_GIVEREF(__pyx_n_s_Thread); @@ -44135,45 +44135,45 @@ if (!__Pyx_RefNanny) { __Pyx_INCREF(__pyx_n_s_Timer); __Pyx_GIVEREF(__pyx_n_s_Timer); PyList_SET_ITEM(__pyx_t_2, 1, __pyx_n_s_Timer); - __pyx_t_1 = __Pyx_Import(__pyx_n_s_threading, __pyx_t_2, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 17, __pyx_L1_error) + __pyx_t_1 = __Pyx_Import(__pyx_n_s_threading, __pyx_t_2, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 18, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_Thread); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 17, __pyx_L1_error) + __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_Thread); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 18, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_Thread, __pyx_t_2) < 0) __PYX_ERR(0, 17, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_Thread, __pyx_t_2) < 0) __PYX_ERR(0, 18, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_Timer); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 17, __pyx_L1_error) + __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_Timer); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 18, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_Timer, __pyx_t_2) < 0) __PYX_ERR(0, 17, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_Timer, __pyx_t_2) < 0) __PYX_ERR(0, 18, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":20 - * + /* "pyrfc/_cyrfc.pyx":22 * from pyrfc.csapnwrfc cimport * + * * from pyrfc._exception import * # <<<<<<<<<<<<<< * from pyrfc._utils import enum_names, enum_values * */ - __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 20, __pyx_L1_error) + __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 22, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_n_s__51); __Pyx_GIVEREF(__pyx_n_s__51); PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_s__51); - __pyx_t_2 = __Pyx_Import(__pyx_n_s_pyrfc__exception, __pyx_t_1, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 20, __pyx_L1_error) + __pyx_t_2 = __Pyx_Import(__pyx_n_s_pyrfc__exception, __pyx_t_1, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 22, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_import_star(__pyx_t_2) < 0) __PYX_ERR(0, 20, __pyx_L1_error); + if (__pyx_import_star(__pyx_t_2) < 0) __PYX_ERR(0, 22, __pyx_L1_error); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":21 - * from pyrfc.csapnwrfc cimport * + /* "pyrfc/_cyrfc.pyx":23 + * * from pyrfc._exception import * * from pyrfc._utils import enum_names, enum_values # <<<<<<<<<<<<<< * - * + * ################################################################################ */ - __pyx_t_2 = PyList_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 21, __pyx_L1_error) + __pyx_t_2 = PyList_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 23, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_enum_names); __Pyx_GIVEREF(__pyx_n_s_enum_names); @@ -44181,615 +44181,615 @@ if (!__Pyx_RefNanny) { __Pyx_INCREF(__pyx_n_s_enum_values); __Pyx_GIVEREF(__pyx_n_s_enum_values); PyList_SET_ITEM(__pyx_t_2, 1, __pyx_n_s_enum_values); - __pyx_t_1 = __Pyx_Import(__pyx_n_s_pyrfc__utils, __pyx_t_2, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 21, __pyx_L1_error) + __pyx_t_1 = __Pyx_Import(__pyx_n_s_pyrfc__utils, __pyx_t_2, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 23, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_enum_names); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 21, __pyx_L1_error) + __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_enum_names); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 23, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_enum_names, __pyx_t_2) < 0) __PYX_ERR(0, 21, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_enum_names, __pyx_t_2) < 0) __PYX_ERR(0, 23, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_enum_values); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 21, __pyx_L1_error) + __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_enum_values); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 23, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_enum_values, __pyx_t_2) < 0) __PYX_ERR(0, 21, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_enum_values, __pyx_t_2) < 0) __PYX_ERR(0, 23, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":29 + /* "pyrfc/_cyrfc.pyx":30 * * # configuration bitmasks, internal use * _MASK_DTIME = 0x01 # <<<<<<<<<<<<<< * _MASK_RETURN_IMPORT_PARAMS = 0x02 * _MASK_RSTRIP = 0x04 */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_MASK_DTIME, __pyx_int_1) < 0) __PYX_ERR(0, 29, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_MASK_DTIME, __pyx_int_1) < 0) __PYX_ERR(0, 30, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":30 + /* "pyrfc/_cyrfc.pyx":31 * # configuration bitmasks, internal use * _MASK_DTIME = 0x01 * _MASK_RETURN_IMPORT_PARAMS = 0x02 # <<<<<<<<<<<<<< * _MASK_RSTRIP = 0x04 * */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_MASK_RETURN_IMPORT_PARAMS, __pyx_int_2) < 0) __PYX_ERR(0, 30, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_MASK_RETURN_IMPORT_PARAMS, __pyx_int_2) < 0) __PYX_ERR(0, 31, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":31 + /* "pyrfc/_cyrfc.pyx":32 * _MASK_DTIME = 0x01 * _MASK_RETURN_IMPORT_PARAMS = 0x02 * _MASK_RSTRIP = 0x04 # <<<<<<<<<<<<<< * * _LOCALE_RADIX = localeconv()["decimal_point"] */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_MASK_RSTRIP, __pyx_int_4) < 0) __PYX_ERR(0, 31, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_MASK_RSTRIP, __pyx_int_4) < 0) __PYX_ERR(0, 32, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":33 + /* "pyrfc/_cyrfc.pyx":34 * _MASK_RSTRIP = 0x04 * * _LOCALE_RADIX = localeconv()["decimal_point"] # <<<<<<<<<<<<<< * * ################################################################################ */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_localeconv); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 33, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_localeconv); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 34, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_CallNoArg(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 33, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_CallNoArg(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 34, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_t_2, __pyx_n_u_decimal_point); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 33, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Dict_GetItem(__pyx_t_2, __pyx_n_u_decimal_point); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 34, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s_LOCALE_RADIX, __pyx_t_1) < 0) __PYX_ERR(0, 33, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_LOCALE_RADIX, __pyx_t_1) < 0) __PYX_ERR(0, 34, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":41 + /* "pyrfc/_cyrfc.pyx":42 * * # RFC parameter direction * class RfcParameterDirection(Enum): # <<<<<<<<<<<<<< * RFC_IMPORT = RFC_DIRECTION.RFC_IMPORT * RFC_EXPORT = RFC_DIRECTION.RFC_EXPORT */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_Enum); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 41, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_Enum); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 42, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 41, __pyx_L1_error) + __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 42, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_GIVEREF(__pyx_t_1); PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_CalculateMetaclass(NULL, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 41, __pyx_L1_error) + __pyx_t_1 = __Pyx_CalculateMetaclass(NULL, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 42, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_1, __pyx_t_2, __pyx_n_s_RfcParameterDirection, __pyx_n_s_RfcParameterDirection, (PyObject *) NULL, __pyx_n_s_pyrfc__cyrfc, (PyObject *) NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 41, __pyx_L1_error) + __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_1, __pyx_t_2, __pyx_n_s_RfcParameterDirection, __pyx_n_s_RfcParameterDirection, (PyObject *) NULL, __pyx_n_s_pyrfc__cyrfc, (PyObject *) NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 42, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - /* "pyrfc/_cyrfc.pyx":42 + /* "pyrfc/_cyrfc.pyx":43 * # RFC parameter direction * class RfcParameterDirection(Enum): * RFC_IMPORT = RFC_DIRECTION.RFC_IMPORT # <<<<<<<<<<<<<< * RFC_EXPORT = RFC_DIRECTION.RFC_EXPORT * RFC_CHANGING = RFC_DIRECTION.RFC_CHANGING */ - __pyx_t_4 = __Pyx_PyInt_From_RFC_DIRECTION(RFC_IMPORT); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 42, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFC_DIRECTION(RFC_IMPORT); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 43, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFC_IMPORT, __pyx_t_4) < 0) __PYX_ERR(0, 42, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFC_IMPORT, __pyx_t_4) < 0) __PYX_ERR(0, 43, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":43 + /* "pyrfc/_cyrfc.pyx":44 * class RfcParameterDirection(Enum): * RFC_IMPORT = RFC_DIRECTION.RFC_IMPORT * RFC_EXPORT = RFC_DIRECTION.RFC_EXPORT # <<<<<<<<<<<<<< * RFC_CHANGING = RFC_DIRECTION.RFC_CHANGING * RFC_TABLES = RFC_DIRECTION.RFC_TABLES */ - __pyx_t_4 = __Pyx_PyInt_From_RFC_DIRECTION(RFC_EXPORT); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 43, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFC_DIRECTION(RFC_EXPORT); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 44, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFC_EXPORT, __pyx_t_4) < 0) __PYX_ERR(0, 43, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFC_EXPORT, __pyx_t_4) < 0) __PYX_ERR(0, 44, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":44 + /* "pyrfc/_cyrfc.pyx":45 * RFC_IMPORT = RFC_DIRECTION.RFC_IMPORT * RFC_EXPORT = RFC_DIRECTION.RFC_EXPORT * RFC_CHANGING = RFC_DIRECTION.RFC_CHANGING # <<<<<<<<<<<<<< * RFC_TABLES = RFC_DIRECTION.RFC_TABLES * */ - __pyx_t_4 = __Pyx_PyInt_From_RFC_DIRECTION(RFC_CHANGING); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 44, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFC_DIRECTION(RFC_CHANGING); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 45, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFC_CHANGING, __pyx_t_4) < 0) __PYX_ERR(0, 44, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFC_CHANGING, __pyx_t_4) < 0) __PYX_ERR(0, 45, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":45 + /* "pyrfc/_cyrfc.pyx":46 * RFC_EXPORT = RFC_DIRECTION.RFC_EXPORT * RFC_CHANGING = RFC_DIRECTION.RFC_CHANGING * RFC_TABLES = RFC_DIRECTION.RFC_TABLES # <<<<<<<<<<<<<< * * */ - __pyx_t_4 = __Pyx_PyInt_From_RFC_DIRECTION(RFC_TABLES); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 45, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFC_DIRECTION(RFC_TABLES); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 46, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFC_TABLES, __pyx_t_4) < 0) __PYX_ERR(0, 45, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFC_TABLES, __pyx_t_4) < 0) __PYX_ERR(0, 46, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":41 + /* "pyrfc/_cyrfc.pyx":42 * * # RFC parameter direction * class RfcParameterDirection(Enum): # <<<<<<<<<<<<<< * RFC_IMPORT = RFC_DIRECTION.RFC_IMPORT * RFC_EXPORT = RFC_DIRECTION.RFC_EXPORT */ - __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_1, __pyx_n_s_RfcParameterDirection, __pyx_t_2, __pyx_t_3, NULL, 0, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 41, __pyx_L1_error) + __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_1, __pyx_n_s_RfcParameterDirection, __pyx_t_2, __pyx_t_3, NULL, 0, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 42, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_RfcParameterDirection, __pyx_t_4) < 0) __PYX_ERR(0, 41, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_RfcParameterDirection, __pyx_t_4) < 0) __PYX_ERR(0, 42, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":49 + /* "pyrfc/_cyrfc.pyx":50 * * # RFC field type * class RfcFieldType(Enum): # <<<<<<<<<<<<<< * RFCTYPE_CHAR = RFCTYPE.RFCTYPE_CHAR * RFCTYPE_DATE = RFCTYPE.RFCTYPE_DATE */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_Enum); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 49, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_Enum); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 50, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 49, __pyx_L1_error) + __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 50, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_2); PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 49, __pyx_L1_error) + __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 50, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_1, __pyx_n_s_RfcFieldType, __pyx_n_s_RfcFieldType, (PyObject *) NULL, __pyx_n_s_pyrfc__cyrfc, (PyObject *) NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 49, __pyx_L1_error) + __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_1, __pyx_n_s_RfcFieldType, __pyx_n_s_RfcFieldType, (PyObject *) NULL, __pyx_n_s_pyrfc__cyrfc, (PyObject *) NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 50, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - /* "pyrfc/_cyrfc.pyx":50 + /* "pyrfc/_cyrfc.pyx":51 * # RFC field type * class RfcFieldType(Enum): * RFCTYPE_CHAR = RFCTYPE.RFCTYPE_CHAR # <<<<<<<<<<<<<< * RFCTYPE_DATE = RFCTYPE.RFCTYPE_DATE * RFCTYPE_BCD = RFCTYPE.RFCTYPE_BCD */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_CHAR); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 50, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_CHAR); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 51, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_CHAR, __pyx_t_4) < 0) __PYX_ERR(0, 50, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_CHAR, __pyx_t_4) < 0) __PYX_ERR(0, 51, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":51 + /* "pyrfc/_cyrfc.pyx":52 * class RfcFieldType(Enum): * RFCTYPE_CHAR = RFCTYPE.RFCTYPE_CHAR * RFCTYPE_DATE = RFCTYPE.RFCTYPE_DATE # <<<<<<<<<<<<<< * RFCTYPE_BCD = RFCTYPE.RFCTYPE_BCD * RFCTYPE_TIME = RFCTYPE.RFCTYPE_TIME */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_DATE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 51, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_DATE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 52, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_DATE, __pyx_t_4) < 0) __PYX_ERR(0, 51, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_DATE, __pyx_t_4) < 0) __PYX_ERR(0, 52, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":52 + /* "pyrfc/_cyrfc.pyx":53 * RFCTYPE_CHAR = RFCTYPE.RFCTYPE_CHAR * RFCTYPE_DATE = RFCTYPE.RFCTYPE_DATE * RFCTYPE_BCD = RFCTYPE.RFCTYPE_BCD # <<<<<<<<<<<<<< * RFCTYPE_TIME = RFCTYPE.RFCTYPE_TIME * RFCTYPE_BYTE = RFCTYPE.RFCTYPE_BYTE */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_BCD); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 52, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_BCD); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 53, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_BCD, __pyx_t_4) < 0) __PYX_ERR(0, 52, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_BCD, __pyx_t_4) < 0) __PYX_ERR(0, 53, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":53 + /* "pyrfc/_cyrfc.pyx":54 * RFCTYPE_DATE = RFCTYPE.RFCTYPE_DATE * RFCTYPE_BCD = RFCTYPE.RFCTYPE_BCD * RFCTYPE_TIME = RFCTYPE.RFCTYPE_TIME # <<<<<<<<<<<<<< * RFCTYPE_BYTE = RFCTYPE.RFCTYPE_BYTE * RFCTYPE_TABLE = RFCTYPE.RFCTYPE_TABLE */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_TIME); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 53, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_TIME); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 54, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_TIME, __pyx_t_4) < 0) __PYX_ERR(0, 53, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_TIME, __pyx_t_4) < 0) __PYX_ERR(0, 54, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":54 + /* "pyrfc/_cyrfc.pyx":55 * RFCTYPE_BCD = RFCTYPE.RFCTYPE_BCD * RFCTYPE_TIME = RFCTYPE.RFCTYPE_TIME * RFCTYPE_BYTE = RFCTYPE.RFCTYPE_BYTE # <<<<<<<<<<<<<< * RFCTYPE_TABLE = RFCTYPE.RFCTYPE_TABLE * RFCTYPE_NUM = RFCTYPE.RFCTYPE_NUM */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_BYTE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 54, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_BYTE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 55, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_BYTE, __pyx_t_4) < 0) __PYX_ERR(0, 54, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_BYTE, __pyx_t_4) < 0) __PYX_ERR(0, 55, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":55 + /* "pyrfc/_cyrfc.pyx":56 * RFCTYPE_TIME = RFCTYPE.RFCTYPE_TIME * RFCTYPE_BYTE = RFCTYPE.RFCTYPE_BYTE * RFCTYPE_TABLE = RFCTYPE.RFCTYPE_TABLE # <<<<<<<<<<<<<< * RFCTYPE_NUM = RFCTYPE.RFCTYPE_NUM * RFCTYPE_FLOAT = RFCTYPE.RFCTYPE_FLOAT */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_TABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 55, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_TABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 56, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_TABLE, __pyx_t_4) < 0) __PYX_ERR(0, 55, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_TABLE, __pyx_t_4) < 0) __PYX_ERR(0, 56, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":56 + /* "pyrfc/_cyrfc.pyx":57 * RFCTYPE_BYTE = RFCTYPE.RFCTYPE_BYTE * RFCTYPE_TABLE = RFCTYPE.RFCTYPE_TABLE * RFCTYPE_NUM = RFCTYPE.RFCTYPE_NUM # <<<<<<<<<<<<<< * RFCTYPE_FLOAT = RFCTYPE.RFCTYPE_FLOAT * RFCTYPE_INT = RFCTYPE.RFCTYPE_INT */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_NUM); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 56, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_NUM); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 57, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_NUM, __pyx_t_4) < 0) __PYX_ERR(0, 56, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_NUM, __pyx_t_4) < 0) __PYX_ERR(0, 57, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":57 + /* "pyrfc/_cyrfc.pyx":58 * RFCTYPE_TABLE = RFCTYPE.RFCTYPE_TABLE * RFCTYPE_NUM = RFCTYPE.RFCTYPE_NUM * RFCTYPE_FLOAT = RFCTYPE.RFCTYPE_FLOAT # <<<<<<<<<<<<<< * RFCTYPE_INT = RFCTYPE.RFCTYPE_INT * RFCTYPE_INT2 = RFCTYPE.RFCTYPE_INT2 */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_FLOAT); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 57, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_FLOAT); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 58, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_FLOAT, __pyx_t_4) < 0) __PYX_ERR(0, 57, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_FLOAT, __pyx_t_4) < 0) __PYX_ERR(0, 58, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":58 + /* "pyrfc/_cyrfc.pyx":59 * RFCTYPE_NUM = RFCTYPE.RFCTYPE_NUM * RFCTYPE_FLOAT = RFCTYPE.RFCTYPE_FLOAT * RFCTYPE_INT = RFCTYPE.RFCTYPE_INT # <<<<<<<<<<<<<< * RFCTYPE_INT2 = RFCTYPE.RFCTYPE_INT2 * RFCTYPE_INT1 = RFCTYPE.RFCTYPE_INT1 */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_INT); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 58, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_INT); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 59, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_INT, __pyx_t_4) < 0) __PYX_ERR(0, 58, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_INT, __pyx_t_4) < 0) __PYX_ERR(0, 59, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":59 + /* "pyrfc/_cyrfc.pyx":60 * RFCTYPE_FLOAT = RFCTYPE.RFCTYPE_FLOAT * RFCTYPE_INT = RFCTYPE.RFCTYPE_INT * RFCTYPE_INT2 = RFCTYPE.RFCTYPE_INT2 # <<<<<<<<<<<<<< * RFCTYPE_INT1 = RFCTYPE.RFCTYPE_INT1 * RFCTYPE_NULL = RFCTYPE.RFCTYPE_NULL */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_INT2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 59, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_INT2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 60, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_INT2, __pyx_t_4) < 0) __PYX_ERR(0, 59, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_INT2, __pyx_t_4) < 0) __PYX_ERR(0, 60, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":60 + /* "pyrfc/_cyrfc.pyx":61 * RFCTYPE_INT = RFCTYPE.RFCTYPE_INT * RFCTYPE_INT2 = RFCTYPE.RFCTYPE_INT2 * RFCTYPE_INT1 = RFCTYPE.RFCTYPE_INT1 # <<<<<<<<<<<<<< * RFCTYPE_NULL = RFCTYPE.RFCTYPE_NULL * RFCTYPE_ABAPOBJECT = RFCTYPE.RFCTYPE_ABAPOBJECT */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_INT1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 60, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_INT1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 61, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_INT1, __pyx_t_4) < 0) __PYX_ERR(0, 60, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_INT1, __pyx_t_4) < 0) __PYX_ERR(0, 61, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":61 + /* "pyrfc/_cyrfc.pyx":62 * RFCTYPE_INT2 = RFCTYPE.RFCTYPE_INT2 * RFCTYPE_INT1 = RFCTYPE.RFCTYPE_INT1 * RFCTYPE_NULL = RFCTYPE.RFCTYPE_NULL # <<<<<<<<<<<<<< * RFCTYPE_ABAPOBJECT = RFCTYPE.RFCTYPE_ABAPOBJECT * RFCTYPE_STRUCTURE = RFCTYPE.RFCTYPE_STRUCTURE */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 61, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 62, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_NULL, __pyx_t_4) < 0) __PYX_ERR(0, 61, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_NULL, __pyx_t_4) < 0) __PYX_ERR(0, 62, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":62 + /* "pyrfc/_cyrfc.pyx":63 * RFCTYPE_INT1 = RFCTYPE.RFCTYPE_INT1 * RFCTYPE_NULL = RFCTYPE.RFCTYPE_NULL * RFCTYPE_ABAPOBJECT = RFCTYPE.RFCTYPE_ABAPOBJECT # <<<<<<<<<<<<<< * RFCTYPE_STRUCTURE = RFCTYPE.RFCTYPE_STRUCTURE * RFCTYPE_DECF16 = RFCTYPE.RFCTYPE_DECF16 */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_ABAPOBJECT); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 62, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_ABAPOBJECT); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 63, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_ABAPOBJECT, __pyx_t_4) < 0) __PYX_ERR(0, 62, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_ABAPOBJECT, __pyx_t_4) < 0) __PYX_ERR(0, 63, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":63 + /* "pyrfc/_cyrfc.pyx":64 * RFCTYPE_NULL = RFCTYPE.RFCTYPE_NULL * RFCTYPE_ABAPOBJECT = RFCTYPE.RFCTYPE_ABAPOBJECT * RFCTYPE_STRUCTURE = RFCTYPE.RFCTYPE_STRUCTURE # <<<<<<<<<<<<<< * RFCTYPE_DECF16 = RFCTYPE.RFCTYPE_DECF16 * RFCTYPE_DECF34 = RFCTYPE.RFCTYPE_DECF34 */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_STRUCTURE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 63, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_STRUCTURE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 64, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_STRUCTURE, __pyx_t_4) < 0) __PYX_ERR(0, 63, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_STRUCTURE, __pyx_t_4) < 0) __PYX_ERR(0, 64, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":64 + /* "pyrfc/_cyrfc.pyx":65 * RFCTYPE_ABAPOBJECT = RFCTYPE.RFCTYPE_ABAPOBJECT * RFCTYPE_STRUCTURE = RFCTYPE.RFCTYPE_STRUCTURE * RFCTYPE_DECF16 = RFCTYPE.RFCTYPE_DECF16 # <<<<<<<<<<<<<< * RFCTYPE_DECF34 = RFCTYPE.RFCTYPE_DECF34 * RFCTYPE_XMLDATA = RFCTYPE.RFCTYPE_XMLDATA */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_DECF16); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 64, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_DECF16); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 65, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_DECF16, __pyx_t_4) < 0) __PYX_ERR(0, 64, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_DECF16, __pyx_t_4) < 0) __PYX_ERR(0, 65, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":65 + /* "pyrfc/_cyrfc.pyx":66 * RFCTYPE_STRUCTURE = RFCTYPE.RFCTYPE_STRUCTURE * RFCTYPE_DECF16 = RFCTYPE.RFCTYPE_DECF16 * RFCTYPE_DECF34 = RFCTYPE.RFCTYPE_DECF34 # <<<<<<<<<<<<<< * RFCTYPE_XMLDATA = RFCTYPE.RFCTYPE_XMLDATA * RFCTYPE_STRING = RFCTYPE.RFCTYPE_STRING */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_DECF34); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 65, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_DECF34); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 66, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_DECF34, __pyx_t_4) < 0) __PYX_ERR(0, 65, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_DECF34, __pyx_t_4) < 0) __PYX_ERR(0, 66, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":66 + /* "pyrfc/_cyrfc.pyx":67 * RFCTYPE_DECF16 = RFCTYPE.RFCTYPE_DECF16 * RFCTYPE_DECF34 = RFCTYPE.RFCTYPE_DECF34 * RFCTYPE_XMLDATA = RFCTYPE.RFCTYPE_XMLDATA # <<<<<<<<<<<<<< * RFCTYPE_STRING = RFCTYPE.RFCTYPE_STRING * RFCTYPE_XSTRING = RFCTYPE.RFCTYPE_XSTRING */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_XMLDATA); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 66, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_XMLDATA); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 67, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_XMLDATA, __pyx_t_4) < 0) __PYX_ERR(0, 66, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_XMLDATA, __pyx_t_4) < 0) __PYX_ERR(0, 67, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":67 + /* "pyrfc/_cyrfc.pyx":68 * RFCTYPE_DECF34 = RFCTYPE.RFCTYPE_DECF34 * RFCTYPE_XMLDATA = RFCTYPE.RFCTYPE_XMLDATA * RFCTYPE_STRING = RFCTYPE.RFCTYPE_STRING # <<<<<<<<<<<<<< * RFCTYPE_XSTRING = RFCTYPE.RFCTYPE_XSTRING * RFCTYPE_INT8 = RFCTYPE.RFCTYPE_INT8 */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_STRING); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 67, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_STRING); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 68, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_STRING, __pyx_t_4) < 0) __PYX_ERR(0, 67, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_STRING, __pyx_t_4) < 0) __PYX_ERR(0, 68, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":68 + /* "pyrfc/_cyrfc.pyx":69 * RFCTYPE_XMLDATA = RFCTYPE.RFCTYPE_XMLDATA * RFCTYPE_STRING = RFCTYPE.RFCTYPE_STRING * RFCTYPE_XSTRING = RFCTYPE.RFCTYPE_XSTRING # <<<<<<<<<<<<<< * RFCTYPE_INT8 = RFCTYPE.RFCTYPE_INT8 * RFCTYPE_UTCLONG = RFCTYPE.RFCTYPE_UTCLONG */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_XSTRING); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 68, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_XSTRING); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 69, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_XSTRING, __pyx_t_4) < 0) __PYX_ERR(0, 68, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_XSTRING, __pyx_t_4) < 0) __PYX_ERR(0, 69, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":69 + /* "pyrfc/_cyrfc.pyx":70 * RFCTYPE_STRING = RFCTYPE.RFCTYPE_STRING * RFCTYPE_XSTRING = RFCTYPE.RFCTYPE_XSTRING * RFCTYPE_INT8 = RFCTYPE.RFCTYPE_INT8 # <<<<<<<<<<<<<< * RFCTYPE_UTCLONG = RFCTYPE.RFCTYPE_UTCLONG * RFCTYPE_UTCSECOND = RFCTYPE.RFCTYPE_UTCSECOND */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_INT8); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 69, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_INT8); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 70, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_INT8, __pyx_t_4) < 0) __PYX_ERR(0, 69, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_INT8, __pyx_t_4) < 0) __PYX_ERR(0, 70, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":70 + /* "pyrfc/_cyrfc.pyx":71 * RFCTYPE_XSTRING = RFCTYPE.RFCTYPE_XSTRING * RFCTYPE_INT8 = RFCTYPE.RFCTYPE_INT8 * RFCTYPE_UTCLONG = RFCTYPE.RFCTYPE_UTCLONG # <<<<<<<<<<<<<< * RFCTYPE_UTCSECOND = RFCTYPE.RFCTYPE_UTCSECOND * RFCTYPE_UTCMINUTE = RFCTYPE.RFCTYPE_UTCMINUTE */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_UTCLONG); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 70, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_UTCLONG); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 71, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_UTCLONG, __pyx_t_4) < 0) __PYX_ERR(0, 70, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_UTCLONG, __pyx_t_4) < 0) __PYX_ERR(0, 71, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":71 + /* "pyrfc/_cyrfc.pyx":72 * RFCTYPE_INT8 = RFCTYPE.RFCTYPE_INT8 * RFCTYPE_UTCLONG = RFCTYPE.RFCTYPE_UTCLONG * RFCTYPE_UTCSECOND = RFCTYPE.RFCTYPE_UTCSECOND # <<<<<<<<<<<<<< * RFCTYPE_UTCMINUTE = RFCTYPE.RFCTYPE_UTCMINUTE * RFCTYPE_DTDAY = RFCTYPE.RFCTYPE_DTDAY */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_UTCSECOND); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 71, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_UTCSECOND); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 72, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_UTCSECOND, __pyx_t_4) < 0) __PYX_ERR(0, 71, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_UTCSECOND, __pyx_t_4) < 0) __PYX_ERR(0, 72, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":72 + /* "pyrfc/_cyrfc.pyx":73 * RFCTYPE_UTCLONG = RFCTYPE.RFCTYPE_UTCLONG * RFCTYPE_UTCSECOND = RFCTYPE.RFCTYPE_UTCSECOND * RFCTYPE_UTCMINUTE = RFCTYPE.RFCTYPE_UTCMINUTE # <<<<<<<<<<<<<< * RFCTYPE_DTDAY = RFCTYPE.RFCTYPE_DTDAY * RFCTYPE_DTWEEK = RFCTYPE.RFCTYPE_DTWEEK */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_UTCMINUTE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 72, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_UTCMINUTE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 73, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_UTCMINUTE, __pyx_t_4) < 0) __PYX_ERR(0, 72, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_UTCMINUTE, __pyx_t_4) < 0) __PYX_ERR(0, 73, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":73 + /* "pyrfc/_cyrfc.pyx":74 * RFCTYPE_UTCSECOND = RFCTYPE.RFCTYPE_UTCSECOND * RFCTYPE_UTCMINUTE = RFCTYPE.RFCTYPE_UTCMINUTE * RFCTYPE_DTDAY = RFCTYPE.RFCTYPE_DTDAY # <<<<<<<<<<<<<< * RFCTYPE_DTWEEK = RFCTYPE.RFCTYPE_DTWEEK * RFCTYPE_DTMONTH = RFCTYPE.RFCTYPE_DTMONTH */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_DTDAY); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 73, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_DTDAY); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 74, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_DTDAY, __pyx_t_4) < 0) __PYX_ERR(0, 73, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_DTDAY, __pyx_t_4) < 0) __PYX_ERR(0, 74, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":74 + /* "pyrfc/_cyrfc.pyx":75 * RFCTYPE_UTCMINUTE = RFCTYPE.RFCTYPE_UTCMINUTE * RFCTYPE_DTDAY = RFCTYPE.RFCTYPE_DTDAY * RFCTYPE_DTWEEK = RFCTYPE.RFCTYPE_DTWEEK # <<<<<<<<<<<<<< * RFCTYPE_DTMONTH = RFCTYPE.RFCTYPE_DTMONTH * RFCTYPE_TSECOND = RFCTYPE.RFCTYPE_TSECOND */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_DTWEEK); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 74, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_DTWEEK); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 75, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_DTWEEK, __pyx_t_4) < 0) __PYX_ERR(0, 74, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_DTWEEK, __pyx_t_4) < 0) __PYX_ERR(0, 75, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":75 + /* "pyrfc/_cyrfc.pyx":76 * RFCTYPE_DTDAY = RFCTYPE.RFCTYPE_DTDAY * RFCTYPE_DTWEEK = RFCTYPE.RFCTYPE_DTWEEK * RFCTYPE_DTMONTH = RFCTYPE.RFCTYPE_DTMONTH # <<<<<<<<<<<<<< * RFCTYPE_TSECOND = RFCTYPE.RFCTYPE_TSECOND * RFCTYPE_TMINUTE = RFCTYPE.RFCTYPE_TMINUTE */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_DTMONTH); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 75, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_DTMONTH); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 76, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_DTMONTH, __pyx_t_4) < 0) __PYX_ERR(0, 75, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_DTMONTH, __pyx_t_4) < 0) __PYX_ERR(0, 76, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":76 + /* "pyrfc/_cyrfc.pyx":77 * RFCTYPE_DTWEEK = RFCTYPE.RFCTYPE_DTWEEK * RFCTYPE_DTMONTH = RFCTYPE.RFCTYPE_DTMONTH * RFCTYPE_TSECOND = RFCTYPE.RFCTYPE_TSECOND # <<<<<<<<<<<<<< * RFCTYPE_TMINUTE = RFCTYPE.RFCTYPE_TMINUTE * RFCTYPE_CDAY = RFCTYPE.RFCTYPE_CDAY */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_TSECOND); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 76, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_TSECOND); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 77, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_TSECOND, __pyx_t_4) < 0) __PYX_ERR(0, 76, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_TSECOND, __pyx_t_4) < 0) __PYX_ERR(0, 77, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":77 + /* "pyrfc/_cyrfc.pyx":78 * RFCTYPE_DTMONTH = RFCTYPE.RFCTYPE_DTMONTH * RFCTYPE_TSECOND = RFCTYPE.RFCTYPE_TSECOND * RFCTYPE_TMINUTE = RFCTYPE.RFCTYPE_TMINUTE # <<<<<<<<<<<<<< * RFCTYPE_CDAY = RFCTYPE.RFCTYPE_CDAY * */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_TMINUTE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 77, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_TMINUTE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 78, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_TMINUTE, __pyx_t_4) < 0) __PYX_ERR(0, 77, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_TMINUTE, __pyx_t_4) < 0) __PYX_ERR(0, 78, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":78 + /* "pyrfc/_cyrfc.pyx":79 * RFCTYPE_TSECOND = RFCTYPE.RFCTYPE_TSECOND * RFCTYPE_TMINUTE = RFCTYPE.RFCTYPE_TMINUTE * RFCTYPE_CDAY = RFCTYPE.RFCTYPE_CDAY # <<<<<<<<<<<<<< * * */ - __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_CDAY); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 78, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFCTYPE(RFCTYPE_CDAY); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 79, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_CDAY, __pyx_t_4) < 0) __PYX_ERR(0, 78, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFCTYPE_CDAY, __pyx_t_4) < 0) __PYX_ERR(0, 79, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":49 + /* "pyrfc/_cyrfc.pyx":50 * * # RFC field type * class RfcFieldType(Enum): # <<<<<<<<<<<<<< * RFCTYPE_CHAR = RFCTYPE.RFCTYPE_CHAR * RFCTYPE_DATE = RFCTYPE.RFCTYPE_DATE */ - __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_RfcFieldType, __pyx_t_1, __pyx_t_3, NULL, 0, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 49, __pyx_L1_error) + __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_RfcFieldType, __pyx_t_1, __pyx_t_3, NULL, 0, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 50, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_RfcFieldType, __pyx_t_4) < 0) __PYX_ERR(0, 49, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_RfcFieldType, __pyx_t_4) < 0) __PYX_ERR(0, 50, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":82 + /* "pyrfc/_cyrfc.pyx":83 * * # bgRFC unit state * class UnitState(Enum): # <<<<<<<<<<<<<< * not_found = RFC_UNIT_STATE.RFC_UNIT_NOT_FOUND * in_process = RFC_UNIT_STATE.RFC_UNIT_IN_PROCESS */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_Enum); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 82, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_Enum); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 83, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 82, __pyx_L1_error) + __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 83, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_GIVEREF(__pyx_t_1); PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_CalculateMetaclass(NULL, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 82, __pyx_L1_error) + __pyx_t_1 = __Pyx_CalculateMetaclass(NULL, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 83, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_1, __pyx_t_2, __pyx_n_s_UnitState, __pyx_n_s_UnitState, (PyObject *) NULL, __pyx_n_s_pyrfc__cyrfc, (PyObject *) NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 82, __pyx_L1_error) + __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_1, __pyx_t_2, __pyx_n_s_UnitState, __pyx_n_s_UnitState, (PyObject *) NULL, __pyx_n_s_pyrfc__cyrfc, (PyObject *) NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 83, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - /* "pyrfc/_cyrfc.pyx":83 + /* "pyrfc/_cyrfc.pyx":84 * # bgRFC unit state * class UnitState(Enum): * not_found = RFC_UNIT_STATE.RFC_UNIT_NOT_FOUND # <<<<<<<<<<<<<< * in_process = RFC_UNIT_STATE.RFC_UNIT_IN_PROCESS * committed = RFC_UNIT_STATE.RFC_UNIT_COMMITTED */ - __pyx_t_4 = __Pyx_PyInt_From_RFC_UNIT_STATE(RFC_UNIT_NOT_FOUND); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 83, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFC_UNIT_STATE(RFC_UNIT_NOT_FOUND); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 84, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_not_found, __pyx_t_4) < 0) __PYX_ERR(0, 83, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_not_found, __pyx_t_4) < 0) __PYX_ERR(0, 84, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":84 + /* "pyrfc/_cyrfc.pyx":85 * class UnitState(Enum): * not_found = RFC_UNIT_STATE.RFC_UNIT_NOT_FOUND * in_process = RFC_UNIT_STATE.RFC_UNIT_IN_PROCESS # <<<<<<<<<<<<<< * committed = RFC_UNIT_STATE.RFC_UNIT_COMMITTED * rolled_back = RFC_UNIT_STATE.RFC_UNIT_ROLLED_BACK */ - __pyx_t_4 = __Pyx_PyInt_From_RFC_UNIT_STATE(RFC_UNIT_IN_PROCESS); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 84, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFC_UNIT_STATE(RFC_UNIT_IN_PROCESS); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 85, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_in_process, __pyx_t_4) < 0) __PYX_ERR(0, 84, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_in_process, __pyx_t_4) < 0) __PYX_ERR(0, 85, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":85 + /* "pyrfc/_cyrfc.pyx":86 * not_found = RFC_UNIT_STATE.RFC_UNIT_NOT_FOUND * in_process = RFC_UNIT_STATE.RFC_UNIT_IN_PROCESS * committed = RFC_UNIT_STATE.RFC_UNIT_COMMITTED # <<<<<<<<<<<<<< * rolled_back = RFC_UNIT_STATE.RFC_UNIT_ROLLED_BACK * confirmed = RFC_UNIT_STATE.RFC_UNIT_CONFIRMED */ - __pyx_t_4 = __Pyx_PyInt_From_RFC_UNIT_STATE(RFC_UNIT_COMMITTED); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 85, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFC_UNIT_STATE(RFC_UNIT_COMMITTED); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 86, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_committed, __pyx_t_4) < 0) __PYX_ERR(0, 85, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_committed, __pyx_t_4) < 0) __PYX_ERR(0, 86, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":86 + /* "pyrfc/_cyrfc.pyx":87 * in_process = RFC_UNIT_STATE.RFC_UNIT_IN_PROCESS * committed = RFC_UNIT_STATE.RFC_UNIT_COMMITTED * rolled_back = RFC_UNIT_STATE.RFC_UNIT_ROLLED_BACK # <<<<<<<<<<<<<< * confirmed = RFC_UNIT_STATE.RFC_UNIT_CONFIRMED * created = auto() */ - __pyx_t_4 = __Pyx_PyInt_From_RFC_UNIT_STATE(RFC_UNIT_ROLLED_BACK); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 86, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFC_UNIT_STATE(RFC_UNIT_ROLLED_BACK); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 87, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_rolled_back, __pyx_t_4) < 0) __PYX_ERR(0, 86, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_rolled_back, __pyx_t_4) < 0) __PYX_ERR(0, 87, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":87 + /* "pyrfc/_cyrfc.pyx":88 * committed = RFC_UNIT_STATE.RFC_UNIT_COMMITTED * rolled_back = RFC_UNIT_STATE.RFC_UNIT_ROLLED_BACK * confirmed = RFC_UNIT_STATE.RFC_UNIT_CONFIRMED # <<<<<<<<<<<<<< * created = auto() * executed = auto() */ - __pyx_t_4 = __Pyx_PyInt_From_RFC_UNIT_STATE(RFC_UNIT_CONFIRMED); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 87, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFC_UNIT_STATE(RFC_UNIT_CONFIRMED); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 88, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_confirmed, __pyx_t_4) < 0) __PYX_ERR(0, 87, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_confirmed, __pyx_t_4) < 0) __PYX_ERR(0, 88, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":88 + /* "pyrfc/_cyrfc.pyx":89 * rolled_back = RFC_UNIT_STATE.RFC_UNIT_ROLLED_BACK * confirmed = RFC_UNIT_STATE.RFC_UNIT_CONFIRMED * created = auto() # <<<<<<<<<<<<<< * executed = auto() * */ - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_auto); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 88, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_auto); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 89, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_5))) { @@ -44803,20 +44803,20 @@ if (!__Pyx_RefNanny) { } __pyx_t_4 = (__pyx_t_6) ? __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_t_6) : __Pyx_PyObject_CallNoArg(__pyx_t_5); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 88, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 89, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_created, __pyx_t_4) < 0) __PYX_ERR(0, 88, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_created, __pyx_t_4) < 0) __PYX_ERR(0, 89, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":89 + /* "pyrfc/_cyrfc.pyx":90 * confirmed = RFC_UNIT_STATE.RFC_UNIT_CONFIRMED * created = auto() * executed = auto() # <<<<<<<<<<<<<< * * */ - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_auto); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 89, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_auto); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 90, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_5))) { @@ -44830,550 +44830,550 @@ if (!__Pyx_RefNanny) { } __pyx_t_4 = (__pyx_t_6) ? __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_t_6) : __Pyx_PyObject_CallNoArg(__pyx_t_5); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 89, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 90, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_executed, __pyx_t_4) < 0) __PYX_ERR(0, 89, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_executed, __pyx_t_4) < 0) __PYX_ERR(0, 90, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":82 + /* "pyrfc/_cyrfc.pyx":83 * * # bgRFC unit state * class UnitState(Enum): # <<<<<<<<<<<<<< * not_found = RFC_UNIT_STATE.RFC_UNIT_NOT_FOUND * in_process = RFC_UNIT_STATE.RFC_UNIT_IN_PROCESS */ - __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_1, __pyx_n_s_UnitState, __pyx_t_2, __pyx_t_3, NULL, 0, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 82, __pyx_L1_error) + __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_1, __pyx_n_s_UnitState, __pyx_t_2, __pyx_t_3, NULL, 0, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 83, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_UnitState, __pyx_t_4) < 0) __PYX_ERR(0, 82, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_UnitState, __pyx_t_4) < 0) __PYX_ERR(0, 83, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":93 + /* "pyrfc/_cyrfc.pyx":94 * * # bgRFC status * class RCStatus(Enum): # <<<<<<<<<<<<<< * OK = RFC_RC.RFC_OK * RFC_NOT_FOUND = RFC_RC.RFC_NOT_FOUND */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_Enum); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 93, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_Enum); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 94, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 93, __pyx_L1_error) + __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 94, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_2); PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 93, __pyx_L1_error) + __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 94, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_1, __pyx_n_s_RCStatus, __pyx_n_s_RCStatus, (PyObject *) NULL, __pyx_n_s_pyrfc__cyrfc, (PyObject *) NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 93, __pyx_L1_error) + __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_1, __pyx_n_s_RCStatus, __pyx_n_s_RCStatus, (PyObject *) NULL, __pyx_n_s_pyrfc__cyrfc, (PyObject *) NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 94, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - /* "pyrfc/_cyrfc.pyx":94 + /* "pyrfc/_cyrfc.pyx":95 * # bgRFC status * class RCStatus(Enum): * OK = RFC_RC.RFC_OK # <<<<<<<<<<<<<< * RFC_NOT_FOUND = RFC_RC.RFC_NOT_FOUND * RFC_EXTERNAL_FAILURE = RFC_RC.RFC_EXTERNAL_FAILURE */ - __pyx_t_4 = __Pyx_PyInt_From_RFC_RC(RFC_OK); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 94, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFC_RC(RFC_OK); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 95, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_OK, __pyx_t_4) < 0) __PYX_ERR(0, 94, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_OK, __pyx_t_4) < 0) __PYX_ERR(0, 95, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":95 + /* "pyrfc/_cyrfc.pyx":96 * class RCStatus(Enum): * OK = RFC_RC.RFC_OK * RFC_NOT_FOUND = RFC_RC.RFC_NOT_FOUND # <<<<<<<<<<<<<< * RFC_EXTERNAL_FAILURE = RFC_RC.RFC_EXTERNAL_FAILURE * RFC_EXECUTED = RFC_RC.RFC_EXECUTED */ - __pyx_t_4 = __Pyx_PyInt_From_RFC_RC(RFC_NOT_FOUND); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 95, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFC_RC(RFC_NOT_FOUND); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 96, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFC_NOT_FOUND, __pyx_t_4) < 0) __PYX_ERR(0, 95, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFC_NOT_FOUND, __pyx_t_4) < 0) __PYX_ERR(0, 96, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":96 + /* "pyrfc/_cyrfc.pyx":97 * OK = RFC_RC.RFC_OK * RFC_NOT_FOUND = RFC_RC.RFC_NOT_FOUND * RFC_EXTERNAL_FAILURE = RFC_RC.RFC_EXTERNAL_FAILURE # <<<<<<<<<<<<<< * RFC_EXECUTED = RFC_RC.RFC_EXECUTED * */ - __pyx_t_4 = __Pyx_PyInt_From_RFC_RC(RFC_EXTERNAL_FAILURE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 96, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFC_RC(RFC_EXTERNAL_FAILURE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 97, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFC_EXTERNAL_FAILURE, __pyx_t_4) < 0) __PYX_ERR(0, 96, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFC_EXTERNAL_FAILURE, __pyx_t_4) < 0) __PYX_ERR(0, 97, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":97 + /* "pyrfc/_cyrfc.pyx":98 * RFC_NOT_FOUND = RFC_RC.RFC_NOT_FOUND * RFC_EXTERNAL_FAILURE = RFC_RC.RFC_EXTERNAL_FAILURE * RFC_EXECUTED = RFC_RC.RFC_EXECUTED # <<<<<<<<<<<<<< * * */ - __pyx_t_4 = __Pyx_PyInt_From_RFC_RC(RFC_EXECUTED); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 97, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFC_RC(RFC_EXECUTED); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 98, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFC_EXECUTED, __pyx_t_4) < 0) __PYX_ERR(0, 97, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_RFC_EXECUTED, __pyx_t_4) < 0) __PYX_ERR(0, 98, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":93 + /* "pyrfc/_cyrfc.pyx":94 * * # bgRFC status * class RCStatus(Enum): # <<<<<<<<<<<<<< * OK = RFC_RC.RFC_OK * RFC_NOT_FOUND = RFC_RC.RFC_NOT_FOUND */ - __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_RCStatus, __pyx_t_1, __pyx_t_3, NULL, 0, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 93, __pyx_L1_error) + __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_RCStatus, __pyx_t_1, __pyx_t_3, NULL, 0, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 94, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_RCStatus, __pyx_t_4) < 0) __PYX_ERR(0, 93, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_RCStatus, __pyx_t_4) < 0) __PYX_ERR(0, 94, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "pyrfc/_cyrfc.pyx":101 + /* "pyrfc/_cyrfc.pyx":102 * * # bgRFCunit call type * class UnitCallType(Enum): # <<<<<<<<<<<<<< * synchronous = RFC_CALL_TYPE.RFC_SYNCHRONOUS * transactional = RFC_CALL_TYPE.RFC_TRANSACTIONAL */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_Enum); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 101, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_Enum); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 102, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 101, __pyx_L1_error) + __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 102, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_GIVEREF(__pyx_t_1); PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_CalculateMetaclass(NULL, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 101, __pyx_L1_error) + __pyx_t_1 = __Pyx_CalculateMetaclass(NULL, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 102, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_1, __pyx_t_2, __pyx_n_s_UnitCallType, __pyx_n_s_UnitCallType, (PyObject *) NULL, __pyx_n_s_pyrfc__cyrfc, (PyObject *) NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 101, __pyx_L1_error) + __pyx_t_3 = __Pyx_Py3MetaclassPrepare(__pyx_t_1, __pyx_t_2, __pyx_n_s_UnitCallType, __pyx_n_s_UnitCallType, (PyObject *) NULL, __pyx_n_s_pyrfc__cyrfc, (PyObject *) NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 102, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - /* "pyrfc/_cyrfc.pyx":102 + /* "pyrfc/_cyrfc.pyx":103 * # bgRFCunit call type * class UnitCallType(Enum): * synchronous = RFC_CALL_TYPE.RFC_SYNCHRONOUS # <<<<<<<<<<<<<< * transactional = RFC_CALL_TYPE.RFC_TRANSACTIONAL * queued = RFC_CALL_TYPE.RFC_QUEUED */ - __pyx_t_4 = __Pyx_PyInt_From_RFC_CALL_TYPE(RFC_SYNCHRONOUS); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 102, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFC_CALL_TYPE(RFC_SYNCHRONOUS); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 103, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_synchronous, __pyx_t_4) < 0) __PYX_ERR(0, 102, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_synchronous, __pyx_t_4) < 0) __PYX_ERR(0, 103, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":103 + /* "pyrfc/_cyrfc.pyx":104 * class UnitCallType(Enum): * synchronous = RFC_CALL_TYPE.RFC_SYNCHRONOUS * transactional = RFC_CALL_TYPE.RFC_TRANSACTIONAL # <<<<<<<<<<<<<< * queued = RFC_CALL_TYPE.RFC_QUEUED * background_unit = RFC_CALL_TYPE.RFC_BACKGROUND_UNIT */ - __pyx_t_4 = __Pyx_PyInt_From_RFC_CALL_TYPE(RFC_TRANSACTIONAL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 103, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFC_CALL_TYPE(RFC_TRANSACTIONAL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 104, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_transactional, __pyx_t_4) < 0) __PYX_ERR(0, 103, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_transactional, __pyx_t_4) < 0) __PYX_ERR(0, 104, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":104 + /* "pyrfc/_cyrfc.pyx":105 * synchronous = RFC_CALL_TYPE.RFC_SYNCHRONOUS * transactional = RFC_CALL_TYPE.RFC_TRANSACTIONAL * queued = RFC_CALL_TYPE.RFC_QUEUED # <<<<<<<<<<<<<< * background_unit = RFC_CALL_TYPE.RFC_BACKGROUND_UNIT * */ - __pyx_t_4 = __Pyx_PyInt_From_RFC_CALL_TYPE(RFC_QUEUED); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 104, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFC_CALL_TYPE(RFC_QUEUED); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 105, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_queued, __pyx_t_4) < 0) __PYX_ERR(0, 104, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_queued, __pyx_t_4) < 0) __PYX_ERR(0, 105, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":105 + /* "pyrfc/_cyrfc.pyx":106 * transactional = RFC_CALL_TYPE.RFC_TRANSACTIONAL * queued = RFC_CALL_TYPE.RFC_QUEUED * background_unit = RFC_CALL_TYPE.RFC_BACKGROUND_UNIT # <<<<<<<<<<<<<< * * ################################################################################ */ - __pyx_t_4 = __Pyx_PyInt_From_RFC_CALL_TYPE(RFC_BACKGROUND_UNIT); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 105, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_RFC_CALL_TYPE(RFC_BACKGROUND_UNIT); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 106, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_background_unit, __pyx_t_4) < 0) __PYX_ERR(0, 105, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_background_unit, __pyx_t_4) < 0) __PYX_ERR(0, 106, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "pyrfc/_cyrfc.pyx":101 + /* "pyrfc/_cyrfc.pyx":102 * * # bgRFCunit call type * class UnitCallType(Enum): # <<<<<<<<<<<<<< * synchronous = RFC_CALL_TYPE.RFC_SYNCHRONOUS * transactional = RFC_CALL_TYPE.RFC_TRANSACTIONAL */ - __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_1, __pyx_n_s_UnitCallType, __pyx_t_2, __pyx_t_3, NULL, 0, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 101, __pyx_L1_error) + __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_1, __pyx_n_s_UnitCallType, __pyx_t_2, __pyx_t_3, NULL, 0, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 102, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_UnitCallType, __pyx_t_4) < 0) __PYX_ERR(0, 101, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_UnitCallType, __pyx_t_4) < 0) __PYX_ERR(0, 102, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":112 + /* "pyrfc/_cyrfc.pyx":113 * * * def get_nwrfclib_version(): # <<<<<<<<<<<<<< * """Get SAP NW RFC Lib version * :returns: tuple of major, minor and patch level and OS platform */ - __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_5pyrfc_6_cyrfc_1get_nwrfclib_version, NULL, __pyx_n_s_pyrfc__cyrfc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 112, __pyx_L1_error) + __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_5pyrfc_6_cyrfc_1get_nwrfclib_version, NULL, __pyx_n_s_pyrfc__cyrfc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 113, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_get_nwrfclib_version, __pyx_t_2) < 0) __PYX_ERR(0, 112, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_get_nwrfclib_version, __pyx_t_2) < 0) __PYX_ERR(0, 113, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":123 + /* "pyrfc/_cyrfc.pyx":124 * * * def set_ini_file_directory(path_name): # <<<<<<<<<<<<<< * """Sets the directory in which to search for the sapnwrfc.ini file * */ - __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_5pyrfc_6_cyrfc_3set_ini_file_directory, NULL, __pyx_n_s_pyrfc__cyrfc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 123, __pyx_L1_error) + __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_5pyrfc_6_cyrfc_3set_ini_file_directory, NULL, __pyx_n_s_pyrfc__cyrfc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 124, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_set_ini_file_directory, __pyx_t_2) < 0) __PYX_ERR(0, 123, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_set_ini_file_directory, __pyx_t_2) < 0) __PYX_ERR(0, 124, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":143 + /* "pyrfc/_cyrfc.pyx":144 * * * def reload_ini_file(): # <<<<<<<<<<<<<< * """Reloads the contents of the sapnwrfc.ini file into memory. * */ - __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_5pyrfc_6_cyrfc_5reload_ini_file, NULL, __pyx_n_s_pyrfc__cyrfc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 143, __pyx_L1_error) + __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_5pyrfc_6_cyrfc_5reload_ini_file, NULL, __pyx_n_s_pyrfc__cyrfc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 144, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_reload_ini_file, __pyx_t_2) < 0) __PYX_ERR(0, 143, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_reload_ini_file, __pyx_t_2) < 0) __PYX_ERR(0, 144, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":162 + /* "pyrfc/_cyrfc.pyx":163 * * * def language_iso_to_sap(lang_iso): # <<<<<<<<<<<<<< * """Language code conversion of ISO code to SAP code. * */ - __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_5pyrfc_6_cyrfc_7language_iso_to_sap, NULL, __pyx_n_s_pyrfc__cyrfc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 162, __pyx_L1_error) + __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_5pyrfc_6_cyrfc_7language_iso_to_sap, NULL, __pyx_n_s_pyrfc__cyrfc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 163, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_language_iso_to_sap, __pyx_t_2) < 0) __PYX_ERR(0, 162, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_language_iso_to_sap, __pyx_t_2) < 0) __PYX_ERR(0, 163, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":183 + /* "pyrfc/_cyrfc.pyx":184 * * * def language_sap_to_iso(lang_sap): # <<<<<<<<<<<<<< * """Language code conversion of SAP code to ISO code. * */ - __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_5pyrfc_6_cyrfc_9language_sap_to_iso, NULL, __pyx_n_s_pyrfc__cyrfc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 183, __pyx_L1_error) + __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_5pyrfc_6_cyrfc_9language_sap_to_iso, NULL, __pyx_n_s_pyrfc__cyrfc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 184, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_language_sap_to_iso, __pyx_t_2) < 0) __PYX_ERR(0, 183, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_language_sap_to_iso, __pyx_t_2) < 0) __PYX_ERR(0, 184, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":204 + /* "pyrfc/_cyrfc.pyx":205 * * * def set_cryptolib_path(path_name): # <<<<<<<<<<<<<< * """Sets the absolute path to the sapcrypto library to enable TLS encryption via Websocket Rfc. * */ - __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_5pyrfc_6_cyrfc_11set_cryptolib_path, NULL, __pyx_n_s_pyrfc__cyrfc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 204, __pyx_L1_error) + __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_5pyrfc_6_cyrfc_11set_cryptolib_path, NULL, __pyx_n_s_pyrfc__cyrfc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 205, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_set_cryptolib_path, __pyx_t_2) < 0) __PYX_ERR(0, 204, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_set_cryptolib_path, __pyx_t_2) < 0) __PYX_ERR(0, 205, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":228 + /* "pyrfc/_cyrfc.pyx":229 * * * def set_locale_radix(value=None): # <<<<<<<<<<<<<< * """Sets the locale radix for decimal conversions. * */ - __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_5pyrfc_6_cyrfc_13set_locale_radix, NULL, __pyx_n_s_pyrfc__cyrfc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 228, __pyx_L1_error) + __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_5pyrfc_6_cyrfc_13set_locale_radix, NULL, __pyx_n_s_pyrfc__cyrfc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 229, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_set_locale_radix, __pyx_t_2) < 0) __PYX_ERR(0, 228, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_set_locale_radix, __pyx_t_2) < 0) __PYX_ERR(0, 229, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":252 + /* "pyrfc/_cyrfc.pyx":253 * * * def cancel_connection(client_connection): # <<<<<<<<<<<<<< * """Immediately cancels the RFC call which is currently being called over the given RFC connection * and closes the connection. Can be used only on an RFC client connection. */ - __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_5pyrfc_6_cyrfc_15cancel_connection, NULL, __pyx_n_s_pyrfc__cyrfc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 252, __pyx_L1_error) + __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_5pyrfc_6_cyrfc_15cancel_connection, NULL, __pyx_n_s_pyrfc__cyrfc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 253, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_cancel_connection, __pyx_t_2) < 0) __PYX_ERR(0, 252, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_cancel_connection, __pyx_t_2) < 0) __PYX_ERR(0, 253, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":312 + /* "pyrfc/_cyrfc.pyx":313 * * * class TypeDescription(object): # <<<<<<<<<<<<<< * """ A type description * */ - __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_tuple__68); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 312, __pyx_L1_error) + __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_tuple__68); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 313, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_tuple__68, __pyx_n_s_TypeDescription_2, __pyx_n_s_TypeDescription_2, (PyObject *) NULL, __pyx_n_s_pyrfc__cyrfc, __pyx_kp_s_A_type_description_This_class_w); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 312, __pyx_L1_error) + __pyx_t_1 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_tuple__68, __pyx_n_s_TypeDescription_2, __pyx_n_s_TypeDescription_2, (PyObject *) NULL, __pyx_n_s_pyrfc__cyrfc, __pyx_kp_s_A_type_description_This_class_w); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 313, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - /* "pyrfc/_cyrfc.pyx":337 + /* "pyrfc/_cyrfc.pyx":338 * * """ * def __init__(self, name, nuc_length, uc_length): # <<<<<<<<<<<<<< * self.fields = [] * if len(name)<1 or len(name)>30: */ - __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_5pyrfc_6_cyrfc_15TypeDescription_1__init__, 0, __pyx_n_s_TypeDescription___init, NULL, __pyx_n_s_pyrfc__cyrfc, __pyx_d, ((PyObject *)__pyx_codeobj__70)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 337, __pyx_L1_error) + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_5pyrfc_6_cyrfc_15TypeDescription_1__init__, 0, __pyx_n_s_TypeDescription___init, NULL, __pyx_n_s_pyrfc__cyrfc, __pyx_d, ((PyObject *)__pyx_codeobj__70)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 338, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_init, __pyx_t_3) < 0) __PYX_ERR(0, 337, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_init, __pyx_t_3) < 0) __PYX_ERR(0, 338, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":348 + /* "pyrfc/_cyrfc.pyx":349 * self.uc_length = uc_length * * def add_field(self, name, field_type, nuc_length, uc_length, nuc_offset, # <<<<<<<<<<<<<< * uc_offset, decimals=0, type_description=None): * """ Adds a field to the type description. */ - __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_5pyrfc_6_cyrfc_15TypeDescription_3add_field, 0, __pyx_n_s_TypeDescription_add_field, NULL, __pyx_n_s_pyrfc__cyrfc, __pyx_d, ((PyObject *)__pyx_codeobj__72)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 348, __pyx_L1_error) + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_5pyrfc_6_cyrfc_15TypeDescription_3add_field, 0, __pyx_n_s_TypeDescription_add_field, NULL, __pyx_n_s_pyrfc__cyrfc, __pyx_d, ((PyObject *)__pyx_codeobj__72)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 349, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_3, __pyx_tuple__73); - if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_add_field, __pyx_t_3) < 0) __PYX_ERR(0, 348, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_add_field, __pyx_t_3) < 0) __PYX_ERR(0, 349, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":389 + /* "pyrfc/_cyrfc.pyx":390 * }) * * def __repr__(self): # <<<<<<<<<<<<<< * return f"" */ - __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_5pyrfc_6_cyrfc_15TypeDescription_5__repr__, 0, __pyx_n_s_TypeDescription___repr, NULL, __pyx_n_s_pyrfc__cyrfc, __pyx_d, ((PyObject *)__pyx_codeobj__75)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 389, __pyx_L1_error) + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_5pyrfc_6_cyrfc_15TypeDescription_5__repr__, 0, __pyx_n_s_TypeDescription___repr, NULL, __pyx_n_s_pyrfc__cyrfc, __pyx_d, ((PyObject *)__pyx_codeobj__75)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 390, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_repr, __pyx_t_3) < 0) __PYX_ERR(0, 389, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_repr, __pyx_t_3) < 0) __PYX_ERR(0, 390, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":312 + /* "pyrfc/_cyrfc.pyx":313 * * * class TypeDescription(object): # <<<<<<<<<<<<<< * """ A type description * */ - __pyx_t_3 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_TypeDescription_2, __pyx_tuple__68, __pyx_t_1, NULL, 0, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 312, __pyx_L1_error) + __pyx_t_3 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_TypeDescription_2, __pyx_tuple__68, __pyx_t_1, NULL, 0, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 313, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_TypeDescription_2, __pyx_t_3) < 0) __PYX_ERR(0, 312, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_TypeDescription_2, __pyx_t_3) < 0) __PYX_ERR(0, 313, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":398 + /* "pyrfc/_cyrfc.pyx":399 * * * class FunctionDescription(object): # <<<<<<<<<<<<<< * """ A function description * */ - __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_tuple__76); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 398, __pyx_L1_error) + __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_tuple__76); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 399, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_tuple__76, __pyx_n_s_FunctionDescription_2, __pyx_n_s_FunctionDescription_2, (PyObject *) NULL, __pyx_n_s_pyrfc__cyrfc, __pyx_kp_s_A_function_description_This_cla); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 398, __pyx_L1_error) + __pyx_t_1 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_tuple__76, __pyx_n_s_FunctionDescription_2, __pyx_n_s_FunctionDescription_2, (PyObject *) NULL, __pyx_n_s_pyrfc__cyrfc, __pyx_kp_s_A_function_description_This_cla); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 399, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - /* "pyrfc/_cyrfc.pyx":421 + /* "pyrfc/_cyrfc.pyx":422 * * """ * def __init__(self, name): # <<<<<<<<<<<<<< * self.name = name * self.parameters = [] */ - __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_5pyrfc_6_cyrfc_19FunctionDescription_1__init__, 0, __pyx_n_s_FunctionDescription___init, NULL, __pyx_n_s_pyrfc__cyrfc, __pyx_d, ((PyObject *)__pyx_codeobj__78)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 421, __pyx_L1_error) + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_5pyrfc_6_cyrfc_19FunctionDescription_1__init__, 0, __pyx_n_s_FunctionDescription___init, NULL, __pyx_n_s_pyrfc__cyrfc, __pyx_d, ((PyObject *)__pyx_codeobj__78)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 422, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_init, __pyx_t_3) < 0) __PYX_ERR(0, 421, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_init, __pyx_t_3) < 0) __PYX_ERR(0, 422, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":425 + /* "pyrfc/_cyrfc.pyx":426 * self.parameters = [] * * def add_parameter(self, name, parameter_type, direction, nuc_length, # <<<<<<<<<<<<<< * uc_length, decimals=0, default_value="", parameter_text="", * optional=False, type_description=None): */ - __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_5pyrfc_6_cyrfc_19FunctionDescription_3add_parameter, 0, __pyx_n_s_FunctionDescription_add_paramete, NULL, __pyx_n_s_pyrfc__cyrfc, __pyx_d, ((PyObject *)__pyx_codeobj__80)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 425, __pyx_L1_error) + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_5pyrfc_6_cyrfc_19FunctionDescription_3add_parameter, 0, __pyx_n_s_FunctionDescription_add_paramete, NULL, __pyx_n_s_pyrfc__cyrfc, __pyx_d, ((PyObject *)__pyx_codeobj__80)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 426, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_3, __pyx_tuple__81); - if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_add_parameter, __pyx_t_3) < 0) __PYX_ERR(0, 425, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_add_parameter, __pyx_t_3) < 0) __PYX_ERR(0, 426, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":474 + /* "pyrfc/_cyrfc.pyx":475 * }) * * def __repr__(self): # <<<<<<<<<<<<<< * return f"" * */ - __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_5pyrfc_6_cyrfc_19FunctionDescription_5__repr__, 0, __pyx_n_s_FunctionDescription___repr, NULL, __pyx_n_s_pyrfc__cyrfc, __pyx_d, ((PyObject *)__pyx_codeobj__83)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 474, __pyx_L1_error) + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_5pyrfc_6_cyrfc_19FunctionDescription_5__repr__, 0, __pyx_n_s_FunctionDescription___repr, NULL, __pyx_n_s_pyrfc__cyrfc, __pyx_d, ((PyObject *)__pyx_codeobj__83)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 475, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_repr, __pyx_t_3) < 0) __PYX_ERR(0, 474, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_repr, __pyx_t_3) < 0) __PYX_ERR(0, 475, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "pyrfc/_cyrfc.pyx":398 + /* "pyrfc/_cyrfc.pyx":399 * * * class FunctionDescription(object): # <<<<<<<<<<<<<< * """ A function description * */ - __pyx_t_3 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_FunctionDescription_2, __pyx_tuple__76, __pyx_t_1, NULL, 0, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 398, __pyx_L1_error) + __pyx_t_3 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_FunctionDescription_2, __pyx_tuple__76, __pyx_t_1, NULL, 0, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 399, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_FunctionDescription_2, __pyx_t_3) < 0) __PYX_ERR(0, 398, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_FunctionDescription_2, __pyx_t_3) < 0) __PYX_ERR(0, 399, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1493 + /* "pyrfc/_cyrfc.pyx":1494 * # "callback": Python function, * # "server": Server object) * server_functions = {} # <<<<<<<<<<<<<< * * # global information about served functions / callbacks */ - __pyx_t_2 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1493, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1494, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_server_functions, __pyx_t_2) < 0) __PYX_ERR(0, 1493, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_server_functions, __pyx_t_2) < 0) __PYX_ERR(0, 1494, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1498 + /* "pyrfc/_cyrfc.pyx":1499 * # "auth_check": Default authorization check function * # "server_log": Server logging flag, default False * server_context = {} # <<<<<<<<<<<<<< * * */ - __pyx_t_2 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1498, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1499, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_server_context, __pyx_t_2) < 0) __PYX_ERR(0, 1498, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_server_context, __pyx_t_2) < 0) __PYX_ERR(0, 1499, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1501 + /* "pyrfc/_cyrfc.pyx":1502 * * * def default_auth_check(func_name=False, request_context = None): # <<<<<<<<<<<<<< * request_context = request_context or {} * _server_log(f"authorization check for '{func_name}'", request_context['server_context']) */ - __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_5pyrfc_6_cyrfc_17default_auth_check, NULL, __pyx_n_s_pyrfc__cyrfc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1501, __pyx_L1_error) + __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_5pyrfc_6_cyrfc_17default_auth_check, NULL, __pyx_n_s_pyrfc__cyrfc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1502, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_default_auth_check, __pyx_t_2) < 0) __PYX_ERR(0, 1501, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_default_auth_check, __pyx_t_2) < 0) __PYX_ERR(0, 1502, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1507 + /* "pyrfc/_cyrfc.pyx":1508 * * * def _server_log(origin, log_message): # <<<<<<<<<<<<<< * if server_context["server_log"]: * print (f"[{datetime.utcnow()} UTC] {origin} '{log_message}'") */ - __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_5pyrfc_6_cyrfc_19_server_log, NULL, __pyx_n_s_pyrfc__cyrfc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1507, __pyx_L1_error) + __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_5pyrfc_6_cyrfc_19_server_log, NULL, __pyx_n_s_pyrfc__cyrfc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1508, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_server_log, __pyx_t_2) < 0) __PYX_ERR(0, 1507, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_server_log, __pyx_t_2) < 0) __PYX_ERR(0, 1508, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "pyrfc/_cyrfc.pyx":1762 + /* "pyrfc/_cyrfc.pyx":1763 * * __bgRfcFunction = { * "check": None, # <<<<<<<<<<<<<< * "commit": None, * "rollback": None, */ - __pyx_t_2 = __Pyx_PyDict_NewPresized(5); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1762, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyDict_NewPresized(5); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1763, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_check, Py_None) < 0) __PYX_ERR(0, 1762, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_check, Py_None) < 0) __PYX_ERR(0, 1763, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1763 + /* "pyrfc/_cyrfc.pyx":1764 * __bgRfcFunction = { * "check": None, * "commit": None, # <<<<<<<<<<<<<< * "rollback": None, * "confirm": None, */ - if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_commit, Py_None) < 0) __PYX_ERR(0, 1762, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_commit, Py_None) < 0) __PYX_ERR(0, 1763, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1764 + /* "pyrfc/_cyrfc.pyx":1765 * "check": None, * "commit": None, * "rollback": None, # <<<<<<<<<<<<<< * "confirm": None, * "getState": None */ - if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_rollback, Py_None) < 0) __PYX_ERR(0, 1762, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_rollback, Py_None) < 0) __PYX_ERR(0, 1763, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1765 + /* "pyrfc/_cyrfc.pyx":1766 * "commit": None, * "rollback": None, * "confirm": None, # <<<<<<<<<<<<<< * "getState": None * } */ - if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_confirm, Py_None) < 0) __PYX_ERR(0, 1762, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_confirm, Py_None) < 0) __PYX_ERR(0, 1763, __pyx_L1_error) - /* "pyrfc/_cyrfc.pyx":1766 + /* "pyrfc/_cyrfc.pyx":1767 * "rollback": None, * "confirm": None, * "getState": None # <<<<<<<<<<<<<< * } * */ - if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_getState, Py_None) < 0) __PYX_ERR(0, 1762, __pyx_L1_error) - if (PyDict_SetItem((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Server->tp_dict, __pyx_n_s_bgRfcFunction, __pyx_t_2) < 0) __PYX_ERR(0, 1761, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_getState, Py_None) < 0) __PYX_ERR(0, 1763, __pyx_L1_error) + if (PyDict_SetItem((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Server->tp_dict, __pyx_n_s_bgRfcFunction, __pyx_t_2) < 0) __PYX_ERR(0, 1762, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; PyType_Modified(__pyx_ptype_5pyrfc_6_cyrfc_Server); - /* "pyrfc/_cyrfc.pyx":2173 + /* "pyrfc/_cyrfc.pyx":2174 * * cdef class Throughput: * _registry = [] # <<<<<<<<<<<<<< * * cdef RFC_THROUGHPUT_HANDLE _throughput_handle */ - __pyx_t_2 = PyList_New(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2173, __pyx_L1_error) + __pyx_t_2 = PyList_New(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2174, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Throughput->tp_dict, __pyx_n_s_registry, __pyx_t_2) < 0) __PYX_ERR(0, 2173, __pyx_L1_error) + if (PyDict_SetItem((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Throughput->tp_dict, __pyx_n_s_registry, __pyx_t_2) < 0) __PYX_ERR(0, 2174, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; PyType_Modified(__pyx_ptype_5pyrfc_6_cyrfc_Throughput); - /* "pyrfc/_cyrfc.pyx":2232 + /* "pyrfc/_cyrfc.pyx":2233 * * @staticmethod * def getFromConnection(Connection connection): # <<<<<<<<<<<<<< * """Returns the currently attached throughput object from a connection, if any. * */ - __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_5pyrfc_6_cyrfc_10Throughput_5getFromConnection, NULL, __pyx_n_s_pyrfc__cyrfc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2232, __pyx_L1_error) + __pyx_t_2 = PyCFunction_NewEx(&__pyx_mdef_5pyrfc_6_cyrfc_10Throughput_5getFromConnection, NULL, __pyx_n_s_pyrfc__cyrfc); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2233, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Throughput->tp_dict, __pyx_n_s_getFromConnection, __pyx_t_2) < 0) __PYX_ERR(0, 2232, __pyx_L1_error) + if (PyDict_SetItem((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Throughput->tp_dict, __pyx_n_s_getFromConnection, __pyx_t_2) < 0) __PYX_ERR(0, 2233, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; PyType_Modified(__pyx_ptype_5pyrfc_6_cyrfc_Throughput); - /* "pyrfc/_cyrfc.pyx":2231 + /* "pyrfc/_cyrfc.pyx":2232 * self._connections.add(connection) * * @staticmethod # <<<<<<<<<<<<<< * def getFromConnection(Connection connection): * """Returns the currently attached throughput object from a connection, if any. */ - __Pyx_GetNameInClass(__pyx_t_2, (PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Throughput, __pyx_n_s_getFromConnection); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2232, __pyx_L1_error) + __Pyx_GetNameInClass(__pyx_t_2, (PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Throughput, __pyx_n_s_getFromConnection); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2233, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_builtin_staticmethod, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2231, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_builtin_staticmethod, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2232, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (PyDict_SetItem((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Throughput->tp_dict, __pyx_n_s_getFromConnection, __pyx_t_1) < 0) __PYX_ERR(0, 2232, __pyx_L1_error) + if (PyDict_SetItem((PyObject *)__pyx_ptype_5pyrfc_6_cyrfc_Throughput->tp_dict, __pyx_n_s_getFromConnection, __pyx_t_1) < 0) __PYX_ERR(0, 2233, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; PyType_Modified(__pyx_ptype_5pyrfc_6_cyrfc_Throughput);