generated from dopt-python/py311
generated by Cython v3.2.1
This commit is contained in:
parent
22296a7bc3
commit
24bba92caf
@ -1,4 +1,4 @@
|
||||
/* Generated by Cython 3.2.0 */
|
||||
/* Generated by Cython 3.2.1 */
|
||||
|
||||
/* BEGIN: Cython Metadata
|
||||
{
|
||||
@ -34,8 +34,8 @@ END: Cython Metadata */
|
||||
#elif PY_VERSION_HEX < 0x03080000
|
||||
#error Cython requires Python 3.8+.
|
||||
#else
|
||||
#define __PYX_ABI_VERSION "3_2_0"
|
||||
#define CYTHON_HEX_VERSION 0x030200F0
|
||||
#define __PYX_ABI_VERSION "3_2_1"
|
||||
#define CYTHON_HEX_VERSION 0x030201F0
|
||||
#define CYTHON_FUTURE_DIVISION 1
|
||||
/* CModulePreamble */
|
||||
#include <stddef.h>
|
||||
@ -1339,7 +1339,7 @@ static const char* const __pyx_f[] = {
|
||||
"src/dopt_sensor_anomalies/detection.py",
|
||||
};
|
||||
/* #### Code section: utility_code_proto_before_types ### */
|
||||
/* Atomics.proto */
|
||||
/* Atomics.proto (used by UnpackUnboundCMethod) */
|
||||
#include <pythread.h>
|
||||
#ifndef CYTHON_ATOMICS
|
||||
#define CYTHON_ATOMICS 1
|
||||
@ -1476,7 +1476,7 @@ static const char* const __pyx_f[] = {
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* CriticalSectionsDefinition.proto */
|
||||
/* CriticalSectionsDefinition.proto (used by CriticalSections) */
|
||||
#if !CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
|
||||
#define __Pyx_PyCriticalSection void*
|
||||
#define __Pyx_PyCriticalSection2 void*
|
||||
@ -1489,7 +1489,7 @@ static const char* const __pyx_f[] = {
|
||||
#define __Pyx_PyCriticalSection2_End PyCriticalSection2_End
|
||||
#endif
|
||||
|
||||
/* CriticalSections.proto */
|
||||
/* CriticalSections.proto (used by ParseKeywordsImpl) */
|
||||
#if !CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
|
||||
#define __Pyx_PyCriticalSection_Begin(cs, arg) (void)(cs)
|
||||
#define __Pyx_PyCriticalSection2_Begin(cs, arg1, arg2) (void)(cs)
|
||||
@ -1505,7 +1505,7 @@ static const char* const __pyx_f[] = {
|
||||
#define __Pyx_END_CRITICAL_SECTION Py_END_CRITICAL_SECTION
|
||||
#endif
|
||||
|
||||
/* IncludeStructmemberH.proto */
|
||||
/* IncludeStructmemberH.proto (used by FixUpExtensionType) */
|
||||
#include <structmember.h>
|
||||
|
||||
/* #### Code section: numeric_typedefs ### */
|
||||
@ -1720,7 +1720,7 @@ struct __pyx_obj_21dopt_sensor_anomalies_9detection___pyx_scope_struct_6_genexpr
|
||||
#define __Pyx_CLEAR(r) do { PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);} while(0)
|
||||
#define __Pyx_XCLEAR(r) do { if((r) != NULL) {PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);}} while(0)
|
||||
|
||||
/* PyErrExceptionMatches.proto */
|
||||
/* PyErrExceptionMatches.proto (used by PyObjectGetAttrStrNoError) */
|
||||
#if CYTHON_FAST_THREAD_STATE
|
||||
#define __Pyx_PyErr_ExceptionMatches(err) __Pyx_PyErr_ExceptionMatchesInState(__pyx_tstate, err)
|
||||
static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tstate, PyObject* err);
|
||||
@ -1728,7 +1728,7 @@ static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tsta
|
||||
#define __Pyx_PyErr_ExceptionMatches(err) PyErr_ExceptionMatches(err)
|
||||
#endif
|
||||
|
||||
/* PyThreadStateGet.proto */
|
||||
/* PyThreadStateGet.proto (used by PyErrFetchRestore) */
|
||||
#if CYTHON_FAST_THREAD_STATE
|
||||
#define __Pyx_PyThreadState_declare PyThreadState *__pyx_tstate;
|
||||
#define __Pyx_PyThreadState_assign __pyx_tstate = __Pyx_PyThreadState_Current;
|
||||
@ -1746,7 +1746,7 @@ static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tsta
|
||||
#define __Pyx_PyErr_CurrentExceptionType() PyErr_Occurred()
|
||||
#endif
|
||||
|
||||
/* PyErrFetchRestore.proto */
|
||||
/* PyErrFetchRestore.proto (used by PyObjectGetAttrStrNoError) */
|
||||
#if CYTHON_FAST_THREAD_STATE
|
||||
#define __Pyx_PyErr_Clear() __Pyx_ErrRestore(NULL, NULL, NULL)
|
||||
#define __Pyx_ErrRestoreWithState(type, value, tb) __Pyx_ErrRestoreInState(PyThreadState_GET(), type, value, tb)
|
||||
@ -1771,20 +1771,20 @@ static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject
|
||||
#define __Pyx_ErrFetch(type, value, tb) PyErr_Fetch(type, value, tb)
|
||||
#endif
|
||||
|
||||
/* PyObjectGetAttrStr.proto */
|
||||
/* PyObjectGetAttrStr.proto (used by PyObjectGetAttrStrNoError) */
|
||||
#if CYTHON_USE_TYPE_SLOTS
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name);
|
||||
#else
|
||||
#define __Pyx_PyObject_GetAttrStr(o,n) PyObject_GetAttr(o,n)
|
||||
#endif
|
||||
|
||||
/* PyObjectGetAttrStrNoError.proto */
|
||||
/* PyObjectGetAttrStrNoError.proto (used by GetBuiltinName) */
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, PyObject* attr_name);
|
||||
|
||||
/* GetBuiltinName.proto */
|
||||
static PyObject *__Pyx_GetBuiltinName(PyObject *name);
|
||||
|
||||
/* TupleAndListFromArray.proto */
|
||||
/* TupleAndListFromArray.proto (used by fastcall) */
|
||||
#if CYTHON_COMPILING_IN_CPYTHON
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyList_FromArray(PyObject *const *src, Py_ssize_t n);
|
||||
#endif
|
||||
@ -1792,13 +1792,13 @@ static CYTHON_INLINE PyObject* __Pyx_PyList_FromArray(PyObject *const *src, Py_s
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n);
|
||||
#endif
|
||||
|
||||
/* IncludeStringH.proto */
|
||||
/* IncludeStringH.proto (used by BytesEquals) */
|
||||
#include <string.h>
|
||||
|
||||
/* BytesEquals.proto */
|
||||
/* BytesEquals.proto (used by UnicodeEquals) */
|
||||
static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2, int equals);
|
||||
|
||||
/* UnicodeEquals.proto */
|
||||
/* UnicodeEquals.proto (used by fastcall) */
|
||||
static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int equals);
|
||||
|
||||
/* fastcall.proto */
|
||||
@ -1837,10 +1837,10 @@ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int
|
||||
#define __Pyx_ArgsSlice_FASTCALL(args, start, stop) PyTuple_GetSlice(args, start, stop)
|
||||
#endif
|
||||
|
||||
/* py_dict_items.proto */
|
||||
/* py_dict_items.proto (used by OwnedDictNext) */
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyDict_Items(PyObject* d);
|
||||
|
||||
/* CallCFunction.proto */
|
||||
/* CallCFunction.proto (used by CallUnboundCMethod0) */
|
||||
#define __Pyx_CallCFunction(cfunc, self, args)\
|
||||
((PyCFunction)(void(*)(void))(cfunc)->func)(self, args)
|
||||
#define __Pyx_CallCFunctionWithKeywords(cfunc, self, args, kwargs)\
|
||||
@ -1850,26 +1850,26 @@ static CYTHON_INLINE PyObject* __Pyx_PyDict_Items(PyObject* d);
|
||||
#define __Pyx_CallCFunctionFastWithKeywords(cfunc, self, args, nargs, kwnames)\
|
||||
((__Pyx_PyCFunctionFastWithKeywords)(void(*)(void))(PyCFunction)(cfunc)->func)(self, args, nargs, kwnames)
|
||||
|
||||
/* PyObjectCall.proto */
|
||||
/* PyObjectCall.proto (used by PyObjectFastCall) */
|
||||
#if CYTHON_COMPILING_IN_CPYTHON
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw);
|
||||
#else
|
||||
#define __Pyx_PyObject_Call(func, arg, kw) PyObject_Call(func, arg, kw)
|
||||
#endif
|
||||
|
||||
/* PyObjectCallMethO.proto */
|
||||
/* PyObjectCallMethO.proto (used by PyObjectFastCall) */
|
||||
#if CYTHON_COMPILING_IN_CPYTHON
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg);
|
||||
#endif
|
||||
|
||||
/* PyObjectFastCall.proto */
|
||||
/* PyObjectFastCall.proto (used by PyObjectCallOneArg) */
|
||||
#define __Pyx_PyObject_FastCall(func, args, nargs) __Pyx_PyObject_FastCallDict(func, args, (size_t)(nargs), NULL)
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject * const*args, size_t nargs, PyObject *kwargs);
|
||||
|
||||
/* PyObjectCallOneArg.proto */
|
||||
/* PyObjectCallOneArg.proto (used by CallUnboundCMethod0) */
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg);
|
||||
|
||||
/* UnpackUnboundCMethod.proto */
|
||||
/* UnpackUnboundCMethod.proto (used by CallUnboundCMethod0) */
|
||||
typedef struct {
|
||||
PyObject *type;
|
||||
PyObject **method_name;
|
||||
@ -1911,10 +1911,10 @@ static CYTHON_INLINE PyObject* __Pyx_CallUnboundCMethod0(__Pyx_CachedCFunction*
|
||||
#define __Pyx_CallUnboundCMethod0(cfunc, self) __Pyx__CallUnboundCMethod0(cfunc, self)
|
||||
#endif
|
||||
|
||||
/* py_dict_values.proto */
|
||||
/* py_dict_values.proto (used by OwnedDictNext) */
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyDict_Values(PyObject* d);
|
||||
|
||||
/* OwnedDictNext.proto */
|
||||
/* OwnedDictNext.proto (used by ParseKeywordsImpl) */
|
||||
#if CYTHON_AVOID_BORROWED_REFS
|
||||
static int __Pyx_PyDict_NextRef(PyObject *p, PyObject **ppos, PyObject **pkey, PyObject **pvalue);
|
||||
#else
|
||||
@ -1922,7 +1922,7 @@ CYTHON_INLINE
|
||||
static int __Pyx_PyDict_NextRef(PyObject *p, Py_ssize_t *ppos, PyObject **pkey, PyObject **pvalue);
|
||||
#endif
|
||||
|
||||
/* RaiseDoubleKeywords.proto */
|
||||
/* RaiseDoubleKeywords.proto (used by ParseKeywordsImpl) */
|
||||
static void __Pyx_RaiseDoubleKeywordsError(const char* func_name, PyObject* kw_name);
|
||||
|
||||
/* ParseKeywordsImpl.export */
|
||||
@ -2011,7 +2011,7 @@ static CYTHON_INLINE int __Pyx_IterFinish(void);
|
||||
/* UnpackItemEndCheck.proto */
|
||||
static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected);
|
||||
|
||||
/* PyDictVersioning.proto */
|
||||
/* PyDictVersioning.proto (used by GetModuleGlobalName) */
|
||||
#if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_TYPE_SLOTS
|
||||
#define __PYX_DICT_VERSION_INIT ((PY_UINT64_T) -1)
|
||||
#define __PYX_GET_DICT_VERSION(dict) (((PyDictObject*)(dict))->ma_version_tag)
|
||||
@ -2068,7 +2068,7 @@ static PyObject *__Pyx_PyObject_FastCallMethod(PyObject *name, PyObject *const *
|
||||
/* RaiseUnboundLocalError.proto */
|
||||
static void __Pyx_RaiseUnboundLocalError(const char *varname);
|
||||
|
||||
/* GetException.proto */
|
||||
/* GetException.proto (used by pep479) */
|
||||
#if CYTHON_FAST_THREAD_STATE
|
||||
#define __Pyx_GetException(type, value, tb) __Pyx__GetException(__pyx_tstate, type, value, tb)
|
||||
static int __Pyx__GetException(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
|
||||
@ -2201,24 +2201,30 @@ static PyObject* __Pyx_PyObject_Format(PyObject* s, PyObject* f);
|
||||
#define __Pyx_PyObject_Format(s, f) PyObject_Format(s, f)
|
||||
#endif
|
||||
|
||||
/* BuildPyUnicode.proto */
|
||||
/* BuildPyUnicode.proto (used by COrdinalToPyUnicode) */
|
||||
static PyObject* __Pyx_PyUnicode_BuildFromAscii(Py_ssize_t ulength, const char* chars, int clength,
|
||||
int prepend_sign, char padding_char);
|
||||
|
||||
/* COrdinalToPyUnicode.proto */
|
||||
/* COrdinalToPyUnicode.proto (used by CIntToPyUnicode) */
|
||||
static CYTHON_INLINE int __Pyx_CheckUnicodeValue(int value);
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromOrdinal_Padded(int value, Py_ssize_t width, char padding_char);
|
||||
|
||||
/* GCCDiagnostics.proto */
|
||||
/* GCCDiagnostics.proto (used by CIntToPyUnicode) */
|
||||
#if !defined(__INTEL_COMPILER) && defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
|
||||
#define __Pyx_HAS_GCC_DIAGNOSTIC
|
||||
#endif
|
||||
|
||||
/* IncludeStdlibH.proto */
|
||||
/* IncludeStdlibH.proto (used by CIntToPyUnicode) */
|
||||
#include <stdlib.h>
|
||||
|
||||
/* CIntToPyUnicode.proto */
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_From_Py_ssize_t(Py_ssize_t value, Py_ssize_t width, char padding_char, char format_char);
|
||||
#define __Pyx_PyUnicode_From_Py_ssize_t(value, width, padding_char, format_char) (\
|
||||
((format_char) == ('c')) ?\
|
||||
__Pyx_uchar___Pyx_PyUnicode_From_Py_ssize_t(value, width, padding_char) :\
|
||||
__Pyx____Pyx_PyUnicode_From_Py_ssize_t(value, width, padding_char, format_char)\
|
||||
)
|
||||
static CYTHON_INLINE PyObject* __Pyx_uchar___Pyx_PyUnicode_From_Py_ssize_t(Py_ssize_t value, Py_ssize_t width, char padding_char);
|
||||
static CYTHON_INLINE PyObject* __Pyx____Pyx_PyUnicode_From_Py_ssize_t(Py_ssize_t value, Py_ssize_t width, char padding_char, char format_char);
|
||||
|
||||
/* PyLongBinop.proto */
|
||||
#if !CYTHON_COMPILING_IN_PYPY
|
||||
@ -2246,7 +2252,7 @@ static CYTHON_INLINE PyObject* __Pyx__PyObject_LookupSpecial(PyObject* obj, PyOb
|
||||
#define __Pyx_PyObject_LookupSpecial(o,n) __Pyx_PyObject_GetAttrStr(o,n)
|
||||
#endif
|
||||
|
||||
/* GetTopmostException.proto */
|
||||
/* GetTopmostException.proto (used by SaveResetException) */
|
||||
#if CYTHON_USE_EXC_INFO_STACK && CYTHON_FAST_THREAD_STATE
|
||||
static _PyErr_StackItem * __Pyx_PyErr_GetTopmostException(PyThreadState *tstate);
|
||||
#endif
|
||||
@ -2262,24 +2268,24 @@ static CYTHON_INLINE void __Pyx__ExceptionReset(PyThreadState *tstate, PyObject
|
||||
#define __Pyx_ExceptionReset(type, value, tb) PyErr_SetExcInfo(type, value, tb)
|
||||
#endif
|
||||
|
||||
/* PyObjectCallNoArg.proto */
|
||||
/* PyObjectCallNoArg.proto (used by PyObjectCallMethod0) */
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func);
|
||||
|
||||
/* PyObjectGetMethod.proto */
|
||||
/* PyObjectGetMethod.proto (used by PyObjectCallMethod0) */
|
||||
#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
|
||||
static int __Pyx_PyObject_GetMethod(PyObject *obj, PyObject *name, PyObject **method);
|
||||
#endif
|
||||
|
||||
/* PyObjectCallMethod0.proto */
|
||||
/* PyObjectCallMethod0.proto (used by dict_iter) */
|
||||
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name);
|
||||
|
||||
/* RaiseNoneIterError.proto */
|
||||
/* RaiseNoneIterError.proto (used by UnpackTupleError) */
|
||||
static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void);
|
||||
|
||||
/* UnpackTupleError.proto */
|
||||
/* UnpackTupleError.proto (used by UnpackTuple2) */
|
||||
static void __Pyx_UnpackTupleError(PyObject *, Py_ssize_t index);
|
||||
|
||||
/* UnpackTuple2.proto */
|
||||
/* UnpackTuple2.proto (used by dict_iter) */
|
||||
static CYTHON_INLINE int __Pyx_unpack_tuple2(
|
||||
PyObject* tuple, PyObject** value1, PyObject** value2, int is_tuple, int has_known_size, int decref_tuple);
|
||||
static CYTHON_INLINE int __Pyx_unpack_tuple2_exact(
|
||||
@ -2381,19 +2387,19 @@ static PyObject *__Pyx_AllocateExtensionType(PyTypeObject *t, int is_final);
|
||||
static int __Pyx_call_type_traverse(PyObject *o, int always_call, visitproc visit, void *arg);
|
||||
#endif
|
||||
|
||||
/* LimitedApiGetTypeDict.proto */
|
||||
/* LimitedApiGetTypeDict.proto (used by SetItemOnTypeDict) */
|
||||
#if CYTHON_COMPILING_IN_LIMITED_API
|
||||
static PyObject *__Pyx_GetTypeDict(PyTypeObject *tp);
|
||||
#endif
|
||||
|
||||
/* SetItemOnTypeDict.proto */
|
||||
/* SetItemOnTypeDict.proto (used by FixUpExtensionType) */
|
||||
static int __Pyx__SetItemOnTypeDict(PyTypeObject *tp, PyObject *k, PyObject *v);
|
||||
#define __Pyx_SetItemOnTypeDict(tp, k, v) __Pyx__SetItemOnTypeDict((PyTypeObject*)tp, k, v)
|
||||
|
||||
/* FixUpExtensionType.proto */
|
||||
static CYTHON_INLINE int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject *type);
|
||||
|
||||
/* ValidateBasesTuple.proto */
|
||||
/* ValidateBasesTuple.proto (used by PyType_Ready) */
|
||||
#if CYTHON_COMPILING_IN_CPYTHON || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_USE_TYPE_SPECS
|
||||
static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffset, PyObject *bases);
|
||||
#endif
|
||||
@ -2401,15 +2407,18 @@ static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffs
|
||||
/* PyType_Ready.proto */
|
||||
CYTHON_UNUSED static int __Pyx_PyType_Ready(PyTypeObject *t);
|
||||
|
||||
/* HasAttr.proto */
|
||||
/* HasAttr.proto (used by ImportImpl) */
|
||||
#if __PYX_LIMITED_VERSION_HEX >= 0x030d0000
|
||||
#define __Pyx_HasAttr(o, n) PyObject_HasAttrWithError(o, n)
|
||||
#else
|
||||
static CYTHON_INLINE int __Pyx_HasAttr(PyObject *, PyObject *);
|
||||
#endif
|
||||
|
||||
/* Import.export */
|
||||
static PyObject *__Pyx_Import(PyObject *name, PyObject *const *imported_names, Py_ssize_t len_imported_names, PyObject *qualname, int level);
|
||||
/* ImportImpl.export */
|
||||
static PyObject *__Pyx__Import(PyObject *name, PyObject *const *imported_names, Py_ssize_t len_imported_names, PyObject *qualname, PyObject *moddict, int level);
|
||||
|
||||
/* Import.proto */
|
||||
static CYTHON_INLINE PyObject *__Pyx_Import(PyObject *name, PyObject *const *imported_names, Py_ssize_t len_imported_names, PyObject *qualname, int level);
|
||||
|
||||
/* ImportFrom.proto */
|
||||
static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name);
|
||||
@ -2417,10 +2426,10 @@ static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name);
|
||||
/* PyUserWarning_Check.proto */
|
||||
#define __Pyx_PyExc_UserWarning_Check(obj) __Pyx_TypeCheck(obj, PyExc_UserWarning)
|
||||
|
||||
/* dict_setdefault.proto */
|
||||
/* dict_setdefault.proto (used by FetchCommonType) */
|
||||
static CYTHON_INLINE PyObject *__Pyx_PyDict_SetDefault(PyObject *d, PyObject *key, PyObject *default_value);
|
||||
|
||||
/* AddModuleRef.proto */
|
||||
/* AddModuleRef.proto (used by FetchSharedCythonModule) */
|
||||
#if ((CYTHON_COMPILING_IN_CPYTHON_FREETHREADING ) ||\
|
||||
__PYX_LIMITED_VERSION_HEX < 0x030d0000)
|
||||
static PyObject *__Pyx_PyImport_AddModuleRef(const char *name);
|
||||
@ -2428,25 +2437,25 @@ static CYTHON_INLINE PyObject *__Pyx_PyDict_SetDefault(PyObject *d, PyObject *ke
|
||||
#define __Pyx_PyImport_AddModuleRef(name) PyImport_AddModuleRef(name)
|
||||
#endif
|
||||
|
||||
/* FetchSharedCythonModule.proto */
|
||||
/* FetchSharedCythonModule.proto (used by FetchCommonType) */
|
||||
static PyObject *__Pyx_FetchSharedCythonABIModule(void);
|
||||
|
||||
/* FetchCommonType.proto */
|
||||
/* FetchCommonType.proto (used by CommonTypesMetaclass) */
|
||||
static PyTypeObject* __Pyx_FetchCommonTypeFromSpec(PyTypeObject *metaclass, PyObject *module, PyType_Spec *spec, PyObject *bases);
|
||||
|
||||
/* CommonTypesMetaclass.proto */
|
||||
/* CommonTypesMetaclass.proto (used by CythonFunctionShared) */
|
||||
static int __pyx_CommonTypesMetaclass_init(PyObject *module);
|
||||
#define __Pyx_CommonTypesMetaclass_USED
|
||||
|
||||
/* PyMethodNew.proto */
|
||||
/* PyMethodNew.proto (used by CythonFunctionShared) */
|
||||
static PyObject *__Pyx_PyMethod_New(PyObject *func, PyObject *self, PyObject *typ);
|
||||
|
||||
/* PyVectorcallFastCallDict.proto */
|
||||
/* PyVectorcallFastCallDict.proto (used by CythonFunctionShared) */
|
||||
#if CYTHON_METH_FASTCALL && CYTHON_VECTORCALL
|
||||
static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw);
|
||||
#endif
|
||||
|
||||
/* CythonFunctionShared.proto */
|
||||
/* CythonFunctionShared.proto (used by CythonFunction) */
|
||||
#define __Pyx_CyFunction_USED
|
||||
#define __Pyx_CYFUNCTION_STATICMETHOD 0x01
|
||||
#define __Pyx_CYFUNCTION_CLASSMETHOD 0x02
|
||||
@ -2543,14 +2552,14 @@ static PyObject *__Pyx_CyFunction_New(PyMethodDef *ml,
|
||||
PyObject *module, PyObject *globals,
|
||||
PyObject* code);
|
||||
|
||||
/* CLineInTraceback.proto */
|
||||
/* CLineInTraceback.proto (used by AddTraceback) */
|
||||
#if CYTHON_CLINE_IN_TRACEBACK && CYTHON_CLINE_IN_TRACEBACK_RUNTIME
|
||||
static int __Pyx_CLineForTraceback(PyThreadState *tstate, int c_line);
|
||||
#else
|
||||
#define __Pyx_CLineForTraceback(tstate, c_line) (((CYTHON_CLINE_IN_TRACEBACK)) ? c_line : 0)
|
||||
#endif
|
||||
|
||||
/* CodeObjectCache.proto */
|
||||
/* CodeObjectCache.proto (used by AddTraceback) */
|
||||
#if CYTHON_COMPILING_IN_LIMITED_API
|
||||
typedef PyObject __Pyx_CachedCodeObjectType;
|
||||
#else
|
||||
@ -2635,7 +2644,7 @@ static void __Pyx_init_runtime_version(void);
|
||||
#endif
|
||||
static unsigned long __Pyx_get_runtime_version(void);
|
||||
|
||||
/* SwapException.proto */
|
||||
/* SwapException.proto (used by CoroutineBase) */
|
||||
#if CYTHON_FAST_THREAD_STATE
|
||||
#define __Pyx_ExceptionSwap(type, value, tb) __Pyx__ExceptionSwap(__pyx_tstate, type, value, tb)
|
||||
static CYTHON_INLINE void __Pyx__ExceptionSwap(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
|
||||
@ -2643,22 +2652,22 @@ static CYTHON_INLINE void __Pyx__ExceptionSwap(PyThreadState *tstate, PyObject *
|
||||
static CYTHON_INLINE void __Pyx_ExceptionSwap(PyObject **type, PyObject **value, PyObject **tb);
|
||||
#endif
|
||||
|
||||
/* IterNextPlain.proto */
|
||||
/* IterNextPlain.proto (used by CoroutineBase) */
|
||||
static CYTHON_INLINE PyObject *__Pyx_PyIter_Next_Plain(PyObject *iterator);
|
||||
#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030A0000
|
||||
static PyObject *__Pyx_GetBuiltinNext_LimitedAPI(void);
|
||||
#endif
|
||||
|
||||
/* PyObjectCall2Args.proto */
|
||||
/* PyObjectCall2Args.proto (used by PyObjectCallMethod1) */
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyObject_Call2Args(PyObject* function, PyObject* arg1, PyObject* arg2);
|
||||
|
||||
/* PyObjectCallMethod1.proto */
|
||||
/* PyObjectCallMethod1.proto (used by CoroutineBase) */
|
||||
static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg);
|
||||
|
||||
/* ReturnWithStopIteration.proto */
|
||||
/* ReturnWithStopIteration.proto (used by CoroutineBase) */
|
||||
static CYTHON_INLINE void __Pyx_ReturnWithStopIteration(PyObject* value, int async, int iternext);
|
||||
|
||||
/* CoroutineBase.proto */
|
||||
/* CoroutineBase.proto (used by Generator) */
|
||||
struct __pyx_CoroutineObject;
|
||||
typedef PyObject *(*__pyx_coroutine_body_t)(struct __pyx_CoroutineObject *, PyThreadState *, PyObject *);
|
||||
#if CYTHON_USE_EXC_INFO_STACK
|
||||
@ -12992,7 +13001,7 @@ end:
|
||||
}
|
||||
#endif
|
||||
|
||||
/* PyErrExceptionMatches */
|
||||
/* PyErrExceptionMatches (used by PyObjectGetAttrStrNoError) */
|
||||
#if CYTHON_FAST_THREAD_STATE
|
||||
static int __Pyx_PyErr_ExceptionMatchesTuple(PyObject *exc_type, PyObject *tuple) {
|
||||
Py_ssize_t i, n;
|
||||
@ -13033,7 +13042,7 @@ static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tsta
|
||||
}
|
||||
#endif
|
||||
|
||||
/* PyErrFetchRestore */
|
||||
/* PyErrFetchRestore (used by PyObjectGetAttrStrNoError) */
|
||||
#if CYTHON_FAST_THREAD_STATE
|
||||
static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) {
|
||||
#if PY_VERSION_HEX >= 0x030C00A6
|
||||
@ -13092,7 +13101,7 @@ static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject
|
||||
}
|
||||
#endif
|
||||
|
||||
/* PyObjectGetAttrStr */
|
||||
/* PyObjectGetAttrStr (used by PyObjectGetAttrStrNoError) */
|
||||
#if CYTHON_USE_TYPE_SLOTS
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name) {
|
||||
PyTypeObject* tp = Py_TYPE(obj);
|
||||
@ -13102,7 +13111,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject
|
||||
}
|
||||
#endif
|
||||
|
||||
/* PyObjectGetAttrStrNoError */
|
||||
/* PyObjectGetAttrStrNoError (used by GetBuiltinName) */
|
||||
#if __PYX_LIMITED_VERSION_HEX < 0x030d0000
|
||||
static void __Pyx_PyObject_GetAttrStr_ClearAttributeError(void) {
|
||||
__Pyx_PyThreadState_declare
|
||||
@ -13141,7 +13150,7 @@ static PyObject *__Pyx_GetBuiltinName(PyObject *name) {
|
||||
return result;
|
||||
}
|
||||
|
||||
/* TupleAndListFromArray */
|
||||
/* TupleAndListFromArray (used by fastcall) */
|
||||
#if !CYTHON_COMPILING_IN_CPYTHON && CYTHON_METH_FASTCALL
|
||||
static CYTHON_INLINE PyObject *
|
||||
__Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n)
|
||||
@ -13197,7 +13206,7 @@ __Pyx_PyList_FromArray(PyObject *const *src, Py_ssize_t n)
|
||||
}
|
||||
#endif
|
||||
|
||||
/* BytesEquals */
|
||||
/* BytesEquals (used by UnicodeEquals) */
|
||||
static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2, int equals) {
|
||||
#if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL ||\
|
||||
!(CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS)
|
||||
@ -13245,7 +13254,7 @@ static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2, int eq
|
||||
#endif
|
||||
}
|
||||
|
||||
/* UnicodeEquals */
|
||||
/* UnicodeEquals (used by fastcall) */
|
||||
static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int equals) {
|
||||
#if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL
|
||||
return PyObject_RichCompareBool(s1, s2, equals);
|
||||
@ -13380,7 +13389,7 @@ bad:
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* PyObjectCall */
|
||||
/* PyObjectCall (used by PyObjectFastCall) */
|
||||
#if CYTHON_COMPILING_IN_CPYTHON
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw) {
|
||||
PyObject *result;
|
||||
@ -13400,7 +13409,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg
|
||||
}
|
||||
#endif
|
||||
|
||||
/* PyObjectCallMethO */
|
||||
/* PyObjectCallMethO (used by PyObjectFastCall) */
|
||||
#if CYTHON_COMPILING_IN_CPYTHON
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg) {
|
||||
PyObject *self, *result;
|
||||
@ -13420,7 +13429,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject
|
||||
}
|
||||
#endif
|
||||
|
||||
/* PyObjectFastCall */
|
||||
/* PyObjectFastCall (used by PyObjectCallOneArg) */
|
||||
#if PY_VERSION_HEX < 0x03090000 || CYTHON_COMPILING_IN_LIMITED_API
|
||||
static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject * const*args, size_t nargs, PyObject *kwargs) {
|
||||
PyObject *argstuple;
|
||||
@ -13497,13 +13506,13 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObj
|
||||
#endif
|
||||
}
|
||||
|
||||
/* PyObjectCallOneArg */
|
||||
/* PyObjectCallOneArg (used by CallUnboundCMethod0) */
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) {
|
||||
PyObject *args[2] = {NULL, arg};
|
||||
return __Pyx_PyObject_FastCall(func, args+1, 1 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET);
|
||||
}
|
||||
|
||||
/* UnpackUnboundCMethod */
|
||||
/* UnpackUnboundCMethod (used by CallUnboundCMethod0) */
|
||||
#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030C0000
|
||||
static PyObject *__Pyx_SelflessCall(PyObject *method, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *result;
|
||||
@ -13629,17 +13638,17 @@ static PyObject* __Pyx__CallUnboundCMethod0(__Pyx_CachedCFunction* cfunc, PyObje
|
||||
return result;
|
||||
}
|
||||
|
||||
/* py_dict_items */
|
||||
/* py_dict_items (used by OwnedDictNext) */
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyDict_Items(PyObject* d) {
|
||||
return __Pyx_CallUnboundCMethod0(&__pyx_mstate_global->__pyx_umethod_PyDict_Type_items, d);
|
||||
}
|
||||
|
||||
/* py_dict_values */
|
||||
/* py_dict_values (used by OwnedDictNext) */
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyDict_Values(PyObject* d) {
|
||||
return __Pyx_CallUnboundCMethod0(&__pyx_mstate_global->__pyx_umethod_PyDict_Type_values, d);
|
||||
}
|
||||
|
||||
/* OwnedDictNext */
|
||||
/* OwnedDictNext (used by ParseKeywordsImpl) */
|
||||
#if CYTHON_AVOID_BORROWED_REFS
|
||||
static int __Pyx_PyDict_NextRef(PyObject *p, PyObject **ppos, PyObject **pkey, PyObject **pvalue) {
|
||||
PyObject *next = NULL;
|
||||
@ -13694,7 +13703,7 @@ static int __Pyx_PyDict_NextRef(PyObject *p, Py_ssize_t *ppos, PyObject **pkey,
|
||||
}
|
||||
#endif
|
||||
|
||||
/* RaiseDoubleKeywords */
|
||||
/* RaiseDoubleKeywords (used by ParseKeywordsImpl) */
|
||||
static void __Pyx_RaiseDoubleKeywordsError(
|
||||
const char* func_name,
|
||||
PyObject* kw_name)
|
||||
@ -13757,7 +13766,7 @@ static PyObject* __Pyx__CallUnboundCMethod2(__Pyx_CachedCFunction* cfunc, PyObje
|
||||
}
|
||||
}
|
||||
|
||||
/* ParseKeywordsImpl */
|
||||
/* ParseKeywordsImpl (used by ParseKeywords) */
|
||||
static int __Pyx_ValidateDuplicatePosArgs(
|
||||
PyObject *kwds,
|
||||
PyObject ** const argnames[],
|
||||
@ -14311,7 +14320,7 @@ static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected) {
|
||||
return __Pyx_IterFinish();
|
||||
}
|
||||
|
||||
/* PyDictVersioning */
|
||||
/* PyDictVersioning (used by GetModuleGlobalName) */
|
||||
#if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_TYPE_SLOTS
|
||||
static CYTHON_INLINE PY_UINT64_T __Pyx_get_tp_dict_version(PyObject *obj) {
|
||||
PyObject *dict = Py_TYPE(obj)->tp_dict;
|
||||
@ -14391,7 +14400,7 @@ static void __Pyx_RaiseUnboundLocalError(const char *varname) {
|
||||
PyErr_Format(PyExc_UnboundLocalError, "local variable '%s' referenced before assignment", varname);
|
||||
}
|
||||
|
||||
/* GetException */
|
||||
/* GetException (used by pep479) */
|
||||
#if CYTHON_FAST_THREAD_STATE
|
||||
static int __Pyx__GetException(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb)
|
||||
#else
|
||||
@ -14966,7 +14975,7 @@ static PyObject* __Pyx_PyObject_Format(PyObject* obj, PyObject* format_spec) {
|
||||
}
|
||||
#endif
|
||||
|
||||
/* CIntToDigits */
|
||||
/* CIntToDigits (used by CIntToPyUnicode) */
|
||||
static const char DIGIT_PAIRS_10[2*10*10+1] = {
|
||||
"00010203040506070809"
|
||||
"10111213141516171819"
|
||||
@ -14994,7 +15003,7 @@ static const char DIGITS_HEX[2*16+1] = {
|
||||
"0123456789ABCDEF"
|
||||
};
|
||||
|
||||
/* BuildPyUnicode */
|
||||
/* BuildPyUnicode (used by COrdinalToPyUnicode) */
|
||||
static PyObject* __Pyx_PyUnicode_BuildFromAscii(Py_ssize_t ulength, const char* chars, int clength,
|
||||
int prepend_sign, char padding_char) {
|
||||
PyObject *uval;
|
||||
@ -15057,15 +15066,16 @@ done_or_error:
|
||||
return uval;
|
||||
}
|
||||
|
||||
/* COrdinalToPyUnicode */
|
||||
/* COrdinalToPyUnicode (used by CIntToPyUnicode) */
|
||||
static CYTHON_INLINE int __Pyx_CheckUnicodeValue(int value) {
|
||||
return value <= 1114111;
|
||||
}
|
||||
static PyObject* __Pyx_PyUnicode_FromOrdinal_Padded(int value, Py_ssize_t ulength, char padding_char) {
|
||||
if (likely(ulength <= 250)) {
|
||||
Py_ssize_t padding_length = ulength - 1;
|
||||
if (likely((padding_length <= 250) && (value < 0xD800 || value > 0xDFFF))) {
|
||||
char chars[256];
|
||||
if (value <= 255) {
|
||||
memset(chars, padding_char, (size_t) (ulength - 1));
|
||||
memset(chars, padding_char, (size_t) padding_length);
|
||||
chars[ulength-1] = (char) value;
|
||||
return PyUnicode_DecodeLatin1(chars, ulength, NULL);
|
||||
}
|
||||
@ -15089,8 +15099,8 @@ static PyObject* __Pyx_PyUnicode_FromOrdinal_Padded(int value, Py_ssize_t ulengt
|
||||
value >>= 6;
|
||||
*--cpos = (char) (0xf0 | (value & 0x07));
|
||||
}
|
||||
cpos -= ulength;
|
||||
memset(cpos, padding_char, (size_t) (ulength - 1));
|
||||
cpos -= padding_length;
|
||||
memset(cpos, padding_char, (size_t) padding_length);
|
||||
return PyUnicode_DecodeUTF8(cpos, chars + sizeof(chars) - cpos, NULL);
|
||||
}
|
||||
if (value <= 127 && CYTHON_USE_UNICODE_INTERNALS) {
|
||||
@ -15101,7 +15111,7 @@ static PyObject* __Pyx_PyUnicode_FromOrdinal_Padded(int value, Py_ssize_t ulengt
|
||||
PyObject *uchar, *padding_uchar, *padding, *result;
|
||||
padding_uchar = PyUnicode_FromOrdinal(padding_char);
|
||||
if (unlikely(!padding_uchar)) return NULL;
|
||||
padding = PySequence_Repeat(padding_uchar, ulength - 1);
|
||||
padding = PySequence_Repeat(padding_uchar, padding_length);
|
||||
Py_DECREF(padding_uchar);
|
||||
if (unlikely(!padding)) return NULL;
|
||||
uchar = PyUnicode_FromOrdinal(value);
|
||||
@ -15117,7 +15127,27 @@ static PyObject* __Pyx_PyUnicode_FromOrdinal_Padded(int value, Py_ssize_t ulengt
|
||||
}
|
||||
|
||||
/* CIntToPyUnicode */
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_From_Py_ssize_t(Py_ssize_t value, Py_ssize_t width, char padding_char, char format_char) {
|
||||
static CYTHON_INLINE PyObject* __Pyx_uchar___Pyx_PyUnicode_From_Py_ssize_t(Py_ssize_t value, Py_ssize_t width, char padding_char) {
|
||||
#ifdef __Pyx_HAS_GCC_DIAGNOSTIC
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wconversion"
|
||||
#endif
|
||||
const Py_ssize_t neg_one = (Py_ssize_t) -1, const_zero = (Py_ssize_t) 0;
|
||||
#ifdef __Pyx_HAS_GCC_DIAGNOSTIC
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
const int is_unsigned = neg_one > const_zero;
|
||||
if (unlikely(!(is_unsigned || value == 0 || value > 0) ||
|
||||
!(sizeof(value) <= 2 || value & ~ (Py_ssize_t) 0x01fffff || __Pyx_CheckUnicodeValue((int) value)))) {
|
||||
PyErr_SetString(PyExc_OverflowError, "%c arg not in range(0x110000)");
|
||||
return NULL;
|
||||
}
|
||||
if (width <= 1) {
|
||||
return PyUnicode_FromOrdinal((int) value);
|
||||
}
|
||||
return __Pyx_PyUnicode_FromOrdinal_Padded((int) value, width, padding_char);
|
||||
}
|
||||
static CYTHON_INLINE PyObject* __Pyx____Pyx_PyUnicode_From_Py_ssize_t(Py_ssize_t value, Py_ssize_t width, char padding_char, char format_char) {
|
||||
char digits[sizeof(Py_ssize_t)*3+2];
|
||||
char *dpos, *end = digits + sizeof(Py_ssize_t)*3+2;
|
||||
const char *hex_digits = DIGITS_HEX;
|
||||
@ -15133,17 +15163,6 @@ static CYTHON_INLINE PyObject* __Pyx_PyUnicode_From_Py_ssize_t(Py_ssize_t value,
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
const int is_unsigned = neg_one > const_zero;
|
||||
if (format_char == 'c') {
|
||||
if (unlikely(!(is_unsigned || value == 0 || value > 0) ||
|
||||
!(sizeof(value) <= 2 || value & ~ (Py_ssize_t) 0x01fffff || __Pyx_CheckUnicodeValue((int) value)))) {
|
||||
PyErr_SetString(PyExc_OverflowError, "%c arg not in range(0x110000)");
|
||||
return NULL;
|
||||
}
|
||||
if (width <= 1) {
|
||||
return PyUnicode_FromOrdinal((int) value);
|
||||
}
|
||||
return __Pyx_PyUnicode_FromOrdinal_Padded((int) value, width, padding_char);
|
||||
}
|
||||
if (format_char == 'X') {
|
||||
hex_digits += 16;
|
||||
format_char = 'x';
|
||||
@ -15390,7 +15409,7 @@ static CYTHON_INLINE PyObject* __Pyx__PyObject_LookupSpecial(PyObject* obj, PyOb
|
||||
}
|
||||
#endif
|
||||
|
||||
/* GetTopmostException */
|
||||
/* GetTopmostException (used by SaveResetException) */
|
||||
#if CYTHON_USE_EXC_INFO_STACK && CYTHON_FAST_THREAD_STATE
|
||||
static _PyErr_StackItem *
|
||||
__Pyx_PyErr_GetTopmostException(PyThreadState *tstate)
|
||||
@ -15472,13 +15491,13 @@ static CYTHON_INLINE void __Pyx__ExceptionReset(PyThreadState *tstate, PyObject
|
||||
}
|
||||
#endif
|
||||
|
||||
/* PyObjectCallNoArg */
|
||||
/* PyObjectCallNoArg (used by PyObjectCallMethod0) */
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
|
||||
PyObject *arg[2] = {NULL, NULL};
|
||||
return __Pyx_PyObject_FastCall(func, arg + 1, 0 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET);
|
||||
}
|
||||
|
||||
/* PyObjectGetMethod */
|
||||
/* PyObjectGetMethod (used by PyObjectCallMethod0) */
|
||||
#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
|
||||
static int __Pyx_PyObject_GetMethod(PyObject *obj, PyObject *name, PyObject **method) {
|
||||
PyObject *attr;
|
||||
@ -15570,7 +15589,7 @@ try_unpack:
|
||||
}
|
||||
#endif
|
||||
|
||||
/* PyObjectCallMethod0 */
|
||||
/* PyObjectCallMethod0 (used by dict_iter) */
|
||||
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
|
||||
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
||||
PyObject *args[1] = {obj};
|
||||
@ -15593,12 +15612,12 @@ bad:
|
||||
#endif
|
||||
}
|
||||
|
||||
/* RaiseNoneIterError */
|
||||
/* RaiseNoneIterError (used by UnpackTupleError) */
|
||||
static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void) {
|
||||
PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
|
||||
}
|
||||
|
||||
/* UnpackTupleError */
|
||||
/* UnpackTupleError (used by UnpackTuple2) */
|
||||
static void __Pyx_UnpackTupleError(PyObject *t, Py_ssize_t index) {
|
||||
if (t == Py_None) {
|
||||
__Pyx_RaiseNoneNotIterableError();
|
||||
@ -15615,7 +15634,7 @@ static void __Pyx_UnpackTupleError(PyObject *t, Py_ssize_t index) {
|
||||
}
|
||||
}
|
||||
|
||||
/* UnpackTuple2 */
|
||||
/* UnpackTuple2 (used by dict_iter) */
|
||||
static CYTHON_INLINE int __Pyx_unpack_tuple2(
|
||||
PyObject* tuple, PyObject** value1, PyObject** value2, int is_tuple, int has_known_size, int decref_tuple) {
|
||||
if (likely(is_tuple || PyTuple_Check(tuple))) {
|
||||
@ -15942,7 +15961,7 @@ static CYTHON_INLINE PyObject *__Pyx_PyUnicode_ConcatInPlaceImpl(PyObject **p_le
|
||||
}
|
||||
#endif
|
||||
|
||||
/* ArgTypeTestFunc */
|
||||
/* ArgTypeTestFunc (used by ArgTypeTest) */
|
||||
static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *name, int exact)
|
||||
{
|
||||
__Pyx_TypeName type_name;
|
||||
@ -16031,7 +16050,7 @@ static int __Pyx_call_type_traverse(PyObject *o, int always_call, visitproc visi
|
||||
}
|
||||
#endif
|
||||
|
||||
/* LimitedApiGetTypeDict */
|
||||
/* LimitedApiGetTypeDict (used by SetItemOnTypeDict) */
|
||||
#if CYTHON_COMPILING_IN_LIMITED_API
|
||||
static Py_ssize_t __Pyx_GetTypeDictOffset(void) {
|
||||
PyObject *tp_dictoffset_o;
|
||||
@ -16067,7 +16086,7 @@ static PyObject *__Pyx_GetTypeDict(PyTypeObject *tp) {
|
||||
}
|
||||
#endif
|
||||
|
||||
/* SetItemOnTypeDict */
|
||||
/* SetItemOnTypeDict (used by FixUpExtensionType) */
|
||||
static int __Pyx__SetItemOnTypeDict(PyTypeObject *tp, PyObject *k, PyObject *v) {
|
||||
int result;
|
||||
PyObject *tp_dict;
|
||||
@ -16190,7 +16209,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* ValidateBasesTuple */
|
||||
/* ValidateBasesTuple (used by PyType_Ready) */
|
||||
#if CYTHON_COMPILING_IN_CPYTHON || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_USE_TYPE_SPECS
|
||||
static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffset, PyObject *bases) {
|
||||
Py_ssize_t i, n;
|
||||
@ -16360,7 +16379,7 @@ static int __Pyx_PyType_Ready(PyTypeObject *t) {
|
||||
#endif
|
||||
}
|
||||
|
||||
/* HasAttr */
|
||||
/* HasAttr (used by ImportImpl) */
|
||||
#if __PYX_LIMITED_VERSION_HEX < 0x030d0000
|
||||
static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
|
||||
PyObject *r;
|
||||
@ -16379,7 +16398,7 @@ static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Import */
|
||||
/* ImportImpl (used by Import) */
|
||||
static int __Pyx__Import_GetModule(PyObject *qualname, PyObject **module) {
|
||||
PyObject *imported_module = PyImport_GetModule(qualname);
|
||||
if (unlikely(!imported_module)) {
|
||||
@ -16440,7 +16459,7 @@ not_found:
|
||||
*module = NULL;
|
||||
return 0;
|
||||
}
|
||||
static PyObject *__Pyx_Import(PyObject *name, PyObject *const *imported_names, Py_ssize_t len_imported_names, PyObject *qualname, int level) {
|
||||
static PyObject *__Pyx__Import(PyObject *name, PyObject *const *imported_names, Py_ssize_t len_imported_names, PyObject *qualname, PyObject *moddict, int level) {
|
||||
PyObject *module = 0;
|
||||
PyObject *empty_dict = 0;
|
||||
PyObject *from_list = 0;
|
||||
@ -16474,7 +16493,7 @@ static PyObject *__Pyx_Import(PyObject *name, PyObject *const *imported_names, P
|
||||
const char* package_sep = strchr(__Pyx_MODULE_NAME, '.');
|
||||
if (package_sep != (0)) {
|
||||
module = PyImport_ImportModuleLevelObject(
|
||||
name, __pyx_mstate_global->__pyx_d, empty_dict, from_list, 1);
|
||||
name, moddict, empty_dict, from_list, 1);
|
||||
if (unlikely(!module)) {
|
||||
if (unlikely(!PyErr_ExceptionMatches(PyExc_ImportError)))
|
||||
goto bad;
|
||||
@ -16485,7 +16504,7 @@ static PyObject *__Pyx_Import(PyObject *name, PyObject *const *imported_names, P
|
||||
}
|
||||
if (!module) {
|
||||
module = PyImport_ImportModuleLevelObject(
|
||||
name, __pyx_mstate_global->__pyx_d, empty_dict, from_list, level);
|
||||
name, moddict, empty_dict, from_list, level);
|
||||
}
|
||||
bad:
|
||||
Py_XDECREF(from_list);
|
||||
@ -16493,6 +16512,11 @@ bad:
|
||||
return module;
|
||||
}
|
||||
|
||||
/* Import */
|
||||
static PyObject *__Pyx_Import(PyObject *name, PyObject *const *imported_names, Py_ssize_t len_imported_names, PyObject *qualname, int level) {
|
||||
return __Pyx__Import(name, imported_names, len_imported_names, qualname, __pyx_mstate_global->__pyx_d, level);
|
||||
}
|
||||
|
||||
/* ImportFrom */
|
||||
static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name) {
|
||||
PyObject* value = __Pyx_PyObject_GetAttrStr(module, name);
|
||||
@ -16532,7 +16556,7 @@ static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name) {
|
||||
return value;
|
||||
}
|
||||
|
||||
/* dict_setdefault */
|
||||
/* dict_setdefault (used by FetchCommonType) */
|
||||
static CYTHON_INLINE PyObject *__Pyx_PyDict_SetDefault(PyObject *d, PyObject *key, PyObject *default_value) {
|
||||
PyObject* value;
|
||||
#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
|
||||
@ -16550,7 +16574,7 @@ static CYTHON_INLINE PyObject *__Pyx_PyDict_SetDefault(PyObject *d, PyObject *ke
|
||||
return value;
|
||||
}
|
||||
|
||||
/* AddModuleRef */
|
||||
/* AddModuleRef (used by FetchSharedCythonModule) */
|
||||
#if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
|
||||
static PyObject *__Pyx_PyImport_AddModuleObjectRef(PyObject *name) {
|
||||
PyObject *module_dict = PyImport_GetModuleDict();
|
||||
@ -16595,12 +16619,12 @@ static CYTHON_INLINE PyObject *__Pyx_PyDict_SetDefault(PyObject *d, PyObject *ke
|
||||
}
|
||||
#endif
|
||||
|
||||
/* FetchSharedCythonModule */
|
||||
/* FetchSharedCythonModule (used by FetchCommonType) */
|
||||
static PyObject *__Pyx_FetchSharedCythonABIModule(void) {
|
||||
return __Pyx_PyImport_AddModuleRef(__PYX_ABI_MODULE_NAME);
|
||||
}
|
||||
|
||||
/* FetchCommonType */
|
||||
/* FetchCommonType (used by CommonTypesMetaclass) */
|
||||
#if __PYX_LIMITED_VERSION_HEX < 0x030C0000
|
||||
static PyObject* __Pyx_PyType_FromMetaclass(PyTypeObject *metaclass, PyObject *module, PyType_Spec *spec, PyObject *bases) {
|
||||
PyObject *result = __Pyx_PyType_FromModuleAndSpec(module, spec, bases);
|
||||
@ -16705,7 +16729,7 @@ bad:
|
||||
goto done;
|
||||
}
|
||||
|
||||
/* CommonTypesMetaclass */
|
||||
/* CommonTypesMetaclass (used by CythonFunctionShared) */
|
||||
static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
||||
return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
|
||||
}
|
||||
@ -16755,7 +16779,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* PyMethodNew */
|
||||
/* PyMethodNew (used by CythonFunctionShared) */
|
||||
#if CYTHON_COMPILING_IN_LIMITED_API
|
||||
static PyObject *__Pyx_PyMethod_New(PyObject *func, PyObject *self, PyObject *typ) {
|
||||
PyObject *result;
|
||||
@ -16781,7 +16805,7 @@ static PyObject *__Pyx_PyMethod_New(PyObject *func, PyObject *self, PyObject *ty
|
||||
}
|
||||
#endif
|
||||
|
||||
/* PyVectorcallFastCallDict */
|
||||
/* PyVectorcallFastCallDict (used by CythonFunctionShared) */
|
||||
#if CYTHON_METH_FASTCALL && CYTHON_VECTORCALL
|
||||
static PyObject *__Pyx_PyVectorcall_FastCallDict_kw(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw)
|
||||
{
|
||||
@ -16871,7 +16895,7 @@ static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, _
|
||||
}
|
||||
#endif
|
||||
|
||||
/* CythonFunctionShared */
|
||||
/* CythonFunctionShared (used by CythonFunction) */
|
||||
#if CYTHON_COMPILING_IN_LIMITED_API
|
||||
static CYTHON_INLINE int __Pyx__IsSameCyOrCFunctionNoMethod(PyObject *func, void (*cfunc)(void)) {
|
||||
if (__Pyx_CyFunction_Check(func)) {
|
||||
@ -17893,7 +17917,7 @@ static PyObject *__Pyx_CyFunction_New(PyMethodDef *ml, int flags, PyObject* qual
|
||||
return op;
|
||||
}
|
||||
|
||||
/* CLineInTraceback */
|
||||
/* CLineInTraceback (used by AddTraceback) */
|
||||
#if CYTHON_CLINE_IN_TRACEBACK && CYTHON_CLINE_IN_TRACEBACK_RUNTIME
|
||||
#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030A0000
|
||||
#define __Pyx_PyProbablyModule_GetDict(o) __Pyx_XNewRef(PyModule_GetDict(o))
|
||||
@ -17930,7 +17954,7 @@ static int __Pyx_CLineForTraceback(PyThreadState *tstate, int c_line) {
|
||||
}
|
||||
#endif
|
||||
|
||||
/* CodeObjectCache */
|
||||
/* CodeObjectCache (used by AddTraceback) */
|
||||
static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line) {
|
||||
int start = 0, mid = 0, end = count - 1;
|
||||
if (end >= 0 && code_line > entries[end].code_line) {
|
||||
@ -18295,7 +18319,7 @@ __Pyx_PyType_GetFullyQualifiedName(PyTypeObject* tp)
|
||||
}
|
||||
#endif
|
||||
|
||||
/* CIntFromPyVerify */
|
||||
/* CIntFromPyVerify (used by CIntFromPy) */
|
||||
#define __PYX_VERIFY_RETURN_INT(target_type, func_type, func_value)\
|
||||
__PYX__VERIFY_RETURN_INT(target_type, func_type, func_value, 0)
|
||||
#define __PYX_VERIFY_RETURN_INT_EXC(target_type, func_type, func_value)\
|
||||
@ -18937,7 +18961,7 @@ static unsigned long __Pyx_get_runtime_version(void) {
|
||||
#endif
|
||||
}
|
||||
|
||||
/* SwapException */
|
||||
/* SwapException (used by CoroutineBase) */
|
||||
#if CYTHON_FAST_THREAD_STATE
|
||||
static CYTHON_INLINE void __Pyx__ExceptionSwap(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) {
|
||||
PyObject *tmp_type, *tmp_value, *tmp_tb;
|
||||
@ -18991,7 +19015,7 @@ static CYTHON_INLINE void __Pyx_ExceptionSwap(PyObject **type, PyObject **value,
|
||||
}
|
||||
#endif
|
||||
|
||||
/* IterNextPlain */
|
||||
/* IterNextPlain (used by CoroutineBase) */
|
||||
#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030A0000
|
||||
static PyObject *__Pyx_GetBuiltinNext_LimitedAPI(void) {
|
||||
if (unlikely(!__pyx_mstate_global->__Pyx_GetBuiltinNext_LimitedAPI_cache))
|
||||
@ -19014,13 +19038,13 @@ static CYTHON_INLINE PyObject *__Pyx_PyIter_Next_Plain(PyObject *iterator) {
|
||||
#endif
|
||||
}
|
||||
|
||||
/* PyObjectCall2Args */
|
||||
/* PyObjectCall2Args (used by PyObjectCallMethod1) */
|
||||
static CYTHON_INLINE PyObject* __Pyx_PyObject_Call2Args(PyObject* function, PyObject* arg1, PyObject* arg2) {
|
||||
PyObject *args[3] = {NULL, arg1, arg2};
|
||||
return __Pyx_PyObject_FastCall(function, args+1, 2 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET);
|
||||
}
|
||||
|
||||
/* PyObjectCallMethod1 */
|
||||
/* PyObjectCallMethod1 (used by CoroutineBase) */
|
||||
#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
|
||||
static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
||||
PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
|
||||
@ -19047,7 +19071,7 @@ static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name
|
||||
#endif
|
||||
}
|
||||
|
||||
/* ReturnWithStopIteration */
|
||||
/* ReturnWithStopIteration (used by CoroutineBase) */
|
||||
static void __Pyx__ReturnWithStopIteration(PyObject* value, int async);
|
||||
static CYTHON_INLINE void __Pyx_ReturnWithStopIteration(PyObject* value, int async, int iternext) {
|
||||
if (value == Py_None) {
|
||||
@ -19101,7 +19125,7 @@ static void __Pyx__ReturnWithStopIteration(PyObject* value, int async) {
|
||||
Py_DECREF(exc);
|
||||
}
|
||||
|
||||
/* CoroutineBase */
|
||||
/* CoroutineBase (used by Generator) */
|
||||
#if !CYTHON_COMPILING_IN_LIMITED_API
|
||||
#include <frameobject.h>
|
||||
#if PY_VERSION_HEX >= 0x030b00a6 && !defined(PYPY_VERSION)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user