From decc01180b7736f9145c5d9c5f73754e140e1c8e Mon Sep 17 00:00:00 2001 From: bsrdjan Date: Tue, 11 Jul 2023 15:11:10 +0200 Subject: [PATCH] fix: linux cpp source --- output.json | 1 - src/pyrfc/_cyrfc.cpp | 73 +++++++++++++++++++++++++------------------- 2 files changed, 41 insertions(+), 33 deletions(-) delete mode 100644 output.json diff --git a/output.json b/output.json deleted file mode 100644 index feedb08..0000000 --- a/output.json +++ /dev/null @@ -1 +0,0 @@ -{"content": {"suites": {"0": {"status": {"total_pass": 9, "total_skip": 0, "total_xpass": 0, "total_xfail": 0, "total_rerun": 0, "total_fail": 0, "total_error": 0}, "tests": {"0": {"status": "PASS", "message": "", "test_name": "test_config_rstrip_false", "rerun": "0"}, "1": {"status": "PASS", "message": "", "test_name": "test_config_rstrip_true", "rerun": "0"}, "2": {"status": "PASS", "message": "", "test_name": "test_config_dtime_true", "rerun": "0"}, "3": {"status": "PASS", "message": "", "test_name": "test_config_dtime_false", "rerun": "0"}, "4": {"status": "PASS", "message": "", "test_name": "test_config_return_import_params_false", "rerun": "0"}, "5": {"status": "PASS", "message": "", "test_name": "test_config_return_import_params_true", "rerun": "0"}, "6": {"status": "PASS", "message": "", "test_name": "test_config_timeout", "rerun": "0"}, "7": {"status": "PASS", "message": "", "test_name": "test_config_not_supported", "rerun": "0"}, "8": {"status": "PASS", "message": "", "test_name": "test_config_parameter", "rerun": "0"}}, "suite_name": "tests/test_client_config.py"}, "1": {"suite_name": "tests/test_connection.py", "tests": {"0": {"status": "PASS", "message": "", "test_name": "test_sdk_version_and_options_getters", "rerun": "0"}, "1": {"status": "PASS", "message": "", "test_name": "test_pyrfc_version", "rerun": "0"}, "2": {"status": "PASS", "message": "", "test_name": "test_connection_info", "rerun": "0"}, "3": {"status": "PASS", "message": "", "test_name": "test_connection_info_attributes", "rerun": "0"}, "4": {"status": "PASS", "message": "", "test_name": "test_connection_info_disconnected", "rerun": "0"}, "5": {"status": "PASS", "message": "", "test_name": "test_reopen", "rerun": "0"}, "6": {"status": "PASS", "message": "", "test_name": "test_call_over_closed_connection", "rerun": "0"}, "7": {"status": "PASS", "message": "", "test_name": "test_ping", "rerun": "0"}, "8": {"status": "PASS", "message": "", "test_name": "test_RFM_name_string", "rerun": "0"}, "9": {"status": "PASS", "message": "", "test_name": "test_RFM_name_unicode", "rerun": "0"}, "10": {"status": "PASS", "message": "", "test_name": "test_RFM_name_invalid_type", "rerun": "0"}, "11": {"status": "PASS", "message": "", "test_name": "test_STFC_returns_structure_and_table", "rerun": "0"}, "12": {"status": "PASS", "message": "", "test_name": "test_STFC_STRUCTURE", "rerun": "0"}, "13": {"status": "PASS", "message": "", "test_name": "test_STFC_CHANGING", "rerun": "0"}}, "status": {"total_pass": 14, "total_skip": 0, "total_xpass": 0, "total_xfail": 0, "total_rerun": 0, "total_fail": 0, "total_error": 0}}, "2": {"suite_name": "tests/test_datatypes.py", "tests": {"0": {"status": "PASS", "message": "", "test_name": "test_structure_rejects_non_dict", "rerun": "0"}, "1": {"status": "PASS", "message": "", "test_name": "test_table_rejects_non_list", "rerun": "0"}, "2": {"status": "PASS", "message": "", "test_name": "test_basic_datatypes", "rerun": "0"}, "3": {"status": "PASS", "message": "", "test_name": "test_string_unicode", "rerun": "0"}, "4": {"status": "PASS", "message": "", "test_name": "test_date_output", "rerun": "0"}, "5": {"status": "PASS", "message": "", "test_name": "test_min_max_positive", "rerun": "0"}, "6": {"status": "PASS", "message": "", "test_name": "test_min_max_negative", "rerun": "0"}, "7": {"status": "PASS", "message": "", "test_name": "test_bcd_floats_accept_floats", "rerun": "0"}, "8": {"status": "PASS", "message": "", "test_name": "test_bcd_floats_accept_strings", "rerun": "0"}, "9": {"status": "PASS", "message": "", "test_name": "test_bcd_floats_accept_strings_radix_comma", "rerun": "0"}, "10": {"status": "PASS", "message": "", "test_name": "test_bcd_floats_accept_decimals", "rerun": "0"}, "11": {"status": "PASS", "message": "", "test_name": "test_raw_types_accept_bytes", "rerun": "0"}, "12": {"status": "PASS", "message": "", "test_name": "test_raw_types_accept_bytearray", "rerun": "0"}, "13": {"status": "PASS", "message": "", "test_name": "test_date_time", "rerun": "0"}, "14": {"status": "PASS", "message": "", "test_name": "test_date_accepts_string", "rerun": "0"}, "15": {"status": "PASS", "message": "", "test_name": "test_date_accepts_date", "rerun": "0"}, "16": {"status": "PASS", "message": "", "test_name": "test_time_accepts_string", "rerun": "0"}, "17": {"status": "PASS", "message": "", "test_name": "test_time_accepts_time", "rerun": "0"}, "18": {"status": "PASS", "message": "", "test_name": "test_error_int_rejects_string", "rerun": "0"}, "19": {"status": "PASS", "message": "", "test_name": "test_error_int_rejects_float", "rerun": "0"}, "20": {"status": "PASS", "message": "", "test_name": "test_error_string_rejects_None", "rerun": "0"}, "21": {"status": "PASS", "message": "", "test_name": "test_error_string_rejects_int", "rerun": "0"}, "22": {"status": "PASS", "message": "", "test_name": "test_float_rejects_not_a_number_string", "rerun": "0"}, "23": {"status": "PASS", "message": "", "test_name": "test_float_rejects_array", "rerun": "0"}, "24": {"status": "PASS", "message": "", "test_name": "test_float_rejects_comma_for_point_locale", "rerun": "0"}, "25": {"status": "PASS", "message": "", "test_name": "test_float_accepts_point_for_point_locale", "rerun": "0"}, "26": {"status": "PASS", "message": "", "test_name": "test_float_rejects_point_for_comma_locale", "rerun": "0"}, "27": {"status": "PASS", "message": "", "test_name": "test_float_accepts_comma_for_comma_locale", "rerun": "0"}, "28": {"status": "PASS", "message": "", "test_name": "test_bcd_rejects_not_a_number_string", "rerun": "0"}, "29": {"status": "PASS", "message": "", "test_name": "test_numc_rejects_non_string", "rerun": "0"}, "30": {"status": "PASS", "message": "", "test_name": "test_numc_rejects_non_numeric_string", "rerun": "0"}, "31": {"status": "PASS", "message": "", "test_name": "test_numc_rejects_empty_string", "rerun": "0"}, "32": {"status": "PASS", "message": "", "test_name": "test_numc_rejects_space_string", "rerun": "0"}, "33": {"status": "PASS", "message": "", "test_name": "test_utclong_accepts_min_max_initial", "rerun": "0"}, "34": {"status": "PASS", "message": "", "test_name": "test_utclong_rejects_non_string_or_invalid_format", "rerun": "0"}}, "status": {"total_pass": 35, "total_skip": 0, "total_xpass": 0, "total_xfail": 0, "total_rerun": 0, "total_fail": 0, "total_error": 0}}, "3": {"suite_name": "tests/test_errors.py", "tests": {"0": {"status": "PASS", "message": "", "test_name": "test_no_connection_params", "rerun": "0"}, "1": {"status": "PASS", "message": "", "test_name": "test_incomplete_params", "rerun": "0"}, "2": {"status": "PASS", "message": "", "test_name": "test_denied_users", "rerun": "0"}, "3": {"status": "PASS", "message": "", "test_name": "test_call_without_RFM_name", "rerun": "0"}, "4": {"status": "PASS", "message": "", "test_name": "test_call_non_existing_RFM", "rerun": "0"}, "5": {"status": "PASS", "message": "", "test_name": "test_call_non_string_RFM_name", "rerun": "0"}, "6": {"status": "PASS", "message": "", "test_name": "test_call_non_existing_RFM_parameter", "rerun": "0"}, "7": {"status": "PASS", "message": "", "test_name": "test_non_existing_field_structure", "rerun": "0"}, "8": {"status": "PASS", "message": "", "test_name": "test_non_existing_field_table", "rerun": "0"}}, "status": {"total_pass": 9, "total_skip": 0, "total_xpass": 0, "total_xfail": 0, "total_rerun": 0, "total_fail": 0, "total_error": 0}}, "4": {"suite_name": "tests/test_errors_abap.py", "tests": {"0": {"status": "PASS", "message": "", "test_name": "test_no_connection_params", "rerun": "0"}, "1": {"status": "PASS", "message": "", "test_name": "test_RFC_RAISE_ERROR", "rerun": "0"}, "2": {"status": "PASS", "message": "", "test_name": "test_STFC_SAPGUI", "rerun": "0"}, "3": {"status": "PASS", "message": "", "test_name": "test_AbapRuntimeError_E0", "rerun": "0"}, "4": {"status": "PASS", "message": "", "test_name": "test_AbapApplicationError_E1", "rerun": "0"}, "5": {"status": "PASS", "message": "", "test_name": "test_AbapApplicationError_E2", "rerun": "0"}, "6": {"status": "PASS", "message": "", "test_name": "test_AbapRuntimeError_E3", "rerun": "0"}, "7": {"status": "PASS", "message": "", "test_name": "test_AbapRuntimeError_A", "rerun": "0"}, "8": {"status": "PASS", "message": "", "test_name": "test_AbapRuntimeError_X", "rerun": "0"}, "9": {"status": "PASS", "message": "", "test_name": "test_AbapRuntimeError_E36", "rerun": "0"}, "10": {"status": "PASS", "message": "", "test_name": "test_AbapRuntimeError_E51", "rerun": "0"}, "11": {"status": "PASS", "message": "", "test_name": "test_pyrfc_exc_string", "rerun": "0"}}, "status": {"total_pass": 12, "total_skip": 0, "total_xpass": 0, "total_xfail": 0, "total_rerun": 0, "total_fail": 0, "total_error": 0}}, "5": {"suite_name": "tests/test_options.py", "tests": {"0": {"status": "PASS", "message": "", "test_name": "test_pass_when_not_requested", "rerun": "0"}, "1": {"status": "PASS", "message": "", "test_name": "test_error_when_all_requested", "rerun": "0"}}, "status": {"total_pass": 2, "total_skip": 0, "total_xpass": 0, "total_xfail": 0, "total_rerun": 0, "total_fail": 0, "total_error": 0}}, "6": {"suite_name": "tests/test_package.py", "tests": {"0": {"status": "PASS", "message": "", "test_name": "test_wheel_package", "rerun": "0"}, "1": {"status": "PASS", "message": "", "test_name": "test_sdist_package", "rerun": "0"}}, "status": {"total_pass": 2, "total_skip": 0, "total_xpass": 0, "total_xfail": 0, "total_rerun": 0, "total_fail": 0, "total_error": 0}}, "7": {"suite_name": "tests/test_rfcsdk.py", "tests": {"0": {"status": "PASS", "message": "", "test_name": "test_reload_ini_file", "rerun": "0"}, "1": {"status": "PASS", "message": "", "test_name": "test_language_iso_sap", "rerun": "0"}}, "status": {"total_pass": 2, "total_skip": 0, "total_xpass": 0, "total_xfail": 0, "total_rerun": 0, "total_fail": 0, "total_error": 0}}, "8": {"suite_name": "tests/test_server.py", "tests": {"0": {"status": "PASS", "message": "", "test_name": "test_add_wrong_function", "rerun": "0"}, "1": {"status": "PASS", "message": "", "test_name": "test_add_function_twice", "rerun": "0"}, "2": {"status": "PASS", "message": "", "test_name": "test_function_description_STFC_STRUCTURE", "rerun": "0"}, "3": {"status": "PASS", "message": "", "test_name": "test_function_description_BAPISDORDER_GETDETAILEDLIST", "rerun": "0"}, "4": {"status": "PASS", "message": "", "test_name": "test_function_description_BS01_SALESORDER_GETDETAIL", "rerun": "0"}, "5": {"status": "SKIP", "message": "('/Users/d037732/SAPDevelop/dev/sap/PyRFC/tests/test_server.py', 87, 'Skipped: manual test only')\n", "test_name": "test_stfc_connection", "rerun": "0"}}, "status": {"total_pass": 5, "total_skip": 1, "total_xpass": 0, "total_xfail": 0, "total_rerun": 0, "total_fail": 0, "total_error": 0}}, "9": {"suite_name": "tests/test_table_type.py", "tests": {"0": {"status": "PASS", "message": "", "test_name": "test_table_type_parameter", "rerun": "0"}}, "status": {"total_pass": 1, "total_skip": 0, "total_xpass": 0, "total_xfail": 0, "total_rerun": 0, "total_fail": 0, "total_error": 0}}, "10": {"suite_name": "tests/test_throughput.py", "tests": {"0": {"status": "PASS", "message": "", "test_name": "test_create_without_connection", "rerun": "0"}, "1": {"status": "PASS", "message": "", "test_name": "test_create_with_single_connection", "rerun": "0"}, "2": {"status": "PASS", "message": "", "test_name": "test_create_with_multiple_connection", "rerun": "0"}, "3": {"status": "PASS", "message": "", "test_name": "test_remove_from_connection", "rerun": "0"}, "4": {"status": "PASS", "message": "", "test_name": "test_create_with_invalid_connection", "rerun": "0"}, "5": {"status": "PASS", "message": "", "test_name": "test_get_from_connection", "rerun": "0"}, "6": {"status": "PASS", "message": "", "test_name": "test_throutput_single_connection", "rerun": "0"}}, "status": {"total_pass": 7, "total_skip": 0, "total_xpass": 0, "total_xfail": 0, "total_rerun": 0, "total_fail": 0, "total_error": 0}}, "11": {"suite_name": "tests/test_timeout.py", "tests": {"0": {"status": "PASS", "message": "", "test_name": "test_timeout_call", "rerun": "0"}, "1": {"status": "PASS", "message": "", "test_name": "test_timeout_call_expired", "rerun": "0"}, "2": {"status": "PASS", "message": "", "test_name": "test_timeout_connection", "rerun": "0"}, "3": {"status": "PASS", "message": "", "test_name": "test_timeout_connection_override", "rerun": "0"}}, "status": {"total_pass": 4, "total_skip": 0, "total_xpass": 0, "total_xfail": 0, "total_rerun": 0, "total_fail": 0, "total_error": 0}}, "12": {"suite_name": "tests/test_wsrfc.py", "tests": {"0": {"status": "SKIP", "message": "('/Users/d037732/SAPDevelop/dev/sap/PyRFC/tests/test_wsrfc.py', 12, 'Skipped: no automatic test')\n", "test_name": "test_load_cryptolib_success", "rerun": "0"}, "1": {"status": "PASS", "message": "", "test_name": "test_load_cryptolib_error", "rerun": "0"}, "2": {"status": "PASS", "message": "", "test_name": "test_wsrfc_call_no_client_pse", "rerun": "0"}, "3": {"status": "SKIP", "message": "('/Users/d037732/SAPDevelop/dev/sap/PyRFC/tests/test_wsrfc.py', 32, 'Skipped: no automatic test')\n", "test_name": "test_wsrfc_call_basic_auth", "rerun": "0"}, "4": {"status": "SKIP", "message": "('/Users/d037732/SAPDevelop/dev/sap/PyRFC/tests/test_wsrfc.py', 38, 'Skipped: no automatic test')\n", "test_name": "test_wsrfc_call_client_cert", "rerun": "0"}}, "status": {"total_pass": 2, "total_skip": 2, "total_xpass": 0, "total_xfail": 0, "total_rerun": 0, "total_fail": 0, "total_error": 0}}, "13": {"suite_name": "tests/stfc-mrfc/test_function_group_mrfc.py", "tests": {"0": {"status": "PASS", "message": "", "test_name": "test_info", "rerun": "0"}}, "status": {"total_pass": 1, "total_skip": 0, "total_xpass": 0, "total_xfail": 0, "total_rerun": 0, "total_fail": 0, "total_error": 0}}, "14": {"suite_name": "tests/stfc-mrfc/test_function_group_stfc.py", "tests": {"0": {"status": "PASS", "message": "", "test_name": "test_info", "rerun": "0"}}, "status": {"total_pass": 1, "total_skip": 0, "total_xpass": 0, "total_xfail": 0, "total_rerun": 0, "total_fail": 0, "total_error": 0}}}}, "date": "July 11, 2023", "start_time": 1689077048.806386, "total_suite": 15, "status": "PASS", "status_list": {"pass": "106", "fail": "0", "skip": "3", "error": "0", "xpass": "0", "xfail": "0", "rerun": "0"}, "total_tests": "109"} \ No newline at end of file diff --git a/src/pyrfc/_cyrfc.cpp b/src/pyrfc/_cyrfc.cpp index 34e4572..1e47114 100644 --- a/src/pyrfc/_cyrfc.cpp +++ b/src/pyrfc/_cyrfc.cpp @@ -1,4 +1,4 @@ -/* Generated by Cython 0.29.34 */ +/* Generated by Cython 0.29.36 */ /* BEGIN: Cython Metadata { @@ -80,8 +80,8 @@ END: Cython Metadata */ #elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000) #error Cython requires Python 2.6+ or Python 3.3+. #else -#define CYTHON_ABI "0_29_34" -#define CYTHON_HEX_VERSION 0x001D22F0 +#define CYTHON_ABI "0_29_36" +#define CYTHON_HEX_VERSION 0x001D24F0 #define CYTHON_FUTURE_DIVISION 1 #include #ifndef offsetof @@ -149,10 +149,14 @@ END: Cython Metadata */ #define CYTHON_FAST_THREAD_STATE 0 #undef CYTHON_FAST_PYCALL #define CYTHON_FAST_PYCALL 0 - #undef CYTHON_PEP489_MULTI_PHASE_INIT - #define CYTHON_PEP489_MULTI_PHASE_INIT 0 + #if PY_VERSION_HEX < 0x03090000 + #undef CYTHON_PEP489_MULTI_PHASE_INIT + #define CYTHON_PEP489_MULTI_PHASE_INIT 0 + #elif !defined(CYTHON_PEP489_MULTI_PHASE_INIT) + #define CYTHON_PEP489_MULTI_PHASE_INIT 1 + #endif #undef CYTHON_USE_TP_FINALIZE - #define CYTHON_USE_TP_FINALIZE 0 + #define CYTHON_USE_TP_FINALIZE (PY_VERSION_HEX >= 0x030400a1 && PYPY_VERSION_NUM >= 0x07030C00) #undef CYTHON_USE_DICT_VERSIONS #define CYTHON_USE_DICT_VERSIONS 0 #undef CYTHON_USE_EXC_INFO_STACK @@ -450,9 +454,6 @@ class __Pyx_FakeReference { T *ptr; }; -#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x02070600 && !defined(Py_OptimizeFlag) - #define Py_OptimizeFlag 0 -#endif #define __PYX_BUILD_PY_SSIZE_T "n" #define CYTHON_FORMAT_SSIZE_T "z" #if PY_MAJOR_VERSION < 3 @@ -530,6 +531,11 @@ class __Pyx_FakeReference { #endif #define __Pyx_DefaultClassType PyType_Type #endif +#if PY_VERSION_HEX >= 0x030900F0 && !CYTHON_COMPILING_IN_PYPY + #define __Pyx_PyObject_GC_IsFinalized(o) PyObject_GC_IsFinalized(o) +#else + #define __Pyx_PyObject_GC_IsFinalized(o) _PyGC_FINALIZED(o) +#endif #ifndef Py_TPFLAGS_CHECKTYPES #define Py_TPFLAGS_CHECKTYPES 0 #endif @@ -41123,7 +41129,7 @@ static PyObject *__pyx_tp_new_5pyrfc_6_cyrfc_ConnectionParameters(PyTypeObject * static void __pyx_tp_dealloc_5pyrfc_6_cyrfc_ConnectionParameters(PyObject *o) { #if CYTHON_USE_TP_FINALIZE - if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) && (!PyType_IS_GC(Py_TYPE(o)) || !_PyGC_FINALIZED(o))) { + if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) && (!PyType_IS_GC(Py_TYPE(o)) || !__Pyx_PyObject_GC_IsFinalized(o))) { if (PyObject_CallFinalizerFromDealloc(o)) return; } #endif @@ -41205,7 +41211,7 @@ static PyTypeObject __pyx_type_5pyrfc_6_cyrfc_ConnectionParameters = { #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 0, /*tp_print*/ #endif - #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 0, /*tp_pypy_flags*/ #endif }; @@ -41230,7 +41236,7 @@ static PyObject *__pyx_tp_new_5pyrfc_6_cyrfc_Connection(PyTypeObject *t, CYTHON_ static void __pyx_tp_dealloc_5pyrfc_6_cyrfc_Connection(PyObject *o) { struct __pyx_obj_5pyrfc_6_cyrfc_Connection *p = (struct __pyx_obj_5pyrfc_6_cyrfc_Connection *)o; #if CYTHON_USE_TP_FINALIZE - if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) { + if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) && !__Pyx_PyObject_GC_IsFinalized(o)) { if (PyObject_CallFinalizerFromDealloc(o)) return; } #endif @@ -41469,7 +41475,7 @@ static PyTypeObject __pyx_type_5pyrfc_6_cyrfc_Connection = { #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 0, /*tp_print*/ #endif - #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 0, /*tp_pypy_flags*/ #endif }; @@ -41493,7 +41499,7 @@ static PyObject *__pyx_tp_new_5pyrfc_6_cyrfc_ServerConnection(PyTypeObject *t, C static void __pyx_tp_dealloc_5pyrfc_6_cyrfc_ServerConnection(PyObject *o) { struct __pyx_obj_5pyrfc_6_cyrfc_ServerConnection *p = (struct __pyx_obj_5pyrfc_6_cyrfc_ServerConnection *)o; #if CYTHON_USE_TP_FINALIZE - if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) { + if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) && !__Pyx_PyObject_GC_IsFinalized(o)) { if (PyObject_CallFinalizerFromDealloc(o)) return; } #endif @@ -41702,7 +41708,7 @@ static PyTypeObject __pyx_type_5pyrfc_6_cyrfc_ServerConnection = { #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 0, /*tp_print*/ #endif - #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 0, /*tp_pypy_flags*/ #endif }; @@ -41732,7 +41738,7 @@ static PyObject *__pyx_tp_new_5pyrfc_6_cyrfc_Server(PyTypeObject *t, PyObject *a static void __pyx_tp_dealloc_5pyrfc_6_cyrfc_Server(PyObject *o) { struct __pyx_obj_5pyrfc_6_cyrfc_Server *p = (struct __pyx_obj_5pyrfc_6_cyrfc_Server *)o; #if CYTHON_USE_TP_FINALIZE - if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) { + if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) && !__Pyx_PyObject_GC_IsFinalized(o)) { if (PyObject_CallFinalizerFromDealloc(o)) return; } #endif @@ -41888,7 +41894,7 @@ static PyTypeObject __pyx_type_5pyrfc_6_cyrfc_Server = { #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 0, /*tp_print*/ #endif - #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 0, /*tp_pypy_flags*/ #endif }; @@ -41912,7 +41918,7 @@ static PyObject *__pyx_tp_new_5pyrfc_6_cyrfc_Throughput(PyTypeObject *t, CYTHON_ static void __pyx_tp_dealloc_5pyrfc_6_cyrfc_Throughput(PyObject *o) { struct __pyx_obj_5pyrfc_6_cyrfc_Throughput *p = (struct __pyx_obj_5pyrfc_6_cyrfc_Throughput *)o; #if CYTHON_USE_TP_FINALIZE - if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) { + if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) && !__Pyx_PyObject_GC_IsFinalized(o)) { if (PyObject_CallFinalizerFromDealloc(o)) return; } #endif @@ -42038,7 +42044,7 @@ static PyTypeObject __pyx_type_5pyrfc_6_cyrfc_Throughput = { #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 0, /*tp_print*/ #endif - #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 0, /*tp_pypy_flags*/ #endif }; @@ -42134,7 +42140,7 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_object____object___to_py = { #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 0, /*tp_print*/ #endif - #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 0, /*tp_pypy_flags*/ #endif }; @@ -49028,7 +49034,10 @@ static PyTypeObject __pyx_CyFunctionType_type = { #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 0, #endif -#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 +#if PY_VERSION_HEX >= 0x030C0000 + 0, +#endif +#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 0, #endif }; @@ -50016,7 +50025,7 @@ static CYTHON_INLINE size_t __Pyx_PyInt_As_size_t(PyObject *x) { break; } #endif -#if CYTHON_COMPILING_IN_CPYTHON +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 if (unlikely(Py_SIZE(x) < 0)) { goto raise_neg_overflow; } @@ -50212,7 +50221,7 @@ static CYTHON_INLINE unsigned int __Pyx_PyInt_As_unsigned_int(PyObject *x) { break; } #endif -#if CYTHON_COMPILING_IN_CPYTHON +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 if (unlikely(Py_SIZE(x) < 0)) { goto raise_neg_overflow; } @@ -50408,7 +50417,7 @@ static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) { break; } #endif -#if CYTHON_COMPILING_IN_CPYTHON +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 if (unlikely(Py_SIZE(x) < 0)) { goto raise_neg_overflow; } @@ -50642,7 +50651,7 @@ static CYTHON_INLINE short __Pyx_PyInt_As_short(PyObject *x) { break; } #endif -#if CYTHON_COMPILING_IN_CPYTHON +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 if (unlikely(Py_SIZE(x) < 0)) { goto raise_neg_overflow; } @@ -50876,7 +50885,7 @@ static CYTHON_INLINE RFC_RC __Pyx_PyInt_As_RFC_RC(PyObject *x) { break; } #endif -#if CYTHON_COMPILING_IN_CPYTHON +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 if (unlikely(Py_SIZE(x) < 0)) { goto raise_neg_overflow; } @@ -51072,7 +51081,7 @@ static CYTHON_INLINE RFCTYPE __Pyx_PyInt_As_RFCTYPE(PyObject *x) { break; } #endif -#if CYTHON_COMPILING_IN_CPYTHON +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 if (unlikely(Py_SIZE(x) < 0)) { goto raise_neg_overflow; } @@ -51268,7 +51277,7 @@ static CYTHON_INLINE RFC_DIRECTION __Pyx_PyInt_As_RFC_DIRECTION(PyObject *x) { break; } #endif -#if CYTHON_COMPILING_IN_CPYTHON +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 if (unlikely(Py_SIZE(x) < 0)) { goto raise_neg_overflow; } @@ -51502,7 +51511,7 @@ static CYTHON_INLINE RFC_INT __Pyx_PyInt_As_RFC_INT(PyObject *x) { break; } #endif -#if CYTHON_COMPILING_IN_CPYTHON +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 if (unlikely(Py_SIZE(x) < 0)) { goto raise_neg_overflow; } @@ -51698,7 +51707,7 @@ static CYTHON_INLINE RFC_INT8 __Pyx_PyInt_As_RFC_INT8(PyObject *x) { break; } #endif -#if CYTHON_COMPILING_IN_CPYTHON +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 if (unlikely(Py_SIZE(x) < 0)) { goto raise_neg_overflow; } @@ -51932,7 +51941,7 @@ static CYTHON_INLINE RFC_ERROR_GROUP __Pyx_PyInt_As_RFC_ERROR_GROUP(PyObject *x) break; } #endif -#if CYTHON_COMPILING_IN_CPYTHON +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 if (unlikely(Py_SIZE(x) < 0)) { goto raise_neg_overflow; } @@ -52280,7 +52289,7 @@ static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) { break; } #endif -#if CYTHON_COMPILING_IN_CPYTHON +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 if (unlikely(Py_SIZE(x) < 0)) { goto raise_neg_overflow; }