mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 01:26:51 +03:00
Upgrade Cython to 0.29.30 (#605)
This commit is contained in:
parent
753e863d02
commit
142b91921a
|
@ -18,6 +18,7 @@ Development
|
||||||
PR (`#580 <https://github.com/ets-labs/python-dependency-injector/pull/580>`_).
|
PR (`#580 <https://github.com/ets-labs/python-dependency-injector/pull/580>`_).
|
||||||
- Update copyright year.
|
- Update copyright year.
|
||||||
- Update pytest configuration.
|
- Update pytest configuration.
|
||||||
|
- Regenerate C sources using Cython 0.29.30.
|
||||||
|
|
||||||
4.39.1
|
4.39.1
|
||||||
------
|
------
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
cython==0.29.24
|
cython==0.29.30
|
||||||
pytest
|
pytest
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
tox
|
tox
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Generated by Cython 0.29.24 */
|
/* Generated by Cython 0.29.30 */
|
||||||
|
|
||||||
#ifndef PY_SSIZE_T_CLEAN
|
#ifndef PY_SSIZE_T_CLEAN
|
||||||
#define PY_SSIZE_T_CLEAN
|
#define PY_SSIZE_T_CLEAN
|
||||||
|
@ -9,8 +9,8 @@
|
||||||
#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000)
|
#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000)
|
||||||
#error Cython requires Python 2.6+ or Python 3.3+.
|
#error Cython requires Python 2.6+ or Python 3.3+.
|
||||||
#else
|
#else
|
||||||
#define CYTHON_ABI "0_29_24"
|
#define CYTHON_ABI "0_29_30"
|
||||||
#define CYTHON_HEX_VERSION 0x001D18F0
|
#define CYTHON_HEX_VERSION 0x001D1EF0
|
||||||
#define CYTHON_FUTURE_DIVISION 0
|
#define CYTHON_FUTURE_DIVISION 0
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#ifndef offsetof
|
#ifndef offsetof
|
||||||
|
@ -85,6 +85,9 @@
|
||||||
#define CYTHON_USE_DICT_VERSIONS 0
|
#define CYTHON_USE_DICT_VERSIONS 0
|
||||||
#undef CYTHON_USE_EXC_INFO_STACK
|
#undef CYTHON_USE_EXC_INFO_STACK
|
||||||
#define CYTHON_USE_EXC_INFO_STACK 0
|
#define CYTHON_USE_EXC_INFO_STACK 0
|
||||||
|
#ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
|
||||||
|
#define CYTHON_UPDATE_DESCRIPTOR_DOC (PYPY_VERSION_HEX >= 0x07030900)
|
||||||
|
#endif
|
||||||
#elif defined(PYSTON_VERSION)
|
#elif defined(PYSTON_VERSION)
|
||||||
#define CYTHON_COMPILING_IN_PYPY 0
|
#define CYTHON_COMPILING_IN_PYPY 0
|
||||||
#define CYTHON_COMPILING_IN_PYSTON 1
|
#define CYTHON_COMPILING_IN_PYSTON 1
|
||||||
|
@ -126,6 +129,9 @@
|
||||||
#define CYTHON_USE_DICT_VERSIONS 0
|
#define CYTHON_USE_DICT_VERSIONS 0
|
||||||
#undef CYTHON_USE_EXC_INFO_STACK
|
#undef CYTHON_USE_EXC_INFO_STACK
|
||||||
#define CYTHON_USE_EXC_INFO_STACK 0
|
#define CYTHON_USE_EXC_INFO_STACK 0
|
||||||
|
#ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
|
||||||
|
#define CYTHON_UPDATE_DESCRIPTOR_DOC 0
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#define CYTHON_COMPILING_IN_PYPY 0
|
#define CYTHON_COMPILING_IN_PYPY 0
|
||||||
#define CYTHON_COMPILING_IN_PYSTON 0
|
#define CYTHON_COMPILING_IN_PYSTON 0
|
||||||
|
@ -157,7 +163,7 @@
|
||||||
#ifndef CYTHON_USE_UNICODE_INTERNALS
|
#ifndef CYTHON_USE_UNICODE_INTERNALS
|
||||||
#define CYTHON_USE_UNICODE_INTERNALS 1
|
#define CYTHON_USE_UNICODE_INTERNALS 1
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX < 0x030300F0
|
#if PY_VERSION_HEX < 0x030300F0 || PY_VERSION_HEX >= 0x030B00A2
|
||||||
#undef CYTHON_USE_UNICODE_WRITER
|
#undef CYTHON_USE_UNICODE_WRITER
|
||||||
#define CYTHON_USE_UNICODE_WRITER 0
|
#define CYTHON_USE_UNICODE_WRITER 0
|
||||||
#elif !defined(CYTHON_USE_UNICODE_WRITER)
|
#elif !defined(CYTHON_USE_UNICODE_WRITER)
|
||||||
|
@ -172,11 +178,14 @@
|
||||||
#ifndef CYTHON_UNPACK_METHODS
|
#ifndef CYTHON_UNPACK_METHODS
|
||||||
#define CYTHON_UNPACK_METHODS 1
|
#define CYTHON_UNPACK_METHODS 1
|
||||||
#endif
|
#endif
|
||||||
#ifndef CYTHON_FAST_THREAD_STATE
|
#if PY_VERSION_HEX >= 0x030B00A4
|
||||||
|
#undef CYTHON_FAST_THREAD_STATE
|
||||||
|
#define CYTHON_FAST_THREAD_STATE 0
|
||||||
|
#elif !defined(CYTHON_FAST_THREAD_STATE)
|
||||||
#define CYTHON_FAST_THREAD_STATE 1
|
#define CYTHON_FAST_THREAD_STATE 1
|
||||||
#endif
|
#endif
|
||||||
#ifndef CYTHON_FAST_PYCALL
|
#ifndef CYTHON_FAST_PYCALL
|
||||||
#define CYTHON_FAST_PYCALL 1
|
#define CYTHON_FAST_PYCALL (PY_VERSION_HEX < 0x030A0000)
|
||||||
#endif
|
#endif
|
||||||
#ifndef CYTHON_PEP489_MULTI_PHASE_INIT
|
#ifndef CYTHON_PEP489_MULTI_PHASE_INIT
|
||||||
#define CYTHON_PEP489_MULTI_PHASE_INIT (PY_VERSION_HEX >= 0x03050000)
|
#define CYTHON_PEP489_MULTI_PHASE_INIT (PY_VERSION_HEX >= 0x03050000)
|
||||||
|
@ -187,15 +196,23 @@
|
||||||
#ifndef CYTHON_USE_DICT_VERSIONS
|
#ifndef CYTHON_USE_DICT_VERSIONS
|
||||||
#define CYTHON_USE_DICT_VERSIONS (PY_VERSION_HEX >= 0x030600B1)
|
#define CYTHON_USE_DICT_VERSIONS (PY_VERSION_HEX >= 0x030600B1)
|
||||||
#endif
|
#endif
|
||||||
#ifndef CYTHON_USE_EXC_INFO_STACK
|
#if PY_VERSION_HEX >= 0x030B00A4
|
||||||
|
#undef CYTHON_USE_EXC_INFO_STACK
|
||||||
|
#define CYTHON_USE_EXC_INFO_STACK 0
|
||||||
|
#elif !defined(CYTHON_USE_EXC_INFO_STACK)
|
||||||
#define CYTHON_USE_EXC_INFO_STACK (PY_VERSION_HEX >= 0x030700A3)
|
#define CYTHON_USE_EXC_INFO_STACK (PY_VERSION_HEX >= 0x030700A3)
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
|
||||||
|
#define CYTHON_UPDATE_DESCRIPTOR_DOC 1
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#if !defined(CYTHON_FAST_PYCCALL)
|
#if !defined(CYTHON_FAST_PYCCALL)
|
||||||
#define CYTHON_FAST_PYCCALL (CYTHON_FAST_PYCALL && PY_VERSION_HEX >= 0x030600B1)
|
#define CYTHON_FAST_PYCCALL (CYTHON_FAST_PYCALL && PY_VERSION_HEX >= 0x030600B1)
|
||||||
#endif
|
#endif
|
||||||
#if CYTHON_USE_PYLONG_INTERNALS
|
#if CYTHON_USE_PYLONG_INTERNALS
|
||||||
#include "longintrepr.h"
|
#if PY_MAJOR_VERSION < 3
|
||||||
|
#include "longintrepr.h"
|
||||||
|
#endif
|
||||||
#undef SHIFT
|
#undef SHIFT
|
||||||
#undef BASE
|
#undef BASE
|
||||||
#undef MASK
|
#undef MASK
|
||||||
|
@ -312,9 +329,68 @@
|
||||||
#define __Pyx_DefaultClassType PyClass_Type
|
#define __Pyx_DefaultClassType PyClass_Type
|
||||||
#else
|
#else
|
||||||
#define __Pyx_BUILTIN_MODULE_NAME "builtins"
|
#define __Pyx_BUILTIN_MODULE_NAME "builtins"
|
||||||
#if PY_VERSION_HEX >= 0x030800A4 && PY_VERSION_HEX < 0x030800B2
|
#define __Pyx_DefaultClassType PyType_Type
|
||||||
#define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\
|
#if PY_VERSION_HEX >= 0x030B00A1
|
||||||
PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
|
static CYTHON_INLINE PyCodeObject* __Pyx_PyCode_New(int a, int k, int l, int s, int f,
|
||||||
|
PyObject *code, PyObject *c, PyObject* n, PyObject *v,
|
||||||
|
PyObject *fv, PyObject *cell, PyObject* fn,
|
||||||
|
PyObject *name, int fline, PyObject *lnos) {
|
||||||
|
PyObject *kwds=NULL, *argcount=NULL, *posonlyargcount=NULL, *kwonlyargcount=NULL;
|
||||||
|
PyObject *nlocals=NULL, *stacksize=NULL, *flags=NULL, *replace=NULL, *call_result=NULL, *empty=NULL;
|
||||||
|
const char *fn_cstr=NULL;
|
||||||
|
const char *name_cstr=NULL;
|
||||||
|
PyCodeObject* co=NULL;
|
||||||
|
PyObject *type, *value, *traceback;
|
||||||
|
PyErr_Fetch(&type, &value, &traceback);
|
||||||
|
if (!(kwds=PyDict_New())) goto end;
|
||||||
|
if (!(argcount=PyLong_FromLong(a))) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_argcount", argcount) != 0) goto end;
|
||||||
|
if (!(posonlyargcount=PyLong_FromLong(0))) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_posonlyargcount", posonlyargcount) != 0) goto end;
|
||||||
|
if (!(kwonlyargcount=PyLong_FromLong(k))) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_kwonlyargcount", kwonlyargcount) != 0) goto end;
|
||||||
|
if (!(nlocals=PyLong_FromLong(l))) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_nlocals", nlocals) != 0) goto end;
|
||||||
|
if (!(stacksize=PyLong_FromLong(s))) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_stacksize", stacksize) != 0) goto end;
|
||||||
|
if (!(flags=PyLong_FromLong(f))) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_flags", flags) != 0) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_code", code) != 0) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_consts", c) != 0) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_names", n) != 0) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_varnames", v) != 0) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_freevars", fv) != 0) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_cellvars", cell) != 0) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_linetable", lnos) != 0) goto end;
|
||||||
|
if (!(fn_cstr=PyUnicode_AsUTF8AndSize(fn, NULL))) goto end;
|
||||||
|
if (!(name_cstr=PyUnicode_AsUTF8AndSize(name, NULL))) goto end;
|
||||||
|
if (!(co = PyCode_NewEmpty(fn_cstr, name_cstr, fline))) goto end;
|
||||||
|
if (!(replace = PyObject_GetAttrString((PyObject*)co, "replace"))) goto cleanup_code_too;
|
||||||
|
if (!(empty = PyTuple_New(0))) goto cleanup_code_too; // unfortunately __pyx_empty_tuple isn't available here
|
||||||
|
if (!(call_result = PyObject_Call(replace, empty, kwds))) goto cleanup_code_too;
|
||||||
|
Py_XDECREF((PyObject*)co);
|
||||||
|
co = (PyCodeObject*)call_result;
|
||||||
|
call_result = NULL;
|
||||||
|
if (0) {
|
||||||
|
cleanup_code_too:
|
||||||
|
Py_XDECREF((PyObject*)co);
|
||||||
|
co = NULL;
|
||||||
|
}
|
||||||
|
end:
|
||||||
|
Py_XDECREF(kwds);
|
||||||
|
Py_XDECREF(argcount);
|
||||||
|
Py_XDECREF(posonlyargcount);
|
||||||
|
Py_XDECREF(kwonlyargcount);
|
||||||
|
Py_XDECREF(nlocals);
|
||||||
|
Py_XDECREF(stacksize);
|
||||||
|
Py_XDECREF(replace);
|
||||||
|
Py_XDECREF(call_result);
|
||||||
|
Py_XDECREF(empty);
|
||||||
|
if (type) {
|
||||||
|
PyErr_Restore(type, value, traceback);
|
||||||
|
}
|
||||||
|
return co;
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
#define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\
|
#define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\
|
||||||
PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
|
PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
|
||||||
|
@ -552,10 +628,10 @@ static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) {
|
||||||
#if PY_VERSION_HEX < 0x030200A4
|
#if PY_VERSION_HEX < 0x030200A4
|
||||||
typedef long Py_hash_t;
|
typedef long Py_hash_t;
|
||||||
#define __Pyx_PyInt_FromHash_t PyInt_FromLong
|
#define __Pyx_PyInt_FromHash_t PyInt_FromLong
|
||||||
#define __Pyx_PyInt_AsHash_t PyInt_AsLong
|
#define __Pyx_PyInt_AsHash_t __Pyx_PyIndex_AsHash_t
|
||||||
#else
|
#else
|
||||||
#define __Pyx_PyInt_FromHash_t PyInt_FromSsize_t
|
#define __Pyx_PyInt_FromHash_t PyInt_FromSsize_t
|
||||||
#define __Pyx_PyInt_AsHash_t PyInt_AsSsize_t
|
#define __Pyx_PyInt_AsHash_t __Pyx_PyIndex_AsSsize_t
|
||||||
#endif
|
#endif
|
||||||
#if PY_MAJOR_VERSION >= 3
|
#if PY_MAJOR_VERSION >= 3
|
||||||
#define __Pyx_PyMethod_New(func, self, klass) ((self) ? ((void)(klass), PyMethod_New(func, self)) : __Pyx_NewRef(func))
|
#define __Pyx_PyMethod_New(func, self, klass) ((self) ? ((void)(klass), PyMethod_New(func, self)) : __Pyx_NewRef(func))
|
||||||
|
@ -580,8 +656,10 @@ static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) {
|
||||||
} __Pyx_PyAsyncMethodsStruct;
|
} __Pyx_PyAsyncMethodsStruct;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(WIN32) || defined(MS_WINDOWS)
|
#if defined(_WIN32) || defined(WIN32) || defined(MS_WINDOWS)
|
||||||
#define _USE_MATH_DEFINES
|
#if !defined(_USE_MATH_DEFINES)
|
||||||
|
#define _USE_MATH_DEFINES
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#ifdef NAN
|
#ifdef NAN
|
||||||
|
@ -711,6 +789,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyNumber_IntOrLong(PyObject* x);
|
||||||
(likely(PyTuple_CheckExact(obj)) ? __Pyx_NewRef(obj) : PySequence_Tuple(obj))
|
(likely(PyTuple_CheckExact(obj)) ? __Pyx_NewRef(obj) : PySequence_Tuple(obj))
|
||||||
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
|
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
|
||||||
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t);
|
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t);
|
||||||
|
static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*);
|
||||||
#if CYTHON_ASSUME_SAFE_MACROS
|
#if CYTHON_ASSUME_SAFE_MACROS
|
||||||
#define __pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x))
|
#define __pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x))
|
||||||
#else
|
#else
|
||||||
|
@ -2365,13 +2444,21 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
|
||||||
#ifndef Py_MEMBER_SIZE
|
#ifndef Py_MEMBER_SIZE
|
||||||
#define Py_MEMBER_SIZE(type, member) sizeof(((type *)0)->member)
|
#define Py_MEMBER_SIZE(type, member) sizeof(((type *)0)->member)
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_FAST_PYCALL
|
||||||
static size_t __pyx_pyframe_localsplus_offset = 0;
|
static size_t __pyx_pyframe_localsplus_offset = 0;
|
||||||
#include "frameobject.h"
|
#include "frameobject.h"
|
||||||
|
#if PY_VERSION_HEX >= 0x030b00a6
|
||||||
|
#ifndef Py_BUILD_CORE
|
||||||
|
#define Py_BUILD_CORE 1
|
||||||
|
#endif
|
||||||
|
#include "internal/pycore_frame.h"
|
||||||
|
#endif
|
||||||
#define __Pxy_PyFrame_Initialize_Offsets()\
|
#define __Pxy_PyFrame_Initialize_Offsets()\
|
||||||
((void)__Pyx_BUILD_ASSERT_EXPR(sizeof(PyFrameObject) == offsetof(PyFrameObject, f_localsplus) + Py_MEMBER_SIZE(PyFrameObject, f_localsplus)),\
|
((void)__Pyx_BUILD_ASSERT_EXPR(sizeof(PyFrameObject) == offsetof(PyFrameObject, f_localsplus) + Py_MEMBER_SIZE(PyFrameObject, f_localsplus)),\
|
||||||
(void)(__pyx_pyframe_localsplus_offset = ((size_t)PyFrame_Type.tp_basicsize) - Py_MEMBER_SIZE(PyFrameObject, f_localsplus)))
|
(void)(__pyx_pyframe_localsplus_offset = ((size_t)PyFrame_Type.tp_basicsize) - Py_MEMBER_SIZE(PyFrameObject, f_localsplus)))
|
||||||
#define __Pyx_PyFrame_GetLocalsplus(frame)\
|
#define __Pyx_PyFrame_GetLocalsplus(frame)\
|
||||||
(assert(__pyx_pyframe_localsplus_offset), (PyObject **)(((char *)(frame)) + __pyx_pyframe_localsplus_offset))
|
(assert(__pyx_pyframe_localsplus_offset), (PyObject **)(((char *)(frame)) + __pyx_pyframe_localsplus_offset))
|
||||||
|
#endif // CYTHON_FAST_PYCALL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* PyObjectCall.proto */
|
/* PyObjectCall.proto */
|
||||||
|
@ -11437,12 +11524,15 @@ static PyTypeObject __pyx_type_19dependency_injector_8_cwiring___pyx_scope_struc
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0, /*tp_finalize*/
|
0, /*tp_finalize*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0, /*tp_vectorcall*/
|
0, /*tp_vectorcall*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0, /*tp_pypy_flags*/
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct __pyx_obj_19dependency_injector_8_cwiring___pyx_scope_struct_1__async_inject *__pyx_freelist_19dependency_injector_8_cwiring___pyx_scope_struct_1__async_inject[8];
|
static struct __pyx_obj_19dependency_injector_8_cwiring___pyx_scope_struct_1__async_inject *__pyx_freelist_19dependency_injector_8_cwiring___pyx_scope_struct_1__async_inject[8];
|
||||||
|
@ -11607,12 +11697,15 @@ static PyTypeObject __pyx_type_19dependency_injector_8_cwiring___pyx_scope_struc
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0, /*tp_finalize*/
|
0, /*tp_finalize*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0, /*tp_vectorcall*/
|
0, /*tp_vectorcall*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0, /*tp_pypy_flags*/
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct __pyx_obj_19dependency_injector_8_cwiring___pyx_scope_struct_2_genexpr *__pyx_freelist_19dependency_injector_8_cwiring___pyx_scope_struct_2_genexpr[8];
|
static struct __pyx_obj_19dependency_injector_8_cwiring___pyx_scope_struct_2_genexpr *__pyx_freelist_19dependency_injector_8_cwiring___pyx_scope_struct_2_genexpr[8];
|
||||||
|
@ -11725,12 +11818,15 @@ static PyTypeObject __pyx_type_19dependency_injector_8_cwiring___pyx_scope_struc
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0, /*tp_finalize*/
|
0, /*tp_finalize*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0, /*tp_vectorcall*/
|
0, /*tp_vectorcall*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0, /*tp_pypy_flags*/
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object____object___to_py *__pyx_freelist___pyx_scope_struct____Pyx_CFunc_void____object____object____object____object___to_py[8];
|
static struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object____object___to_py *__pyx_freelist___pyx_scope_struct____Pyx_CFunc_void____object____object____object____object___to_py[8];
|
||||||
|
@ -11818,12 +11914,15 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_void____object____object____
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0, /*tp_finalize*/
|
0, /*tp_finalize*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0, /*tp_vectorcall*/
|
0, /*tp_vectorcall*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0, /*tp_pypy_flags*/
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object___to_py *__pyx_freelist___pyx_scope_struct____Pyx_CFunc_void____object____object___to_py[8];
|
static struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object___to_py *__pyx_freelist___pyx_scope_struct____Pyx_CFunc_void____object____object___to_py[8];
|
||||||
|
@ -11911,12 +12010,15 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_void____object____object___t
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0, /*tp_finalize*/
|
0, /*tp_finalize*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0, /*tp_vectorcall*/
|
0, /*tp_vectorcall*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0, /*tp_pypy_flags*/
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object___to_py *__pyx_freelist___pyx_scope_struct____Pyx_CFunc_void____object____object____object___to_py[8];
|
static struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object___to_py *__pyx_freelist___pyx_scope_struct____Pyx_CFunc_void____object____object____object___to_py[8];
|
||||||
|
@ -12004,12 +12106,15 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_void____object____object____
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0, /*tp_finalize*/
|
0, /*tp_finalize*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0, /*tp_vectorcall*/
|
0, /*tp_vectorcall*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0, /*tp_pypy_flags*/
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_object____object____object___to_py *__pyx_freelist___pyx_scope_struct____Pyx_CFunc_object____object____object___to_py[8];
|
static struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_object____object____object___to_py *__pyx_freelist___pyx_scope_struct____Pyx_CFunc_object____object____object___to_py[8];
|
||||||
|
@ -12097,12 +12202,15 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_object____object____object__
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0, /*tp_finalize*/
|
0, /*tp_finalize*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0, /*tp_vectorcall*/
|
0, /*tp_vectorcall*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0, /*tp_pypy_flags*/
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static PyMethodDef __pyx_methods[] = {
|
static PyMethodDef __pyx_methods[] = {
|
||||||
|
@ -14049,6 +14157,9 @@ static PyObject *__Pyx_CyFunction_CallAsMethod(PyObject *func, PyObject *args, P
|
||||||
self = PyTuple_GetItem(args, 0);
|
self = PyTuple_GetItem(args, 0);
|
||||||
if (unlikely(!self)) {
|
if (unlikely(!self)) {
|
||||||
Py_DECREF(new_args);
|
Py_DECREF(new_args);
|
||||||
|
PyErr_Format(PyExc_TypeError,
|
||||||
|
"unbound method %.200S() needs an argument",
|
||||||
|
cyfunc->func_qualname);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
result = __Pyx_CyFunction_CallMethod(func, self, new_args, kw);
|
result = __Pyx_CyFunction_CallMethod(func, self, new_args, kw);
|
||||||
|
@ -14117,12 +14228,15 @@ static PyTypeObject __pyx_CyFunctionType_type = {
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
static int __pyx_CyFunction_init(void) {
|
static int __pyx_CyFunction_init(void) {
|
||||||
__pyx_CyFunctionType = __Pyx_FetchCommonType(&__pyx_CyFunctionType_type);
|
__pyx_CyFunctionType = __Pyx_FetchCommonType(&__pyx_CyFunctionType_type);
|
||||||
|
@ -14771,6 +14885,12 @@ static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name
|
||||||
/* CoroutineBase */
|
/* CoroutineBase */
|
||||||
#include <structmember.h>
|
#include <structmember.h>
|
||||||
#include <frameobject.h>
|
#include <frameobject.h>
|
||||||
|
#if PY_VERSION_HEX >= 0x030b00a6
|
||||||
|
#ifndef Py_BUILD_CORE
|
||||||
|
#define Py_BUILD_CORE 1
|
||||||
|
#endif
|
||||||
|
#include "internal/pycore_frame.h"
|
||||||
|
#endif
|
||||||
#define __Pyx_Coroutine_Undelegate(gen) Py_CLEAR((gen)->yieldfrom)
|
#define __Pyx_Coroutine_Undelegate(gen) Py_CLEAR((gen)->yieldfrom)
|
||||||
static int __Pyx_PyGen__FetchStopIterationValue(CYTHON_UNUSED PyThreadState *__pyx_tstate, PyObject **pvalue) {
|
static int __Pyx_PyGen__FetchStopIterationValue(CYTHON_UNUSED PyThreadState *__pyx_tstate, PyObject **pvalue) {
|
||||||
PyObject *et, *ev, *tb;
|
PyObject *et, *ev, *tb;
|
||||||
|
@ -14942,9 +15062,13 @@ PyObject *__Pyx_Coroutine_SendEx(__pyx_CoroutineObject *self, PyObject *value, i
|
||||||
if (exc_state->exc_traceback) {
|
if (exc_state->exc_traceback) {
|
||||||
PyTracebackObject *tb = (PyTracebackObject *) exc_state->exc_traceback;
|
PyTracebackObject *tb = (PyTracebackObject *) exc_state->exc_traceback;
|
||||||
PyFrameObject *f = tb->tb_frame;
|
PyFrameObject *f = tb->tb_frame;
|
||||||
Py_XINCREF(tstate->frame);
|
|
||||||
assert(f->f_back == NULL);
|
assert(f->f_back == NULL);
|
||||||
|
#if PY_VERSION_HEX >= 0x030B00A1
|
||||||
|
f->f_back = PyThreadState_GetFrame(tstate);
|
||||||
|
#else
|
||||||
|
Py_XINCREF(tstate->frame);
|
||||||
f->f_back = tstate->frame;
|
f->f_back = tstate->frame;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -15789,12 +15913,15 @@ static PyTypeObject __pyx_CoroutineAwaitType_type = {
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
#if PY_VERSION_HEX < 0x030500B1 || defined(__Pyx_IterableCoroutine_USED) || CYTHON_USE_ASYNC_SLOTS
|
#if PY_VERSION_HEX < 0x030500B1 || defined(__Pyx_IterableCoroutine_USED) || CYTHON_USE_ASYNC_SLOTS
|
||||||
static CYTHON_INLINE PyObject *__Pyx__Coroutine_await(PyObject *coroutine) {
|
static CYTHON_INLINE PyObject *__Pyx__Coroutine_await(PyObject *coroutine) {
|
||||||
|
@ -15868,6 +15995,9 @@ static __Pyx_PyAsyncMethodsStruct __pyx_Coroutine_as_async = {
|
||||||
__Pyx_Coroutine_await,
|
__Pyx_Coroutine_await,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
|
#if PY_VERSION_HEX >= 0x030A00A3
|
||||||
|
0,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
static PyTypeObject __pyx_CoroutineType_type = {
|
static PyTypeObject __pyx_CoroutineType_type = {
|
||||||
|
@ -15935,12 +16065,15 @@ static PyTypeObject __pyx_CoroutineType_type = {
|
||||||
#elif PY_VERSION_HEX >= 0x030400a1
|
#elif PY_VERSION_HEX >= 0x030400a1
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
static int __pyx_Coroutine_init(void) {
|
static int __pyx_Coroutine_init(void) {
|
||||||
__pyx_CoroutineType_type.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict;
|
__pyx_CoroutineType_type.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict;
|
||||||
|
@ -16903,7 +17036,7 @@ static int __Pyx_CLineForTraceback(CYTHON_NCP_UNUSED PyThreadState *tstate, int
|
||||||
}
|
}
|
||||||
if (!use_cline) {
|
if (!use_cline) {
|
||||||
c_line = 0;
|
c_line = 0;
|
||||||
PyObject_SetAttr(__pyx_cython_runtime, __pyx_n_s_cline_in_traceback, Py_False);
|
(void) PyObject_SetAttr(__pyx_cython_runtime, __pyx_n_s_cline_in_traceback, Py_False);
|
||||||
}
|
}
|
||||||
else if (use_cline == Py_False || (use_cline != Py_True && PyObject_Not(use_cline) != 0)) {
|
else if (use_cline == Py_False || (use_cline != Py_True && PyObject_Not(use_cline) != 0)) {
|
||||||
c_line = 0;
|
c_line = 0;
|
||||||
|
@ -16997,33 +17130,40 @@ static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
|
||||||
#include "compile.h"
|
#include "compile.h"
|
||||||
#include "frameobject.h"
|
#include "frameobject.h"
|
||||||
#include "traceback.h"
|
#include "traceback.h"
|
||||||
|
#if PY_VERSION_HEX >= 0x030b00a6
|
||||||
|
#ifndef Py_BUILD_CORE
|
||||||
|
#define Py_BUILD_CORE 1
|
||||||
|
#endif
|
||||||
|
#include "internal/pycore_frame.h"
|
||||||
|
#endif
|
||||||
static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
|
static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
|
||||||
const char *funcname, int c_line,
|
const char *funcname, int c_line,
|
||||||
int py_line, const char *filename) {
|
int py_line, const char *filename) {
|
||||||
PyCodeObject *py_code = 0;
|
PyCodeObject *py_code = NULL;
|
||||||
PyObject *py_srcfile = 0;
|
PyObject *py_funcname = NULL;
|
||||||
PyObject *py_funcname = 0;
|
|
||||||
#if PY_MAJOR_VERSION < 3
|
#if PY_MAJOR_VERSION < 3
|
||||||
|
PyObject *py_srcfile = NULL;
|
||||||
py_srcfile = PyString_FromString(filename);
|
py_srcfile = PyString_FromString(filename);
|
||||||
#else
|
|
||||||
py_srcfile = PyUnicode_FromString(filename);
|
|
||||||
#endif
|
|
||||||
if (!py_srcfile) goto bad;
|
if (!py_srcfile) goto bad;
|
||||||
|
#endif
|
||||||
if (c_line) {
|
if (c_line) {
|
||||||
#if PY_MAJOR_VERSION < 3
|
#if PY_MAJOR_VERSION < 3
|
||||||
py_funcname = PyString_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line);
|
py_funcname = PyString_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line);
|
||||||
|
if (!py_funcname) goto bad;
|
||||||
#else
|
#else
|
||||||
py_funcname = PyUnicode_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line);
|
py_funcname = PyUnicode_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line);
|
||||||
|
if (!py_funcname) goto bad;
|
||||||
|
funcname = PyUnicode_AsUTF8(py_funcname);
|
||||||
|
if (!funcname) goto bad;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
#if PY_MAJOR_VERSION < 3
|
#if PY_MAJOR_VERSION < 3
|
||||||
py_funcname = PyString_FromString(funcname);
|
py_funcname = PyString_FromString(funcname);
|
||||||
#else
|
if (!py_funcname) goto bad;
|
||||||
py_funcname = PyUnicode_FromString(funcname);
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
if (!py_funcname) goto bad;
|
#if PY_MAJOR_VERSION < 3
|
||||||
py_code = __Pyx_PyCode_New(
|
py_code = __Pyx_PyCode_New(
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
|
@ -17042,11 +17182,16 @@ static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
|
||||||
__pyx_empty_bytes /*PyObject *lnotab*/
|
__pyx_empty_bytes /*PyObject *lnotab*/
|
||||||
);
|
);
|
||||||
Py_DECREF(py_srcfile);
|
Py_DECREF(py_srcfile);
|
||||||
Py_DECREF(py_funcname);
|
#else
|
||||||
|
py_code = PyCode_NewEmpty(filename, funcname, py_line);
|
||||||
|
#endif
|
||||||
|
Py_XDECREF(py_funcname); // XDECREF since it's only set on Py3 if cline
|
||||||
return py_code;
|
return py_code;
|
||||||
bad:
|
bad:
|
||||||
Py_XDECREF(py_srcfile);
|
|
||||||
Py_XDECREF(py_funcname);
|
Py_XDECREF(py_funcname);
|
||||||
|
#if PY_MAJOR_VERSION < 3
|
||||||
|
Py_XDECREF(py_srcfile);
|
||||||
|
#endif
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
static void __Pyx_AddTraceback(const char *funcname, int c_line,
|
static void __Pyx_AddTraceback(const char *funcname, int c_line,
|
||||||
|
@ -17054,14 +17199,24 @@ static void __Pyx_AddTraceback(const char *funcname, int c_line,
|
||||||
PyCodeObject *py_code = 0;
|
PyCodeObject *py_code = 0;
|
||||||
PyFrameObject *py_frame = 0;
|
PyFrameObject *py_frame = 0;
|
||||||
PyThreadState *tstate = __Pyx_PyThreadState_Current;
|
PyThreadState *tstate = __Pyx_PyThreadState_Current;
|
||||||
|
PyObject *ptype, *pvalue, *ptraceback;
|
||||||
if (c_line) {
|
if (c_line) {
|
||||||
c_line = __Pyx_CLineForTraceback(tstate, c_line);
|
c_line = __Pyx_CLineForTraceback(tstate, c_line);
|
||||||
}
|
}
|
||||||
py_code = __pyx_find_code_object(c_line ? -c_line : py_line);
|
py_code = __pyx_find_code_object(c_line ? -c_line : py_line);
|
||||||
if (!py_code) {
|
if (!py_code) {
|
||||||
|
__Pyx_ErrFetchInState(tstate, &ptype, &pvalue, &ptraceback);
|
||||||
py_code = __Pyx_CreateCodeObjectForTraceback(
|
py_code = __Pyx_CreateCodeObjectForTraceback(
|
||||||
funcname, c_line, py_line, filename);
|
funcname, c_line, py_line, filename);
|
||||||
if (!py_code) goto bad;
|
if (!py_code) {
|
||||||
|
/* If the code object creation fails, then we should clear the
|
||||||
|
fetched exception references and propagate the new exception */
|
||||||
|
Py_XDECREF(ptype);
|
||||||
|
Py_XDECREF(pvalue);
|
||||||
|
Py_XDECREF(ptraceback);
|
||||||
|
goto bad;
|
||||||
|
}
|
||||||
|
__Pyx_ErrRestoreInState(tstate, ptype, pvalue, ptraceback);
|
||||||
__pyx_insert_code_object(c_line ? -c_line : py_line, py_code);
|
__pyx_insert_code_object(c_line ? -c_line : py_line, py_code);
|
||||||
}
|
}
|
||||||
py_frame = PyFrame_New(
|
py_frame = PyFrame_New(
|
||||||
|
@ -17751,12 +17906,15 @@ static PyTypeObject __pyx_GeneratorType_type = {
|
||||||
#elif PY_VERSION_HEX >= 0x030400a1
|
#elif PY_VERSION_HEX >= 0x030400a1
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
static int __pyx_Generator_init(void) {
|
static int __pyx_Generator_init(void) {
|
||||||
__pyx_GeneratorType_type.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict;
|
__pyx_GeneratorType_type.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict;
|
||||||
|
@ -17770,11 +17928,33 @@ static int __pyx_Generator_init(void) {
|
||||||
|
|
||||||
/* CheckBinaryVersion */
|
/* CheckBinaryVersion */
|
||||||
static int __Pyx_check_binary_version(void) {
|
static int __Pyx_check_binary_version(void) {
|
||||||
char ctversion[4], rtversion[4];
|
char ctversion[5];
|
||||||
PyOS_snprintf(ctversion, 4, "%d.%d", PY_MAJOR_VERSION, PY_MINOR_VERSION);
|
int same=1, i, found_dot;
|
||||||
PyOS_snprintf(rtversion, 4, "%s", Py_GetVersion());
|
const char* rt_from_call = Py_GetVersion();
|
||||||
if (ctversion[0] != rtversion[0] || ctversion[2] != rtversion[2]) {
|
PyOS_snprintf(ctversion, 5, "%d.%d", PY_MAJOR_VERSION, PY_MINOR_VERSION);
|
||||||
|
found_dot = 0;
|
||||||
|
for (i = 0; i < 4; i++) {
|
||||||
|
if (!ctversion[i]) {
|
||||||
|
same = (rt_from_call[i] < '0' || rt_from_call[i] > '9');
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if (rt_from_call[i] != ctversion[i]) {
|
||||||
|
same = 0;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!same) {
|
||||||
|
char rtversion[5] = {'\0'};
|
||||||
char message[200];
|
char message[200];
|
||||||
|
for (i=0; i<4; ++i) {
|
||||||
|
if (rt_from_call[i] == '.') {
|
||||||
|
if (found_dot) break;
|
||||||
|
found_dot = 1;
|
||||||
|
} else if (rt_from_call[i] < '0' || rt_from_call[i] > '9') {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
rtversion[i] = rt_from_call[i];
|
||||||
|
}
|
||||||
PyOS_snprintf(message, sizeof(message),
|
PyOS_snprintf(message, sizeof(message),
|
||||||
"compiletime version %s of module '%.100s' "
|
"compiletime version %s of module '%.100s' "
|
||||||
"does not match runtime version %s",
|
"does not match runtime version %s",
|
||||||
|
@ -18081,6 +18261,23 @@ static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
|
||||||
Py_DECREF(x);
|
Py_DECREF(x);
|
||||||
return ival;
|
return ival;
|
||||||
}
|
}
|
||||||
|
static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject* o) {
|
||||||
|
if (sizeof(Py_hash_t) == sizeof(Py_ssize_t)) {
|
||||||
|
return (Py_hash_t) __Pyx_PyIndex_AsSsize_t(o);
|
||||||
|
#if PY_MAJOR_VERSION < 3
|
||||||
|
} else if (likely(PyInt_CheckExact(o))) {
|
||||||
|
return PyInt_AS_LONG(o);
|
||||||
|
#endif
|
||||||
|
} else {
|
||||||
|
Py_ssize_t ival;
|
||||||
|
PyObject *x;
|
||||||
|
x = PyNumber_Index(o);
|
||||||
|
if (!x) return -1;
|
||||||
|
ival = PyInt_AsLong(x);
|
||||||
|
Py_DECREF(x);
|
||||||
|
return ival;
|
||||||
|
}
|
||||||
|
}
|
||||||
static CYTHON_INLINE PyObject * __Pyx_PyBool_FromLong(long b) {
|
static CYTHON_INLINE PyObject * __Pyx_PyBool_FromLong(long b) {
|
||||||
return b ? __Pyx_NewRef(Py_True) : __Pyx_NewRef(Py_False);
|
return b ? __Pyx_NewRef(Py_True) : __Pyx_NewRef(Py_False);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Generated by Cython 0.29.24 */
|
/* Generated by Cython 0.29.30 */
|
||||||
|
|
||||||
#ifndef PY_SSIZE_T_CLEAN
|
#ifndef PY_SSIZE_T_CLEAN
|
||||||
#define PY_SSIZE_T_CLEAN
|
#define PY_SSIZE_T_CLEAN
|
||||||
|
@ -9,8 +9,8 @@
|
||||||
#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000)
|
#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000)
|
||||||
#error Cython requires Python 2.6+ or Python 3.3+.
|
#error Cython requires Python 2.6+ or Python 3.3+.
|
||||||
#else
|
#else
|
||||||
#define CYTHON_ABI "0_29_24"
|
#define CYTHON_ABI "0_29_30"
|
||||||
#define CYTHON_HEX_VERSION 0x001D18F0
|
#define CYTHON_HEX_VERSION 0x001D1EF0
|
||||||
#define CYTHON_FUTURE_DIVISION 0
|
#define CYTHON_FUTURE_DIVISION 0
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#ifndef offsetof
|
#ifndef offsetof
|
||||||
|
@ -85,6 +85,9 @@
|
||||||
#define CYTHON_USE_DICT_VERSIONS 0
|
#define CYTHON_USE_DICT_VERSIONS 0
|
||||||
#undef CYTHON_USE_EXC_INFO_STACK
|
#undef CYTHON_USE_EXC_INFO_STACK
|
||||||
#define CYTHON_USE_EXC_INFO_STACK 0
|
#define CYTHON_USE_EXC_INFO_STACK 0
|
||||||
|
#ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
|
||||||
|
#define CYTHON_UPDATE_DESCRIPTOR_DOC (PYPY_VERSION_HEX >= 0x07030900)
|
||||||
|
#endif
|
||||||
#elif defined(PYSTON_VERSION)
|
#elif defined(PYSTON_VERSION)
|
||||||
#define CYTHON_COMPILING_IN_PYPY 0
|
#define CYTHON_COMPILING_IN_PYPY 0
|
||||||
#define CYTHON_COMPILING_IN_PYSTON 1
|
#define CYTHON_COMPILING_IN_PYSTON 1
|
||||||
|
@ -126,6 +129,9 @@
|
||||||
#define CYTHON_USE_DICT_VERSIONS 0
|
#define CYTHON_USE_DICT_VERSIONS 0
|
||||||
#undef CYTHON_USE_EXC_INFO_STACK
|
#undef CYTHON_USE_EXC_INFO_STACK
|
||||||
#define CYTHON_USE_EXC_INFO_STACK 0
|
#define CYTHON_USE_EXC_INFO_STACK 0
|
||||||
|
#ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
|
||||||
|
#define CYTHON_UPDATE_DESCRIPTOR_DOC 0
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#define CYTHON_COMPILING_IN_PYPY 0
|
#define CYTHON_COMPILING_IN_PYPY 0
|
||||||
#define CYTHON_COMPILING_IN_PYSTON 0
|
#define CYTHON_COMPILING_IN_PYSTON 0
|
||||||
|
@ -157,7 +163,7 @@
|
||||||
#ifndef CYTHON_USE_UNICODE_INTERNALS
|
#ifndef CYTHON_USE_UNICODE_INTERNALS
|
||||||
#define CYTHON_USE_UNICODE_INTERNALS 1
|
#define CYTHON_USE_UNICODE_INTERNALS 1
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX < 0x030300F0
|
#if PY_VERSION_HEX < 0x030300F0 || PY_VERSION_HEX >= 0x030B00A2
|
||||||
#undef CYTHON_USE_UNICODE_WRITER
|
#undef CYTHON_USE_UNICODE_WRITER
|
||||||
#define CYTHON_USE_UNICODE_WRITER 0
|
#define CYTHON_USE_UNICODE_WRITER 0
|
||||||
#elif !defined(CYTHON_USE_UNICODE_WRITER)
|
#elif !defined(CYTHON_USE_UNICODE_WRITER)
|
||||||
|
@ -172,11 +178,14 @@
|
||||||
#ifndef CYTHON_UNPACK_METHODS
|
#ifndef CYTHON_UNPACK_METHODS
|
||||||
#define CYTHON_UNPACK_METHODS 1
|
#define CYTHON_UNPACK_METHODS 1
|
||||||
#endif
|
#endif
|
||||||
#ifndef CYTHON_FAST_THREAD_STATE
|
#if PY_VERSION_HEX >= 0x030B00A4
|
||||||
|
#undef CYTHON_FAST_THREAD_STATE
|
||||||
|
#define CYTHON_FAST_THREAD_STATE 0
|
||||||
|
#elif !defined(CYTHON_FAST_THREAD_STATE)
|
||||||
#define CYTHON_FAST_THREAD_STATE 1
|
#define CYTHON_FAST_THREAD_STATE 1
|
||||||
#endif
|
#endif
|
||||||
#ifndef CYTHON_FAST_PYCALL
|
#ifndef CYTHON_FAST_PYCALL
|
||||||
#define CYTHON_FAST_PYCALL 1
|
#define CYTHON_FAST_PYCALL (PY_VERSION_HEX < 0x030A0000)
|
||||||
#endif
|
#endif
|
||||||
#ifndef CYTHON_PEP489_MULTI_PHASE_INIT
|
#ifndef CYTHON_PEP489_MULTI_PHASE_INIT
|
||||||
#define CYTHON_PEP489_MULTI_PHASE_INIT (PY_VERSION_HEX >= 0x03050000)
|
#define CYTHON_PEP489_MULTI_PHASE_INIT (PY_VERSION_HEX >= 0x03050000)
|
||||||
|
@ -187,15 +196,23 @@
|
||||||
#ifndef CYTHON_USE_DICT_VERSIONS
|
#ifndef CYTHON_USE_DICT_VERSIONS
|
||||||
#define CYTHON_USE_DICT_VERSIONS (PY_VERSION_HEX >= 0x030600B1)
|
#define CYTHON_USE_DICT_VERSIONS (PY_VERSION_HEX >= 0x030600B1)
|
||||||
#endif
|
#endif
|
||||||
#ifndef CYTHON_USE_EXC_INFO_STACK
|
#if PY_VERSION_HEX >= 0x030B00A4
|
||||||
|
#undef CYTHON_USE_EXC_INFO_STACK
|
||||||
|
#define CYTHON_USE_EXC_INFO_STACK 0
|
||||||
|
#elif !defined(CYTHON_USE_EXC_INFO_STACK)
|
||||||
#define CYTHON_USE_EXC_INFO_STACK (PY_VERSION_HEX >= 0x030700A3)
|
#define CYTHON_USE_EXC_INFO_STACK (PY_VERSION_HEX >= 0x030700A3)
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
|
||||||
|
#define CYTHON_UPDATE_DESCRIPTOR_DOC 1
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#if !defined(CYTHON_FAST_PYCCALL)
|
#if !defined(CYTHON_FAST_PYCCALL)
|
||||||
#define CYTHON_FAST_PYCCALL (CYTHON_FAST_PYCALL && PY_VERSION_HEX >= 0x030600B1)
|
#define CYTHON_FAST_PYCCALL (CYTHON_FAST_PYCALL && PY_VERSION_HEX >= 0x030600B1)
|
||||||
#endif
|
#endif
|
||||||
#if CYTHON_USE_PYLONG_INTERNALS
|
#if CYTHON_USE_PYLONG_INTERNALS
|
||||||
#include "longintrepr.h"
|
#if PY_MAJOR_VERSION < 3
|
||||||
|
#include "longintrepr.h"
|
||||||
|
#endif
|
||||||
#undef SHIFT
|
#undef SHIFT
|
||||||
#undef BASE
|
#undef BASE
|
||||||
#undef MASK
|
#undef MASK
|
||||||
|
@ -312,9 +329,68 @@
|
||||||
#define __Pyx_DefaultClassType PyClass_Type
|
#define __Pyx_DefaultClassType PyClass_Type
|
||||||
#else
|
#else
|
||||||
#define __Pyx_BUILTIN_MODULE_NAME "builtins"
|
#define __Pyx_BUILTIN_MODULE_NAME "builtins"
|
||||||
#if PY_VERSION_HEX >= 0x030800A4 && PY_VERSION_HEX < 0x030800B2
|
#define __Pyx_DefaultClassType PyType_Type
|
||||||
#define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\
|
#if PY_VERSION_HEX >= 0x030B00A1
|
||||||
PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
|
static CYTHON_INLINE PyCodeObject* __Pyx_PyCode_New(int a, int k, int l, int s, int f,
|
||||||
|
PyObject *code, PyObject *c, PyObject* n, PyObject *v,
|
||||||
|
PyObject *fv, PyObject *cell, PyObject* fn,
|
||||||
|
PyObject *name, int fline, PyObject *lnos) {
|
||||||
|
PyObject *kwds=NULL, *argcount=NULL, *posonlyargcount=NULL, *kwonlyargcount=NULL;
|
||||||
|
PyObject *nlocals=NULL, *stacksize=NULL, *flags=NULL, *replace=NULL, *call_result=NULL, *empty=NULL;
|
||||||
|
const char *fn_cstr=NULL;
|
||||||
|
const char *name_cstr=NULL;
|
||||||
|
PyCodeObject* co=NULL;
|
||||||
|
PyObject *type, *value, *traceback;
|
||||||
|
PyErr_Fetch(&type, &value, &traceback);
|
||||||
|
if (!(kwds=PyDict_New())) goto end;
|
||||||
|
if (!(argcount=PyLong_FromLong(a))) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_argcount", argcount) != 0) goto end;
|
||||||
|
if (!(posonlyargcount=PyLong_FromLong(0))) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_posonlyargcount", posonlyargcount) != 0) goto end;
|
||||||
|
if (!(kwonlyargcount=PyLong_FromLong(k))) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_kwonlyargcount", kwonlyargcount) != 0) goto end;
|
||||||
|
if (!(nlocals=PyLong_FromLong(l))) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_nlocals", nlocals) != 0) goto end;
|
||||||
|
if (!(stacksize=PyLong_FromLong(s))) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_stacksize", stacksize) != 0) goto end;
|
||||||
|
if (!(flags=PyLong_FromLong(f))) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_flags", flags) != 0) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_code", code) != 0) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_consts", c) != 0) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_names", n) != 0) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_varnames", v) != 0) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_freevars", fv) != 0) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_cellvars", cell) != 0) goto end;
|
||||||
|
if (PyDict_SetItemString(kwds, "co_linetable", lnos) != 0) goto end;
|
||||||
|
if (!(fn_cstr=PyUnicode_AsUTF8AndSize(fn, NULL))) goto end;
|
||||||
|
if (!(name_cstr=PyUnicode_AsUTF8AndSize(name, NULL))) goto end;
|
||||||
|
if (!(co = PyCode_NewEmpty(fn_cstr, name_cstr, fline))) goto end;
|
||||||
|
if (!(replace = PyObject_GetAttrString((PyObject*)co, "replace"))) goto cleanup_code_too;
|
||||||
|
if (!(empty = PyTuple_New(0))) goto cleanup_code_too; // unfortunately __pyx_empty_tuple isn't available here
|
||||||
|
if (!(call_result = PyObject_Call(replace, empty, kwds))) goto cleanup_code_too;
|
||||||
|
Py_XDECREF((PyObject*)co);
|
||||||
|
co = (PyCodeObject*)call_result;
|
||||||
|
call_result = NULL;
|
||||||
|
if (0) {
|
||||||
|
cleanup_code_too:
|
||||||
|
Py_XDECREF((PyObject*)co);
|
||||||
|
co = NULL;
|
||||||
|
}
|
||||||
|
end:
|
||||||
|
Py_XDECREF(kwds);
|
||||||
|
Py_XDECREF(argcount);
|
||||||
|
Py_XDECREF(posonlyargcount);
|
||||||
|
Py_XDECREF(kwonlyargcount);
|
||||||
|
Py_XDECREF(nlocals);
|
||||||
|
Py_XDECREF(stacksize);
|
||||||
|
Py_XDECREF(replace);
|
||||||
|
Py_XDECREF(call_result);
|
||||||
|
Py_XDECREF(empty);
|
||||||
|
if (type) {
|
||||||
|
PyErr_Restore(type, value, traceback);
|
||||||
|
}
|
||||||
|
return co;
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
#define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\
|
#define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\
|
||||||
PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
|
PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
|
||||||
|
@ -552,10 +628,10 @@ static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) {
|
||||||
#if PY_VERSION_HEX < 0x030200A4
|
#if PY_VERSION_HEX < 0x030200A4
|
||||||
typedef long Py_hash_t;
|
typedef long Py_hash_t;
|
||||||
#define __Pyx_PyInt_FromHash_t PyInt_FromLong
|
#define __Pyx_PyInt_FromHash_t PyInt_FromLong
|
||||||
#define __Pyx_PyInt_AsHash_t PyInt_AsLong
|
#define __Pyx_PyInt_AsHash_t __Pyx_PyIndex_AsHash_t
|
||||||
#else
|
#else
|
||||||
#define __Pyx_PyInt_FromHash_t PyInt_FromSsize_t
|
#define __Pyx_PyInt_FromHash_t PyInt_FromSsize_t
|
||||||
#define __Pyx_PyInt_AsHash_t PyInt_AsSsize_t
|
#define __Pyx_PyInt_AsHash_t __Pyx_PyIndex_AsSsize_t
|
||||||
#endif
|
#endif
|
||||||
#if PY_MAJOR_VERSION >= 3
|
#if PY_MAJOR_VERSION >= 3
|
||||||
#define __Pyx_PyMethod_New(func, self, klass) ((self) ? ((void)(klass), PyMethod_New(func, self)) : __Pyx_NewRef(func))
|
#define __Pyx_PyMethod_New(func, self, klass) ((self) ? ((void)(klass), PyMethod_New(func, self)) : __Pyx_NewRef(func))
|
||||||
|
@ -580,8 +656,10 @@ static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) {
|
||||||
} __Pyx_PyAsyncMethodsStruct;
|
} __Pyx_PyAsyncMethodsStruct;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(WIN32) || defined(MS_WINDOWS)
|
#if defined(_WIN32) || defined(WIN32) || defined(MS_WINDOWS)
|
||||||
#define _USE_MATH_DEFINES
|
#if !defined(_USE_MATH_DEFINES)
|
||||||
|
#define _USE_MATH_DEFINES
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#ifdef NAN
|
#ifdef NAN
|
||||||
|
@ -711,6 +789,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyNumber_IntOrLong(PyObject* x);
|
||||||
(likely(PyTuple_CheckExact(obj)) ? __Pyx_NewRef(obj) : PySequence_Tuple(obj))
|
(likely(PyTuple_CheckExact(obj)) ? __Pyx_NewRef(obj) : PySequence_Tuple(obj))
|
||||||
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
|
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
|
||||||
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t);
|
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t);
|
||||||
|
static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*);
|
||||||
#if CYTHON_ASSUME_SAFE_MACROS
|
#if CYTHON_ASSUME_SAFE_MACROS
|
||||||
#define __pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x))
|
#define __pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x))
|
||||||
#else
|
#else
|
||||||
|
@ -2542,13 +2621,21 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
|
||||||
#ifndef Py_MEMBER_SIZE
|
#ifndef Py_MEMBER_SIZE
|
||||||
#define Py_MEMBER_SIZE(type, member) sizeof(((type *)0)->member)
|
#define Py_MEMBER_SIZE(type, member) sizeof(((type *)0)->member)
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_FAST_PYCALL
|
||||||
static size_t __pyx_pyframe_localsplus_offset = 0;
|
static size_t __pyx_pyframe_localsplus_offset = 0;
|
||||||
#include "frameobject.h"
|
#include "frameobject.h"
|
||||||
|
#if PY_VERSION_HEX >= 0x030b00a6
|
||||||
|
#ifndef Py_BUILD_CORE
|
||||||
|
#define Py_BUILD_CORE 1
|
||||||
|
#endif
|
||||||
|
#include "internal/pycore_frame.h"
|
||||||
|
#endif
|
||||||
#define __Pxy_PyFrame_Initialize_Offsets()\
|
#define __Pxy_PyFrame_Initialize_Offsets()\
|
||||||
((void)__Pyx_BUILD_ASSERT_EXPR(sizeof(PyFrameObject) == offsetof(PyFrameObject, f_localsplus) + Py_MEMBER_SIZE(PyFrameObject, f_localsplus)),\
|
((void)__Pyx_BUILD_ASSERT_EXPR(sizeof(PyFrameObject) == offsetof(PyFrameObject, f_localsplus) + Py_MEMBER_SIZE(PyFrameObject, f_localsplus)),\
|
||||||
(void)(__pyx_pyframe_localsplus_offset = ((size_t)PyFrame_Type.tp_basicsize) - Py_MEMBER_SIZE(PyFrameObject, f_localsplus)))
|
(void)(__pyx_pyframe_localsplus_offset = ((size_t)PyFrame_Type.tp_basicsize) - Py_MEMBER_SIZE(PyFrameObject, f_localsplus)))
|
||||||
#define __Pyx_PyFrame_GetLocalsplus(frame)\
|
#define __Pyx_PyFrame_GetLocalsplus(frame)\
|
||||||
(assert(__pyx_pyframe_localsplus_offset), (PyObject **)(((char *)(frame)) + __pyx_pyframe_localsplus_offset))
|
(assert(__pyx_pyframe_localsplus_offset), (PyObject **)(((char *)(frame)) + __pyx_pyframe_localsplus_offset))
|
||||||
|
#endif // CYTHON_FAST_PYCALL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* PyCFunctionFastCall.proto */
|
/* PyCFunctionFastCall.proto */
|
||||||
|
@ -28160,12 +28247,15 @@ static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_st
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0, /*tp_finalize*/
|
0, /*tp_finalize*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0, /*tp_vectorcall*/
|
0, /*tp_vectorcall*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0, /*tp_pypy_flags*/
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_shutdown_resources *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_1_shutdown_resources[8];
|
static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_shutdown_resources *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_1_shutdown_resources[8];
|
||||||
|
@ -28282,12 +28372,15 @@ static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_st
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0, /*tp_finalize*/
|
0, /*tp_finalize*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0, /*tp_vectorcall*/
|
0, /*tp_vectorcall*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0, /*tp_pypy_flags*/
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_2__independent_resources *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_2__independent_resources[8];
|
static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_2__independent_resources *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_2__independent_resources[8];
|
||||||
|
@ -28404,12 +28497,15 @@ static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_st
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0, /*tp_finalize*/
|
0, /*tp_finalize*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0, /*tp_vectorcall*/
|
0, /*tp_vectorcall*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0, /*tp_pypy_flags*/
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_3__async_ordered_shutdown *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_3__async_ordered_shutdown[8];
|
static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_3__async_ordered_shutdown *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_3__async_ordered_shutdown[8];
|
||||||
|
@ -28534,12 +28630,15 @@ static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_st
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0, /*tp_finalize*/
|
0, /*tp_finalize*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0, /*tp_vectorcall*/
|
0, /*tp_vectorcall*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0, /*tp_pypy_flags*/
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_4_genexpr *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_4_genexpr[8];
|
static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_4_genexpr *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_4_genexpr[8];
|
||||||
|
@ -28644,12 +28743,15 @@ static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_st
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0, /*tp_finalize*/
|
0, /*tp_finalize*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0, /*tp_vectorcall*/
|
0, /*tp_vectorcall*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0, /*tp_pypy_flags*/
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5__sync_ordered_shutdown *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_5__sync_ordered_shutdown[8];
|
static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5__sync_ordered_shutdown *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_5__sync_ordered_shutdown[8];
|
||||||
|
@ -28766,12 +28868,15 @@ static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_st
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0, /*tp_finalize*/
|
0, /*tp_finalize*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0, /*tp_vectorcall*/
|
0, /*tp_vectorcall*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0, /*tp_pypy_flags*/
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_6_genexpr *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_6_genexpr[8];
|
static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_6_genexpr *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_6_genexpr[8];
|
||||||
|
@ -28876,12 +28981,15 @@ static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_st
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0, /*tp_finalize*/
|
0, /*tp_finalize*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0, /*tp_vectorcall*/
|
0, /*tp_vectorcall*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0, /*tp_pypy_flags*/
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_7_genexpr *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_7_genexpr[8];
|
static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_7_genexpr *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_7_genexpr[8];
|
||||||
|
@ -28986,12 +29094,15 @@ static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_st
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0, /*tp_finalize*/
|
0, /*tp_finalize*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0, /*tp_vectorcall*/
|
0, /*tp_vectorcall*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0, /*tp_pypy_flags*/
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_8_traverse *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_8_traverse[8];
|
static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_8_traverse *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_8_traverse[8];
|
||||||
|
@ -29096,12 +29207,15 @@ static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_st
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0, /*tp_finalize*/
|
0, /*tp_finalize*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0, /*tp_vectorcall*/
|
0, /*tp_vectorcall*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0, /*tp_pypy_flags*/
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_9_override *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_9_override[8];
|
static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_9_override *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_9_override[8];
|
||||||
|
@ -29211,12 +29325,15 @@ static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_st
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0, /*tp_finalize*/
|
0, /*tp_finalize*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0, /*tp_vectorcall*/
|
0, /*tp_vectorcall*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0, /*tp_pypy_flags*/
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_10_copy *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_10_copy[8];
|
static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_10_copy *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_10_copy[8];
|
||||||
|
@ -29333,12 +29450,15 @@ static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_st
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0, /*tp_finalize*/
|
0, /*tp_finalize*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0, /*tp_vectorcall*/
|
0, /*tp_vectorcall*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0, /*tp_pypy_flags*/
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object____object___to_py *__pyx_freelist___pyx_scope_struct____Pyx_CFunc_void____object____object____object____object___to_py[8];
|
static struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object____object___to_py *__pyx_freelist___pyx_scope_struct____Pyx_CFunc_void____object____object____object____object___to_py[8];
|
||||||
|
@ -29426,12 +29546,15 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_void____object____object____
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0, /*tp_finalize*/
|
0, /*tp_finalize*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0, /*tp_vectorcall*/
|
0, /*tp_vectorcall*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0, /*tp_pypy_flags*/
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object___to_py *__pyx_freelist___pyx_scope_struct____Pyx_CFunc_void____object____object___to_py[8];
|
static struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object___to_py *__pyx_freelist___pyx_scope_struct____Pyx_CFunc_void____object____object___to_py[8];
|
||||||
|
@ -29519,12 +29642,15 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_void____object____object___t
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0, /*tp_finalize*/
|
0, /*tp_finalize*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0, /*tp_vectorcall*/
|
0, /*tp_vectorcall*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0, /*tp_pypy_flags*/
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object___to_py *__pyx_freelist___pyx_scope_struct____Pyx_CFunc_void____object____object____object___to_py[8];
|
static struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object___to_py *__pyx_freelist___pyx_scope_struct____Pyx_CFunc_void____object____object____object___to_py[8];
|
||||||
|
@ -29612,12 +29738,15 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_void____object____object____
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0, /*tp_finalize*/
|
0, /*tp_finalize*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0, /*tp_vectorcall*/
|
0, /*tp_vectorcall*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0, /*tp_pypy_flags*/
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_object____object____object___to_py *__pyx_freelist___pyx_scope_struct____Pyx_CFunc_object____object____object___to_py[8];
|
static struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_object____object____object___to_py *__pyx_freelist___pyx_scope_struct____Pyx_CFunc_object____object____object___to_py[8];
|
||||||
|
@ -29705,12 +29834,15 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_object____object____object__
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0, /*tp_finalize*/
|
0, /*tp_finalize*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0, /*tp_vectorcall*/
|
0, /*tp_vectorcall*/
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0, /*tp_print*/
|
0, /*tp_print*/
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0, /*tp_pypy_flags*/
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static PyMethodDef __pyx_methods[] = {
|
static PyMethodDef __pyx_methods[] = {
|
||||||
|
@ -33939,7 +34071,7 @@ static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2, int eq
|
||||||
return (equals == Py_EQ);
|
return (equals == Py_EQ);
|
||||||
} else {
|
} else {
|
||||||
int result;
|
int result;
|
||||||
#if CYTHON_USE_UNICODE_INTERNALS
|
#if CYTHON_USE_UNICODE_INTERNALS && (PY_VERSION_HEX < 0x030B0000)
|
||||||
Py_hash_t hash1, hash2;
|
Py_hash_t hash1, hash2;
|
||||||
hash1 = ((PyBytesObject*)s1)->ob_shash;
|
hash1 = ((PyBytesObject*)s1)->ob_shash;
|
||||||
hash2 = ((PyBytesObject*)s2)->ob_shash;
|
hash2 = ((PyBytesObject*)s2)->ob_shash;
|
||||||
|
@ -34315,6 +34447,12 @@ static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name
|
||||||
/* CoroutineBase */
|
/* CoroutineBase */
|
||||||
#include <structmember.h>
|
#include <structmember.h>
|
||||||
#include <frameobject.h>
|
#include <frameobject.h>
|
||||||
|
#if PY_VERSION_HEX >= 0x030b00a6
|
||||||
|
#ifndef Py_BUILD_CORE
|
||||||
|
#define Py_BUILD_CORE 1
|
||||||
|
#endif
|
||||||
|
#include "internal/pycore_frame.h"
|
||||||
|
#endif
|
||||||
#define __Pyx_Coroutine_Undelegate(gen) Py_CLEAR((gen)->yieldfrom)
|
#define __Pyx_Coroutine_Undelegate(gen) Py_CLEAR((gen)->yieldfrom)
|
||||||
static int __Pyx_PyGen__FetchStopIterationValue(CYTHON_UNUSED PyThreadState *__pyx_tstate, PyObject **pvalue) {
|
static int __Pyx_PyGen__FetchStopIterationValue(CYTHON_UNUSED PyThreadState *__pyx_tstate, PyObject **pvalue) {
|
||||||
PyObject *et, *ev, *tb;
|
PyObject *et, *ev, *tb;
|
||||||
|
@ -34486,9 +34624,13 @@ PyObject *__Pyx_Coroutine_SendEx(__pyx_CoroutineObject *self, PyObject *value, i
|
||||||
if (exc_state->exc_traceback) {
|
if (exc_state->exc_traceback) {
|
||||||
PyTracebackObject *tb = (PyTracebackObject *) exc_state->exc_traceback;
|
PyTracebackObject *tb = (PyTracebackObject *) exc_state->exc_traceback;
|
||||||
PyFrameObject *f = tb->tb_frame;
|
PyFrameObject *f = tb->tb_frame;
|
||||||
Py_XINCREF(tstate->frame);
|
|
||||||
assert(f->f_back == NULL);
|
assert(f->f_back == NULL);
|
||||||
|
#if PY_VERSION_HEX >= 0x030B00A1
|
||||||
|
f->f_back = PyThreadState_GetFrame(tstate);
|
||||||
|
#else
|
||||||
|
Py_XINCREF(tstate->frame);
|
||||||
f->f_back = tstate->frame;
|
f->f_back = tstate->frame;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -35316,12 +35458,15 @@ static PyTypeObject __pyx_GeneratorType_type = {
|
||||||
#elif PY_VERSION_HEX >= 0x030400a1
|
#elif PY_VERSION_HEX >= 0x030400a1
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
static int __pyx_Generator_init(void) {
|
static int __pyx_Generator_init(void) {
|
||||||
__pyx_GeneratorType_type.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict;
|
__pyx_GeneratorType_type.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict;
|
||||||
|
@ -35694,12 +35839,15 @@ static PyTypeObject __pyx_CoroutineAwaitType_type = {
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
#if PY_VERSION_HEX < 0x030500B1 || defined(__Pyx_IterableCoroutine_USED) || CYTHON_USE_ASYNC_SLOTS
|
#if PY_VERSION_HEX < 0x030500B1 || defined(__Pyx_IterableCoroutine_USED) || CYTHON_USE_ASYNC_SLOTS
|
||||||
static CYTHON_INLINE PyObject *__Pyx__Coroutine_await(PyObject *coroutine) {
|
static CYTHON_INLINE PyObject *__Pyx__Coroutine_await(PyObject *coroutine) {
|
||||||
|
@ -35773,6 +35921,9 @@ static __Pyx_PyAsyncMethodsStruct __pyx_Coroutine_as_async = {
|
||||||
__Pyx_Coroutine_await,
|
__Pyx_Coroutine_await,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
|
#if PY_VERSION_HEX >= 0x030A00A3
|
||||||
|
0,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
static PyTypeObject __pyx_CoroutineType_type = {
|
static PyTypeObject __pyx_CoroutineType_type = {
|
||||||
|
@ -35840,12 +35991,15 @@ static PyTypeObject __pyx_CoroutineType_type = {
|
||||||
#elif PY_VERSION_HEX >= 0x030400a1
|
#elif PY_VERSION_HEX >= 0x030400a1
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
static int __pyx_Coroutine_init(void) {
|
static int __pyx_Coroutine_init(void) {
|
||||||
__pyx_CoroutineType_type.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict;
|
__pyx_CoroutineType_type.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict;
|
||||||
|
@ -36511,6 +36665,9 @@ static PyObject *__Pyx_CyFunction_CallAsMethod(PyObject *func, PyObject *args, P
|
||||||
self = PyTuple_GetItem(args, 0);
|
self = PyTuple_GetItem(args, 0);
|
||||||
if (unlikely(!self)) {
|
if (unlikely(!self)) {
|
||||||
Py_DECREF(new_args);
|
Py_DECREF(new_args);
|
||||||
|
PyErr_Format(PyExc_TypeError,
|
||||||
|
"unbound method %.200S() needs an argument",
|
||||||
|
cyfunc->func_qualname);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
result = __Pyx_CyFunction_CallMethod(func, self, new_args, kw);
|
result = __Pyx_CyFunction_CallMethod(func, self, new_args, kw);
|
||||||
|
@ -36579,12 +36736,15 @@ static PyTypeObject __pyx_CyFunctionType_type = {
|
||||||
#if PY_VERSION_HEX >= 0x030400a1
|
#if PY_VERSION_HEX >= 0x030400a1
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b1
|
#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
|
||||||
0,
|
0,
|
||||||
#endif
|
#endif
|
||||||
|
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000
|
||||||
|
0,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
static int __pyx_CyFunction_init(void) {
|
static int __pyx_CyFunction_init(void) {
|
||||||
__pyx_CyFunctionType = __Pyx_FetchCommonType(&__pyx_CyFunctionType_type);
|
__pyx_CyFunctionType = __Pyx_FetchCommonType(&__pyx_CyFunctionType_type);
|
||||||
|
@ -37757,7 +37917,7 @@ static int __Pyx_CLineForTraceback(CYTHON_NCP_UNUSED PyThreadState *tstate, int
|
||||||
}
|
}
|
||||||
if (!use_cline) {
|
if (!use_cline) {
|
||||||
c_line = 0;
|
c_line = 0;
|
||||||
PyObject_SetAttr(__pyx_cython_runtime, __pyx_n_s_cline_in_traceback, Py_False);
|
(void) PyObject_SetAttr(__pyx_cython_runtime, __pyx_n_s_cline_in_traceback, Py_False);
|
||||||
}
|
}
|
||||||
else if (use_cline == Py_False || (use_cline != Py_True && PyObject_Not(use_cline) != 0)) {
|
else if (use_cline == Py_False || (use_cline != Py_True && PyObject_Not(use_cline) != 0)) {
|
||||||
c_line = 0;
|
c_line = 0;
|
||||||
|
@ -37851,33 +38011,40 @@ static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
|
||||||
#include "compile.h"
|
#include "compile.h"
|
||||||
#include "frameobject.h"
|
#include "frameobject.h"
|
||||||
#include "traceback.h"
|
#include "traceback.h"
|
||||||
|
#if PY_VERSION_HEX >= 0x030b00a6
|
||||||
|
#ifndef Py_BUILD_CORE
|
||||||
|
#define Py_BUILD_CORE 1
|
||||||
|
#endif
|
||||||
|
#include "internal/pycore_frame.h"
|
||||||
|
#endif
|
||||||
static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
|
static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
|
||||||
const char *funcname, int c_line,
|
const char *funcname, int c_line,
|
||||||
int py_line, const char *filename) {
|
int py_line, const char *filename) {
|
||||||
PyCodeObject *py_code = 0;
|
PyCodeObject *py_code = NULL;
|
||||||
PyObject *py_srcfile = 0;
|
PyObject *py_funcname = NULL;
|
||||||
PyObject *py_funcname = 0;
|
|
||||||
#if PY_MAJOR_VERSION < 3
|
#if PY_MAJOR_VERSION < 3
|
||||||
|
PyObject *py_srcfile = NULL;
|
||||||
py_srcfile = PyString_FromString(filename);
|
py_srcfile = PyString_FromString(filename);
|
||||||
#else
|
|
||||||
py_srcfile = PyUnicode_FromString(filename);
|
|
||||||
#endif
|
|
||||||
if (!py_srcfile) goto bad;
|
if (!py_srcfile) goto bad;
|
||||||
|
#endif
|
||||||
if (c_line) {
|
if (c_line) {
|
||||||
#if PY_MAJOR_VERSION < 3
|
#if PY_MAJOR_VERSION < 3
|
||||||
py_funcname = PyString_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line);
|
py_funcname = PyString_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line);
|
||||||
|
if (!py_funcname) goto bad;
|
||||||
#else
|
#else
|
||||||
py_funcname = PyUnicode_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line);
|
py_funcname = PyUnicode_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line);
|
||||||
|
if (!py_funcname) goto bad;
|
||||||
|
funcname = PyUnicode_AsUTF8(py_funcname);
|
||||||
|
if (!funcname) goto bad;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
#if PY_MAJOR_VERSION < 3
|
#if PY_MAJOR_VERSION < 3
|
||||||
py_funcname = PyString_FromString(funcname);
|
py_funcname = PyString_FromString(funcname);
|
||||||
#else
|
if (!py_funcname) goto bad;
|
||||||
py_funcname = PyUnicode_FromString(funcname);
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
if (!py_funcname) goto bad;
|
#if PY_MAJOR_VERSION < 3
|
||||||
py_code = __Pyx_PyCode_New(
|
py_code = __Pyx_PyCode_New(
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
|
@ -37896,11 +38063,16 @@ static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
|
||||||
__pyx_empty_bytes /*PyObject *lnotab*/
|
__pyx_empty_bytes /*PyObject *lnotab*/
|
||||||
);
|
);
|
||||||
Py_DECREF(py_srcfile);
|
Py_DECREF(py_srcfile);
|
||||||
Py_DECREF(py_funcname);
|
#else
|
||||||
|
py_code = PyCode_NewEmpty(filename, funcname, py_line);
|
||||||
|
#endif
|
||||||
|
Py_XDECREF(py_funcname); // XDECREF since it's only set on Py3 if cline
|
||||||
return py_code;
|
return py_code;
|
||||||
bad:
|
bad:
|
||||||
Py_XDECREF(py_srcfile);
|
|
||||||
Py_XDECREF(py_funcname);
|
Py_XDECREF(py_funcname);
|
||||||
|
#if PY_MAJOR_VERSION < 3
|
||||||
|
Py_XDECREF(py_srcfile);
|
||||||
|
#endif
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
static void __Pyx_AddTraceback(const char *funcname, int c_line,
|
static void __Pyx_AddTraceback(const char *funcname, int c_line,
|
||||||
|
@ -37908,14 +38080,24 @@ static void __Pyx_AddTraceback(const char *funcname, int c_line,
|
||||||
PyCodeObject *py_code = 0;
|
PyCodeObject *py_code = 0;
|
||||||
PyFrameObject *py_frame = 0;
|
PyFrameObject *py_frame = 0;
|
||||||
PyThreadState *tstate = __Pyx_PyThreadState_Current;
|
PyThreadState *tstate = __Pyx_PyThreadState_Current;
|
||||||
|
PyObject *ptype, *pvalue, *ptraceback;
|
||||||
if (c_line) {
|
if (c_line) {
|
||||||
c_line = __Pyx_CLineForTraceback(tstate, c_line);
|
c_line = __Pyx_CLineForTraceback(tstate, c_line);
|
||||||
}
|
}
|
||||||
py_code = __pyx_find_code_object(c_line ? -c_line : py_line);
|
py_code = __pyx_find_code_object(c_line ? -c_line : py_line);
|
||||||
if (!py_code) {
|
if (!py_code) {
|
||||||
|
__Pyx_ErrFetchInState(tstate, &ptype, &pvalue, &ptraceback);
|
||||||
py_code = __Pyx_CreateCodeObjectForTraceback(
|
py_code = __Pyx_CreateCodeObjectForTraceback(
|
||||||
funcname, c_line, py_line, filename);
|
funcname, c_line, py_line, filename);
|
||||||
if (!py_code) goto bad;
|
if (!py_code) {
|
||||||
|
/* If the code object creation fails, then we should clear the
|
||||||
|
fetched exception references and propagate the new exception */
|
||||||
|
Py_XDECREF(ptype);
|
||||||
|
Py_XDECREF(pvalue);
|
||||||
|
Py_XDECREF(ptraceback);
|
||||||
|
goto bad;
|
||||||
|
}
|
||||||
|
__Pyx_ErrRestoreInState(tstate, ptype, pvalue, ptraceback);
|
||||||
__pyx_insert_code_object(c_line ? -c_line : py_line, py_code);
|
__pyx_insert_code_object(c_line ? -c_line : py_line, py_code);
|
||||||
}
|
}
|
||||||
py_frame = PyFrame_New(
|
py_frame = PyFrame_New(
|
||||||
|
@ -38524,11 +38706,33 @@ static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObj
|
||||||
|
|
||||||
/* CheckBinaryVersion */
|
/* CheckBinaryVersion */
|
||||||
static int __Pyx_check_binary_version(void) {
|
static int __Pyx_check_binary_version(void) {
|
||||||
char ctversion[4], rtversion[4];
|
char ctversion[5];
|
||||||
PyOS_snprintf(ctversion, 4, "%d.%d", PY_MAJOR_VERSION, PY_MINOR_VERSION);
|
int same=1, i, found_dot;
|
||||||
PyOS_snprintf(rtversion, 4, "%s", Py_GetVersion());
|
const char* rt_from_call = Py_GetVersion();
|
||||||
if (ctversion[0] != rtversion[0] || ctversion[2] != rtversion[2]) {
|
PyOS_snprintf(ctversion, 5, "%d.%d", PY_MAJOR_VERSION, PY_MINOR_VERSION);
|
||||||
|
found_dot = 0;
|
||||||
|
for (i = 0; i < 4; i++) {
|
||||||
|
if (!ctversion[i]) {
|
||||||
|
same = (rt_from_call[i] < '0' || rt_from_call[i] > '9');
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if (rt_from_call[i] != ctversion[i]) {
|
||||||
|
same = 0;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!same) {
|
||||||
|
char rtversion[5] = {'\0'};
|
||||||
char message[200];
|
char message[200];
|
||||||
|
for (i=0; i<4; ++i) {
|
||||||
|
if (rt_from_call[i] == '.') {
|
||||||
|
if (found_dot) break;
|
||||||
|
found_dot = 1;
|
||||||
|
} else if (rt_from_call[i] < '0' || rt_from_call[i] > '9') {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
rtversion[i] = rt_from_call[i];
|
||||||
|
}
|
||||||
PyOS_snprintf(message, sizeof(message),
|
PyOS_snprintf(message, sizeof(message),
|
||||||
"compiletime version %s of module '%.100s' "
|
"compiletime version %s of module '%.100s' "
|
||||||
"does not match runtime version %s",
|
"does not match runtime version %s",
|
||||||
|
@ -38872,6 +39076,23 @@ static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
|
||||||
Py_DECREF(x);
|
Py_DECREF(x);
|
||||||
return ival;
|
return ival;
|
||||||
}
|
}
|
||||||
|
static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject* o) {
|
||||||
|
if (sizeof(Py_hash_t) == sizeof(Py_ssize_t)) {
|
||||||
|
return (Py_hash_t) __Pyx_PyIndex_AsSsize_t(o);
|
||||||
|
#if PY_MAJOR_VERSION < 3
|
||||||
|
} else if (likely(PyInt_CheckExact(o))) {
|
||||||
|
return PyInt_AS_LONG(o);
|
||||||
|
#endif
|
||||||
|
} else {
|
||||||
|
Py_ssize_t ival;
|
||||||
|
PyObject *x;
|
||||||
|
x = PyNumber_Index(o);
|
||||||
|
if (!x) return -1;
|
||||||
|
ival = PyInt_AsLong(x);
|
||||||
|
Py_DECREF(x);
|
||||||
|
return ival;
|
||||||
|
}
|
||||||
|
}
|
||||||
static CYTHON_INLINE PyObject * __Pyx_PyBool_FromLong(long b) {
|
static CYTHON_INLINE PyObject * __Pyx_PyBool_FromLong(long b) {
|
||||||
return b ? __Pyx_NewRef(Py_True) : __Pyx_NewRef(Py_False);
|
return b ? __Pyx_NewRef(Py_True) : __Pyx_NewRef(Py_False);
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user