From 39cb963351bedf823ff305fa4dad8070368c7083 Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Fri, 29 Jan 2021 16:37:50 -0500 Subject: [PATCH 1/2] 367 Fix declarative container metaclass bug with child providers --- docs/main/changelog.rst | 6 + src/dependency_injector/containers.c | 6669 +++++------------ src/dependency_injector/containers.pyx | 35 +- src/dependency_injector/providers.c | 6455 ++-------------- .../containers/test_declarative_py2_py3.py | 23 + 5 files changed, 2181 insertions(+), 11007 deletions(-) diff --git a/docs/main/changelog.rst b/docs/main/changelog.rst index acf137b2..50c6c0dc 100644 --- a/docs/main/changelog.rst +++ b/docs/main/changelog.rst @@ -7,6 +7,12 @@ that were made in every particular version. From version 0.7.6 *Dependency Injector* framework strictly follows `Semantic versioning`_ +Development version +------------------- +- Fix declarative container metaclass bug: parent container providers replaced child container providers. + See issue: `#367 `_. + Many thanks to `Shaun Cutts `_ for finding and report the issue. + 4.13.0 ------ - Add ``default`` argument to the dependency provider: ``Dependency(..., default=...)``. diff --git a/src/dependency_injector/containers.c b/src/dependency_injector/containers.c index 4601e611..b54d9bcb 100644 --- a/src/dependency_injector/containers.c +++ b/src/dependency_injector/containers.c @@ -863,12 +863,8 @@ struct __pyx_obj_19dependency_injector_9providers_MethodCaller; struct __pyx_obj_19dependency_injector_9providers_Injection; struct __pyx_obj_19dependency_injector_9providers_PositionalInjection; struct __pyx_obj_19dependency_injector_9providers_NamedInjection; -struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__; -struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_genexpr; -struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_2_genexpr; -struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_3_genexpr; -struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_4_override; -struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy; +struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct__override; +struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy; struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object____object___to_py; struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object___to_py; struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object___to_py; @@ -1479,98 +1475,27 @@ struct __pyx_obj_19dependency_injector_9providers_NamedInjection { }; -/* "dependency_injector/containers.pyx":285 - * """Declarative inversion of control container meta class.""" - * - * def __new__(type mcs, str class_name, tuple bases, dict attributes): # <<<<<<<<<<<<<< - * """Declarative container class factory.""" - * cdef tuple cls_providers - */ -struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__ { - PyObject_HEAD - PyObject *__pyx_v_attributes; - PyObject *__pyx_v_bases; -}; - - -/* "dependency_injector/containers.pyx":292 - * - * containers = tuple( - * (name, container) # <<<<<<<<<<<<<< - * for name, container in six.iteritems(attributes) - * if is_container(container) - */ -struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_genexpr { - PyObject_HEAD - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__ *__pyx_outer_scope; - PyObject *__pyx_v_container; - PyObject *__pyx_v_name; - PyObject *__pyx_t_0; - Py_ssize_t __pyx_t_1; - PyObject *(*__pyx_t_2)(PyObject *); -}; - - -/* "dependency_injector/containers.pyx":300 - * - * cls_providers = tuple( - * (name, provider) # <<<<<<<<<<<<<< - * for name, provider in six.iteritems(attributes) - * if isinstance(provider, Provider) - */ -struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_2_genexpr { - PyObject_HEAD - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__ *__pyx_outer_scope; - PyObject *__pyx_v_name; - PyObject *__pyx_v_provider; - PyObject *__pyx_t_0; - Py_ssize_t __pyx_t_1; - PyObject *(*__pyx_t_2)(PyObject *); -}; - - -/* "dependency_injector/containers.pyx":306 - * - * inherited_providers = tuple( - * (name, provider) # <<<<<<<<<<<<<< - * for base in bases - * if is_container(base) and base is not DynamicContainer - */ -struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_3_genexpr { - PyObject_HEAD - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__ *__pyx_outer_scope; - PyObject *__pyx_v_base; - PyObject *__pyx_v_name; - PyObject *__pyx_v_provider; - PyObject *__pyx_t_0; - Py_ssize_t __pyx_t_1; - PyObject *__pyx_t_2; - Py_ssize_t __pyx_t_3; - PyObject *(*__pyx_t_4)(PyObject *); -}; - - -/* "dependency_injector/containers.pyx":514 +/* "dependency_injector/containers.pyx":513 * * * def override(object container): # <<<<<<<<<<<<<< * """:py:class:`DeclarativeContainer` overriding decorator. * */ -struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_4_override { +struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct__override { PyObject_HEAD PyObject *__pyx_v_container; }; -/* "dependency_injector/containers.pyx":531 +/* "dependency_injector/containers.pyx":530 * * * def copy(object container): # <<<<<<<<<<<<<< * """:py:class:`DeclarativeContainer` copying decorator. * */ -struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy { +struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy { PyObject_HEAD PyObject *__pyx_v__get_providers_memo; PyObject *__pyx_v_container; @@ -2245,6 +2170,13 @@ static PyObject *__Pyx_GetBuiltinName(PyObject *name); /* KeywordStringCheck.proto */ static int __Pyx_CheckKeywordStrings(PyObject *kwdict, const char* function_name, int kw_allowed); +/* PyObjectCall.proto */ +#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 + /* PyThreadStateGet.proto */ #if CYTHON_FAST_THREAD_STATE #define __Pyx_PyThreadState_declare PyThreadState *__pyx_tstate; @@ -2281,215 +2213,6 @@ static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject #define __Pyx_ErrFetch(type, value, tb) PyErr_Fetch(type, value, tb) #endif -/* Profile.proto */ -#ifndef CYTHON_PROFILE -#if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_PYSTON - #define CYTHON_PROFILE 0 -#else - #define CYTHON_PROFILE 1 -#endif -#endif -#ifndef CYTHON_TRACE_NOGIL - #define CYTHON_TRACE_NOGIL 0 -#else - #if CYTHON_TRACE_NOGIL && !defined(CYTHON_TRACE) - #define CYTHON_TRACE 1 - #endif -#endif -#ifndef CYTHON_TRACE - #define CYTHON_TRACE 0 -#endif -#if CYTHON_TRACE - #undef CYTHON_PROFILE_REUSE_FRAME -#endif -#ifndef CYTHON_PROFILE_REUSE_FRAME - #define CYTHON_PROFILE_REUSE_FRAME 0 -#endif -#if CYTHON_PROFILE || CYTHON_TRACE - #include "compile.h" - #include "frameobject.h" - #include "traceback.h" - #if CYTHON_PROFILE_REUSE_FRAME - #define CYTHON_FRAME_MODIFIER static - #define CYTHON_FRAME_DEL(frame) - #else - #define CYTHON_FRAME_MODIFIER - #define CYTHON_FRAME_DEL(frame) Py_CLEAR(frame) - #endif - #define __Pyx_TraceDeclarations\ - static PyCodeObject *__pyx_frame_code = NULL;\ - CYTHON_FRAME_MODIFIER PyFrameObject *__pyx_frame = NULL;\ - int __Pyx_use_tracing = 0; - #define __Pyx_TraceFrameInit(codeobj)\ - if (codeobj) __pyx_frame_code = (PyCodeObject*) codeobj; - #ifdef WITH_THREAD - #define __Pyx_TraceCall(funcname, srcfile, firstlineno, nogil, goto_error)\ - if (nogil) {\ - if (CYTHON_TRACE_NOGIL) {\ - PyThreadState *tstate;\ - PyGILState_STATE state = PyGILState_Ensure();\ - tstate = __Pyx_PyThreadState_Current;\ - if (unlikely(tstate->use_tracing) && !tstate->tracing &&\ - (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\ - __Pyx_use_tracing = __Pyx_TraceSetupAndCall(&__pyx_frame_code, &__pyx_frame, tstate, funcname, srcfile, firstlineno);\ - }\ - PyGILState_Release(state);\ - if (unlikely(__Pyx_use_tracing < 0)) goto_error;\ - }\ - } else {\ - PyThreadState* tstate = PyThreadState_GET();\ - if (unlikely(tstate->use_tracing) && !tstate->tracing &&\ - (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\ - __Pyx_use_tracing = __Pyx_TraceSetupAndCall(&__pyx_frame_code, &__pyx_frame, tstate, funcname, srcfile, firstlineno);\ - if (unlikely(__Pyx_use_tracing < 0)) goto_error;\ - }\ - } - #else - #define __Pyx_TraceCall(funcname, srcfile, firstlineno, nogil, goto_error)\ - { PyThreadState* tstate = PyThreadState_GET();\ - if (unlikely(tstate->use_tracing) && !tstate->tracing &&\ - (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\ - __Pyx_use_tracing = __Pyx_TraceSetupAndCall(&__pyx_frame_code, &__pyx_frame, tstate, funcname, srcfile, firstlineno);\ - if (unlikely(__Pyx_use_tracing < 0)) goto_error;\ - }\ - } - #endif - #define __Pyx_TraceException()\ - if (likely(!__Pyx_use_tracing)); else {\ - PyThreadState* tstate = __Pyx_PyThreadState_Current;\ - if (tstate->use_tracing &&\ - (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\ - tstate->tracing++;\ - tstate->use_tracing = 0;\ - PyObject *exc_info = __Pyx_GetExceptionTuple(tstate);\ - if (exc_info) {\ - if (CYTHON_TRACE && tstate->c_tracefunc)\ - tstate->c_tracefunc(\ - tstate->c_traceobj, __pyx_frame, PyTrace_EXCEPTION, exc_info);\ - tstate->c_profilefunc(\ - tstate->c_profileobj, __pyx_frame, PyTrace_EXCEPTION, exc_info);\ - Py_DECREF(exc_info);\ - }\ - tstate->use_tracing = 1;\ - tstate->tracing--;\ - }\ - } - static void __Pyx_call_return_trace_func(PyThreadState *tstate, PyFrameObject *frame, PyObject *result) { - PyObject *type, *value, *traceback; - __Pyx_ErrFetchInState(tstate, &type, &value, &traceback); - tstate->tracing++; - tstate->use_tracing = 0; - if (CYTHON_TRACE && tstate->c_tracefunc) - tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_RETURN, result); - if (tstate->c_profilefunc) - tstate->c_profilefunc(tstate->c_profileobj, frame, PyTrace_RETURN, result); - CYTHON_FRAME_DEL(frame); - tstate->use_tracing = 1; - tstate->tracing--; - __Pyx_ErrRestoreInState(tstate, type, value, traceback); - } - #ifdef WITH_THREAD - #define __Pyx_TraceReturn(result, nogil)\ - if (likely(!__Pyx_use_tracing)); else {\ - if (nogil) {\ - if (CYTHON_TRACE_NOGIL) {\ - PyThreadState *tstate;\ - PyGILState_STATE state = PyGILState_Ensure();\ - tstate = __Pyx_PyThreadState_Current;\ - if (tstate->use_tracing) {\ - __Pyx_call_return_trace_func(tstate, __pyx_frame, (PyObject*)result);\ - }\ - PyGILState_Release(state);\ - }\ - } else {\ - PyThreadState* tstate = __Pyx_PyThreadState_Current;\ - if (tstate->use_tracing) {\ - __Pyx_call_return_trace_func(tstate, __pyx_frame, (PyObject*)result);\ - }\ - }\ - } - #else - #define __Pyx_TraceReturn(result, nogil)\ - if (likely(!__Pyx_use_tracing)); else {\ - PyThreadState* tstate = __Pyx_PyThreadState_Current;\ - if (tstate->use_tracing) {\ - __Pyx_call_return_trace_func(tstate, __pyx_frame, (PyObject*)result);\ - }\ - } - #endif - static PyCodeObject *__Pyx_createFrameCodeObject(const char *funcname, const char *srcfile, int firstlineno); - static int __Pyx_TraceSetupAndCall(PyCodeObject** code, PyFrameObject** frame, PyThreadState* tstate, const char *funcname, const char *srcfile, int firstlineno); -#else - #define __Pyx_TraceDeclarations - #define __Pyx_TraceFrameInit(codeobj) - #define __Pyx_TraceCall(funcname, srcfile, firstlineno, nogil, goto_error) if ((1)); else goto_error; - #define __Pyx_TraceException() - #define __Pyx_TraceReturn(result, nogil) -#endif -#if CYTHON_TRACE - static int __Pyx_call_line_trace_func(PyThreadState *tstate, PyFrameObject *frame, int lineno) { - int ret; - PyObject *type, *value, *traceback; - __Pyx_ErrFetchInState(tstate, &type, &value, &traceback); - __Pyx_PyFrame_SetLineNumber(frame, lineno); - tstate->tracing++; - tstate->use_tracing = 0; - ret = tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_LINE, NULL); - tstate->use_tracing = 1; - tstate->tracing--; - if (likely(!ret)) { - __Pyx_ErrRestoreInState(tstate, type, value, traceback); - } else { - Py_XDECREF(type); - Py_XDECREF(value); - Py_XDECREF(traceback); - } - return ret; - } - #ifdef WITH_THREAD - #define __Pyx_TraceLine(lineno, nogil, goto_error)\ - if (likely(!__Pyx_use_tracing)); else {\ - if (nogil) {\ - if (CYTHON_TRACE_NOGIL) {\ - int ret = 0;\ - PyThreadState *tstate;\ - PyGILState_STATE state = PyGILState_Ensure();\ - tstate = __Pyx_PyThreadState_Current;\ - if (unlikely(tstate->use_tracing && tstate->c_tracefunc && __pyx_frame->f_trace)) {\ - ret = __Pyx_call_line_trace_func(tstate, __pyx_frame, lineno);\ - }\ - PyGILState_Release(state);\ - if (unlikely(ret)) goto_error;\ - }\ - } else {\ - PyThreadState* tstate = __Pyx_PyThreadState_Current;\ - if (unlikely(tstate->use_tracing && tstate->c_tracefunc && __pyx_frame->f_trace)) {\ - int ret = __Pyx_call_line_trace_func(tstate, __pyx_frame, lineno);\ - if (unlikely(ret)) goto_error;\ - }\ - }\ - } - #else - #define __Pyx_TraceLine(lineno, nogil, goto_error)\ - if (likely(!__Pyx_use_tracing)); else {\ - PyThreadState* tstate = __Pyx_PyThreadState_Current;\ - if (unlikely(tstate->use_tracing && tstate->c_tracefunc && __pyx_frame->f_trace)) {\ - int ret = __Pyx_call_line_trace_func(tstate, __pyx_frame, lineno);\ - if (unlikely(ret)) goto_error;\ - }\ - } - #endif -#else - #define __Pyx_TraceLine(lineno, nogil, goto_error) if ((1)); else goto_error; -#endif - -/* PyObjectCall.proto */ -#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 - /* RaiseException.proto */ static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause); @@ -2699,6 +2422,23 @@ static CYTHON_INLINE int __Pyx_PyList_Append(PyObject* list, PyObject* x) { #define __Pyx_PyList_Append(L,x) PyList_Append(L,x) #endif +/* UnpackUnboundCMethod.proto */ +typedef struct { + PyObject *type; + PyObject **method_name; + PyCFunction func; + PyObject *method; + int flag; +} __Pyx_CachedCFunction; + +/* CallUnboundCMethod1.proto */ +static PyObject* __Pyx__CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg); +#if CYTHON_COMPILING_IN_CPYTHON +static CYTHON_INLINE PyObject* __Pyx_CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg); +#else +#define __Pyx_CallUnboundCMethod1(cfunc, self, arg) __Pyx__CallUnboundCMethod1(cfunc, self, arg) +#endif + /* None.proto */ static CYTHON_INLINE void __Pyx_RaiseClosureNameError(const char *varname); @@ -2797,23 +2537,6 @@ static CYTHON_INLINE PyObject *__Pyx_PyObject_GetItem(PyObject *obj, PyObject* k /* HasAttr.proto */ static CYTHON_INLINE int __Pyx_HasAttr(PyObject *, PyObject *); -/* UnpackUnboundCMethod.proto */ -typedef struct { - PyObject *type; - PyObject **method_name; - PyCFunction func; - PyObject *method; - int flag; -} __Pyx_CachedCFunction; - -/* CallUnboundCMethod1.proto */ -static PyObject* __Pyx__CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg); -#if CYTHON_COMPILING_IN_CPYTHON -static CYTHON_INLINE PyObject* __Pyx_CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg); -#else -#define __Pyx_CallUnboundCMethod1(cfunc, self, arg) __Pyx__CallUnboundCMethod1(cfunc, self, arg) -#endif - /* GetAttr3.proto */ static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *, PyObject *, PyObject *); @@ -3022,92 +2745,6 @@ static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObj #endif #define __Pyx_PyException_Check(obj) __Pyx_TypeCheck(obj, PyExc_Exception) -/* SwapException.proto */ -#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); -#else -static CYTHON_INLINE void __Pyx_ExceptionSwap(PyObject **type, PyObject **value, PyObject **tb); -#endif - -/* PyObjectGetMethod.proto */ -static int __Pyx_PyObject_GetMethod(PyObject *obj, PyObject *name, PyObject **method); - -/* PyObjectCallMethod1.proto */ -static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg); - -/* CoroutineBase.proto */ -typedef PyObject *(*__pyx_coroutine_body_t)(PyObject *, PyThreadState *, PyObject *); -#if CYTHON_USE_EXC_INFO_STACK -#define __Pyx_ExcInfoStruct _PyErr_StackItem -#else -typedef struct { - PyObject *exc_type; - PyObject *exc_value; - PyObject *exc_traceback; -} __Pyx_ExcInfoStruct; -#endif -typedef struct { - PyObject_HEAD - __pyx_coroutine_body_t body; - PyObject *closure; - __Pyx_ExcInfoStruct gi_exc_state; - PyObject *gi_weakreflist; - PyObject *classobj; - PyObject *yieldfrom; - PyObject *gi_name; - PyObject *gi_qualname; - PyObject *gi_modulename; - PyObject *gi_code; - int resume_label; - char is_running; -} __pyx_CoroutineObject; -static __pyx_CoroutineObject *__Pyx__Coroutine_New( - PyTypeObject *type, __pyx_coroutine_body_t body, PyObject *code, PyObject *closure, - PyObject *name, PyObject *qualname, PyObject *module_name); -static __pyx_CoroutineObject *__Pyx__Coroutine_NewInit( - __pyx_CoroutineObject *gen, __pyx_coroutine_body_t body, PyObject *code, PyObject *closure, - PyObject *name, PyObject *qualname, PyObject *module_name); -static CYTHON_INLINE void __Pyx_Coroutine_ExceptionClear(__Pyx_ExcInfoStruct *self); -static int __Pyx_Coroutine_clear(PyObject *self); -static PyObject *__Pyx_Coroutine_Send(PyObject *self, PyObject *value); -static PyObject *__Pyx_Coroutine_Close(PyObject *self); -static PyObject *__Pyx_Coroutine_Throw(PyObject *gen, PyObject *args); -#if CYTHON_USE_EXC_INFO_STACK -#define __Pyx_Coroutine_SwapException(self) -#define __Pyx_Coroutine_ResetAndClearException(self) __Pyx_Coroutine_ExceptionClear(&(self)->gi_exc_state) -#else -#define __Pyx_Coroutine_SwapException(self) {\ - __Pyx_ExceptionSwap(&(self)->gi_exc_state.exc_type, &(self)->gi_exc_state.exc_value, &(self)->gi_exc_state.exc_traceback);\ - __Pyx_Coroutine_ResetFrameBackpointer(&(self)->gi_exc_state);\ - } -#define __Pyx_Coroutine_ResetAndClearException(self) {\ - __Pyx_ExceptionReset((self)->gi_exc_state.exc_type, (self)->gi_exc_state.exc_value, (self)->gi_exc_state.exc_traceback);\ - (self)->gi_exc_state.exc_type = (self)->gi_exc_state.exc_value = (self)->gi_exc_state.exc_traceback = NULL;\ - } -#endif -#if CYTHON_FAST_THREAD_STATE -#define __Pyx_PyGen_FetchStopIterationValue(pvalue)\ - __Pyx_PyGen__FetchStopIterationValue(__pyx_tstate, pvalue) -#else -#define __Pyx_PyGen_FetchStopIterationValue(pvalue)\ - __Pyx_PyGen__FetchStopIterationValue(__Pyx_PyThreadState_Current, pvalue) -#endif -static int __Pyx_PyGen__FetchStopIterationValue(PyThreadState *tstate, PyObject **pvalue); -static CYTHON_INLINE void __Pyx_Coroutine_ResetFrameBackpointer(__Pyx_ExcInfoStruct *exc_state); - -/* PatchGeneratorABC.proto */ -static int __Pyx_patch_abc(void); - -/* Generator.proto */ -#define __Pyx_Generator_USED -static PyTypeObject *__pyx_GeneratorType = 0; -#define __Pyx_Generator_CheckExact(obj) (Py_TYPE(obj) == __pyx_GeneratorType) -#define __Pyx_Generator_New(body, code, closure, name, qualname, module_name)\ - __Pyx__Coroutine_New(__pyx_GeneratorType, body, code, closure, name, qualname, module_name) -static PyObject *__Pyx_Generator_Next(PyObject *self); -static int __pyx_Generator_init(void); - /* CheckBinaryVersion.proto */ static int __Pyx_check_binary_version(void); @@ -3195,12 +2832,8 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callab static CYTHON_INLINE int __pyx_f_19dependency_injector_9providers___isawaitable(PyObject *); /*proto*/ /* Module declarations from 'dependency_injector.containers' */ -static PyTypeObject *__pyx_ptype_19dependency_injector_10containers___pyx_scope_struct____new__ = 0; -static PyTypeObject *__pyx_ptype_19dependency_injector_10containers___pyx_scope_struct_1_genexpr = 0; -static PyTypeObject *__pyx_ptype_19dependency_injector_10containers___pyx_scope_struct_2_genexpr = 0; -static PyTypeObject *__pyx_ptype_19dependency_injector_10containers___pyx_scope_struct_3_genexpr = 0; -static PyTypeObject *__pyx_ptype_19dependency_injector_10containers___pyx_scope_struct_4_override = 0; -static PyTypeObject *__pyx_ptype_19dependency_injector_10containers___pyx_scope_struct_5_copy = 0; +static PyTypeObject *__pyx_ptype_19dependency_injector_10containers___pyx_scope_struct__override = 0; +static PyTypeObject *__pyx_ptype_19dependency_injector_10containers___pyx_scope_struct_1_copy = 0; static PyTypeObject *__pyx_ptype___pyx_scope_struct____Pyx_CFunc_void____object____object____object____object___to_py = 0; static PyTypeObject *__pyx_ptype___pyx_scope_struct____Pyx_CFunc_void____object____object___to_py = 0; static PyTypeObject *__pyx_ptype___pyx_scope_struct____Pyx_CFunc_void____object____object____object___to_py = 0; @@ -3227,8 +2860,8 @@ static PyObject *__pyx_builtin_AttributeError; static PyObject *__pyx_builtin_KeyError; static PyObject *__pyx_builtin_range; static PyObject *__pyx_builtin_zip; +static const char __pyx_k__9[] = "__"; static const char __pyx_k_id[] = "id"; -static const char __pyx_k__37[] = "__"; static const char __pyx_k_cls[] = "cls"; static const char __pyx_k_doc[] = "__doc__"; static const char __pyx_k_get[] = "get"; @@ -3238,6 +2871,7 @@ static const char __pyx_k_six[] = "six"; static const char __pyx_k_sys[] = "sys"; static const char __pyx_k_zip[] = "zip"; static const char __pyx_k_args[] = "args"; +static const char __pyx_k_base[] = "base"; static const char __pyx_k_call[] = "call"; static const char __pyx_k_copy[] = "copy"; static const char __pyx_k_init[] = "__init__"; @@ -3245,7 +2879,6 @@ static const char __pyx_k_main[] = "__main__"; static const char __pyx_k_memo[] = "memo"; static const char __pyx_k_name[] = "name"; static const char __pyx_k_self[] = "__self__"; -static const char __pyx_k_send[] = "send"; static const char __pyx_k_test[] = "__test__"; static const char __pyx_k_wire[] = "wire"; static const char __pyx_k_wrap[] = "wrap"; @@ -3253,12 +2886,10 @@ static const char __pyx_k_Error[] = "Error"; static const char __pyx_k_bases[] = "bases"; static const char __pyx_k_class[] = "__class__"; static const char __pyx_k_clear[] = "clear"; -static const char __pyx_k_close[] = "close"; static const char __pyx_k_index[] = "index"; static const char __pyx_k_items[] = "items"; static const char __pyx_k_range[] = "range"; static const char __pyx_k_super[] = "super"; -static const char __pyx_k_throw[] = "throw"; static const char __pyx_k_value[] = "value"; static const char __pyx_k_Future[] = "Future"; static const char __pyx_k_copied[] = "copied"; @@ -3282,7 +2913,6 @@ static const char __pyx_k_wiring[] = "wiring"; static const char __pyx_k_asyncio[] = "asyncio"; static const char __pyx_k_delattr[] = "__delattr__"; static const char __pyx_k_futures[] = "futures"; -static const char __pyx_k_genexpr[] = "genexpr"; static const char __pyx_k_inspect[] = "inspect"; static const char __pyx_k_modules[] = "modules"; static const char __pyx_k_partial[] = "partial"; @@ -3371,17 +3001,16 @@ static const char __pyx_k_Pyx_CFunc_object____object[] = "__Pyx_CFunc_object____ static const char __pyx_k_override_locals__decorator[] = "override.._decorator"; static const char __pyx_k_DynamicContainer___deepcopy[] = "DynamicContainer.__deepcopy__"; static const char __pyx_k_Container_0_is_not_overridden[] = "Container {0} is not overridden"; -static const char __pyx_k_DeclarativeContainerMetaClass[] = "DeclarativeContainerMetaClass.__new__..genexpr"; +static const char __pyx_k_DeclarativeContainerMetaClass[] = "DeclarativeContainerMetaClass"; static const char __pyx_k_DeclarativeContainer_override[] = "DeclarativeContainer.override"; static const char __pyx_k_DynamicContainer_dependencies[] = "DynamicContainer.dependencies"; static const char __pyx_k_0_can_contain_only_1_instances[] = "{0} can contain only {1} instances"; static const char __pyx_k_DynamicContainer_set_providers[] = "DynamicContainer.set_providers"; static const char __pyx_k_Pyx_CFunc_void____object____ob[] = "__Pyx_CFunc_void____object____object____object____object___to_py..wrap"; static const char __pyx_k_dependency_injector_containers[] = "dependency_injector.containers"; -static const char __pyx_k_DeclarativeContainerMetaClass_2[] = "DeclarativeContainerMetaClass"; -static const char __pyx_k_DeclarativeContainerMetaClass_3[] = "DeclarativeContainerMetaClass.__new__"; -static const char __pyx_k_DeclarativeContainerMetaClass_4[] = "DeclarativeContainerMetaClass.__setattr__"; -static const char __pyx_k_DeclarativeContainerMetaClass_5[] = "DeclarativeContainerMetaClass.__delattr__"; +static const char __pyx_k_DeclarativeContainerMetaClass_2[] = "DeclarativeContainerMetaClass.__new__"; +static const char __pyx_k_DeclarativeContainerMetaClass_3[] = "DeclarativeContainerMetaClass.__setattr__"; +static const char __pyx_k_DeclarativeContainerMetaClass_4[] = "DeclarativeContainerMetaClass.__delattr__"; static const char __pyx_k_DeclarativeContainer_reset_last[] = "DeclarativeContainer.reset_last_overriding"; static const char __pyx_k_DynamicContainer_init_resources[] = "DynamicContainer.init_resources"; static const char __pyx_k_DynamicContainer_reset_override[] = "DynamicContainer.reset_override"; @@ -3413,7 +3042,6 @@ static PyObject *__pyx_n_s_DeclarativeContainerMetaClass; static PyObject *__pyx_n_s_DeclarativeContainerMetaClass_2; static PyObject *__pyx_n_s_DeclarativeContainerMetaClass_3; static PyObject *__pyx_n_s_DeclarativeContainerMetaClass_4; -static PyObject *__pyx_n_s_DeclarativeContainerMetaClass_5; static PyObject *__pyx_n_s_DeclarativeContainerMetaClass_de; static PyObject *__pyx_n_s_DeclarativeContainer___new; static PyObject *__pyx_n_s_DeclarativeContainer_override; @@ -3450,7 +3078,7 @@ static PyObject *__pyx_n_s_Pyx_CFunc_void____object____ob; static PyObject *__pyx_n_s_Pyx_CFunc_void____object____ob_2; static PyObject *__pyx_n_s_Pyx_CFunc_void____object____ob_3; static PyObject *__pyx_kp_s_Wiring_requires_Python_3_6_or_ab; -static PyObject *__pyx_n_s__37; +static PyObject *__pyx_n_s__9; static PyObject *__pyx_n_s_add_done_callback; static PyObject *__pyx_n_s_add_metaclass; static PyObject *__pyx_n_s_apply_container_providers_overri; @@ -3461,6 +3089,7 @@ static PyObject *__pyx_n_s_asyncio_coroutines; static PyObject *__pyx_n_s_asyncio_tasks; static PyObject *__pyx_n_s_attributes; static PyObject *__pyx_n_s_awaitables; +static PyObject *__pyx_n_s_base; static PyObject *__pyx_n_s_bases; static PyObject *__pyx_n_s_call; static PyObject *__pyx_n_s_cfunc_to_py; @@ -3468,7 +3097,6 @@ static PyObject *__pyx_n_s_class; static PyObject *__pyx_n_s_class_name; static PyObject *__pyx_n_s_clear; static PyObject *__pyx_n_s_cline_in_traceback; -static PyObject *__pyx_n_s_close; static PyObject *__pyx_n_s_cls; static PyObject *__pyx_n_s_cls_providers; static PyObject *__pyx_n_s_container; @@ -3496,7 +3124,6 @@ static PyObject *__pyx_n_s_future; static PyObject *__pyx_n_s_future_result; static PyObject *__pyx_n_s_futures; static PyObject *__pyx_n_s_gather; -static PyObject *__pyx_n_s_genexpr; static PyObject *__pyx_n_s_get; static PyObject *__pyx_n_s_get_providers_memo; static PyObject *__pyx_n_s_id; @@ -3551,7 +3178,6 @@ static PyObject *__pyx_n_s_resource; static PyObject *__pyx_n_s_result; static PyObject *__pyx_n_s_self; static PyObject *__pyx_n_s_self_2; -static PyObject *__pyx_n_s_send; static PyObject *__pyx_n_s_set_providers; static PyObject *__pyx_n_s_set_result; static PyObject *__pyx_n_s_setattr; @@ -3566,7 +3192,6 @@ static PyObject *__pyx_n_s_sub_memo; static PyObject *__pyx_n_s_super; static PyObject *__pyx_n_s_sys; static PyObject *__pyx_n_s_test; -static PyObject *__pyx_n_s_throw; static PyObject *__pyx_n_s_unwire; static PyObject *__pyx_n_s_update; static PyObject *__pyx_n_s_value; @@ -3595,9 +3220,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_24init_resources(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self); /* proto */ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_26shutdown_resources(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self); /* proto */ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_28apply_container_providers_overridings(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self); /* proto */ -static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContainerMetaClass_7__new___genexpr(PyObject *__pyx_self); /* proto */ -static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContainerMetaClass_7__new___3genexpr(PyObject *__pyx_self); /* proto */ -static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContainerMetaClass_7__new___6genexpr(PyObject *__pyx_self); /* proto */ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContainerMetaClass___new__(CYTHON_UNUSED PyObject *__pyx_self, PyTypeObject *__pyx_v_mcs, PyObject *__pyx_v_class_name, PyObject *__pyx_v_bases, PyObject *__pyx_v_attributes); /* proto */ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContainerMetaClass_2__setattr__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_cls, PyObject *__pyx_v_name, PyObject *__pyx_v_value); /* proto */ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContainerMetaClass_4__delattr__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_cls, PyObject *__pyx_v_name); /* proto */ @@ -3619,12 +3241,8 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_64__Pyx_CFunc_void____object____obje static PyObject *__pyx_pf_11cfunc_dot_to_py_44__Pyx_CFunc_void____object____object___to_py_wrap(PyObject *__pyx_self, PyObject *__pyx_v_future_result, PyObject *__pyx_v_future); /* proto */ static PyObject *__pyx_pf_11cfunc_dot_to_py_54__Pyx_CFunc_void____object____object____object___to_py_wrap(PyObject *__pyx_self, PyObject *__pyx_v_future_result, PyObject *__pyx_v_call, PyObject *__pyx_v_future); /* proto */ static PyObject *__pyx_pf_11cfunc_dot_to_py_46__Pyx_CFunc_object____object____object___to_py_wrap(PyObject *__pyx_self, PyObject *__pyx_v_future_result, PyObject *__pyx_v_future); /* proto */ -static PyObject *__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct____new__(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_1_genexpr(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_2_genexpr(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_3_genexpr(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_4_override(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ -static PyObject *__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_5_copy(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ +static PyObject *__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct__override(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ +static PyObject *__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_1_copy(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_void____object____object____object____object___to_py(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_void____object____object___to_py(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_void____object____object____object___to_py(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ @@ -3635,83 +3253,83 @@ static PyObject *__pyx_int_2; static PyObject *__pyx_int_3; static PyObject *__pyx_int_6; static PyObject *__pyx_int_neg_1; -static PyObject *__pyx_codeobj_; -static PyObject *__pyx_tuple__2; -static PyObject *__pyx_slice__13; -static PyObject *__pyx_slice__46; -static PyObject *__pyx_tuple__30; +static PyObject *__pyx_tuple_; +static PyObject *__pyx_slice__2; +static PyObject *__pyx_tuple__3; +static PyObject *__pyx_tuple__5; +static PyObject *__pyx_tuple__7; +static PyObject *__pyx_slice__18; +static PyObject *__pyx_tuple__10; +static PyObject *__pyx_tuple__12; +static PyObject *__pyx_tuple__14; +static PyObject *__pyx_tuple__16; +static PyObject *__pyx_tuple__19; +static PyObject *__pyx_tuple__20; +static PyObject *__pyx_tuple__22; +static PyObject *__pyx_tuple__24; +static PyObject *__pyx_tuple__25; +static PyObject *__pyx_tuple__27; +static PyObject *__pyx_tuple__29; +static PyObject *__pyx_tuple__31; static PyObject *__pyx_tuple__33; static PyObject *__pyx_tuple__35; -static PyObject *__pyx_tuple__38; -static PyObject *__pyx_tuple__40; -static PyObject *__pyx_tuple__42; -static PyObject *__pyx_tuple__44; +static PyObject *__pyx_tuple__37; +static PyObject *__pyx_tuple__39; +static PyObject *__pyx_tuple__41; +static PyObject *__pyx_tuple__43; +static PyObject *__pyx_tuple__45; static PyObject *__pyx_tuple__47; static PyObject *__pyx_tuple__48; -static PyObject *__pyx_tuple__49; static PyObject *__pyx_tuple__50; -static PyObject *__pyx_tuple__51; static PyObject *__pyx_tuple__52; -static PyObject *__pyx_tuple__53; static PyObject *__pyx_tuple__54; -static PyObject *__pyx_tuple__55; static PyObject *__pyx_tuple__56; -static PyObject *__pyx_tuple__57; static PyObject *__pyx_tuple__58; -static PyObject *__pyx_tuple__59; static PyObject *__pyx_tuple__60; -static PyObject *__pyx_tuple__61; static PyObject *__pyx_tuple__62; -static PyObject *__pyx_tuple__63; static PyObject *__pyx_tuple__64; static PyObject *__pyx_tuple__65; -static PyObject *__pyx_tuple__66; static PyObject *__pyx_tuple__67; -static PyObject *__pyx_tuple__68; static PyObject *__pyx_tuple__69; -static PyObject *__pyx_tuple__70; static PyObject *__pyx_tuple__71; -static PyObject *__pyx_tuple__72; static PyObject *__pyx_tuple__73; -static PyObject *__pyx_tuple__74; static PyObject *__pyx_tuple__75; -static PyObject *__pyx_tuple__76; static PyObject *__pyx_tuple__77; -static PyObject *__pyx_tuple__78; -static PyObject *__pyx_codeobj__3; static PyObject *__pyx_codeobj__4; -static PyObject *__pyx_codeobj__5; static PyObject *__pyx_codeobj__6; -static PyObject *__pyx_codeobj__7; static PyObject *__pyx_codeobj__8; -static PyObject *__pyx_codeobj__9; -static PyObject *__pyx_codeobj__10; static PyObject *__pyx_codeobj__11; -static PyObject *__pyx_codeobj__12; -static PyObject *__pyx_codeobj__14; +static PyObject *__pyx_codeobj__13; static PyObject *__pyx_codeobj__15; -static PyObject *__pyx_codeobj__16; static PyObject *__pyx_codeobj__17; -static PyObject *__pyx_codeobj__18; -static PyObject *__pyx_codeobj__19; -static PyObject *__pyx_codeobj__20; static PyObject *__pyx_codeobj__21; -static PyObject *__pyx_codeobj__22; static PyObject *__pyx_codeobj__23; -static PyObject *__pyx_codeobj__24; -static PyObject *__pyx_codeobj__25; static PyObject *__pyx_codeobj__26; -static PyObject *__pyx_codeobj__27; static PyObject *__pyx_codeobj__28; -static PyObject *__pyx_codeobj__29; -static PyObject *__pyx_codeobj__31; +static PyObject *__pyx_codeobj__30; static PyObject *__pyx_codeobj__32; static PyObject *__pyx_codeobj__34; static PyObject *__pyx_codeobj__36; -static PyObject *__pyx_codeobj__39; -static PyObject *__pyx_codeobj__41; -static PyObject *__pyx_codeobj__43; -static PyObject *__pyx_codeobj__45; +static PyObject *__pyx_codeobj__38; +static PyObject *__pyx_codeobj__40; +static PyObject *__pyx_codeobj__42; +static PyObject *__pyx_codeobj__44; +static PyObject *__pyx_codeobj__46; +static PyObject *__pyx_codeobj__49; +static PyObject *__pyx_codeobj__51; +static PyObject *__pyx_codeobj__53; +static PyObject *__pyx_codeobj__55; +static PyObject *__pyx_codeobj__57; +static PyObject *__pyx_codeobj__59; +static PyObject *__pyx_codeobj__61; +static PyObject *__pyx_codeobj__63; +static PyObject *__pyx_codeobj__66; +static PyObject *__pyx_codeobj__68; +static PyObject *__pyx_codeobj__70; +static PyObject *__pyx_codeobj__72; +static PyObject *__pyx_codeobj__74; +static PyObject *__pyx_codeobj__76; +static PyObject *__pyx_codeobj__78; /* Late includes */ /* "dependency_injector/containers.pyx":28 @@ -3745,15 +3363,12 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_1wire(PyObject *__p static PyObject *__pyx_pf_19dependency_injector_10containers_wire(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_args, CYTHON_UNUSED PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj_) __Pyx_RefNannySetupContext("wire", 0); - __Pyx_TraceCall("wire", __pyx_f[0], 28, 0, __PYX_ERR(0, 28, __pyx_L1_error)); /* "dependency_injector/containers.pyx":29 * else: @@ -3762,8 +3377,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_wire(CYTHON_UNUSED * * def unwire(*args, **kwargs): */ - __Pyx_TraceLine(29,0,__PYX_ERR(0, 29, __pyx_L1_error)) - __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_NotImplementedError, __pyx_tuple__2, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 29, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_NotImplementedError, __pyx_tuple_, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 29, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -3783,7 +3397,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_wire(CYTHON_UNUSED __Pyx_AddTraceback("dependency_injector.containers.wire", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -3819,15 +3432,12 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_3unwire(PyObject *_ static PyObject *__pyx_pf_19dependency_injector_10containers_2unwire(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_args, CYTHON_UNUSED PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__3) __Pyx_RefNannySetupContext("unwire", 0); - __Pyx_TraceCall("unwire", __pyx_f[0], 31, 0, __PYX_ERR(0, 31, __pyx_L1_error)); /* "dependency_injector/containers.pyx":32 * @@ -3836,8 +3446,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_2unwire(CYTHON_UNUS * * */ - __Pyx_TraceLine(32,0,__PYX_ERR(0, 32, __pyx_L1_error)) - __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_NotImplementedError, __pyx_tuple__2, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 32, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_NotImplementedError, __pyx_tuple_, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 32, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -3857,7 +3466,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_2unwire(CYTHON_UNUS __Pyx_AddTraceback("dependency_injector.containers.unwire", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -3887,7 +3495,6 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_16DynamicContainer_ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer___init__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -3895,9 +3502,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__4) __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[0], 66, 0, __PYX_ERR(0, 66, __pyx_L1_error)); /* "dependency_injector/containers.pyx":71 * :rtype: None @@ -3906,7 +3511,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * self.providers = {} * self.overridden = tuple() */ - __Pyx_TraceLine(71,0,__PYX_ERR(0, 71, __pyx_L1_error)) if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_provider_type, ((PyObject *)__pyx_ptype_19dependency_injector_9providers_Provider)) < 0) __PYX_ERR(0, 71, __pyx_L1_error) /* "dependency_injector/containers.pyx":72 @@ -3916,7 +3520,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * self.overridden = tuple() * self.declarative_parent = None */ - __Pyx_TraceLine(72,0,__PYX_ERR(0, 72, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 72, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_providers, __pyx_t_1) < 0) __PYX_ERR(0, 72, __pyx_L1_error) @@ -3929,7 +3532,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * self.declarative_parent = None * self.wired_to_modules = [] */ - __Pyx_TraceLine(73,0,__PYX_ERR(0, 73, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_CallNoArg(((PyObject *)(&PyTuple_Type))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 73, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_overridden, __pyx_t_1) < 0) __PYX_ERR(0, 73, __pyx_L1_error) @@ -3942,7 +3544,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * self.wired_to_modules = [] * self.wired_to_packages = [] */ - __Pyx_TraceLine(74,0,__PYX_ERR(0, 74, __pyx_L1_error)) if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_declarative_parent, Py_None) < 0) __PYX_ERR(0, 74, __pyx_L1_error) /* "dependency_injector/containers.pyx":75 @@ -3952,7 +3553,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * self.wired_to_packages = [] * self.__self__ = Object(self) */ - __Pyx_TraceLine(75,0,__PYX_ERR(0, 75, __pyx_L1_error)) __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 75, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_wired_to_modules, __pyx_t_1) < 0) __PYX_ERR(0, 75, __pyx_L1_error) @@ -3965,7 +3565,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * self.__self__ = Object(self) * super(DynamicContainer, self).__init__() */ - __Pyx_TraceLine(76,0,__PYX_ERR(0, 76, __pyx_L1_error)) __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 76, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_wired_to_packages, __pyx_t_1) < 0) __PYX_ERR(0, 76, __pyx_L1_error) @@ -3978,7 +3577,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * super(DynamicContainer, self).__init__() * */ - __Pyx_TraceLine(77,0,__PYX_ERR(0, 77, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Object), __pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 77, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_self, __pyx_t_1) < 0) __PYX_ERR(0, 77, __pyx_L1_error) @@ -3991,7 +3589,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * def __deepcopy__(self, memo): */ - __Pyx_TraceLine(78,0,__PYX_ERR(0, 78, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DynamicContainer); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 78, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 78, __pyx_L1_error) @@ -4044,7 +3641,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -4128,7 +3724,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ PyObject *__pyx_v_name = NULL; PyObject *__pyx_v_provider = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -4145,9 +3740,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__5) __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[0], 80, 0, __PYX_ERR(0, 80, __pyx_L1_error)); /* "dependency_injector/containers.pyx":82 * def __deepcopy__(self, memo): @@ -4156,7 +3749,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * if copied is not None: * return copied */ - __Pyx_TraceLine(82,0,__PYX_ERR(0, 82, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 82, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, __pyx_v_self); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 82, __pyx_L1_error) @@ -4187,7 +3779,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * return copied * */ - __Pyx_TraceLine(83,0,__PYX_ERR(0, 83, __pyx_L1_error)) __pyx_t_5 = (__pyx_v_copied != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -4199,7 +3790,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * copied = self.__class__() */ - __Pyx_TraceLine(84,0,__PYX_ERR(0, 84, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -4221,7 +3811,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * copied.provider_type = Provider * copied.overridden = deepcopy(self.overridden, memo) */ - __Pyx_TraceLine(86,0,__PYX_ERR(0, 86, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 86, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -4249,7 +3838,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * copied.overridden = deepcopy(self.overridden, memo) * copied.declarative_parent = self.declarative_parent */ - __Pyx_TraceLine(87,0,__PYX_ERR(0, 87, __pyx_L1_error)) if (__Pyx_PyObject_SetAttrStr(__pyx_v_copied, __pyx_n_s_provider_type, ((PyObject *)__pyx_ptype_19dependency_injector_9providers_Provider)) < 0) __PYX_ERR(0, 87, __pyx_L1_error) /* "dependency_injector/containers.pyx":88 @@ -4259,7 +3847,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * copied.declarative_parent = self.declarative_parent * */ - __Pyx_TraceLine(88,0,__PYX_ERR(0, 88, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_overridden); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 88, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(0, 88, __pyx_L1_error) @@ -4278,7 +3865,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * for name, provider in deepcopy(self.providers, memo).items(): */ - __Pyx_TraceLine(89,0,__PYX_ERR(0, 89, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_declarative_parent); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 89, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (__Pyx_PyObject_SetAttrStr(__pyx_v_copied, __pyx_n_s_declarative_parent, __pyx_t_2) < 0) __PYX_ERR(0, 89, __pyx_L1_error) @@ -4291,7 +3877,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * setattr(copied, name, provider) * */ - __Pyx_TraceLine(91,0,__PYX_ERR(0, 91, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 91, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(0, 91, __pyx_L1_error) @@ -4416,7 +4001,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * return copied */ - __Pyx_TraceLine(92,0,__PYX_ERR(0, 92, __pyx_L1_error)) __pyx_t_12 = PyObject_SetAttr(__pyx_v_copied, __pyx_v_name, __pyx_v_provider); if (unlikely(__pyx_t_12 == ((int)-1))) __PYX_ERR(0, 92, __pyx_L1_error) /* "dependency_injector/containers.pyx":91 @@ -4426,7 +4010,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * setattr(copied, name, provider) * */ - __Pyx_TraceLine(91,0,__PYX_ERR(0, 91, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -4437,7 +4020,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * def __setattr__(self, str name, object value): */ - __Pyx_TraceLine(94,0,__PYX_ERR(0, 94, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -4465,7 +4047,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ __Pyx_XDECREF(__pyx_v_name); __Pyx_XDECREF(__pyx_v_provider); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -4562,7 +4143,6 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_16DynamicContainer_ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_4__setattr__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_name, PyObject *__pyx_v_value) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -4575,9 +4155,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__6) __Pyx_RefNannySetupContext("__setattr__", 0); - __Pyx_TraceCall("__setattr__", __pyx_f[0], 96, 0, __PYX_ERR(0, 96, __pyx_L1_error)); /* "dependency_injector/containers.pyx":110 * :rtype: None @@ -4586,7 +4164,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * _check_provider_type(self, value) * self.providers[name] = value */ - __Pyx_TraceLine(110,0,__PYX_ERR(0, 110, __pyx_L1_error)) __pyx_t_2 = __Pyx_TypeCheck(__pyx_v_value, __pyx_ptype_19dependency_injector_9providers_Provider); __pyx_t_3 = (__pyx_t_2 != 0); if (__pyx_t_3) { @@ -4607,7 +4184,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * self.providers[name] = value * super(DynamicContainer, self).__setattr__(name, value) */ - __Pyx_TraceLine(111,0,__PYX_ERR(0, 111, __pyx_L1_error)) __pyx_t_4 = __pyx_f_19dependency_injector_10containers__check_provider_type(__pyx_v_self, __pyx_v_value, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 111, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; @@ -4619,7 +4195,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * super(DynamicContainer, self).__setattr__(name, value) * */ - __Pyx_TraceLine(112,0,__PYX_ERR(0, 112, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_providers); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 112, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); if (unlikely(PyObject_SetItem(__pyx_t_4, __pyx_v_name, __pyx_v_value) < 0)) __PYX_ERR(0, 112, __pyx_L1_error) @@ -4641,7 +4216,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * def __delattr__(self, str name): */ - __Pyx_TraceLine(113,0,__PYX_ERR(0, 113, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_DynamicContainer); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 113, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 113, __pyx_L1_error) @@ -4725,7 +4299,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -4811,7 +4384,6 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_16DynamicContainer_ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_6__delattr__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_name) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -4821,9 +4393,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__7) __Pyx_RefNannySetupContext("__delattr__", 0); - __Pyx_TraceCall("__delattr__", __pyx_f[0], 115, 0, __PYX_ERR(0, 115, __pyx_L1_error)); /* "dependency_injector/containers.pyx":126 * :rtype: None @@ -4832,7 +4402,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * del self.providers[name] * super(DynamicContainer, self).__delattr__(name) */ - __Pyx_TraceLine(126,0,__PYX_ERR(0, 126, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 126, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_v_name, __pyx_t_1, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 126, __pyx_L1_error) @@ -4847,7 +4416,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * super(DynamicContainer, self).__delattr__(name) * */ - __Pyx_TraceLine(127,0,__PYX_ERR(0, 127, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 127, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (unlikely(PyObject_DelItem(__pyx_t_1, __pyx_v_name) < 0)) __PYX_ERR(0, 127, __pyx_L1_error) @@ -4869,7 +4437,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * @property */ - __Pyx_TraceLine(128,0,__PYX_ERR(0, 128, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DynamicContainer); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 128, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 128, __pyx_L1_error) @@ -4922,7 +4489,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -4954,7 +4520,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ PyObject *__pyx_7genexpr__pyx_v_name = NULL; PyObject *__pyx_7genexpr__pyx_v_provider = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -4971,9 +4536,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__8) __Pyx_RefNannySetupContext("dependencies", 0); - __Pyx_TraceCall("dependencies", __pyx_f[0], 131, 0, __PYX_ERR(0, 131, __pyx_L1_error)); /* "dependency_injector/containers.pyx":140 * dict[str, :py:class:`dependency_injector.providers.Provider`] @@ -4982,7 +4545,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * name: provider * for name, provider in self.providers.items() */ - __Pyx_TraceLine(140,0,__PYX_ERR(0, 140, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); { /* enter inner scope */ __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 140, __pyx_L5_error) @@ -4995,7 +4557,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * if isinstance(provider, (Dependency, DependenciesContainer)) * } */ - __Pyx_TraceLine(142,0,__PYX_ERR(0, 142, __pyx_L5_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_providers); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 142, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_items); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 142, __pyx_L5_error) @@ -5114,7 +4675,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * } * */ - __Pyx_TraceLine(143,0,__PYX_ERR(0, 143, __pyx_L5_error)) __pyx_t_11 = __Pyx_TypeCheck(__pyx_7genexpr__pyx_v_provider, __pyx_ptype_19dependency_injector_9providers_Dependency); __pyx_t_12 = (__pyx_t_11 != 0); if (!__pyx_t_12) { @@ -5136,7 +4696,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * for name, provider in self.providers.items() * if isinstance(provider, (Dependency, DependenciesContainer)) */ - __Pyx_TraceLine(141,0,__PYX_ERR(0, 141, __pyx_L5_error)) if (unlikely(PyDict_SetItem(__pyx_t_1, (PyObject*)__pyx_7genexpr__pyx_v_name, (PyObject*)__pyx_7genexpr__pyx_v_provider))) __PYX_ERR(0, 141, __pyx_L5_error) /* "dependency_injector/containers.pyx":143 @@ -5155,7 +4714,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * if isinstance(provider, (Dependency, DependenciesContainer)) * } */ - __Pyx_TraceLine(142,0,__PYX_ERR(0, 142, __pyx_L5_error)) } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_7genexpr__pyx_v_name); __pyx_7genexpr__pyx_v_name = 0; @@ -5193,7 +4751,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ __Pyx_XDECREF(__pyx_7genexpr__pyx_v_name); __Pyx_XDECREF(__pyx_7genexpr__pyx_v_provider); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -5270,7 +4827,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ PyObject *__pyx_v_name = NULL; PyObject *__pyx_v_provider = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -5284,9 +4840,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__9) __Pyx_RefNannySetupContext("set_providers", 0); - __Pyx_TraceCall("set_providers", __pyx_f[0], 146, 0, __PYX_ERR(0, 146, __pyx_L1_error)); /* "dependency_injector/containers.pyx":155 * :rtype: None @@ -5295,7 +4849,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * setattr(self, name, provider) * */ - __Pyx_TraceLine(155,0,__PYX_ERR(0, 155, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_six); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 155, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_iteritems); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 155, __pyx_L1_error) @@ -5414,7 +4967,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * def override(self, object overriding): */ - __Pyx_TraceLine(156,0,__PYX_ERR(0, 156, __pyx_L1_error)) __pyx_t_9 = PyObject_SetAttr(__pyx_v_self, __pyx_v_name, __pyx_v_provider); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 156, __pyx_L1_error) /* "dependency_injector/containers.pyx":155 @@ -5424,7 +4976,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * setattr(self, name, provider) * */ - __Pyx_TraceLine(155,0,__PYX_ERR(0, 155, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -5451,7 +5002,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ __Pyx_XDECREF(__pyx_v_name); __Pyx_XDECREF(__pyx_v_provider); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -5534,7 +5084,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ PyObject *__pyx_v_name = NULL; PyObject *__pyx_v_provider = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -5553,9 +5102,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__10) __Pyx_RefNannySetupContext("override", 0); - __Pyx_TraceCall("override", __pyx_f[0], 158, 0, __PYX_ERR(0, 158, __pyx_L1_error)); /* "dependency_injector/containers.pyx":169 * :rtype: None @@ -5564,7 +5111,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * raise Error('Container {0} could not be overridden ' * 'with itself'.format(self)) */ - __Pyx_TraceLine(169,0,__PYX_ERR(0, 169, __pyx_L1_error)) __pyx_t_1 = (__pyx_v_overriding == __pyx_v_self); __pyx_t_2 = (__pyx_t_1 != 0); if (unlikely(__pyx_t_2)) { @@ -5576,7 +5122,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * 'with itself'.format(self)) * */ - __Pyx_TraceLine(170,0,__PYX_ERR(0, 170, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 170, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); @@ -5587,7 +5132,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * self.overridden += (overriding,) */ - __Pyx_TraceLine(171,0,__PYX_ERR(0, 171, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Container_0_could_not_be_overrid, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 171, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_7 = NULL; @@ -5641,7 +5185,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * for name, provider in six.iteritems(overriding.providers): */ - __Pyx_TraceLine(173,0,__PYX_ERR(0, 173, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_overridden); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 173, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 173, __pyx_L1_error) @@ -5663,7 +5206,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * try: * getattr(self, name).override(provider) */ - __Pyx_TraceLine(175,0,__PYX_ERR(0, 175, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_six); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 175, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_iteritems); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 175, __pyx_L1_error) @@ -5785,7 +5327,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * getattr(self, name).override(provider) * except AttributeError: */ - __Pyx_TraceLine(176,0,__PYX_ERR(0, 176, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -5802,7 +5343,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * except AttributeError: * pass */ - __Pyx_TraceLine(177,0,__PYX_ERR(0, 177, __pyx_L8_error)) __pyx_t_6 = __Pyx_GetAttr(__pyx_v_self, __pyx_v_name); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 177, __pyx_L8_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_override); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 177, __pyx_L8_error) @@ -5850,7 +5390,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * pass * */ - __Pyx_TraceLine(178,0,__PYX_ERR(0, 178, __pyx_L10_except_error)) __pyx_t_14 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_AttributeError); if (__pyx_t_14) { __Pyx_ErrRestore(0,0,0); @@ -5886,7 +5425,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * try: * getattr(self, name).override(provider) */ - __Pyx_TraceLine(175,0,__PYX_ERR(0, 175, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -5913,7 +5451,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ __Pyx_XDECREF(__pyx_v_name); __Pyx_XDECREF(__pyx_v_provider); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -5991,7 +5528,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ PyObject *__pyx_v_overriding_provider = NULL; PyObject *__pyx_v_container_provider = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -6004,9 +5540,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__11) __Pyx_RefNannySetupContext("override_providers", 0); - __Pyx_TraceCall("override_providers", __pyx_f[0], 181, 0, __PYX_ERR(0, 181, __pyx_L1_error)); /* "dependency_injector/containers.pyx":190 * :rtype: None @@ -6015,7 +5549,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * container_provider = getattr(self, name) * container_provider.override(overriding_provider) */ - __Pyx_TraceLine(190,0,__PYX_ERR(0, 190, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_six); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 190, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_iteritems); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 190, __pyx_L1_error) @@ -6134,7 +5667,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * container_provider.override(overriding_provider) * */ - __Pyx_TraceLine(191,0,__PYX_ERR(0, 191, __pyx_L1_error)) __pyx_t_1 = __Pyx_GetAttr(__pyx_v_self, __pyx_v_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 191, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_XDECREF_SET(__pyx_v_container_provider, __pyx_t_1); @@ -6147,7 +5679,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * def reset_last_overriding(self): */ - __Pyx_TraceLine(192,0,__PYX_ERR(0, 192, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_container_provider, __pyx_n_s_override); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 192, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_2 = NULL; @@ -6174,7 +5705,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * container_provider = getattr(self, name) * container_provider.override(overriding_provider) */ - __Pyx_TraceLine(190,0,__PYX_ERR(0, 190, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -6202,7 +5732,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ __Pyx_XDECREF(__pyx_v_overriding_provider); __Pyx_XDECREF(__pyx_v_container_provider); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6233,7 +5762,6 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_16DynamicContainer_ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_16reset_last_overriding(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) { PyObject *__pyx_v_provider = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -6247,9 +5775,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__12) __Pyx_RefNannySetupContext("reset_last_overriding", 0); - __Pyx_TraceCall("reset_last_overriding", __pyx_f[0], 194, 0, __PYX_ERR(0, 194, __pyx_L1_error)); /* "dependency_injector/containers.pyx":199 * :rtype: None @@ -6258,7 +5784,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * raise Error('Container {0} is not overridden'.format(self)) * */ - __Pyx_TraceLine(199,0,__PYX_ERR(0, 199, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_overridden); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 199, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 199, __pyx_L1_error) @@ -6273,7 +5798,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * self.overridden = self.overridden[:-1] */ - __Pyx_TraceLine(200,0,__PYX_ERR(0, 200, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 200, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Container_0_is_not_overridden, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 200, __pyx_L1_error) @@ -6329,10 +5853,9 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * for provider in six.itervalues(self.providers): */ - __Pyx_TraceLine(202,0,__PYX_ERR(0, 202, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_overridden); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 202, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_4 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, -1L, NULL, NULL, &__pyx_slice__13, 0, 1, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 202, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, -1L, NULL, NULL, &__pyx_slice__2, 0, 1, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 202, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_overridden, __pyx_t_4) < 0) __PYX_ERR(0, 202, __pyx_L1_error) @@ -6345,7 +5868,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * provider.reset_last_overriding() * */ - __Pyx_TraceLine(204,0,__PYX_ERR(0, 204, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_six); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 204, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_itervalues); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 204, __pyx_L1_error) @@ -6419,7 +5941,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * def reset_override(self): */ - __Pyx_TraceLine(205,0,__PYX_ERR(0, 205, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_provider, __pyx_n_s_reset_last_overriding); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 205, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_6 = NULL; @@ -6446,7 +5967,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * provider.reset_last_overriding() * */ - __Pyx_TraceLine(204,0,__PYX_ERR(0, 204, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; @@ -6472,7 +5992,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ __pyx_L0:; __Pyx_XDECREF(__pyx_v_provider); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6503,7 +6022,6 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_16DynamicContainer_ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_18reset_override(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) { PyObject *__pyx_v_provider = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -6514,9 +6032,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__14) __Pyx_RefNannySetupContext("reset_override", 0); - __Pyx_TraceCall("reset_override", __pyx_f[0], 207, 0, __PYX_ERR(0, 207, __pyx_L1_error)); /* "dependency_injector/containers.pyx":212 * :rtype: None @@ -6525,7 +6041,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * for provider in six.itervalues(self.providers): */ - __Pyx_TraceLine(212,0,__PYX_ERR(0, 212, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_CallNoArg(((PyObject *)(&PyTuple_Type))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 212, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_overridden, __pyx_t_1) < 0) __PYX_ERR(0, 212, __pyx_L1_error) @@ -6538,7 +6053,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * provider.reset_override() * */ - __Pyx_TraceLine(214,0,__PYX_ERR(0, 214, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_six); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 214, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_itervalues); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 214, __pyx_L1_error) @@ -6612,7 +6126,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * def wire(self, modules=None, packages=None): */ - __Pyx_TraceLine(215,0,__PYX_ERR(0, 215, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_provider, __pyx_n_s_reset_override); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 215, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -6639,7 +6152,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * provider.reset_override() * */ - __Pyx_TraceLine(214,0,__PYX_ERR(0, 214, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -6664,7 +6176,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ __pyx_L0:; __Pyx_XDECREF(__pyx_v_provider); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6762,7 +6273,6 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_16DynamicContainer_ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_20wire(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_modules, PyObject *__pyx_v_packages) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -6771,9 +6281,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__15) __Pyx_RefNannySetupContext("wire", 0); - __Pyx_TraceCall("wire", __pyx_f[0], 217, 0, __PYX_ERR(0, 217, __pyx_L1_error)); /* "dependency_injector/containers.pyx":222 * :rtype: None @@ -6782,7 +6290,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * container=self, * modules=modules, */ - __Pyx_TraceLine(222,0,__PYX_ERR(0, 222, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_wire); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 222, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -6793,7 +6300,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * modules=modules, * packages=packages, */ - __Pyx_TraceLine(223,0,__PYX_ERR(0, 223, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyDict_NewPresized(3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 223, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_container, __pyx_v_self) < 0) __PYX_ERR(0, 223, __pyx_L1_error) @@ -6805,7 +6311,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * packages=packages, * ) */ - __Pyx_TraceLine(224,0,__PYX_ERR(0, 224, __pyx_L1_error)) if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_modules, __pyx_v_modules) < 0) __PYX_ERR(0, 223, __pyx_L1_error) /* "dependency_injector/containers.pyx":225 @@ -6815,7 +6320,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * ) * */ - __Pyx_TraceLine(225,0,__PYX_ERR(0, 225, __pyx_L1_error)) if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_packages, __pyx_v_packages) < 0) __PYX_ERR(0, 223, __pyx_L1_error) /* "dependency_injector/containers.pyx":222 @@ -6825,7 +6329,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * container=self, * modules=modules, */ - __Pyx_TraceLine(222,0,__PYX_ERR(0, 222, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_empty_tuple, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 222, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -6839,7 +6342,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * self.wired_to_modules.extend(modules) * */ - __Pyx_TraceLine(228,0,__PYX_ERR(0, 228, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_modules); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 228, __pyx_L1_error) if (__pyx_t_4) { @@ -6850,7 +6352,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * if packages: */ - __Pyx_TraceLine(229,0,__PYX_ERR(0, 229, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_wired_to_modules); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 229, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_extend); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 229, __pyx_L1_error) @@ -6889,7 +6390,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * self.wired_to_packages.extend(packages) * */ - __Pyx_TraceLine(231,0,__PYX_ERR(0, 231, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_packages); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 231, __pyx_L1_error) if (__pyx_t_4) { @@ -6900,7 +6400,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * def unwire(self): */ - __Pyx_TraceLine(232,0,__PYX_ERR(0, 232, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_wired_to_packages); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 232, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_extend); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 232, __pyx_L1_error) @@ -6951,7 +6450,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6981,7 +6479,6 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_16DynamicContainer_ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_22unwire(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -6989,9 +6486,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__16) __Pyx_RefNannySetupContext("unwire", 0); - __Pyx_TraceCall("unwire", __pyx_f[0], 234, 0, __PYX_ERR(0, 234, __pyx_L1_error)); /* "dependency_injector/containers.pyx":236 * def unwire(self): @@ -7000,7 +6495,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * modules=self.wired_to_modules, * packages=self.wired_to_packages, */ - __Pyx_TraceLine(236,0,__PYX_ERR(0, 236, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_unwire); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 236, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -7011,7 +6505,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * packages=self.wired_to_packages, * ) */ - __Pyx_TraceLine(237,0,__PYX_ERR(0, 237, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 237, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_wired_to_modules); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 237, __pyx_L1_error) @@ -7026,7 +6519,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * ) * */ - __Pyx_TraceLine(238,0,__PYX_ERR(0, 238, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_wired_to_packages); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 238, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_packages, __pyx_t_3) < 0) __PYX_ERR(0, 237, __pyx_L1_error) @@ -7039,7 +6531,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * modules=self.wired_to_modules, * packages=self.wired_to_packages, */ - __Pyx_TraceLine(236,0,__PYX_ERR(0, 236, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_empty_tuple, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 236, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -7053,7 +6544,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * self.wired_to_packages.clear() * */ - __Pyx_TraceLine(241,0,__PYX_ERR(0, 241, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_wired_to_modules); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 241, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_clear); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 241, __pyx_L1_error) @@ -7083,7 +6573,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * def init_resources(self): */ - __Pyx_TraceLine(242,0,__PYX_ERR(0, 242, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_wired_to_packages); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 242, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_clear); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 242, __pyx_L1_error) @@ -7125,7 +6614,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7158,7 +6646,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ PyObject *__pyx_v_provider = NULL; PyObject *__pyx_v_resource = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -7172,9 +6659,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__17) __Pyx_RefNannySetupContext("init_resources", 0); - __Pyx_TraceCall("init_resources", __pyx_f[0], 244, 0, __PYX_ERR(0, 244, __pyx_L1_error)); /* "dependency_injector/containers.pyx":246 * def init_resources(self): @@ -7183,7 +6668,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * for provider in self.providers.values(): * if not isinstance(provider, Resource): */ - __Pyx_TraceLine(246,0,__PYX_ERR(0, 246, __pyx_L1_error)) __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 246, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_futures = ((PyObject*)__pyx_t_1); @@ -7196,7 +6680,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * if not isinstance(provider, Resource): * continue */ - __Pyx_TraceLine(247,0,__PYX_ERR(0, 247, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 247, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_values); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 247, __pyx_L1_error) @@ -7267,7 +6750,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * continue * */ - __Pyx_TraceLine(248,0,__PYX_ERR(0, 248, __pyx_L1_error)) __pyx_t_6 = __Pyx_TypeCheck(__pyx_v_provider, __pyx_ptype_19dependency_injector_9providers_Resource); __pyx_t_7 = ((!(__pyx_t_6 != 0)) != 0); if (__pyx_t_7) { @@ -7279,7 +6761,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * resource = provider.init() */ - __Pyx_TraceLine(249,0,__PYX_ERR(0, 249, __pyx_L1_error)) goto __pyx_L3_continue; /* "dependency_injector/containers.pyx":248 @@ -7298,7 +6779,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * if _isawaitable(resource): */ - __Pyx_TraceLine(251,0,__PYX_ERR(0, 251, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_provider, __pyx_n_s_init_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 251, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_8 = NULL; @@ -7326,7 +6806,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * futures.append(resource) * */ - __Pyx_TraceLine(253,0,__PYX_ERR(0, 253, __pyx_L1_error)) __pyx_t_7 = (__pyx_f_19dependency_injector_10containers__isawaitable(__pyx_v_resource, 0) != 0); if (__pyx_t_7) { @@ -7337,7 +6816,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * if futures: */ - __Pyx_TraceLine(254,0,__PYX_ERR(0, 254, __pyx_L1_error)) __pyx_t_9 = __Pyx_PyList_Append(__pyx_v_futures, __pyx_v_resource); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 254, __pyx_L1_error) /* "dependency_injector/containers.pyx":253 @@ -7356,7 +6834,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * if not isinstance(provider, Resource): * continue */ - __Pyx_TraceLine(247,0,__PYX_ERR(0, 247, __pyx_L1_error)) __pyx_L3_continue:; } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -7368,7 +6845,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * return asyncio.gather(*futures) * */ - __Pyx_TraceLine(256,0,__PYX_ERR(0, 256, __pyx_L1_error)) __pyx_t_7 = (PyList_GET_SIZE(__pyx_v_futures) != 0); if (__pyx_t_7) { @@ -7379,7 +6855,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * def shutdown_resources(self): */ - __Pyx_TraceLine(257,0,__PYX_ERR(0, 257, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 257, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -7428,7 +6903,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ __Pyx_XDECREF(__pyx_v_provider); __Pyx_XDECREF(__pyx_v_resource); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7461,7 +6935,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ PyObject *__pyx_v_provider = NULL; PyObject *__pyx_v_shutdown = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -7475,9 +6948,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__18) __Pyx_RefNannySetupContext("shutdown_resources", 0); - __Pyx_TraceCall("shutdown_resources", __pyx_f[0], 259, 0, __PYX_ERR(0, 259, __pyx_L1_error)); /* "dependency_injector/containers.pyx":261 * def shutdown_resources(self): @@ -7486,7 +6957,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * for provider in self.providers.values(): * if not isinstance(provider, Resource): */ - __Pyx_TraceLine(261,0,__PYX_ERR(0, 261, __pyx_L1_error)) __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 261, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_futures = ((PyObject*)__pyx_t_1); @@ -7499,7 +6969,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * if not isinstance(provider, Resource): * continue */ - __Pyx_TraceLine(262,0,__PYX_ERR(0, 262, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 262, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_values); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 262, __pyx_L1_error) @@ -7570,7 +7039,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * continue * */ - __Pyx_TraceLine(263,0,__PYX_ERR(0, 263, __pyx_L1_error)) __pyx_t_6 = __Pyx_TypeCheck(__pyx_v_provider, __pyx_ptype_19dependency_injector_9providers_Resource); __pyx_t_7 = ((!(__pyx_t_6 != 0)) != 0); if (__pyx_t_7) { @@ -7582,7 +7050,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * shutdown = provider.shutdown() */ - __Pyx_TraceLine(264,0,__PYX_ERR(0, 264, __pyx_L1_error)) goto __pyx_L3_continue; /* "dependency_injector/containers.pyx":263 @@ -7601,7 +7068,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * if _isawaitable(shutdown): */ - __Pyx_TraceLine(266,0,__PYX_ERR(0, 266, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_provider, __pyx_n_s_shutdown); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 266, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_8 = NULL; @@ -7629,7 +7095,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * futures.append(shutdown) * */ - __Pyx_TraceLine(268,0,__PYX_ERR(0, 268, __pyx_L1_error)) __pyx_t_7 = (__pyx_f_19dependency_injector_10containers__isawaitable(__pyx_v_shutdown, 0) != 0); if (__pyx_t_7) { @@ -7640,7 +7105,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * if futures: */ - __Pyx_TraceLine(269,0,__PYX_ERR(0, 269, __pyx_L1_error)) __pyx_t_9 = __Pyx_PyList_Append(__pyx_v_futures, __pyx_v_shutdown); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 269, __pyx_L1_error) /* "dependency_injector/containers.pyx":268 @@ -7659,7 +7123,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * if not isinstance(provider, Resource): * continue */ - __Pyx_TraceLine(262,0,__PYX_ERR(0, 262, __pyx_L1_error)) __pyx_L3_continue:; } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -7671,7 +7134,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * return asyncio.gather(*futures) * */ - __Pyx_TraceLine(271,0,__PYX_ERR(0, 271, __pyx_L1_error)) __pyx_t_7 = (PyList_GET_SIZE(__pyx_v_futures) != 0); if (__pyx_t_7) { @@ -7682,7 +7144,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * def apply_container_providers_overridings(self): */ - __Pyx_TraceLine(272,0,__PYX_ERR(0, 272, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 272, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -7731,7 +7192,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ __Pyx_XDECREF(__pyx_v_provider); __Pyx_XDECREF(__pyx_v_shutdown); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7762,7 +7222,6 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_16DynamicContainer_ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_28apply_container_providers_overridings(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) { PyObject *__pyx_v_provider = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -7775,9 +7234,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__19) __Pyx_RefNannySetupContext("apply_container_providers_overridings", 0); - __Pyx_TraceCall("apply_container_providers_overridings", __pyx_f[0], 274, 0, __PYX_ERR(0, 274, __pyx_L1_error)); /* "dependency_injector/containers.pyx":276 * def apply_container_providers_overridings(self): @@ -7786,7 +7243,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * if not isinstance(provider, ContainerProvider): * continue */ - __Pyx_TraceLine(276,0,__PYX_ERR(0, 276, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 276, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_values); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 276, __pyx_L1_error) @@ -7857,7 +7313,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * continue * provider.apply_overridings() */ - __Pyx_TraceLine(277,0,__PYX_ERR(0, 277, __pyx_L1_error)) __pyx_t_6 = __Pyx_TypeCheck(__pyx_v_provider, __pyx_ptype_19dependency_injector_9providers_Container); __pyx_t_7 = ((!(__pyx_t_6 != 0)) != 0); if (__pyx_t_7) { @@ -7869,7 +7324,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * provider.apply_overridings() * */ - __Pyx_TraceLine(278,0,__PYX_ERR(0, 278, __pyx_L1_error)) goto __pyx_L3_continue; /* "dependency_injector/containers.pyx":277 @@ -7888,7 +7342,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * */ - __Pyx_TraceLine(279,0,__PYX_ERR(0, 279, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_provider, __pyx_n_s_apply_overridings); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 279, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_8 = NULL; @@ -7915,7 +7368,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * if not isinstance(provider, ContainerProvider): * continue */ - __Pyx_TraceLine(276,0,__PYX_ERR(0, 276, __pyx_L1_error)) __pyx_L3_continue:; } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -7941,7 +7393,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ __pyx_L0:; __Pyx_XDECREF(__pyx_v_provider); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7951,7 +7402,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_16DynamicContainer_ * * def __new__(type mcs, str class_name, tuple bases, dict attributes): # <<<<<<<<<<<<<< * """Declarative container class factory.""" - * cdef tuple cls_providers + * containers = { */ /* Python wrapper */ @@ -8049,1347 +7500,893 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_29DeclarativeContai __Pyx_RefNannyFinishContext(); return __pyx_r; } -static PyObject *__pyx_gb_19dependency_injector_10containers_29DeclarativeContainerMetaClass_7__new___2generator(__pyx_CoroutineObject *__pyx_generator, CYTHON_UNUSED PyThreadState *__pyx_tstate, PyObject *__pyx_sent_value); /* proto */ - -/* "dependency_injector/containers.pyx":292 - * - * containers = tuple( - * (name, container) # <<<<<<<<<<<<<< - * for name, container in six.iteritems(attributes) - * if is_container(container) - */ - -static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContainerMetaClass_7__new___genexpr(PyObject *__pyx_self) { - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_genexpr *__pyx_cur_scope; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("genexpr", 0); - __pyx_cur_scope = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_genexpr *)__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_1_genexpr(__pyx_ptype_19dependency_injector_10containers___pyx_scope_struct_1_genexpr, __pyx_empty_tuple, NULL); - if (unlikely(!__pyx_cur_scope)) { - __pyx_cur_scope = ((struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_genexpr *)Py_None); - __Pyx_INCREF(Py_None); - __PYX_ERR(0, 292, __pyx_L1_error) - } else { - __Pyx_GOTREF(__pyx_cur_scope); - } - __pyx_cur_scope->__pyx_outer_scope = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__ *) __pyx_self; - __Pyx_INCREF(((PyObject *)__pyx_cur_scope->__pyx_outer_scope)); - __Pyx_GIVEREF(__pyx_cur_scope->__pyx_outer_scope); - { - __pyx_CoroutineObject *gen = __Pyx_Generator_New((__pyx_coroutine_body_t) __pyx_gb_19dependency_injector_10containers_29DeclarativeContainerMetaClass_7__new___2generator, NULL, (PyObject *) __pyx_cur_scope, __pyx_n_s_genexpr, __pyx_n_s_DeclarativeContainerMetaClass, __pyx_n_s_dependency_injector_containers); if (unlikely(!gen)) __PYX_ERR(0, 292, __pyx_L1_error) - __Pyx_DECREF(__pyx_cur_scope); - __Pyx_RefNannyFinishContext(); - return (PyObject *) gen; - } - - /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.containers.DeclarativeContainerMetaClass.__new__.genexpr", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __Pyx_DECREF(((PyObject *)__pyx_cur_scope)); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -static PyObject *__pyx_gb_19dependency_injector_10containers_29DeclarativeContainerMetaClass_7__new___2generator(__pyx_CoroutineObject *__pyx_generator, CYTHON_UNUSED PyThreadState *__pyx_tstate, PyObject *__pyx_sent_value) /* generator body */ -{ - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_genexpr *__pyx_cur_scope = ((struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_genexpr *)__pyx_generator->closure); - PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - PyObject *__pyx_t_3 = NULL; - Py_ssize_t __pyx_t_4; - PyObject *(*__pyx_t_5)(PyObject *); - PyObject *__pyx_t_6 = NULL; - PyObject *__pyx_t_7 = NULL; - PyObject *(*__pyx_t_8)(PyObject *); - int __pyx_t_9; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("genexpr", 0); - __Pyx_TraceCall("genexpr", __pyx_f[0], 292, 0, __PYX_ERR(0, 292, __pyx_L1_error)); - switch (__pyx_generator->resume_label) { - case 0: goto __pyx_L3_first_run; - case 1: goto __pyx_L9_resume_from_yield; - default: /* CPython raises the right error here */ - __Pyx_TraceReturn(Py_None, 0); - __Pyx_RefNannyFinishContext(); - return NULL; - } - __pyx_L3_first_run:; - if (unlikely(!__pyx_sent_value)) __PYX_ERR(0, 292, __pyx_L1_error) - - /* "dependency_injector/containers.pyx":293 - * containers = tuple( - * (name, container) - * for name, container in six.iteritems(attributes) # <<<<<<<<<<<<<< - * if is_container(container) - * ) - */ - __Pyx_TraceLine(293,0,__PYX_ERR(0, 293, __pyx_L1_error)) - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_six); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 293, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_iteritems); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 293, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_cur_scope->__pyx_outer_scope->__pyx_v_attributes)) { __Pyx_RaiseClosureNameError("attributes"); __PYX_ERR(0, 293, __pyx_L1_error) } - __pyx_t_2 = NULL; - if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) { - __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_3); - if (likely(__pyx_t_2)) { - PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3); - __Pyx_INCREF(__pyx_t_2); - __Pyx_INCREF(function); - __Pyx_DECREF_SET(__pyx_t_3, function); - } - } - __pyx_t_1 = (__pyx_t_2) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_2, __pyx_cur_scope->__pyx_outer_scope->__pyx_v_attributes) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_cur_scope->__pyx_outer_scope->__pyx_v_attributes); - __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 293, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (likely(PyList_CheckExact(__pyx_t_1)) || PyTuple_CheckExact(__pyx_t_1)) { - __pyx_t_3 = __pyx_t_1; __Pyx_INCREF(__pyx_t_3); __pyx_t_4 = 0; - __pyx_t_5 = NULL; - } else { - __pyx_t_4 = -1; __pyx_t_3 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 293, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = Py_TYPE(__pyx_t_3)->tp_iternext; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 293, __pyx_L1_error) - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - for (;;) { - if (likely(!__pyx_t_5)) { - if (likely(PyList_CheckExact(__pyx_t_3))) { - if (__pyx_t_4 >= PyList_GET_SIZE(__pyx_t_3)) break; - #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_1 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 293, __pyx_L1_error) - #else - __pyx_t_1 = PySequence_ITEM(__pyx_t_3, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 293, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - #endif - } else { - if (__pyx_t_4 >= PyTuple_GET_SIZE(__pyx_t_3)) break; - #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 293, __pyx_L1_error) - #else - __pyx_t_1 = PySequence_ITEM(__pyx_t_3, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 293, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - #endif - } - } else { - __pyx_t_1 = __pyx_t_5(__pyx_t_3); - if (unlikely(!__pyx_t_1)) { - PyObject* exc_type = PyErr_Occurred(); - if (exc_type) { - if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 293, __pyx_L1_error) - } - break; - } - __Pyx_GOTREF(__pyx_t_1); - } - if ((likely(PyTuple_CheckExact(__pyx_t_1))) || (PyList_CheckExact(__pyx_t_1))) { - PyObject* sequence = __pyx_t_1; - Py_ssize_t size = __Pyx_PySequence_SIZE(sequence); - if (unlikely(size != 2)) { - if (size > 2) __Pyx_RaiseTooManyValuesError(2); - else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 293, __pyx_L1_error) - } - #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - if (likely(PyTuple_CheckExact(sequence))) { - __pyx_t_2 = PyTuple_GET_ITEM(sequence, 0); - __pyx_t_6 = PyTuple_GET_ITEM(sequence, 1); - } else { - __pyx_t_2 = PyList_GET_ITEM(sequence, 0); - __pyx_t_6 = PyList_GET_ITEM(sequence, 1); - } - __Pyx_INCREF(__pyx_t_2); - __Pyx_INCREF(__pyx_t_6); - #else - __pyx_t_2 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 293, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_6 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 293, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_6); - #endif - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } else { - Py_ssize_t index = -1; - __pyx_t_7 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 293, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_8 = Py_TYPE(__pyx_t_7)->tp_iternext; - index = 0; __pyx_t_2 = __pyx_t_8(__pyx_t_7); if (unlikely(!__pyx_t_2)) goto __pyx_L6_unpacking_failed; - __Pyx_GOTREF(__pyx_t_2); - index = 1; __pyx_t_6 = __pyx_t_8(__pyx_t_7); if (unlikely(!__pyx_t_6)) goto __pyx_L6_unpacking_failed; - __Pyx_GOTREF(__pyx_t_6); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_8(__pyx_t_7), 2) < 0) __PYX_ERR(0, 293, __pyx_L1_error) - __pyx_t_8 = NULL; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - goto __pyx_L7_unpacking_done; - __pyx_L6_unpacking_failed:; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_8 = NULL; - if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 293, __pyx_L1_error) - __pyx_L7_unpacking_done:; - } - __Pyx_XGOTREF(__pyx_cur_scope->__pyx_v_name); - __Pyx_XDECREF_SET(__pyx_cur_scope->__pyx_v_name, __pyx_t_2); - __Pyx_GIVEREF(__pyx_t_2); - __pyx_t_2 = 0; - __Pyx_XGOTREF(__pyx_cur_scope->__pyx_v_container); - __Pyx_XDECREF_SET(__pyx_cur_scope->__pyx_v_container, __pyx_t_6); - __Pyx_GIVEREF(__pyx_t_6); - __pyx_t_6 = 0; - - /* "dependency_injector/containers.pyx":294 - * (name, container) - * for name, container in six.iteritems(attributes) - * if is_container(container) # <<<<<<<<<<<<<< - * ) - * - */ - __Pyx_TraceLine(294,0,__PYX_ERR(0, 294, __pyx_L1_error)) - __pyx_t_9 = (__pyx_f_19dependency_injector_10containers_is_container(__pyx_cur_scope->__pyx_v_container, 0) != 0); - if (__pyx_t_9) { - - /* "dependency_injector/containers.pyx":292 - * - * containers = tuple( - * (name, container) # <<<<<<<<<<<<<< - * for name, container in six.iteritems(attributes) - * if is_container(container) - */ - __Pyx_TraceLine(292,0,__PYX_ERR(0, 292, __pyx_L1_error)) - __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 292, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __Pyx_INCREF(__pyx_cur_scope->__pyx_v_name); - __Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_name); - PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_cur_scope->__pyx_v_name); - __Pyx_INCREF(__pyx_cur_scope->__pyx_v_container); - __Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_container); - PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_cur_scope->__pyx_v_container); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - __Pyx_XGIVEREF(__pyx_t_3); - __pyx_cur_scope->__pyx_t_0 = __pyx_t_3; - __pyx_cur_scope->__pyx_t_1 = __pyx_t_4; - __pyx_cur_scope->__pyx_t_2 = __pyx_t_5; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); - __Pyx_RefNannyFinishContext(); - __Pyx_Coroutine_ResetAndClearException(__pyx_generator); - /* return from generator, yielding value */ - __pyx_generator->resume_label = 1; - return __pyx_r; - __pyx_L9_resume_from_yield:; - __pyx_t_3 = __pyx_cur_scope->__pyx_t_0; - __pyx_cur_scope->__pyx_t_0 = 0; - __Pyx_XGOTREF(__pyx_t_3); - __pyx_t_4 = __pyx_cur_scope->__pyx_t_1; - __pyx_t_5 = __pyx_cur_scope->__pyx_t_2; - if (unlikely(!__pyx_sent_value)) __PYX_ERR(0, 292, __pyx_L1_error) - - /* "dependency_injector/containers.pyx":294 - * (name, container) - * for name, container in six.iteritems(attributes) - * if is_container(container) # <<<<<<<<<<<<<< - * ) - * - */ - } - - /* "dependency_injector/containers.pyx":293 - * containers = tuple( - * (name, container) - * for name, container in six.iteritems(attributes) # <<<<<<<<<<<<<< - * if is_container(container) - * ) - */ - __Pyx_TraceLine(293,0,__PYX_ERR(0, 293, __pyx_L1_error)) - } - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - CYTHON_MAYBE_UNUSED_VAR(__pyx_cur_scope); - - /* "dependency_injector/containers.pyx":292 - * - * containers = tuple( - * (name, container) # <<<<<<<<<<<<<< - * for name, container in six.iteritems(attributes) - * if is_container(container) - */ - - /* function exit code */ - PyErr_SetNone(PyExc_StopIteration); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_XDECREF(__pyx_t_3); - __Pyx_XDECREF(__pyx_t_6); - __Pyx_XDECREF(__pyx_t_7); - __Pyx_AddTraceback("genexpr", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_L0:; - __Pyx_XDECREF(__pyx_r); __pyx_r = 0; - #if !CYTHON_USE_EXC_INFO_STACK - __Pyx_Coroutine_ResetAndClearException(__pyx_generator); - #endif - __pyx_generator->resume_label = -1; - __Pyx_Coroutine_clear((PyObject*)__pyx_generator); - __Pyx_TraceReturn(__pyx_r, 0); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} -static PyObject *__pyx_gb_19dependency_injector_10containers_29DeclarativeContainerMetaClass_7__new___5generator1(__pyx_CoroutineObject *__pyx_generator, CYTHON_UNUSED PyThreadState *__pyx_tstate, PyObject *__pyx_sent_value); /* proto */ - -/* "dependency_injector/containers.pyx":300 - * - * cls_providers = tuple( - * (name, provider) # <<<<<<<<<<<<<< - * for name, provider in six.iteritems(attributes) - * if isinstance(provider, Provider) - */ - -static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContainerMetaClass_7__new___3genexpr(PyObject *__pyx_self) { - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_2_genexpr *__pyx_cur_scope; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("genexpr", 0); - __pyx_cur_scope = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_2_genexpr *)__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_2_genexpr(__pyx_ptype_19dependency_injector_10containers___pyx_scope_struct_2_genexpr, __pyx_empty_tuple, NULL); - if (unlikely(!__pyx_cur_scope)) { - __pyx_cur_scope = ((struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_2_genexpr *)Py_None); - __Pyx_INCREF(Py_None); - __PYX_ERR(0, 300, __pyx_L1_error) - } else { - __Pyx_GOTREF(__pyx_cur_scope); - } - __pyx_cur_scope->__pyx_outer_scope = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__ *) __pyx_self; - __Pyx_INCREF(((PyObject *)__pyx_cur_scope->__pyx_outer_scope)); - __Pyx_GIVEREF(__pyx_cur_scope->__pyx_outer_scope); - { - __pyx_CoroutineObject *gen = __Pyx_Generator_New((__pyx_coroutine_body_t) __pyx_gb_19dependency_injector_10containers_29DeclarativeContainerMetaClass_7__new___5generator1, NULL, (PyObject *) __pyx_cur_scope, __pyx_n_s_genexpr, __pyx_n_s_DeclarativeContainerMetaClass, __pyx_n_s_dependency_injector_containers); if (unlikely(!gen)) __PYX_ERR(0, 300, __pyx_L1_error) - __Pyx_DECREF(__pyx_cur_scope); - __Pyx_RefNannyFinishContext(); - return (PyObject *) gen; - } - - /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.containers.DeclarativeContainerMetaClass.__new__.genexpr", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __Pyx_DECREF(((PyObject *)__pyx_cur_scope)); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -static PyObject *__pyx_gb_19dependency_injector_10containers_29DeclarativeContainerMetaClass_7__new___5generator1(__pyx_CoroutineObject *__pyx_generator, CYTHON_UNUSED PyThreadState *__pyx_tstate, PyObject *__pyx_sent_value) /* generator body */ -{ - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_2_genexpr *__pyx_cur_scope = ((struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_2_genexpr *)__pyx_generator->closure); - PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations - PyObject *__pyx_t_1 = NULL; - PyObject *__pyx_t_2 = NULL; - PyObject *__pyx_t_3 = NULL; - Py_ssize_t __pyx_t_4; - PyObject *(*__pyx_t_5)(PyObject *); - PyObject *__pyx_t_6 = NULL; - PyObject *__pyx_t_7 = NULL; - PyObject *(*__pyx_t_8)(PyObject *); - int __pyx_t_9; - int __pyx_t_10; - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("genexpr", 0); - __Pyx_TraceCall("genexpr", __pyx_f[0], 300, 0, __PYX_ERR(0, 300, __pyx_L1_error)); - switch (__pyx_generator->resume_label) { - case 0: goto __pyx_L3_first_run; - case 1: goto __pyx_L9_resume_from_yield; - default: /* CPython raises the right error here */ - __Pyx_TraceReturn(Py_None, 0); - __Pyx_RefNannyFinishContext(); - return NULL; - } - __pyx_L3_first_run:; - if (unlikely(!__pyx_sent_value)) __PYX_ERR(0, 300, __pyx_L1_error) - - /* "dependency_injector/containers.pyx":301 - * cls_providers = tuple( - * (name, provider) - * for name, provider in six.iteritems(attributes) # <<<<<<<<<<<<<< - * if isinstance(provider, Provider) - * ) - */ - __Pyx_TraceLine(301,0,__PYX_ERR(0, 301, __pyx_L1_error)) - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_six); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 301, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_iteritems); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 301, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_cur_scope->__pyx_outer_scope->__pyx_v_attributes)) { __Pyx_RaiseClosureNameError("attributes"); __PYX_ERR(0, 301, __pyx_L1_error) } - __pyx_t_2 = NULL; - if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) { - __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_3); - if (likely(__pyx_t_2)) { - PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3); - __Pyx_INCREF(__pyx_t_2); - __Pyx_INCREF(function); - __Pyx_DECREF_SET(__pyx_t_3, function); - } - } - __pyx_t_1 = (__pyx_t_2) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_2, __pyx_cur_scope->__pyx_outer_scope->__pyx_v_attributes) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_cur_scope->__pyx_outer_scope->__pyx_v_attributes); - __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 301, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (likely(PyList_CheckExact(__pyx_t_1)) || PyTuple_CheckExact(__pyx_t_1)) { - __pyx_t_3 = __pyx_t_1; __Pyx_INCREF(__pyx_t_3); __pyx_t_4 = 0; - __pyx_t_5 = NULL; - } else { - __pyx_t_4 = -1; __pyx_t_3 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 301, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = Py_TYPE(__pyx_t_3)->tp_iternext; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 301, __pyx_L1_error) - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - for (;;) { - if (likely(!__pyx_t_5)) { - if (likely(PyList_CheckExact(__pyx_t_3))) { - if (__pyx_t_4 >= PyList_GET_SIZE(__pyx_t_3)) break; - #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_1 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 301, __pyx_L1_error) - #else - __pyx_t_1 = PySequence_ITEM(__pyx_t_3, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 301, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - #endif - } else { - if (__pyx_t_4 >= PyTuple_GET_SIZE(__pyx_t_3)) break; - #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 301, __pyx_L1_error) - #else - __pyx_t_1 = PySequence_ITEM(__pyx_t_3, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 301, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - #endif - } - } else { - __pyx_t_1 = __pyx_t_5(__pyx_t_3); - if (unlikely(!__pyx_t_1)) { - PyObject* exc_type = PyErr_Occurred(); - if (exc_type) { - if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 301, __pyx_L1_error) - } - break; - } - __Pyx_GOTREF(__pyx_t_1); - } - if ((likely(PyTuple_CheckExact(__pyx_t_1))) || (PyList_CheckExact(__pyx_t_1))) { - PyObject* sequence = __pyx_t_1; - Py_ssize_t size = __Pyx_PySequence_SIZE(sequence); - if (unlikely(size != 2)) { - if (size > 2) __Pyx_RaiseTooManyValuesError(2); - else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 301, __pyx_L1_error) - } - #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - if (likely(PyTuple_CheckExact(sequence))) { - __pyx_t_2 = PyTuple_GET_ITEM(sequence, 0); - __pyx_t_6 = PyTuple_GET_ITEM(sequence, 1); - } else { - __pyx_t_2 = PyList_GET_ITEM(sequence, 0); - __pyx_t_6 = PyList_GET_ITEM(sequence, 1); - } - __Pyx_INCREF(__pyx_t_2); - __Pyx_INCREF(__pyx_t_6); - #else - __pyx_t_2 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 301, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_6 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 301, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_6); - #endif - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - } else { - Py_ssize_t index = -1; - __pyx_t_7 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 301, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_8 = Py_TYPE(__pyx_t_7)->tp_iternext; - index = 0; __pyx_t_2 = __pyx_t_8(__pyx_t_7); if (unlikely(!__pyx_t_2)) goto __pyx_L6_unpacking_failed; - __Pyx_GOTREF(__pyx_t_2); - index = 1; __pyx_t_6 = __pyx_t_8(__pyx_t_7); if (unlikely(!__pyx_t_6)) goto __pyx_L6_unpacking_failed; - __Pyx_GOTREF(__pyx_t_6); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_8(__pyx_t_7), 2) < 0) __PYX_ERR(0, 301, __pyx_L1_error) - __pyx_t_8 = NULL; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - goto __pyx_L7_unpacking_done; - __pyx_L6_unpacking_failed:; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_8 = NULL; - if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 301, __pyx_L1_error) - __pyx_L7_unpacking_done:; - } - __Pyx_XGOTREF(__pyx_cur_scope->__pyx_v_name); - __Pyx_XDECREF_SET(__pyx_cur_scope->__pyx_v_name, __pyx_t_2); - __Pyx_GIVEREF(__pyx_t_2); - __pyx_t_2 = 0; - __Pyx_XGOTREF(__pyx_cur_scope->__pyx_v_provider); - __Pyx_XDECREF_SET(__pyx_cur_scope->__pyx_v_provider, __pyx_t_6); - __Pyx_GIVEREF(__pyx_t_6); - __pyx_t_6 = 0; - - /* "dependency_injector/containers.pyx":302 - * (name, provider) - * for name, provider in six.iteritems(attributes) - * if isinstance(provider, Provider) # <<<<<<<<<<<<<< - * ) - * - */ - __Pyx_TraceLine(302,0,__PYX_ERR(0, 302, __pyx_L1_error)) - __pyx_t_9 = __Pyx_TypeCheck(__pyx_cur_scope->__pyx_v_provider, __pyx_ptype_19dependency_injector_9providers_Provider); - __pyx_t_10 = (__pyx_t_9 != 0); - if (__pyx_t_10) { - - /* "dependency_injector/containers.pyx":300 - * - * cls_providers = tuple( - * (name, provider) # <<<<<<<<<<<<<< - * for name, provider in six.iteritems(attributes) - * if isinstance(provider, Provider) - */ - __Pyx_TraceLine(300,0,__PYX_ERR(0, 300, __pyx_L1_error)) - __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 300, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __Pyx_INCREF(__pyx_cur_scope->__pyx_v_name); - __Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_name); - PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_cur_scope->__pyx_v_name); - __Pyx_INCREF(__pyx_cur_scope->__pyx_v_provider); - __Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_provider); - PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_cur_scope->__pyx_v_provider); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - __Pyx_XGIVEREF(__pyx_t_3); - __pyx_cur_scope->__pyx_t_0 = __pyx_t_3; - __pyx_cur_scope->__pyx_t_1 = __pyx_t_4; - __pyx_cur_scope->__pyx_t_2 = __pyx_t_5; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); - __Pyx_RefNannyFinishContext(); - __Pyx_Coroutine_ResetAndClearException(__pyx_generator); - /* return from generator, yielding value */ - __pyx_generator->resume_label = 1; - return __pyx_r; - __pyx_L9_resume_from_yield:; - __pyx_t_3 = __pyx_cur_scope->__pyx_t_0; - __pyx_cur_scope->__pyx_t_0 = 0; - __Pyx_XGOTREF(__pyx_t_3); - __pyx_t_4 = __pyx_cur_scope->__pyx_t_1; - __pyx_t_5 = __pyx_cur_scope->__pyx_t_2; - if (unlikely(!__pyx_sent_value)) __PYX_ERR(0, 300, __pyx_L1_error) - - /* "dependency_injector/containers.pyx":302 - * (name, provider) - * for name, provider in six.iteritems(attributes) - * if isinstance(provider, Provider) # <<<<<<<<<<<<<< - * ) - * - */ - } - - /* "dependency_injector/containers.pyx":301 - * cls_providers = tuple( - * (name, provider) - * for name, provider in six.iteritems(attributes) # <<<<<<<<<<<<<< - * if isinstance(provider, Provider) - * ) - */ - __Pyx_TraceLine(301,0,__PYX_ERR(0, 301, __pyx_L1_error)) - } - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - CYTHON_MAYBE_UNUSED_VAR(__pyx_cur_scope); - - /* "dependency_injector/containers.pyx":300 - * - * cls_providers = tuple( - * (name, provider) # <<<<<<<<<<<<<< - * for name, provider in six.iteritems(attributes) - * if isinstance(provider, Provider) - */ - - /* function exit code */ - PyErr_SetNone(PyExc_StopIteration); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); - __Pyx_XDECREF(__pyx_t_3); - __Pyx_XDECREF(__pyx_t_6); - __Pyx_XDECREF(__pyx_t_7); - __Pyx_AddTraceback("genexpr", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_L0:; - __Pyx_XDECREF(__pyx_r); __pyx_r = 0; - #if !CYTHON_USE_EXC_INFO_STACK - __Pyx_Coroutine_ResetAndClearException(__pyx_generator); - #endif - __pyx_generator->resume_label = -1; - __Pyx_Coroutine_clear((PyObject*)__pyx_generator); - __Pyx_TraceReturn(__pyx_r, 0); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} -static PyObject *__pyx_gb_19dependency_injector_10containers_29DeclarativeContainerMetaClass_7__new___8generator2(__pyx_CoroutineObject *__pyx_generator, CYTHON_UNUSED PyThreadState *__pyx_tstate, PyObject *__pyx_sent_value); /* proto */ - -/* "dependency_injector/containers.pyx":306 - * - * inherited_providers = tuple( - * (name, provider) # <<<<<<<<<<<<<< - * for base in bases - * if is_container(base) and base is not DynamicContainer - */ - -static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContainerMetaClass_7__new___6genexpr(PyObject *__pyx_self) { - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_3_genexpr *__pyx_cur_scope; - PyObject *__pyx_r = NULL; - __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("genexpr", 0); - __pyx_cur_scope = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_3_genexpr *)__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_3_genexpr(__pyx_ptype_19dependency_injector_10containers___pyx_scope_struct_3_genexpr, __pyx_empty_tuple, NULL); - if (unlikely(!__pyx_cur_scope)) { - __pyx_cur_scope = ((struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_3_genexpr *)Py_None); - __Pyx_INCREF(Py_None); - __PYX_ERR(0, 306, __pyx_L1_error) - } else { - __Pyx_GOTREF(__pyx_cur_scope); - } - __pyx_cur_scope->__pyx_outer_scope = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__ *) __pyx_self; - __Pyx_INCREF(((PyObject *)__pyx_cur_scope->__pyx_outer_scope)); - __Pyx_GIVEREF(__pyx_cur_scope->__pyx_outer_scope); - { - __pyx_CoroutineObject *gen = __Pyx_Generator_New((__pyx_coroutine_body_t) __pyx_gb_19dependency_injector_10containers_29DeclarativeContainerMetaClass_7__new___8generator2, NULL, (PyObject *) __pyx_cur_scope, __pyx_n_s_genexpr, __pyx_n_s_DeclarativeContainerMetaClass, __pyx_n_s_dependency_injector_containers); if (unlikely(!gen)) __PYX_ERR(0, 306, __pyx_L1_error) - __Pyx_DECREF(__pyx_cur_scope); - __Pyx_RefNannyFinishContext(); - return (PyObject *) gen; - } - - /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.containers.DeclarativeContainerMetaClass.__new__.genexpr", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __Pyx_DECREF(((PyObject *)__pyx_cur_scope)); - __Pyx_XGIVEREF(__pyx_r); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -static PyObject *__pyx_gb_19dependency_injector_10containers_29DeclarativeContainerMetaClass_7__new___8generator2(__pyx_CoroutineObject *__pyx_generator, CYTHON_UNUSED PyThreadState *__pyx_tstate, PyObject *__pyx_sent_value) /* generator body */ -{ - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_3_genexpr *__pyx_cur_scope = ((struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_3_genexpr *)__pyx_generator->closure); - PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations - PyObject *__pyx_t_1 = NULL; - Py_ssize_t __pyx_t_2; - PyObject *__pyx_t_3 = NULL; - int __pyx_t_4; - int __pyx_t_5; - int __pyx_t_6; - PyObject *__pyx_t_7 = NULL; - PyObject *__pyx_t_8 = NULL; - PyObject *__pyx_t_9 = NULL; - Py_ssize_t __pyx_t_10; - PyObject *(*__pyx_t_11)(PyObject *); - PyObject *__pyx_t_12 = NULL; - PyObject *(*__pyx_t_13)(PyObject *); - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; - __Pyx_RefNannyDeclarations - __Pyx_RefNannySetupContext("genexpr", 0); - __Pyx_TraceCall("genexpr", __pyx_f[0], 306, 0, __PYX_ERR(0, 306, __pyx_L1_error)); - switch (__pyx_generator->resume_label) { - case 0: goto __pyx_L3_first_run; - case 1: goto __pyx_L13_resume_from_yield; - default: /* CPython raises the right error here */ - __Pyx_TraceReturn(Py_None, 0); - __Pyx_RefNannyFinishContext(); - return NULL; - } - __pyx_L3_first_run:; - if (unlikely(!__pyx_sent_value)) __PYX_ERR(0, 306, __pyx_L1_error) - - /* "dependency_injector/containers.pyx":307 - * inherited_providers = tuple( - * (name, provider) - * for base in bases # <<<<<<<<<<<<<< - * if is_container(base) and base is not DynamicContainer - * for name, provider in six.iteritems(base.providers) - */ - __Pyx_TraceLine(307,0,__PYX_ERR(0, 307, __pyx_L1_error)) - if (unlikely(!__pyx_cur_scope->__pyx_outer_scope->__pyx_v_bases)) { __Pyx_RaiseClosureNameError("bases"); __PYX_ERR(0, 307, __pyx_L1_error) } - if (unlikely(__pyx_cur_scope->__pyx_outer_scope->__pyx_v_bases == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); - __PYX_ERR(0, 307, __pyx_L1_error) - } - __pyx_t_1 = __pyx_cur_scope->__pyx_outer_scope->__pyx_v_bases; __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = 0; - for (;;) { - if (__pyx_t_2 >= PyTuple_GET_SIZE(__pyx_t_1)) break; - #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_3); __pyx_t_2++; if (unlikely(0 < 0)) __PYX_ERR(0, 307, __pyx_L1_error) - #else - __pyx_t_3 = PySequence_ITEM(__pyx_t_1, __pyx_t_2); __pyx_t_2++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 307, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - #endif - __Pyx_XGOTREF(__pyx_cur_scope->__pyx_v_base); - __Pyx_XDECREF_SET(__pyx_cur_scope->__pyx_v_base, __pyx_t_3); - __Pyx_GIVEREF(__pyx_t_3); - __pyx_t_3 = 0; - - /* "dependency_injector/containers.pyx":308 - * (name, provider) - * for base in bases - * if is_container(base) and base is not DynamicContainer # <<<<<<<<<<<<<< - * for name, provider in six.iteritems(base.providers) - * ) - */ - __Pyx_TraceLine(308,0,__PYX_ERR(0, 308, __pyx_L1_error)) - __pyx_t_5 = (__pyx_f_19dependency_injector_10containers_is_container(__pyx_cur_scope->__pyx_v_base, 0) != 0); - if (__pyx_t_5) { - } else { - __pyx_t_4 = __pyx_t_5; - goto __pyx_L7_bool_binop_done; - } - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_DynamicContainer); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 308, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = (__pyx_cur_scope->__pyx_v_base != __pyx_t_3); - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_6 = (__pyx_t_5 != 0); - __pyx_t_4 = __pyx_t_6; - __pyx_L7_bool_binop_done:; - if (__pyx_t_4) { - - /* "dependency_injector/containers.pyx":309 - * for base in bases - * if is_container(base) and base is not DynamicContainer - * for name, provider in six.iteritems(base.providers) # <<<<<<<<<<<<<< - * ) - * - */ - __Pyx_TraceLine(309,0,__PYX_ERR(0, 309, __pyx_L1_error)) - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_six); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 309, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_iteritems); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 309, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_8); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_cur_scope->__pyx_v_base, __pyx_n_s_providers); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 309, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_9 = NULL; - if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_8))) { - __pyx_t_9 = PyMethod_GET_SELF(__pyx_t_8); - if (likely(__pyx_t_9)) { - PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_8); - __Pyx_INCREF(__pyx_t_9); - __Pyx_INCREF(function); - __Pyx_DECREF_SET(__pyx_t_8, function); - } - } - __pyx_t_3 = (__pyx_t_9) ? __Pyx_PyObject_Call2Args(__pyx_t_8, __pyx_t_9, __pyx_t_7) : __Pyx_PyObject_CallOneArg(__pyx_t_8, __pyx_t_7); - __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 309, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - if (likely(PyList_CheckExact(__pyx_t_3)) || PyTuple_CheckExact(__pyx_t_3)) { - __pyx_t_8 = __pyx_t_3; __Pyx_INCREF(__pyx_t_8); __pyx_t_10 = 0; - __pyx_t_11 = NULL; - } else { - __pyx_t_10 = -1; __pyx_t_8 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 309, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_11 = Py_TYPE(__pyx_t_8)->tp_iternext; if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 309, __pyx_L1_error) - } - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - for (;;) { - if (likely(!__pyx_t_11)) { - if (likely(PyList_CheckExact(__pyx_t_8))) { - if (__pyx_t_10 >= PyList_GET_SIZE(__pyx_t_8)) break; - #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_3 = PyList_GET_ITEM(__pyx_t_8, __pyx_t_10); __Pyx_INCREF(__pyx_t_3); __pyx_t_10++; if (unlikely(0 < 0)) __PYX_ERR(0, 309, __pyx_L1_error) - #else - __pyx_t_3 = PySequence_ITEM(__pyx_t_8, __pyx_t_10); __pyx_t_10++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 309, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - #endif - } else { - if (__pyx_t_10 >= PyTuple_GET_SIZE(__pyx_t_8)) break; - #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_8, __pyx_t_10); __Pyx_INCREF(__pyx_t_3); __pyx_t_10++; if (unlikely(0 < 0)) __PYX_ERR(0, 309, __pyx_L1_error) - #else - __pyx_t_3 = PySequence_ITEM(__pyx_t_8, __pyx_t_10); __pyx_t_10++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 309, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - #endif - } - } else { - __pyx_t_3 = __pyx_t_11(__pyx_t_8); - if (unlikely(!__pyx_t_3)) { - PyObject* exc_type = PyErr_Occurred(); - if (exc_type) { - if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 309, __pyx_L1_error) - } - break; - } - __Pyx_GOTREF(__pyx_t_3); - } - if ((likely(PyTuple_CheckExact(__pyx_t_3))) || (PyList_CheckExact(__pyx_t_3))) { - PyObject* sequence = __pyx_t_3; - Py_ssize_t size = __Pyx_PySequence_SIZE(sequence); - if (unlikely(size != 2)) { - if (size > 2) __Pyx_RaiseTooManyValuesError(2); - else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 309, __pyx_L1_error) - } - #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - if (likely(PyTuple_CheckExact(sequence))) { - __pyx_t_7 = PyTuple_GET_ITEM(sequence, 0); - __pyx_t_9 = PyTuple_GET_ITEM(sequence, 1); - } else { - __pyx_t_7 = PyList_GET_ITEM(sequence, 0); - __pyx_t_9 = PyList_GET_ITEM(sequence, 1); - } - __Pyx_INCREF(__pyx_t_7); - __Pyx_INCREF(__pyx_t_9); - #else - __pyx_t_7 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 309, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_9 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 309, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_9); - #endif - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - } else { - Py_ssize_t index = -1; - __pyx_t_12 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 309, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_12); - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_13 = Py_TYPE(__pyx_t_12)->tp_iternext; - index = 0; __pyx_t_7 = __pyx_t_13(__pyx_t_12); if (unlikely(!__pyx_t_7)) goto __pyx_L11_unpacking_failed; - __Pyx_GOTREF(__pyx_t_7); - index = 1; __pyx_t_9 = __pyx_t_13(__pyx_t_12); if (unlikely(!__pyx_t_9)) goto __pyx_L11_unpacking_failed; - __Pyx_GOTREF(__pyx_t_9); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_13(__pyx_t_12), 2) < 0) __PYX_ERR(0, 309, __pyx_L1_error) - __pyx_t_13 = NULL; - __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; - goto __pyx_L12_unpacking_done; - __pyx_L11_unpacking_failed:; - __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; - __pyx_t_13 = NULL; - if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 309, __pyx_L1_error) - __pyx_L12_unpacking_done:; - } - __Pyx_XGOTREF(__pyx_cur_scope->__pyx_v_name); - __Pyx_XDECREF_SET(__pyx_cur_scope->__pyx_v_name, __pyx_t_7); - __Pyx_GIVEREF(__pyx_t_7); - __pyx_t_7 = 0; - __Pyx_XGOTREF(__pyx_cur_scope->__pyx_v_provider); - __Pyx_XDECREF_SET(__pyx_cur_scope->__pyx_v_provider, __pyx_t_9); - __Pyx_GIVEREF(__pyx_t_9); - __pyx_t_9 = 0; - - /* "dependency_injector/containers.pyx":306 - * - * inherited_providers = tuple( - * (name, provider) # <<<<<<<<<<<<<< - * for base in bases - * if is_container(base) and base is not DynamicContainer - */ - __Pyx_TraceLine(306,0,__PYX_ERR(0, 306, __pyx_L1_error)) - __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 306, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - __Pyx_INCREF(__pyx_cur_scope->__pyx_v_name); - __Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_name); - PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_cur_scope->__pyx_v_name); - __Pyx_INCREF(__pyx_cur_scope->__pyx_v_provider); - __Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_provider); - PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_cur_scope->__pyx_v_provider); - __pyx_r = __pyx_t_3; - __pyx_t_3 = 0; - __Pyx_XGIVEREF(__pyx_t_1); - __pyx_cur_scope->__pyx_t_0 = __pyx_t_1; - __pyx_cur_scope->__pyx_t_1 = __pyx_t_2; - __Pyx_XGIVEREF(__pyx_t_8); - __pyx_cur_scope->__pyx_t_2 = __pyx_t_8; - __pyx_cur_scope->__pyx_t_3 = __pyx_t_10; - __pyx_cur_scope->__pyx_t_4 = __pyx_t_11; - __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); - __Pyx_RefNannyFinishContext(); - __Pyx_Coroutine_ResetAndClearException(__pyx_generator); - /* return from generator, yielding value */ - __pyx_generator->resume_label = 1; - return __pyx_r; - __pyx_L13_resume_from_yield:; - __pyx_t_1 = __pyx_cur_scope->__pyx_t_0; - __pyx_cur_scope->__pyx_t_0 = 0; - __Pyx_XGOTREF(__pyx_t_1); - __pyx_t_2 = __pyx_cur_scope->__pyx_t_1; - __pyx_t_8 = __pyx_cur_scope->__pyx_t_2; - __pyx_cur_scope->__pyx_t_2 = 0; - __Pyx_XGOTREF(__pyx_t_8); - __pyx_t_10 = __pyx_cur_scope->__pyx_t_3; - __pyx_t_11 = __pyx_cur_scope->__pyx_t_4; - if (unlikely(!__pyx_sent_value)) __PYX_ERR(0, 306, __pyx_L1_error) - - /* "dependency_injector/containers.pyx":309 - * for base in bases - * if is_container(base) and base is not DynamicContainer - * for name, provider in six.iteritems(base.providers) # <<<<<<<<<<<<<< - * ) - * - */ - __Pyx_TraceLine(309,0,__PYX_ERR(0, 309, __pyx_L1_error)) - } - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - - /* "dependency_injector/containers.pyx":308 - * (name, provider) - * for base in bases - * if is_container(base) and base is not DynamicContainer # <<<<<<<<<<<<<< - * for name, provider in six.iteritems(base.providers) - * ) - */ - } - - /* "dependency_injector/containers.pyx":307 - * inherited_providers = tuple( - * (name, provider) - * for base in bases # <<<<<<<<<<<<<< - * if is_container(base) and base is not DynamicContainer - * for name, provider in six.iteritems(base.providers) - */ - __Pyx_TraceLine(307,0,__PYX_ERR(0, 307, __pyx_L1_error)) - } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - CYTHON_MAYBE_UNUSED_VAR(__pyx_cur_scope); - - /* "dependency_injector/containers.pyx":306 - * - * inherited_providers = tuple( - * (name, provider) # <<<<<<<<<<<<<< - * for base in bases - * if is_container(base) and base is not DynamicContainer - */ - - /* function exit code */ - PyErr_SetNone(PyExc_StopIteration); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_3); - __Pyx_XDECREF(__pyx_t_7); - __Pyx_XDECREF(__pyx_t_8); - __Pyx_XDECREF(__pyx_t_9); - __Pyx_XDECREF(__pyx_t_12); - __Pyx_AddTraceback("genexpr", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_L0:; - __Pyx_XDECREF(__pyx_r); __pyx_r = 0; - #if !CYTHON_USE_EXC_INFO_STACK - __Pyx_Coroutine_ResetAndClearException(__pyx_generator); - #endif - __pyx_generator->resume_label = -1; - __Pyx_Coroutine_clear((PyObject*)__pyx_generator); - __Pyx_TraceReturn(__pyx_r, 0); - __Pyx_RefNannyFinishContext(); - return __pyx_r; -} - -/* "dependency_injector/containers.pyx":285 - * """Declarative inversion of control container meta class.""" - * - * def __new__(type mcs, str class_name, tuple bases, dict attributes): # <<<<<<<<<<<<<< - * """Declarative container class factory.""" - * cdef tuple cls_providers - */ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContainerMetaClass___new__(CYTHON_UNUSED PyObject *__pyx_self, PyTypeObject *__pyx_v_mcs, PyObject *__pyx_v_class_name, PyObject *__pyx_v_bases, PyObject *__pyx_v_attributes) { - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__ *__pyx_cur_scope; - PyObject *__pyx_v_cls_providers = 0; - PyObject *__pyx_v_inherited_providers = 0; - PyTypeObject *__pyx_v_cls = 0; PyObject *__pyx_v_containers = NULL; + PyObject *__pyx_v_cls_providers = NULL; + PyObject *__pyx_v_inherited_providers = NULL; + PyObject *__pyx_v_providers = NULL; + PyTypeObject *__pyx_v_cls = NULL; PyObject *__pyx_v_provider = NULL; + PyObject *__pyx_8genexpr1__pyx_v_name = NULL; + PyObject *__pyx_8genexpr1__pyx_v_container = NULL; + PyObject *__pyx_8genexpr2__pyx_v_name = NULL; + PyObject *__pyx_8genexpr2__pyx_v_provider = NULL; + PyObject *__pyx_8genexpr3__pyx_v_base = NULL; + PyObject *__pyx_8genexpr3__pyx_v_name = NULL; + PyObject *__pyx_8genexpr3__pyx_v_provider = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; PyObject *__pyx_t_3 = NULL; - int __pyx_t_4; - PyObject *__pyx_t_5 = NULL; - Py_ssize_t __pyx_t_6; - PyObject *(*__pyx_t_7)(PyObject *); + PyObject *__pyx_t_4 = NULL; + Py_ssize_t __pyx_t_5; + PyObject *(*__pyx_t_6)(PyObject *); + PyObject *__pyx_t_7 = NULL; + PyObject *__pyx_t_8 = NULL; + PyObject *(*__pyx_t_9)(PyObject *); + int __pyx_t_10; + int __pyx_t_11; + int __pyx_t_12; + Py_ssize_t __pyx_t_13; + PyObject *__pyx_t_14 = NULL; + int __pyx_t_15; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__20) __Pyx_RefNannySetupContext("__new__", 0); - __pyx_cur_scope = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__ *)__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct____new__(__pyx_ptype_19dependency_injector_10containers___pyx_scope_struct____new__, __pyx_empty_tuple, NULL); - if (unlikely(!__pyx_cur_scope)) { - __pyx_cur_scope = ((struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__ *)Py_None); - __Pyx_INCREF(Py_None); - __PYX_ERR(0, 285, __pyx_L1_error) - } else { - __Pyx_GOTREF(__pyx_cur_scope); - } - __Pyx_TraceCall("__new__", __pyx_f[0], 285, 0, __PYX_ERR(0, 285, __pyx_L1_error)); - __pyx_cur_scope->__pyx_v_bases = __pyx_v_bases; - __Pyx_INCREF(__pyx_cur_scope->__pyx_v_bases); - __Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_bases); - __pyx_cur_scope->__pyx_v_attributes = __pyx_v_attributes; - __Pyx_INCREF(__pyx_cur_scope->__pyx_v_attributes); - __Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_attributes); - /* "dependency_injector/containers.pyx":292 + /* "dependency_injector/containers.pyx":287 + * def __new__(type mcs, str class_name, tuple bases, dict attributes): + * """Declarative container class factory.""" + * containers = { # <<<<<<<<<<<<<< + * name: container + * for name, container in six.iteritems(attributes) + */ + { /* enter inner scope */ + __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 287, __pyx_L5_error) + __Pyx_GOTREF(__pyx_t_1); + + /* "dependency_injector/containers.pyx":289 + * containers = { + * name: container + * for name, container in six.iteritems(attributes) # <<<<<<<<<<<<<< + * if is_container(container) + * } + */ + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_six); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 289, __pyx_L5_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_iteritems); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 289, __pyx_L5_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_3 = NULL; + if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_4))) { + __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4); + if (likely(__pyx_t_3)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4); + __Pyx_INCREF(__pyx_t_3); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_4, function); + } + } + __pyx_t_2 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_3, __pyx_v_attributes) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_v_attributes); + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 289, __pyx_L5_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (likely(PyList_CheckExact(__pyx_t_2)) || PyTuple_CheckExact(__pyx_t_2)) { + __pyx_t_4 = __pyx_t_2; __Pyx_INCREF(__pyx_t_4); __pyx_t_5 = 0; + __pyx_t_6 = NULL; + } else { + __pyx_t_5 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 289, __pyx_L5_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_6 = Py_TYPE(__pyx_t_4)->tp_iternext; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 289, __pyx_L5_error) + } + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + for (;;) { + if (likely(!__pyx_t_6)) { + if (likely(PyList_CheckExact(__pyx_t_4))) { + if (__pyx_t_5 >= PyList_GET_SIZE(__pyx_t_4)) break; + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_2 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_2); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 289, __pyx_L5_error) + #else + __pyx_t_2 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 289, __pyx_L5_error) + __Pyx_GOTREF(__pyx_t_2); + #endif + } else { + if (__pyx_t_5 >= PyTuple_GET_SIZE(__pyx_t_4)) break; + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_2 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_2); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 289, __pyx_L5_error) + #else + __pyx_t_2 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 289, __pyx_L5_error) + __Pyx_GOTREF(__pyx_t_2); + #endif + } + } else { + __pyx_t_2 = __pyx_t_6(__pyx_t_4); + if (unlikely(!__pyx_t_2)) { + PyObject* exc_type = PyErr_Occurred(); + if (exc_type) { + if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); + else __PYX_ERR(0, 289, __pyx_L5_error) + } + break; + } + __Pyx_GOTREF(__pyx_t_2); + } + if ((likely(PyTuple_CheckExact(__pyx_t_2))) || (PyList_CheckExact(__pyx_t_2))) { + PyObject* sequence = __pyx_t_2; + Py_ssize_t size = __Pyx_PySequence_SIZE(sequence); + if (unlikely(size != 2)) { + if (size > 2) __Pyx_RaiseTooManyValuesError(2); + else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); + __PYX_ERR(0, 289, __pyx_L5_error) + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + if (likely(PyTuple_CheckExact(sequence))) { + __pyx_t_3 = PyTuple_GET_ITEM(sequence, 0); + __pyx_t_7 = PyTuple_GET_ITEM(sequence, 1); + } else { + __pyx_t_3 = PyList_GET_ITEM(sequence, 0); + __pyx_t_7 = PyList_GET_ITEM(sequence, 1); + } + __Pyx_INCREF(__pyx_t_3); + __Pyx_INCREF(__pyx_t_7); + #else + __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 289, __pyx_L5_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_7 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 289, __pyx_L5_error) + __Pyx_GOTREF(__pyx_t_7); + #endif + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + } else { + Py_ssize_t index = -1; + __pyx_t_8 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 289, __pyx_L5_error) + __Pyx_GOTREF(__pyx_t_8); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_9 = Py_TYPE(__pyx_t_8)->tp_iternext; + index = 0; __pyx_t_3 = __pyx_t_9(__pyx_t_8); if (unlikely(!__pyx_t_3)) goto __pyx_L8_unpacking_failed; + __Pyx_GOTREF(__pyx_t_3); + index = 1; __pyx_t_7 = __pyx_t_9(__pyx_t_8); if (unlikely(!__pyx_t_7)) goto __pyx_L8_unpacking_failed; + __Pyx_GOTREF(__pyx_t_7); + if (__Pyx_IternextUnpackEndCheck(__pyx_t_9(__pyx_t_8), 2) < 0) __PYX_ERR(0, 289, __pyx_L5_error) + __pyx_t_9 = NULL; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + goto __pyx_L9_unpacking_done; + __pyx_L8_unpacking_failed:; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_9 = NULL; + if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); + __PYX_ERR(0, 289, __pyx_L5_error) + __pyx_L9_unpacking_done:; + } + __Pyx_XDECREF_SET(__pyx_8genexpr1__pyx_v_name, __pyx_t_3); + __pyx_t_3 = 0; + __Pyx_XDECREF_SET(__pyx_8genexpr1__pyx_v_container, __pyx_t_7); + __pyx_t_7 = 0; + + /* "dependency_injector/containers.pyx":290 + * name: container + * for name, container in six.iteritems(attributes) + * if is_container(container) # <<<<<<<<<<<<<< + * } * - * containers = tuple( - * (name, container) # <<<<<<<<<<<<<< + */ + __pyx_t_10 = (__pyx_f_19dependency_injector_10containers_is_container(__pyx_8genexpr1__pyx_v_container, 0) != 0); + if (__pyx_t_10) { + + /* "dependency_injector/containers.pyx":288 + * """Declarative container class factory.""" + * containers = { + * name: container # <<<<<<<<<<<<<< * for name, container in six.iteritems(attributes) * if is_container(container) */ - __Pyx_TraceLine(292,0,__PYX_ERR(0, 292, __pyx_L1_error)) - __pyx_t_1 = __pyx_pf_19dependency_injector_10containers_29DeclarativeContainerMetaClass_7__new___genexpr(((PyObject*)__pyx_cur_scope)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 292, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + if (unlikely(PyDict_SetItem(__pyx_t_1, (PyObject*)__pyx_8genexpr1__pyx_v_name, (PyObject*)__pyx_8genexpr1__pyx_v_container))) __PYX_ERR(0, 288, __pyx_L5_error) - /* "dependency_injector/containers.pyx":291 - * cdef type cls - * - * containers = tuple( # <<<<<<<<<<<<<< - * (name, container) + /* "dependency_injector/containers.pyx":290 + * name: container * for name, container in six.iteritems(attributes) + * if is_container(container) # <<<<<<<<<<<<<< + * } + * */ - __Pyx_TraceLine(291,0,__PYX_ERR(0, 291, __pyx_L1_error)) - __pyx_t_2 = __Pyx_PySequence_Tuple(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 291, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_v_containers = ((PyObject*)__pyx_t_2); - __pyx_t_2 = 0; + } - /* "dependency_injector/containers.pyx":297 - * ) - * - * attributes['containers'] = dict(containers) # <<<<<<<<<<<<<< - * - * cls_providers = tuple( + /* "dependency_injector/containers.pyx":289 + * containers = { + * name: container + * for name, container in six.iteritems(attributes) # <<<<<<<<<<<<<< + * if is_container(container) + * } */ - __Pyx_TraceLine(297,0,__PYX_ERR(0, 297, __pyx_L1_error)) - __pyx_t_2 = __Pyx_PyObject_CallOneArg(((PyObject *)(&PyDict_Type)), __pyx_v_containers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 297, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (unlikely(__pyx_cur_scope->__pyx_v_attributes == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); - __PYX_ERR(0, 297, __pyx_L1_error) - } - if (unlikely(PyDict_SetItem(__pyx_cur_scope->__pyx_v_attributes, __pyx_n_s_containers, __pyx_t_2) < 0)) __PYX_ERR(0, 297, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + } + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_XDECREF(__pyx_8genexpr1__pyx_v_container); __pyx_8genexpr1__pyx_v_container = 0; + __Pyx_XDECREF(__pyx_8genexpr1__pyx_v_name); __pyx_8genexpr1__pyx_v_name = 0; + goto __pyx_L11_exit_scope; + __pyx_L5_error:; + __Pyx_XDECREF(__pyx_8genexpr1__pyx_v_container); __pyx_8genexpr1__pyx_v_container = 0; + __Pyx_XDECREF(__pyx_8genexpr1__pyx_v_name); __pyx_8genexpr1__pyx_v_name = 0; + goto __pyx_L1_error; + __pyx_L11_exit_scope:; + } /* exit inner scope */ + __pyx_v_containers = ((PyObject*)__pyx_t_1); + __pyx_t_1 = 0; - /* "dependency_injector/containers.pyx":300 + /* "dependency_injector/containers.pyx":293 + * } * - * cls_providers = tuple( - * (name, provider) # <<<<<<<<<<<<<< + * cls_providers = { # <<<<<<<<<<<<<< + * name: provider + * for name, provider in six.iteritems(attributes) + */ + { /* enter inner scope */ + __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 293, __pyx_L14_error) + __Pyx_GOTREF(__pyx_t_1); + + /* "dependency_injector/containers.pyx":295 + * cls_providers = { + * name: provider + * for name, provider in six.iteritems(attributes) # <<<<<<<<<<<<<< + * if isinstance(provider, Provider) + * } + */ + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_six); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 295, __pyx_L14_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_iteritems); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 295, __pyx_L14_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_2 = NULL; + if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_7))) { + __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_7); + if (likely(__pyx_t_2)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_7); + __Pyx_INCREF(__pyx_t_2); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_7, function); + } + } + __pyx_t_4 = (__pyx_t_2) ? __Pyx_PyObject_Call2Args(__pyx_t_7, __pyx_t_2, __pyx_v_attributes) : __Pyx_PyObject_CallOneArg(__pyx_t_7, __pyx_v_attributes); + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 295, __pyx_L14_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + if (likely(PyList_CheckExact(__pyx_t_4)) || PyTuple_CheckExact(__pyx_t_4)) { + __pyx_t_7 = __pyx_t_4; __Pyx_INCREF(__pyx_t_7); __pyx_t_5 = 0; + __pyx_t_6 = NULL; + } else { + __pyx_t_5 = -1; __pyx_t_7 = PyObject_GetIter(__pyx_t_4); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 295, __pyx_L14_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_6 = Py_TYPE(__pyx_t_7)->tp_iternext; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 295, __pyx_L14_error) + } + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + for (;;) { + if (likely(!__pyx_t_6)) { + if (likely(PyList_CheckExact(__pyx_t_7))) { + if (__pyx_t_5 >= PyList_GET_SIZE(__pyx_t_7)) break; + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_4 = PyList_GET_ITEM(__pyx_t_7, __pyx_t_5); __Pyx_INCREF(__pyx_t_4); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 295, __pyx_L14_error) + #else + __pyx_t_4 = PySequence_ITEM(__pyx_t_7, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 295, __pyx_L14_error) + __Pyx_GOTREF(__pyx_t_4); + #endif + } else { + if (__pyx_t_5 >= PyTuple_GET_SIZE(__pyx_t_7)) break; + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_4 = PyTuple_GET_ITEM(__pyx_t_7, __pyx_t_5); __Pyx_INCREF(__pyx_t_4); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 295, __pyx_L14_error) + #else + __pyx_t_4 = PySequence_ITEM(__pyx_t_7, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 295, __pyx_L14_error) + __Pyx_GOTREF(__pyx_t_4); + #endif + } + } else { + __pyx_t_4 = __pyx_t_6(__pyx_t_7); + if (unlikely(!__pyx_t_4)) { + PyObject* exc_type = PyErr_Occurred(); + if (exc_type) { + if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); + else __PYX_ERR(0, 295, __pyx_L14_error) + } + break; + } + __Pyx_GOTREF(__pyx_t_4); + } + if ((likely(PyTuple_CheckExact(__pyx_t_4))) || (PyList_CheckExact(__pyx_t_4))) { + PyObject* sequence = __pyx_t_4; + Py_ssize_t size = __Pyx_PySequence_SIZE(sequence); + if (unlikely(size != 2)) { + if (size > 2) __Pyx_RaiseTooManyValuesError(2); + else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); + __PYX_ERR(0, 295, __pyx_L14_error) + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + if (likely(PyTuple_CheckExact(sequence))) { + __pyx_t_2 = PyTuple_GET_ITEM(sequence, 0); + __pyx_t_3 = PyTuple_GET_ITEM(sequence, 1); + } else { + __pyx_t_2 = PyList_GET_ITEM(sequence, 0); + __pyx_t_3 = PyList_GET_ITEM(sequence, 1); + } + __Pyx_INCREF(__pyx_t_2); + __Pyx_INCREF(__pyx_t_3); + #else + __pyx_t_2 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 295, __pyx_L14_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 295, __pyx_L14_error) + __Pyx_GOTREF(__pyx_t_3); + #endif + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + } else { + Py_ssize_t index = -1; + __pyx_t_8 = PyObject_GetIter(__pyx_t_4); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 295, __pyx_L14_error) + __Pyx_GOTREF(__pyx_t_8); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_9 = Py_TYPE(__pyx_t_8)->tp_iternext; + index = 0; __pyx_t_2 = __pyx_t_9(__pyx_t_8); if (unlikely(!__pyx_t_2)) goto __pyx_L17_unpacking_failed; + __Pyx_GOTREF(__pyx_t_2); + index = 1; __pyx_t_3 = __pyx_t_9(__pyx_t_8); if (unlikely(!__pyx_t_3)) goto __pyx_L17_unpacking_failed; + __Pyx_GOTREF(__pyx_t_3); + if (__Pyx_IternextUnpackEndCheck(__pyx_t_9(__pyx_t_8), 2) < 0) __PYX_ERR(0, 295, __pyx_L14_error) + __pyx_t_9 = NULL; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + goto __pyx_L18_unpacking_done; + __pyx_L17_unpacking_failed:; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_9 = NULL; + if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); + __PYX_ERR(0, 295, __pyx_L14_error) + __pyx_L18_unpacking_done:; + } + __Pyx_XDECREF_SET(__pyx_8genexpr2__pyx_v_name, __pyx_t_2); + __pyx_t_2 = 0; + __Pyx_XDECREF_SET(__pyx_8genexpr2__pyx_v_provider, __pyx_t_3); + __pyx_t_3 = 0; + + /* "dependency_injector/containers.pyx":296 + * name: provider + * for name, provider in six.iteritems(attributes) + * if isinstance(provider, Provider) # <<<<<<<<<<<<<< + * } + * + */ + __pyx_t_10 = __Pyx_TypeCheck(__pyx_8genexpr2__pyx_v_provider, __pyx_ptype_19dependency_injector_9providers_Provider); + __pyx_t_11 = (__pyx_t_10 != 0); + if (__pyx_t_11) { + + /* "dependency_injector/containers.pyx":294 + * + * cls_providers = { + * name: provider # <<<<<<<<<<<<<< * for name, provider in six.iteritems(attributes) * if isinstance(provider, Provider) */ - __Pyx_TraceLine(300,0,__PYX_ERR(0, 300, __pyx_L1_error)) - __pyx_t_2 = __pyx_pf_19dependency_injector_10containers_29DeclarativeContainerMetaClass_7__new___3genexpr(((PyObject*)__pyx_cur_scope)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 300, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + if (unlikely(PyDict_SetItem(__pyx_t_1, (PyObject*)__pyx_8genexpr2__pyx_v_name, (PyObject*)__pyx_8genexpr2__pyx_v_provider))) __PYX_ERR(0, 294, __pyx_L14_error) - /* "dependency_injector/containers.pyx":299 - * attributes['containers'] = dict(containers) - * - * cls_providers = tuple( # <<<<<<<<<<<<<< - * (name, provider) + /* "dependency_injector/containers.pyx":296 + * name: provider * for name, provider in six.iteritems(attributes) + * if isinstance(provider, Provider) # <<<<<<<<<<<<<< + * } + * */ - __Pyx_TraceLine(299,0,__PYX_ERR(0, 299, __pyx_L1_error)) - __pyx_t_1 = __Pyx_PySequence_Tuple(__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 299, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + } + + /* "dependency_injector/containers.pyx":295 + * cls_providers = { + * name: provider + * for name, provider in six.iteritems(attributes) # <<<<<<<<<<<<<< + * if isinstance(provider, Provider) + * } + */ + } + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_XDECREF(__pyx_8genexpr2__pyx_v_name); __pyx_8genexpr2__pyx_v_name = 0; + __Pyx_XDECREF(__pyx_8genexpr2__pyx_v_provider); __pyx_8genexpr2__pyx_v_provider = 0; + goto __pyx_L20_exit_scope; + __pyx_L14_error:; + __Pyx_XDECREF(__pyx_8genexpr2__pyx_v_name); __pyx_8genexpr2__pyx_v_name = 0; + __Pyx_XDECREF(__pyx_8genexpr2__pyx_v_provider); __pyx_8genexpr2__pyx_v_provider = 0; + goto __pyx_L1_error; + __pyx_L20_exit_scope:; + } /* exit inner scope */ __pyx_v_cls_providers = ((PyObject*)__pyx_t_1); __pyx_t_1 = 0; - /* "dependency_injector/containers.pyx":306 + /* "dependency_injector/containers.pyx":299 + * } * - * inherited_providers = tuple( - * (name, provider) # <<<<<<<<<<<<<< + * inherited_providers = { # <<<<<<<<<<<<<< + * name: provider + * for base in bases + */ + { /* enter inner scope */ + __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 299, __pyx_L23_error) + __Pyx_GOTREF(__pyx_t_1); + + /* "dependency_injector/containers.pyx":301 + * inherited_providers = { + * name: provider + * for base in bases # <<<<<<<<<<<<<< + * if is_container(base) and base is not DynamicContainer + * for name, provider in six.iteritems(base.providers) + */ + if (unlikely(__pyx_v_bases == Py_None)) { + PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); + __PYX_ERR(0, 301, __pyx_L23_error) + } + __pyx_t_7 = __pyx_v_bases; __Pyx_INCREF(__pyx_t_7); __pyx_t_5 = 0; + for (;;) { + if (__pyx_t_5 >= PyTuple_GET_SIZE(__pyx_t_7)) break; + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_4 = PyTuple_GET_ITEM(__pyx_t_7, __pyx_t_5); __Pyx_INCREF(__pyx_t_4); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 301, __pyx_L23_error) + #else + __pyx_t_4 = PySequence_ITEM(__pyx_t_7, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 301, __pyx_L23_error) + __Pyx_GOTREF(__pyx_t_4); + #endif + __Pyx_XDECREF_SET(__pyx_8genexpr3__pyx_v_base, __pyx_t_4); + __pyx_t_4 = 0; + + /* "dependency_injector/containers.pyx":302 + * name: provider + * for base in bases + * if is_container(base) and base is not DynamicContainer # <<<<<<<<<<<<<< + * for name, provider in six.iteritems(base.providers) + * } + */ + __pyx_t_10 = (__pyx_f_19dependency_injector_10containers_is_container(__pyx_8genexpr3__pyx_v_base, 0) != 0); + if (__pyx_t_10) { + } else { + __pyx_t_11 = __pyx_t_10; + goto __pyx_L27_bool_binop_done; + } + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DynamicContainer); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 302, __pyx_L23_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_10 = (__pyx_8genexpr3__pyx_v_base != __pyx_t_4); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_12 = (__pyx_t_10 != 0); + __pyx_t_11 = __pyx_t_12; + __pyx_L27_bool_binop_done:; + if (__pyx_t_11) { + + /* "dependency_injector/containers.pyx":303 + * for base in bases + * if is_container(base) and base is not DynamicContainer + * for name, provider in six.iteritems(base.providers) # <<<<<<<<<<<<<< + * } + * + */ + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_six); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 303, __pyx_L23_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_iteritems); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 303, __pyx_L23_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_8genexpr3__pyx_v_base, __pyx_n_s_providers); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 303, __pyx_L23_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_8 = NULL; + if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_2))) { + __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_2); + if (likely(__pyx_t_8)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2); + __Pyx_INCREF(__pyx_t_8); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_2, function); + } + } + __pyx_t_4 = (__pyx_t_8) ? __Pyx_PyObject_Call2Args(__pyx_t_2, __pyx_t_8, __pyx_t_3) : __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3); + __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 303, __pyx_L23_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + if (likely(PyList_CheckExact(__pyx_t_4)) || PyTuple_CheckExact(__pyx_t_4)) { + __pyx_t_2 = __pyx_t_4; __Pyx_INCREF(__pyx_t_2); __pyx_t_13 = 0; + __pyx_t_6 = NULL; + } else { + __pyx_t_13 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_t_4); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 303, __pyx_L23_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_6 = Py_TYPE(__pyx_t_2)->tp_iternext; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 303, __pyx_L23_error) + } + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + for (;;) { + if (likely(!__pyx_t_6)) { + if (likely(PyList_CheckExact(__pyx_t_2))) { + if (__pyx_t_13 >= PyList_GET_SIZE(__pyx_t_2)) break; + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_4 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_13); __Pyx_INCREF(__pyx_t_4); __pyx_t_13++; if (unlikely(0 < 0)) __PYX_ERR(0, 303, __pyx_L23_error) + #else + __pyx_t_4 = PySequence_ITEM(__pyx_t_2, __pyx_t_13); __pyx_t_13++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 303, __pyx_L23_error) + __Pyx_GOTREF(__pyx_t_4); + #endif + } else { + if (__pyx_t_13 >= PyTuple_GET_SIZE(__pyx_t_2)) break; + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_4 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_13); __Pyx_INCREF(__pyx_t_4); __pyx_t_13++; if (unlikely(0 < 0)) __PYX_ERR(0, 303, __pyx_L23_error) + #else + __pyx_t_4 = PySequence_ITEM(__pyx_t_2, __pyx_t_13); __pyx_t_13++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 303, __pyx_L23_error) + __Pyx_GOTREF(__pyx_t_4); + #endif + } + } else { + __pyx_t_4 = __pyx_t_6(__pyx_t_2); + if (unlikely(!__pyx_t_4)) { + PyObject* exc_type = PyErr_Occurred(); + if (exc_type) { + if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); + else __PYX_ERR(0, 303, __pyx_L23_error) + } + break; + } + __Pyx_GOTREF(__pyx_t_4); + } + if ((likely(PyTuple_CheckExact(__pyx_t_4))) || (PyList_CheckExact(__pyx_t_4))) { + PyObject* sequence = __pyx_t_4; + Py_ssize_t size = __Pyx_PySequence_SIZE(sequence); + if (unlikely(size != 2)) { + if (size > 2) __Pyx_RaiseTooManyValuesError(2); + else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); + __PYX_ERR(0, 303, __pyx_L23_error) + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + if (likely(PyTuple_CheckExact(sequence))) { + __pyx_t_3 = PyTuple_GET_ITEM(sequence, 0); + __pyx_t_8 = PyTuple_GET_ITEM(sequence, 1); + } else { + __pyx_t_3 = PyList_GET_ITEM(sequence, 0); + __pyx_t_8 = PyList_GET_ITEM(sequence, 1); + } + __Pyx_INCREF(__pyx_t_3); + __Pyx_INCREF(__pyx_t_8); + #else + __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 303, __pyx_L23_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_8 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 303, __pyx_L23_error) + __Pyx_GOTREF(__pyx_t_8); + #endif + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + } else { + Py_ssize_t index = -1; + __pyx_t_14 = PyObject_GetIter(__pyx_t_4); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 303, __pyx_L23_error) + __Pyx_GOTREF(__pyx_t_14); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_9 = Py_TYPE(__pyx_t_14)->tp_iternext; + index = 0; __pyx_t_3 = __pyx_t_9(__pyx_t_14); if (unlikely(!__pyx_t_3)) goto __pyx_L31_unpacking_failed; + __Pyx_GOTREF(__pyx_t_3); + index = 1; __pyx_t_8 = __pyx_t_9(__pyx_t_14); if (unlikely(!__pyx_t_8)) goto __pyx_L31_unpacking_failed; + __Pyx_GOTREF(__pyx_t_8); + if (__Pyx_IternextUnpackEndCheck(__pyx_t_9(__pyx_t_14), 2) < 0) __PYX_ERR(0, 303, __pyx_L23_error) + __pyx_t_9 = NULL; + __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; + goto __pyx_L32_unpacking_done; + __pyx_L31_unpacking_failed:; + __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; + __pyx_t_9 = NULL; + if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); + __PYX_ERR(0, 303, __pyx_L23_error) + __pyx_L32_unpacking_done:; + } + __Pyx_XDECREF_SET(__pyx_8genexpr3__pyx_v_name, __pyx_t_3); + __pyx_t_3 = 0; + __Pyx_XDECREF_SET(__pyx_8genexpr3__pyx_v_provider, __pyx_t_8); + __pyx_t_8 = 0; + + /* "dependency_injector/containers.pyx":300 + * + * inherited_providers = { + * name: provider # <<<<<<<<<<<<<< * for base in bases * if is_container(base) and base is not DynamicContainer */ - __Pyx_TraceLine(306,0,__PYX_ERR(0, 306, __pyx_L1_error)) - __pyx_t_1 = __pyx_pf_19dependency_injector_10containers_29DeclarativeContainerMetaClass_7__new___6genexpr(((PyObject*)__pyx_cur_scope)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 306, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + if (unlikely(PyDict_SetItem(__pyx_t_1, (PyObject*)__pyx_8genexpr3__pyx_v_name, (PyObject*)__pyx_8genexpr3__pyx_v_provider))) __PYX_ERR(0, 300, __pyx_L23_error) - /* "dependency_injector/containers.pyx":305 - * ) - * - * inherited_providers = tuple( # <<<<<<<<<<<<<< - * (name, provider) + /* "dependency_injector/containers.pyx":303 * for base in bases + * if is_container(base) and base is not DynamicContainer + * for name, provider in six.iteritems(base.providers) # <<<<<<<<<<<<<< + * } + * */ - __Pyx_TraceLine(305,0,__PYX_ERR(0, 305, __pyx_L1_error)) - __pyx_t_2 = __Pyx_PySequence_Tuple(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 305, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + } + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + + /* "dependency_injector/containers.pyx":302 + * name: provider + * for base in bases + * if is_container(base) and base is not DynamicContainer # <<<<<<<<<<<<<< + * for name, provider in six.iteritems(base.providers) + * } + */ + } + + /* "dependency_injector/containers.pyx":301 + * inherited_providers = { + * name: provider + * for base in bases # <<<<<<<<<<<<<< + * if is_container(base) and base is not DynamicContainer + * for name, provider in six.iteritems(base.providers) + */ + } + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_XDECREF(__pyx_8genexpr3__pyx_v_base); __pyx_8genexpr3__pyx_v_base = 0; + __Pyx_XDECREF(__pyx_8genexpr3__pyx_v_name); __pyx_8genexpr3__pyx_v_name = 0; + __Pyx_XDECREF(__pyx_8genexpr3__pyx_v_provider); __pyx_8genexpr3__pyx_v_provider = 0; + goto __pyx_L33_exit_scope; + __pyx_L23_error:; + __Pyx_XDECREF(__pyx_8genexpr3__pyx_v_base); __pyx_8genexpr3__pyx_v_base = 0; + __Pyx_XDECREF(__pyx_8genexpr3__pyx_v_name); __pyx_8genexpr3__pyx_v_name = 0; + __Pyx_XDECREF(__pyx_8genexpr3__pyx_v_provider); __pyx_8genexpr3__pyx_v_provider = 0; + goto __pyx_L1_error; + __pyx_L33_exit_scope:; + } /* exit inner scope */ + __pyx_v_inherited_providers = ((PyObject*)__pyx_t_1); + __pyx_t_1 = 0; + + /* "dependency_injector/containers.pyx":306 + * } + * + * providers = {} # <<<<<<<<<<<<<< + * providers.update(inherited_providers) + * providers.update(cls_providers) + */ + __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 306, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_v_providers = ((PyObject*)__pyx_t_1); + __pyx_t_1 = 0; + + /* "dependency_injector/containers.pyx":307 + * + * providers = {} + * providers.update(inherited_providers) # <<<<<<<<<<<<<< + * providers.update(cls_providers) + * + */ + __pyx_t_1 = __Pyx_CallUnboundCMethod1(&__pyx_umethod_PyDict_Type_update, __pyx_v_providers, __pyx_v_inherited_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 307, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_v_inherited_providers = ((PyObject*)__pyx_t_2); - __pyx_t_2 = 0; + + /* "dependency_injector/containers.pyx":308 + * providers = {} + * providers.update(inherited_providers) + * providers.update(cls_providers) # <<<<<<<<<<<<<< + * + * attributes['containers'] = containers + */ + __pyx_t_1 = __Pyx_CallUnboundCMethod1(&__pyx_umethod_PyDict_Type_update, __pyx_v_providers, __pyx_v_cls_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 308, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + + /* "dependency_injector/containers.pyx":310 + * providers.update(cls_providers) + * + * attributes['containers'] = containers # <<<<<<<<<<<<<< + * attributes['inherited_providers'] = inherited_providers + * attributes['cls_providers'] = cls_providers + */ + if (unlikely(__pyx_v_attributes == Py_None)) { + PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + __PYX_ERR(0, 310, __pyx_L1_error) + } + if (unlikely(PyDict_SetItem(__pyx_v_attributes, __pyx_n_s_containers, __pyx_v_containers) < 0)) __PYX_ERR(0, 310, __pyx_L1_error) + + /* "dependency_injector/containers.pyx":311 + * + * attributes['containers'] = containers + * attributes['inherited_providers'] = inherited_providers # <<<<<<<<<<<<<< + * attributes['cls_providers'] = cls_providers + * attributes['providers'] = providers + */ + if (unlikely(__pyx_v_attributes == Py_None)) { + PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + __PYX_ERR(0, 311, __pyx_L1_error) + } + if (unlikely(PyDict_SetItem(__pyx_v_attributes, __pyx_n_s_inherited_providers, __pyx_v_inherited_providers) < 0)) __PYX_ERR(0, 311, __pyx_L1_error) /* "dependency_injector/containers.pyx":312 - * ) + * attributes['containers'] = containers + * attributes['inherited_providers'] = inherited_providers + * attributes['cls_providers'] = cls_providers # <<<<<<<<<<<<<< + * attributes['providers'] = providers * - * attributes['cls_providers'] = dict(cls_providers) # <<<<<<<<<<<<<< - * attributes['inherited_providers'] = dict(inherited_providers) - * attributes['providers'] = dict(cls_providers + inherited_providers) */ - __Pyx_TraceLine(312,0,__PYX_ERR(0, 312, __pyx_L1_error)) - __pyx_t_2 = __Pyx_PyObject_CallOneArg(((PyObject *)(&PyDict_Type)), __pyx_v_cls_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 312, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (unlikely(__pyx_cur_scope->__pyx_v_attributes == Py_None)) { + if (unlikely(__pyx_v_attributes == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(0, 312, __pyx_L1_error) } - if (unlikely(PyDict_SetItem(__pyx_cur_scope->__pyx_v_attributes, __pyx_n_s_cls_providers, __pyx_t_2) < 0)) __PYX_ERR(0, 312, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + if (unlikely(PyDict_SetItem(__pyx_v_attributes, __pyx_n_s_cls_providers, __pyx_v_cls_providers) < 0)) __PYX_ERR(0, 312, __pyx_L1_error) /* "dependency_injector/containers.pyx":313 - * - * attributes['cls_providers'] = dict(cls_providers) - * attributes['inherited_providers'] = dict(inherited_providers) # <<<<<<<<<<<<<< - * attributes['providers'] = dict(cls_providers + inherited_providers) - * - */ - __Pyx_TraceLine(313,0,__PYX_ERR(0, 313, __pyx_L1_error)) - __pyx_t_2 = __Pyx_PyObject_CallOneArg(((PyObject *)(&PyDict_Type)), __pyx_v_inherited_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 313, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (unlikely(__pyx_cur_scope->__pyx_v_attributes == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); - __PYX_ERR(0, 313, __pyx_L1_error) - } - if (unlikely(PyDict_SetItem(__pyx_cur_scope->__pyx_v_attributes, __pyx_n_s_inherited_providers, __pyx_t_2) < 0)) __PYX_ERR(0, 313, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - - /* "dependency_injector/containers.pyx":314 - * attributes['cls_providers'] = dict(cls_providers) - * attributes['inherited_providers'] = dict(inherited_providers) - * attributes['providers'] = dict(cls_providers + inherited_providers) # <<<<<<<<<<<<<< + * attributes['inherited_providers'] = inherited_providers + * attributes['cls_providers'] = cls_providers + * attributes['providers'] = providers # <<<<<<<<<<<<<< * * cls = type.__new__(mcs, class_name, bases, attributes) */ - __Pyx_TraceLine(314,0,__PYX_ERR(0, 314, __pyx_L1_error)) - __pyx_t_2 = PyNumber_Add(__pyx_v_cls_providers, __pyx_v_inherited_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 314, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_CallOneArg(((PyObject *)(&PyDict_Type)), __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 314, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(__pyx_cur_scope->__pyx_v_attributes == Py_None)) { + if (unlikely(__pyx_v_attributes == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); - __PYX_ERR(0, 314, __pyx_L1_error) + __PYX_ERR(0, 313, __pyx_L1_error) } - if (unlikely(PyDict_SetItem(__pyx_cur_scope->__pyx_v_attributes, __pyx_n_s_providers, __pyx_t_1) < 0)) __PYX_ERR(0, 314, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + if (unlikely(PyDict_SetItem(__pyx_v_attributes, __pyx_n_s_providers, __pyx_v_providers) < 0)) __PYX_ERR(0, 313, __pyx_L1_error) - /* "dependency_injector/containers.pyx":316 - * attributes['providers'] = dict(cls_providers + inherited_providers) + /* "dependency_injector/containers.pyx":315 + * attributes['providers'] = providers * * cls = type.__new__(mcs, class_name, bases, attributes) # <<<<<<<<<<<<<< * * cls.__self__ = Object(cls) */ - __Pyx_TraceLine(316,0,__PYX_ERR(0, 316, __pyx_L1_error)) - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)(&PyType_Type)), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 316, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = NULL; - __pyx_t_4 = 0; - if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { - __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2); - if (likely(__pyx_t_3)) { - PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2); - __Pyx_INCREF(__pyx_t_3); + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)(&PyType_Type)), __pyx_n_s_new); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 315, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_2 = NULL; + __pyx_t_15 = 0; + if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_7))) { + __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_7); + if (likely(__pyx_t_2)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_7); + __Pyx_INCREF(__pyx_t_2); __Pyx_INCREF(function); - __Pyx_DECREF_SET(__pyx_t_2, function); - __pyx_t_4 = 1; + __Pyx_DECREF_SET(__pyx_t_7, function); + __pyx_t_15 = 1; } } #if CYTHON_FAST_PYCALL - if (PyFunction_Check(__pyx_t_2)) { - PyObject *__pyx_temp[5] = {__pyx_t_3, ((PyObject *)__pyx_v_mcs), __pyx_v_class_name, __pyx_cur_scope->__pyx_v_bases, __pyx_cur_scope->__pyx_v_attributes}; - __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_2, __pyx_temp+1-__pyx_t_4, 4+__pyx_t_4); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 316, __pyx_L1_error) - __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + if (PyFunction_Check(__pyx_t_7)) { + PyObject *__pyx_temp[5] = {__pyx_t_2, ((PyObject *)__pyx_v_mcs), __pyx_v_class_name, __pyx_v_bases, __pyx_v_attributes}; + __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_7, __pyx_temp+1-__pyx_t_15, 4+__pyx_t_15); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 315, __pyx_L1_error) + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_GOTREF(__pyx_t_1); } else #endif #if CYTHON_FAST_PYCCALL - if (__Pyx_PyFastCFunction_Check(__pyx_t_2)) { - PyObject *__pyx_temp[5] = {__pyx_t_3, ((PyObject *)__pyx_v_mcs), __pyx_v_class_name, __pyx_cur_scope->__pyx_v_bases, __pyx_cur_scope->__pyx_v_attributes}; - __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_2, __pyx_temp+1-__pyx_t_4, 4+__pyx_t_4); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 316, __pyx_L1_error) - __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + if (__Pyx_PyFastCFunction_Check(__pyx_t_7)) { + PyObject *__pyx_temp[5] = {__pyx_t_2, ((PyObject *)__pyx_v_mcs), __pyx_v_class_name, __pyx_v_bases, __pyx_v_attributes}; + __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_7, __pyx_temp+1-__pyx_t_15, 4+__pyx_t_15); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 315, __pyx_L1_error) + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_GOTREF(__pyx_t_1); } else #endif { - __pyx_t_5 = PyTuple_New(4+__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 316, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - if (__pyx_t_3) { - __Pyx_GIVEREF(__pyx_t_3); PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3); __pyx_t_3 = NULL; + __pyx_t_4 = PyTuple_New(4+__pyx_t_15); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 315, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + if (__pyx_t_2) { + __Pyx_GIVEREF(__pyx_t_2); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_2); __pyx_t_2 = NULL; } __Pyx_INCREF(((PyObject *)__pyx_v_mcs)); __Pyx_GIVEREF(((PyObject *)__pyx_v_mcs)); - PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_4, ((PyObject *)__pyx_v_mcs)); + PyTuple_SET_ITEM(__pyx_t_4, 0+__pyx_t_15, ((PyObject *)__pyx_v_mcs)); __Pyx_INCREF(__pyx_v_class_name); __Pyx_GIVEREF(__pyx_v_class_name); - PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_4, __pyx_v_class_name); - __Pyx_INCREF(__pyx_cur_scope->__pyx_v_bases); - __Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_bases); - PyTuple_SET_ITEM(__pyx_t_5, 2+__pyx_t_4, __pyx_cur_scope->__pyx_v_bases); - __Pyx_INCREF(__pyx_cur_scope->__pyx_v_attributes); - __Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_attributes); - PyTuple_SET_ITEM(__pyx_t_5, 3+__pyx_t_4, __pyx_cur_scope->__pyx_v_attributes); - __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 316, __pyx_L1_error) + PyTuple_SET_ITEM(__pyx_t_4, 1+__pyx_t_15, __pyx_v_class_name); + __Pyx_INCREF(__pyx_v_bases); + __Pyx_GIVEREF(__pyx_v_bases); + PyTuple_SET_ITEM(__pyx_t_4, 2+__pyx_t_15, __pyx_v_bases); + __Pyx_INCREF(__pyx_v_attributes); + __Pyx_GIVEREF(__pyx_v_attributes); + PyTuple_SET_ITEM(__pyx_t_4, 3+__pyx_t_15, __pyx_v_attributes); + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 315, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __pyx_t_1; - __Pyx_INCREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_7 = __pyx_t_1; + __Pyx_INCREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_v_cls = ((PyTypeObject*)__pyx_t_2); - __pyx_t_2 = 0; + __pyx_v_cls = ((PyTypeObject*)__pyx_t_7); + __pyx_t_7 = 0; - /* "dependency_injector/containers.pyx":318 + /* "dependency_injector/containers.pyx":317 * cls = type.__new__(mcs, class_name, bases, attributes) * * cls.__self__ = Object(cls) # <<<<<<<<<<<<<< * * for provider in six.itervalues(cls.providers): */ - __Pyx_TraceLine(318,0,__PYX_ERR(0, 318, __pyx_L1_error)) - __pyx_t_2 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Object), ((PyObject *)__pyx_v_cls)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 318, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (__Pyx_PyObject_SetAttrStr(((PyObject *)__pyx_v_cls), __pyx_n_s_self, __pyx_t_2) < 0) __PYX_ERR(0, 318, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_7 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Object), ((PyObject *)__pyx_v_cls)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 317, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + if (__Pyx_PyObject_SetAttrStr(((PyObject *)__pyx_v_cls), __pyx_n_s_self, __pyx_t_7) < 0) __PYX_ERR(0, 317, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "dependency_injector/containers.pyx":320 + /* "dependency_injector/containers.pyx":319 * cls.__self__ = Object(cls) * * for provider in six.itervalues(cls.providers): # <<<<<<<<<<<<<< * _check_provider_type(cls, provider) * */ - __Pyx_TraceLine(320,0,__PYX_ERR(0, 320, __pyx_L1_error)) - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_six); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 320, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_six); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 319, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_itervalues); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 320, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_itervalues); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 319, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_cls), __pyx_n_s_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 320, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_cls), __pyx_n_s_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 319, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = NULL; - if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_5))) { - __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_5); - if (likely(__pyx_t_3)) { - PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5); - __Pyx_INCREF(__pyx_t_3); + __pyx_t_2 = NULL; + if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_4))) { + __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4); + if (likely(__pyx_t_2)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4); + __Pyx_INCREF(__pyx_t_2); __Pyx_INCREF(function); - __Pyx_DECREF_SET(__pyx_t_5, function); + __Pyx_DECREF_SET(__pyx_t_4, function); } } - __pyx_t_2 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_5, __pyx_t_3, __pyx_t_1) : __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_t_1); - __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_7 = (__pyx_t_2) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_2, __pyx_t_1) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 320, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (likely(PyList_CheckExact(__pyx_t_2)) || PyTuple_CheckExact(__pyx_t_2)) { - __pyx_t_5 = __pyx_t_2; __Pyx_INCREF(__pyx_t_5); __pyx_t_6 = 0; - __pyx_t_7 = NULL; + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 319, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (likely(PyList_CheckExact(__pyx_t_7)) || PyTuple_CheckExact(__pyx_t_7)) { + __pyx_t_4 = __pyx_t_7; __Pyx_INCREF(__pyx_t_4); __pyx_t_5 = 0; + __pyx_t_6 = NULL; } else { - __pyx_t_6 = -1; __pyx_t_5 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 320, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_7 = Py_TYPE(__pyx_t_5)->tp_iternext; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 320, __pyx_L1_error) + __pyx_t_5 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_t_7); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 319, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_6 = Py_TYPE(__pyx_t_4)->tp_iternext; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 319, __pyx_L1_error) } - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; for (;;) { - if (likely(!__pyx_t_7)) { - if (likely(PyList_CheckExact(__pyx_t_5))) { - if (__pyx_t_6 >= PyList_GET_SIZE(__pyx_t_5)) break; + if (likely(!__pyx_t_6)) { + if (likely(PyList_CheckExact(__pyx_t_4))) { + if (__pyx_t_5 >= PyList_GET_SIZE(__pyx_t_4)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_2 = PyList_GET_ITEM(__pyx_t_5, __pyx_t_6); __Pyx_INCREF(__pyx_t_2); __pyx_t_6++; if (unlikely(0 < 0)) __PYX_ERR(0, 320, __pyx_L1_error) + __pyx_t_7 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 319, __pyx_L1_error) #else - __pyx_t_2 = PySequence_ITEM(__pyx_t_5, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 320, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + __pyx_t_7 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 319, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); #endif } else { - if (__pyx_t_6 >= PyTuple_GET_SIZE(__pyx_t_5)) break; + if (__pyx_t_5 >= PyTuple_GET_SIZE(__pyx_t_4)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_2 = PyTuple_GET_ITEM(__pyx_t_5, __pyx_t_6); __Pyx_INCREF(__pyx_t_2); __pyx_t_6++; if (unlikely(0 < 0)) __PYX_ERR(0, 320, __pyx_L1_error) + __pyx_t_7 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 319, __pyx_L1_error) #else - __pyx_t_2 = PySequence_ITEM(__pyx_t_5, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 320, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + __pyx_t_7 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 319, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); #endif } } else { - __pyx_t_2 = __pyx_t_7(__pyx_t_5); - if (unlikely(!__pyx_t_2)) { + __pyx_t_7 = __pyx_t_6(__pyx_t_4); + if (unlikely(!__pyx_t_7)) { PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 320, __pyx_L1_error) + else __PYX_ERR(0, 319, __pyx_L1_error) } break; } - __Pyx_GOTREF(__pyx_t_2); + __Pyx_GOTREF(__pyx_t_7); } - __Pyx_XDECREF_SET(__pyx_v_provider, __pyx_t_2); - __pyx_t_2 = 0; + __Pyx_XDECREF_SET(__pyx_v_provider, __pyx_t_7); + __pyx_t_7 = 0; - /* "dependency_injector/containers.pyx":321 + /* "dependency_injector/containers.pyx":320 * * for provider in six.itervalues(cls.providers): * _check_provider_type(cls, provider) # <<<<<<<<<<<<<< * * return cls */ - __Pyx_TraceLine(321,0,__PYX_ERR(0, 321, __pyx_L1_error)) - __pyx_t_2 = __pyx_f_19dependency_injector_10containers__check_provider_type(((PyObject *)__pyx_v_cls), __pyx_v_provider, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 321, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_7 = __pyx_f_19dependency_injector_10containers__check_provider_type(((PyObject *)__pyx_v_cls), __pyx_v_provider, 0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 320, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "dependency_injector/containers.pyx":320 + /* "dependency_injector/containers.pyx":319 * cls.__self__ = Object(cls) * * for provider in six.itervalues(cls.providers): # <<<<<<<<<<<<<< * _check_provider_type(cls, provider) * */ - __Pyx_TraceLine(320,0,__PYX_ERR(0, 320, __pyx_L1_error)) } - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "dependency_injector/containers.pyx":323 + /* "dependency_injector/containers.pyx":322 * _check_provider_type(cls, provider) * * return cls # <<<<<<<<<<<<<< * * def __setattr__(cls, str name, object value): */ - __Pyx_TraceLine(323,0,__PYX_ERR(0, 323, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_cls)); __pyx_r = ((PyObject *)__pyx_v_cls); @@ -9400,7 +8397,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai * * def __new__(type mcs, str class_name, tuple bases, dict attributes): # <<<<<<<<<<<<<< * """Declarative container class factory.""" - * cdef tuple cls_providers + * containers = { */ /* function exit code */ @@ -9408,23 +8405,32 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai __Pyx_XDECREF(__pyx_t_1); __Pyx_XDECREF(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); - __Pyx_XDECREF(__pyx_t_5); + __Pyx_XDECREF(__pyx_t_4); + __Pyx_XDECREF(__pyx_t_7); + __Pyx_XDECREF(__pyx_t_8); + __Pyx_XDECREF(__pyx_t_14); __Pyx_AddTraceback("dependency_injector.containers.DeclarativeContainerMetaClass.__new__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; + __Pyx_XDECREF(__pyx_v_containers); __Pyx_XDECREF(__pyx_v_cls_providers); __Pyx_XDECREF(__pyx_v_inherited_providers); + __Pyx_XDECREF(__pyx_v_providers); __Pyx_XDECREF(__pyx_v_cls); - __Pyx_XDECREF(__pyx_v_containers); __Pyx_XDECREF(__pyx_v_provider); - __Pyx_DECREF(((PyObject *)__pyx_cur_scope)); + __Pyx_XDECREF(__pyx_8genexpr1__pyx_v_name); + __Pyx_XDECREF(__pyx_8genexpr1__pyx_v_container); + __Pyx_XDECREF(__pyx_8genexpr2__pyx_v_name); + __Pyx_XDECREF(__pyx_8genexpr2__pyx_v_provider); + __Pyx_XDECREF(__pyx_8genexpr3__pyx_v_base); + __Pyx_XDECREF(__pyx_8genexpr3__pyx_v_name); + __Pyx_XDECREF(__pyx_8genexpr3__pyx_v_provider); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "dependency_injector/containers.pyx":325 +/* "dependency_injector/containers.pyx":324 * return cls * * def __setattr__(cls, str name, object value): # <<<<<<<<<<<<<< @@ -9471,17 +8477,17 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_29DeclarativeContai case 1: if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("__setattr__", 1, 3, 3, 1); __PYX_ERR(0, 325, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__setattr__", 1, 3, 3, 1); __PYX_ERR(0, 324, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 2: if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("__setattr__", 1, 3, 3, 2); __PYX_ERR(0, 325, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__setattr__", 1, 3, 3, 2); __PYX_ERR(0, 324, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__setattr__") < 0)) __PYX_ERR(0, 325, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__setattr__") < 0)) __PYX_ERR(0, 324, __pyx_L3_error) } } else if (PyTuple_GET_SIZE(__pyx_args) != 3) { goto __pyx_L5_argtuple_error; @@ -9496,13 +8502,13 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_29DeclarativeContai } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__setattr__", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 325, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__setattr__", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 324, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("dependency_injector.containers.DeclarativeContainerMetaClass.__setattr__", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); return NULL; __pyx_L4_argument_unpacking_done:; - if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_name), (&PyString_Type), 1, "name", 1))) __PYX_ERR(0, 325, __pyx_L1_error) + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_name), (&PyString_Type), 1, "name", 1))) __PYX_ERR(0, 324, __pyx_L1_error) __pyx_r = __pyx_pf_19dependency_injector_10containers_29DeclarativeContainerMetaClass_2__setattr__(__pyx_self, __pyx_v_cls, __pyx_v_name, __pyx_v_value); /* function exit code */ @@ -9516,7 +8522,6 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_29DeclarativeContai static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContainerMetaClass_2__setattr__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_cls, PyObject *__pyx_v_name, PyObject *__pyx_v_value) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -9529,18 +8534,15 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__21) __Pyx_RefNannySetupContext("__setattr__", 0); - __Pyx_TraceCall("__setattr__", __pyx_f[0], 325, 0, __PYX_ERR(0, 325, __pyx_L1_error)); - /* "dependency_injector/containers.pyx":339 + /* "dependency_injector/containers.pyx":338 * :rtype: None * """ * if isinstance(value, Provider) and name != '__self__': # <<<<<<<<<<<<<< * _check_provider_type(cls, value) * cls.providers[name] = value */ - __Pyx_TraceLine(339,0,__PYX_ERR(0, 339, __pyx_L1_error)) __pyx_t_2 = __Pyx_TypeCheck(__pyx_v_value, __pyx_ptype_19dependency_injector_9providers_Provider); __pyx_t_3 = (__pyx_t_2 != 0); if (__pyx_t_3) { @@ -9548,51 +8550,48 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai __pyx_t_1 = __pyx_t_3; goto __pyx_L4_bool_binop_done; } - __pyx_t_3 = (__Pyx_PyString_Equals(__pyx_v_name, __pyx_n_s_self, Py_NE)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 339, __pyx_L1_error) + __pyx_t_3 = (__Pyx_PyString_Equals(__pyx_v_name, __pyx_n_s_self, Py_NE)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 338, __pyx_L1_error) __pyx_t_2 = (__pyx_t_3 != 0); __pyx_t_1 = __pyx_t_2; __pyx_L4_bool_binop_done:; if (__pyx_t_1) { - /* "dependency_injector/containers.pyx":340 + /* "dependency_injector/containers.pyx":339 * """ * if isinstance(value, Provider) and name != '__self__': * _check_provider_type(cls, value) # <<<<<<<<<<<<<< * cls.providers[name] = value * cls.cls_providers[name] = value */ - __Pyx_TraceLine(340,0,__PYX_ERR(0, 340, __pyx_L1_error)) - __pyx_t_4 = __pyx_f_19dependency_injector_10containers__check_provider_type(__pyx_v_cls, __pyx_v_value, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 340, __pyx_L1_error) + __pyx_t_4 = __pyx_f_19dependency_injector_10containers__check_provider_type(__pyx_v_cls, __pyx_v_value, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 339, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "dependency_injector/containers.pyx":341 + /* "dependency_injector/containers.pyx":340 * if isinstance(value, Provider) and name != '__self__': * _check_provider_type(cls, value) * cls.providers[name] = value # <<<<<<<<<<<<<< * cls.cls_providers[name] = value * super(DeclarativeContainerMetaClass, cls).__setattr__(name, value) */ - __Pyx_TraceLine(341,0,__PYX_ERR(0, 341, __pyx_L1_error)) - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_providers); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 341, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_providers); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 340, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (unlikely(PyObject_SetItem(__pyx_t_4, __pyx_v_name, __pyx_v_value) < 0)) __PYX_ERR(0, 341, __pyx_L1_error) + if (unlikely(PyObject_SetItem(__pyx_t_4, __pyx_v_name, __pyx_v_value) < 0)) __PYX_ERR(0, 340, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "dependency_injector/containers.pyx":342 + /* "dependency_injector/containers.pyx":341 * _check_provider_type(cls, value) * cls.providers[name] = value * cls.cls_providers[name] = value # <<<<<<<<<<<<<< * super(DeclarativeContainerMetaClass, cls).__setattr__(name, value) * */ - __Pyx_TraceLine(342,0,__PYX_ERR(0, 342, __pyx_L1_error)) - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_cls_providers); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 342, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_cls_providers); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 341, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (unlikely(PyObject_SetItem(__pyx_t_4, __pyx_v_name, __pyx_v_value) < 0)) __PYX_ERR(0, 342, __pyx_L1_error) + if (unlikely(PyObject_SetItem(__pyx_t_4, __pyx_v_name, __pyx_v_value) < 0)) __PYX_ERR(0, 341, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "dependency_injector/containers.pyx":339 + /* "dependency_injector/containers.pyx":338 * :rtype: None * """ * if isinstance(value, Provider) and name != '__self__': # <<<<<<<<<<<<<< @@ -9601,17 +8600,16 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai */ } - /* "dependency_injector/containers.pyx":343 + /* "dependency_injector/containers.pyx":342 * cls.providers[name] = value * cls.cls_providers[name] = value * super(DeclarativeContainerMetaClass, cls).__setattr__(name, value) # <<<<<<<<<<<<<< * * def __delattr__(cls, str name): */ - __Pyx_TraceLine(343,0,__PYX_ERR(0, 343, __pyx_L1_error)) - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_DeclarativeContainerMetaClass_2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 343, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_DeclarativeContainerMetaClass); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 342, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 343, __pyx_L1_error) + __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 342, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_5); @@ -9619,10 +8617,10 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai __Pyx_GIVEREF(__pyx_v_cls); PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_v_cls); __pyx_t_5 = 0; - __pyx_t_5 = __Pyx_PyObject_Call(__pyx_builtin_super, __pyx_t_6, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 343, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_Call(__pyx_builtin_super, __pyx_t_6, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 342, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_setattr); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 343, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_setattr); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 342, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_5 = NULL; @@ -9640,7 +8638,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_6)) { PyObject *__pyx_temp[3] = {__pyx_t_5, __pyx_v_name, __pyx_v_value}; - __pyx_t_4 = __Pyx_PyFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_7, 2+__pyx_t_7); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 343, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_7, 2+__pyx_t_7); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 342, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_GOTREF(__pyx_t_4); } else @@ -9648,13 +8646,13 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_6)) { PyObject *__pyx_temp[3] = {__pyx_t_5, __pyx_v_name, __pyx_v_value}; - __pyx_t_4 = __Pyx_PyCFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_7, 2+__pyx_t_7); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 343, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyCFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_7, 2+__pyx_t_7); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 342, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_GOTREF(__pyx_t_4); } else #endif { - __pyx_t_8 = PyTuple_New(2+__pyx_t_7); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 343, __pyx_L1_error) + __pyx_t_8 = PyTuple_New(2+__pyx_t_7); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 342, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); if (__pyx_t_5) { __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_5); __pyx_t_5 = NULL; @@ -9665,14 +8663,14 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai __Pyx_INCREF(__pyx_v_value); __Pyx_GIVEREF(__pyx_v_value); PyTuple_SET_ITEM(__pyx_t_8, 1+__pyx_t_7, __pyx_v_value); - __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_8, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 343, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_8, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 342, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; } __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "dependency_injector/containers.pyx":325 + /* "dependency_injector/containers.pyx":324 * return cls * * def __setattr__(cls, str name, object value): # <<<<<<<<<<<<<< @@ -9692,12 +8690,11 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "dependency_injector/containers.pyx":345 +/* "dependency_injector/containers.pyx":344 * super(DeclarativeContainerMetaClass, cls).__setattr__(name, value) * * def __delattr__(cls, str name): # <<<<<<<<<<<<<< @@ -9741,11 +8738,11 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_29DeclarativeContai case 1: if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("__delattr__", 1, 2, 2, 1); __PYX_ERR(0, 345, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__delattr__", 1, 2, 2, 1); __PYX_ERR(0, 344, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__delattr__") < 0)) __PYX_ERR(0, 345, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__delattr__") < 0)) __PYX_ERR(0, 344, __pyx_L3_error) } } else if (PyTuple_GET_SIZE(__pyx_args) != 2) { goto __pyx_L5_argtuple_error; @@ -9758,13 +8755,13 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_29DeclarativeContai } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__delattr__", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 345, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__delattr__", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 344, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("dependency_injector.containers.DeclarativeContainerMetaClass.__delattr__", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); return NULL; __pyx_L4_argument_unpacking_done:; - if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_name), (&PyString_Type), 1, "name", 1))) __PYX_ERR(0, 345, __pyx_L1_error) + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_name), (&PyString_Type), 1, "name", 1))) __PYX_ERR(0, 344, __pyx_L1_error) __pyx_r = __pyx_pf_19dependency_injector_10containers_29DeclarativeContainerMetaClass_4__delattr__(__pyx_self, __pyx_v_cls, __pyx_v_name); /* function exit code */ @@ -9778,7 +8775,6 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_29DeclarativeContai static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContainerMetaClass_4__delattr__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_cls, PyObject *__pyx_v_name) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -9789,21 +8785,18 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__22) __Pyx_RefNannySetupContext("__delattr__", 0); - __Pyx_TraceCall("__delattr__", __pyx_f[0], 345, 0, __PYX_ERR(0, 345, __pyx_L1_error)); - /* "dependency_injector/containers.pyx":356 + /* "dependency_injector/containers.pyx":355 * :rtype: None * """ * if name in cls.providers and name in cls.cls_providers: # <<<<<<<<<<<<<< * del cls.providers[name] * del cls.cls_providers[name] */ - __Pyx_TraceLine(356,0,__PYX_ERR(0, 356, __pyx_L1_error)) - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 356, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 355, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = (__Pyx_PySequence_ContainsTF(__pyx_v_name, __pyx_t_2, Py_EQ)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 356, __pyx_L1_error) + __pyx_t_3 = (__Pyx_PySequence_ContainsTF(__pyx_v_name, __pyx_t_2, Py_EQ)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 355, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -9811,42 +8804,40 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai __pyx_t_1 = __pyx_t_4; goto __pyx_L4_bool_binop_done; } - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_cls_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 356, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_cls_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 355, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_4 = (__Pyx_PySequence_ContainsTF(__pyx_v_name, __pyx_t_2, Py_EQ)); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 356, __pyx_L1_error) + __pyx_t_4 = (__Pyx_PySequence_ContainsTF(__pyx_v_name, __pyx_t_2, Py_EQ)); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 355, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_3 = (__pyx_t_4 != 0); __pyx_t_1 = __pyx_t_3; __pyx_L4_bool_binop_done:; if (__pyx_t_1) { - /* "dependency_injector/containers.pyx":357 + /* "dependency_injector/containers.pyx":356 * """ * if name in cls.providers and name in cls.cls_providers: * del cls.providers[name] # <<<<<<<<<<<<<< * del cls.cls_providers[name] * super(DeclarativeContainerMetaClass, cls).__delattr__(name) */ - __Pyx_TraceLine(357,0,__PYX_ERR(0, 357, __pyx_L1_error)) - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 357, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 356, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (unlikely(PyObject_DelItem(__pyx_t_2, __pyx_v_name) < 0)) __PYX_ERR(0, 357, __pyx_L1_error) + if (unlikely(PyObject_DelItem(__pyx_t_2, __pyx_v_name) < 0)) __PYX_ERR(0, 356, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "dependency_injector/containers.pyx":358 + /* "dependency_injector/containers.pyx":357 * if name in cls.providers and name in cls.cls_providers: * del cls.providers[name] * del cls.cls_providers[name] # <<<<<<<<<<<<<< * super(DeclarativeContainerMetaClass, cls).__delattr__(name) * */ - __Pyx_TraceLine(358,0,__PYX_ERR(0, 358, __pyx_L1_error)) - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_cls_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 358, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_cls_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 357, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (unlikely(PyObject_DelItem(__pyx_t_2, __pyx_v_name) < 0)) __PYX_ERR(0, 358, __pyx_L1_error) + if (unlikely(PyObject_DelItem(__pyx_t_2, __pyx_v_name) < 0)) __PYX_ERR(0, 357, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "dependency_injector/containers.pyx":356 + /* "dependency_injector/containers.pyx":355 * :rtype: None * """ * if name in cls.providers and name in cls.cls_providers: # <<<<<<<<<<<<<< @@ -9855,17 +8846,16 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai */ } - /* "dependency_injector/containers.pyx":359 + /* "dependency_injector/containers.pyx":358 * del cls.providers[name] * del cls.cls_providers[name] * super(DeclarativeContainerMetaClass, cls).__delattr__(name) # <<<<<<<<<<<<<< * * @property */ - __Pyx_TraceLine(359,0,__PYX_ERR(0, 359, __pyx_L1_error)) - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_DeclarativeContainerMetaClass_2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 359, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_DeclarativeContainerMetaClass); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 358, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 359, __pyx_L1_error) + __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 358, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_5); @@ -9873,10 +8863,10 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai __Pyx_GIVEREF(__pyx_v_cls); PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_v_cls); __pyx_t_5 = 0; - __pyx_t_5 = __Pyx_PyObject_Call(__pyx_builtin_super, __pyx_t_6, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 359, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_Call(__pyx_builtin_super, __pyx_t_6, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 358, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_delattr); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 359, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_delattr); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 358, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_5 = NULL; @@ -9891,12 +8881,12 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai } __pyx_t_2 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_6, __pyx_t_5, __pyx_v_name) : __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_v_name); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 359, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 358, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "dependency_injector/containers.pyx":345 + /* "dependency_injector/containers.pyx":344 * super(DeclarativeContainerMetaClass, cls).__setattr__(name, value) * * def __delattr__(cls, str name): # <<<<<<<<<<<<<< @@ -9915,12 +8905,11 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "dependency_injector/containers.pyx":362 +/* "dependency_injector/containers.pyx":361 * * @property * def dependencies(cls): # <<<<<<<<<<<<<< @@ -9947,7 +8936,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai PyObject *__pyx_8genexpr4__pyx_v_name = NULL; PyObject *__pyx_8genexpr4__pyx_v_provider = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -9964,34 +8952,30 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__23) __Pyx_RefNannySetupContext("dependencies", 0); - __Pyx_TraceCall("dependencies", __pyx_f[0], 362, 0, __PYX_ERR(0, 362, __pyx_L1_error)); - /* "dependency_injector/containers.pyx":371 + /* "dependency_injector/containers.pyx":370 * dict[str, :py:class:`dependency_injector.providers.Provider`] * """ * return { # <<<<<<<<<<<<<< * name: provider * for name, provider in cls.providers.items() */ - __Pyx_TraceLine(371,0,__PYX_ERR(0, 371, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); { /* enter inner scope */ - __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 371, __pyx_L5_error) + __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 370, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_1); - /* "dependency_injector/containers.pyx":373 + /* "dependency_injector/containers.pyx":372 * return { * name: provider * for name, provider in cls.providers.items() # <<<<<<<<<<<<<< * if isinstance(provider, (Dependency, DependenciesContainer)) * } */ - __Pyx_TraceLine(373,0,__PYX_ERR(0, 373, __pyx_L5_error)) - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_providers); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 373, __pyx_L5_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_providers); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 372, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_items); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 373, __pyx_L5_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_items); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 372, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_3 = NULL; @@ -10006,16 +8990,16 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai } __pyx_t_2 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_4); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 373, __pyx_L5_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 372, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (likely(PyList_CheckExact(__pyx_t_2)) || PyTuple_CheckExact(__pyx_t_2)) { __pyx_t_4 = __pyx_t_2; __Pyx_INCREF(__pyx_t_4); __pyx_t_5 = 0; __pyx_t_6 = NULL; } else { - __pyx_t_5 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 373, __pyx_L5_error) + __pyx_t_5 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 372, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = Py_TYPE(__pyx_t_4)->tp_iternext; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 373, __pyx_L5_error) + __pyx_t_6 = Py_TYPE(__pyx_t_4)->tp_iternext; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 372, __pyx_L5_error) } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; for (;;) { @@ -10023,17 +9007,17 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai if (likely(PyList_CheckExact(__pyx_t_4))) { if (__pyx_t_5 >= PyList_GET_SIZE(__pyx_t_4)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_2 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_2); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 373, __pyx_L5_error) + __pyx_t_2 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_2); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 372, __pyx_L5_error) #else - __pyx_t_2 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 373, __pyx_L5_error) + __pyx_t_2 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 372, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_2); #endif } else { if (__pyx_t_5 >= PyTuple_GET_SIZE(__pyx_t_4)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_2 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_2); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 373, __pyx_L5_error) + __pyx_t_2 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_2); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 372, __pyx_L5_error) #else - __pyx_t_2 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 373, __pyx_L5_error) + __pyx_t_2 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 372, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_2); #endif } @@ -10043,7 +9027,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 373, __pyx_L5_error) + else __PYX_ERR(0, 372, __pyx_L5_error) } break; } @@ -10055,7 +9039,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai if (unlikely(size != 2)) { if (size > 2) __Pyx_RaiseTooManyValuesError(2); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 373, __pyx_L5_error) + __PYX_ERR(0, 372, __pyx_L5_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -10068,15 +9052,15 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai __Pyx_INCREF(__pyx_t_3); __Pyx_INCREF(__pyx_t_7); #else - __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 373, __pyx_L5_error) + __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 372, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_7 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 373, __pyx_L5_error) + __pyx_t_7 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 372, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_7); #endif __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } else { Py_ssize_t index = -1; - __pyx_t_8 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 373, __pyx_L5_error) + __pyx_t_8 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 372, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_9 = Py_TYPE(__pyx_t_8)->tp_iternext; @@ -10084,7 +9068,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai __Pyx_GOTREF(__pyx_t_3); index = 1; __pyx_t_7 = __pyx_t_9(__pyx_t_8); if (unlikely(!__pyx_t_7)) goto __pyx_L8_unpacking_failed; __Pyx_GOTREF(__pyx_t_7); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_9(__pyx_t_8), 2) < 0) __PYX_ERR(0, 373, __pyx_L5_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_9(__pyx_t_8), 2) < 0) __PYX_ERR(0, 372, __pyx_L5_error) __pyx_t_9 = NULL; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; goto __pyx_L9_unpacking_done; @@ -10092,7 +9076,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_9 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 373, __pyx_L5_error) + __PYX_ERR(0, 372, __pyx_L5_error) __pyx_L9_unpacking_done:; } __Pyx_XDECREF_SET(__pyx_8genexpr4__pyx_v_name, __pyx_t_3); @@ -10100,14 +9084,13 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai __Pyx_XDECREF_SET(__pyx_8genexpr4__pyx_v_provider, __pyx_t_7); __pyx_t_7 = 0; - /* "dependency_injector/containers.pyx":374 + /* "dependency_injector/containers.pyx":373 * name: provider * for name, provider in cls.providers.items() * if isinstance(provider, (Dependency, DependenciesContainer)) # <<<<<<<<<<<<<< * } * */ - __Pyx_TraceLine(374,0,__PYX_ERR(0, 374, __pyx_L5_error)) __pyx_t_11 = __Pyx_TypeCheck(__pyx_8genexpr4__pyx_v_provider, __pyx_ptype_19dependency_injector_9providers_Dependency); __pyx_t_12 = (__pyx_t_11 != 0); if (!__pyx_t_12) { @@ -10122,17 +9105,16 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai __pyx_t_11 = (__pyx_t_10 != 0); if (__pyx_t_11) { - /* "dependency_injector/containers.pyx":372 + /* "dependency_injector/containers.pyx":371 * """ * return { * name: provider # <<<<<<<<<<<<<< * for name, provider in cls.providers.items() * if isinstance(provider, (Dependency, DependenciesContainer)) */ - __Pyx_TraceLine(372,0,__PYX_ERR(0, 372, __pyx_L5_error)) - if (unlikely(PyDict_SetItem(__pyx_t_1, (PyObject*)__pyx_8genexpr4__pyx_v_name, (PyObject*)__pyx_8genexpr4__pyx_v_provider))) __PYX_ERR(0, 372, __pyx_L5_error) + if (unlikely(PyDict_SetItem(__pyx_t_1, (PyObject*)__pyx_8genexpr4__pyx_v_name, (PyObject*)__pyx_8genexpr4__pyx_v_provider))) __PYX_ERR(0, 371, __pyx_L5_error) - /* "dependency_injector/containers.pyx":374 + /* "dependency_injector/containers.pyx":373 * name: provider * for name, provider in cls.providers.items() * if isinstance(provider, (Dependency, DependenciesContainer)) # <<<<<<<<<<<<<< @@ -10141,14 +9123,13 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai */ } - /* "dependency_injector/containers.pyx":373 + /* "dependency_injector/containers.pyx":372 * return { * name: provider * for name, provider in cls.providers.items() # <<<<<<<<<<<<<< * if isinstance(provider, (Dependency, DependenciesContainer)) * } */ - __Pyx_TraceLine(373,0,__PYX_ERR(0, 373, __pyx_L5_error)) } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_8genexpr4__pyx_v_name); __pyx_8genexpr4__pyx_v_name = 0; @@ -10164,7 +9145,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai __pyx_t_1 = 0; goto __pyx_L0; - /* "dependency_injector/containers.pyx":362 + /* "dependency_injector/containers.pyx":361 * * @property * def dependencies(cls): # <<<<<<<<<<<<<< @@ -10186,12 +9167,11 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_29DeclarativeContai __Pyx_XDECREF(__pyx_8genexpr4__pyx_v_name); __Pyx_XDECREF(__pyx_8genexpr4__pyx_v_provider); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "dependency_injector/containers.pyx":441 +/* "dependency_injector/containers.pyx":440 * """ * * def __new__(cls, **overriding_providers): # <<<<<<<<<<<<<< @@ -10233,7 +9213,7 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_20DeclarativeContai else goto __pyx_L5_argtuple_error; } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_overriding_providers, values, pos_args, "__new__") < 0)) __PYX_ERR(0, 441, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, __pyx_v_overriding_providers, values, pos_args, "__new__") < 0)) __PYX_ERR(0, 440, __pyx_L3_error) } } else if (PyTuple_GET_SIZE(__pyx_args) != 1) { goto __pyx_L5_argtuple_error; @@ -10244,7 +9224,7 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_20DeclarativeContai } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__new__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 441, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__new__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 440, __pyx_L3_error) __pyx_L3_error:; __Pyx_DECREF(__pyx_v_overriding_providers); __pyx_v_overriding_providers = 0; __Pyx_AddTraceback("dependency_injector.containers.DeclarativeContainer.__new__", __pyx_clineno, __pyx_lineno, __pyx_filename); @@ -10262,7 +9242,6 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_20DeclarativeContai static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContainer___new__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_cls, PyObject *__pyx_v_overriding_providers) { PyObject *__pyx_v_container = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -10271,19 +9250,16 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__24) __Pyx_RefNannySetupContext("__new__", 0); - __Pyx_TraceCall("__new__", __pyx_f[0], 441, 0, __PYX_ERR(0, 441, __pyx_L1_error)); - /* "dependency_injector/containers.pyx":447 + /* "dependency_injector/containers.pyx":446 * :rtype: :py:class:`DynamicContainer` * """ * container = cls.instance_type() # <<<<<<<<<<<<<< * container.provider_type = cls.provider_type * container.declarative_parent = cls */ - __Pyx_TraceLine(447,0,__PYX_ERR(0, 447, __pyx_L1_error)) - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_instance_type); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 447, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_instance_type); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 446, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -10297,93 +9273,88 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai } __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 447, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 446, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_v_container = __pyx_t_1; __pyx_t_1 = 0; - /* "dependency_injector/containers.pyx":448 + /* "dependency_injector/containers.pyx":447 * """ * container = cls.instance_type() * container.provider_type = cls.provider_type # <<<<<<<<<<<<<< * container.declarative_parent = cls * container.set_providers(**deepcopy(cls.providers)) */ - __Pyx_TraceLine(448,0,__PYX_ERR(0, 448, __pyx_L1_error)) - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_provider_type); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 448, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_provider_type); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 447, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_v_container, __pyx_n_s_provider_type, __pyx_t_1) < 0) __PYX_ERR(0, 448, __pyx_L1_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_v_container, __pyx_n_s_provider_type, __pyx_t_1) < 0) __PYX_ERR(0, 447, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "dependency_injector/containers.pyx":449 + /* "dependency_injector/containers.pyx":448 * container = cls.instance_type() * container.provider_type = cls.provider_type * container.declarative_parent = cls # <<<<<<<<<<<<<< * container.set_providers(**deepcopy(cls.providers)) * container.override_providers(**overriding_providers) */ - __Pyx_TraceLine(449,0,__PYX_ERR(0, 449, __pyx_L1_error)) - if (__Pyx_PyObject_SetAttrStr(__pyx_v_container, __pyx_n_s_declarative_parent, __pyx_v_cls) < 0) __PYX_ERR(0, 449, __pyx_L1_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_v_container, __pyx_n_s_declarative_parent, __pyx_v_cls) < 0) __PYX_ERR(0, 448, __pyx_L1_error) - /* "dependency_injector/containers.pyx":450 + /* "dependency_injector/containers.pyx":449 * container.provider_type = cls.provider_type * container.declarative_parent = cls * container.set_providers(**deepcopy(cls.providers)) # <<<<<<<<<<<<<< * container.override_providers(**overriding_providers) * container.apply_container_providers_overridings() */ - __Pyx_TraceLine(450,0,__PYX_ERR(0, 450, __pyx_L1_error)) - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_container, __pyx_n_s_set_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 450, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_container, __pyx_n_s_set_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 449, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_providers); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 450, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_providers); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 449, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __pyx_f_19dependency_injector_9providers_deepcopy(__pyx_t_3, 0, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 450, __pyx_L1_error) + __pyx_t_4 = __pyx_f_19dependency_injector_9providers_deepcopy(__pyx_t_3, 0, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 449, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (unlikely(__pyx_t_4 == Py_None)) { PyErr_SetString(PyExc_TypeError, "argument after ** must be a mapping, not NoneType"); - __PYX_ERR(0, 450, __pyx_L1_error) + __PYX_ERR(0, 449, __pyx_L1_error) } if (likely(PyDict_CheckExact(__pyx_t_4))) { - __pyx_t_2 = PyDict_Copy(__pyx_t_4); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 450, __pyx_L1_error) + __pyx_t_2 = PyDict_Copy(__pyx_t_4); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 449, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } else { - __pyx_t_2 = PyObject_CallFunctionObjArgs((PyObject*)&PyDict_Type, __pyx_t_4, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 450, __pyx_L1_error) + __pyx_t_2 = PyObject_CallFunctionObjArgs((PyObject*)&PyDict_Type, __pyx_t_4, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 449, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } - __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_empty_tuple, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 450, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_empty_tuple, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 449, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "dependency_injector/containers.pyx":451 + /* "dependency_injector/containers.pyx":450 * container.declarative_parent = cls * container.set_providers(**deepcopy(cls.providers)) * container.override_providers(**overriding_providers) # <<<<<<<<<<<<<< * container.apply_container_providers_overridings() * return container */ - __Pyx_TraceLine(451,0,__PYX_ERR(0, 451, __pyx_L1_error)) - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_container, __pyx_n_s_override_providers); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 451, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_container, __pyx_n_s_override_providers); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 450, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_empty_tuple, __pyx_v_overriding_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 451, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_empty_tuple, __pyx_v_overriding_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 450, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "dependency_injector/containers.pyx":452 + /* "dependency_injector/containers.pyx":451 * container.set_providers(**deepcopy(cls.providers)) * container.override_providers(**overriding_providers) * container.apply_container_providers_overridings() # <<<<<<<<<<<<<< * return container * */ - __Pyx_TraceLine(452,0,__PYX_ERR(0, 452, __pyx_L1_error)) - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_container, __pyx_n_s_apply_container_providers_overri); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 452, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_container, __pyx_n_s_apply_container_providers_overri); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 451, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_1 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) { @@ -10397,25 +9368,24 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai } __pyx_t_2 = (__pyx_t_1) ? __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_1) : __Pyx_PyObject_CallNoArg(__pyx_t_4); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 452, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 451, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "dependency_injector/containers.pyx":453 + /* "dependency_injector/containers.pyx":452 * container.override_providers(**overriding_providers) * container.apply_container_providers_overridings() * return container # <<<<<<<<<<<<<< * * @classmethod */ - __Pyx_TraceLine(453,0,__PYX_ERR(0, 453, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_container); __pyx_r = __pyx_v_container; goto __pyx_L0; - /* "dependency_injector/containers.pyx":441 + /* "dependency_injector/containers.pyx":440 * """ * * def __new__(cls, **overriding_providers): # <<<<<<<<<<<<<< @@ -10434,12 +9404,11 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __pyx_L0:; __Pyx_XDECREF(__pyx_v_container); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "dependency_injector/containers.pyx":456 +/* "dependency_injector/containers.pyx":455 * * @classmethod * def override(cls, object overriding): # <<<<<<<<<<<<<< @@ -10483,11 +9452,11 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_20DeclarativeContai case 1: if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_overriding)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("override", 1, 2, 2, 1); __PYX_ERR(0, 456, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("override", 1, 2, 2, 1); __PYX_ERR(0, 455, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "override") < 0)) __PYX_ERR(0, 456, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "override") < 0)) __PYX_ERR(0, 455, __pyx_L3_error) } } else if (PyTuple_GET_SIZE(__pyx_args) != 2) { goto __pyx_L5_argtuple_error; @@ -10500,7 +9469,7 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_20DeclarativeContai } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("override", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 456, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("override", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 455, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("dependency_injector.containers.DeclarativeContainer.override", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -10517,7 +9486,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai PyObject *__pyx_v_name = NULL; PyObject *__pyx_v_provider = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -10536,42 +9504,37 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__25) __Pyx_RefNannySetupContext("override", 0); - __Pyx_TraceCall("override", __pyx_f[0], 456, 0, __PYX_ERR(0, 456, __pyx_L1_error)); - /* "dependency_injector/containers.pyx":467 + /* "dependency_injector/containers.pyx":466 * :rtype: None * """ * if issubclass(cls, overriding): # <<<<<<<<<<<<<< * raise Error('Container {0} could not be overridden ' * 'with itself or its subclasses'.format(cls)) */ - __Pyx_TraceLine(467,0,__PYX_ERR(0, 467, __pyx_L1_error)) - __pyx_t_1 = PyObject_IsSubclass(__pyx_v_cls, __pyx_v_overriding); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 467, __pyx_L1_error) + __pyx_t_1 = PyObject_IsSubclass(__pyx_v_cls, __pyx_v_overriding); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 466, __pyx_L1_error) __pyx_t_2 = (__pyx_t_1 != 0); if (unlikely(__pyx_t_2)) { - /* "dependency_injector/containers.pyx":468 + /* "dependency_injector/containers.pyx":467 * """ * if issubclass(cls, overriding): * raise Error('Container {0} could not be overridden ' # <<<<<<<<<<<<<< * 'with itself or its subclasses'.format(cls)) * */ - __Pyx_TraceLine(468,0,__PYX_ERR(0, 468, __pyx_L1_error)) - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 468, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 467, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - /* "dependency_injector/containers.pyx":469 + /* "dependency_injector/containers.pyx":468 * if issubclass(cls, overriding): * raise Error('Container {0} could not be overridden ' * 'with itself or its subclasses'.format(cls)) # <<<<<<<<<<<<<< * * cls.overridden += (overriding,) */ - __Pyx_TraceLine(469,0,__PYX_ERR(0, 469, __pyx_L1_error)) - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Container_0_could_not_be_overrid_2, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 469, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Container_0_could_not_be_overrid_2, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 468, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_7 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_6))) { @@ -10585,7 +9548,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai } __pyx_t_5 = (__pyx_t_7) ? __Pyx_PyObject_Call2Args(__pyx_t_6, __pyx_t_7, __pyx_v_cls) : __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_v_cls); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 469, __pyx_L1_error) + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 468, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_6 = NULL; @@ -10601,14 +9564,14 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __pyx_t_3 = (__pyx_t_6) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_6, __pyx_t_5) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_5); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 468, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 467, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __PYX_ERR(0, 468, __pyx_L1_error) + __PYX_ERR(0, 467, __pyx_L1_error) - /* "dependency_injector/containers.pyx":467 + /* "dependency_injector/containers.pyx":466 * :rtype: None * """ * if issubclass(cls, overriding): # <<<<<<<<<<<<<< @@ -10617,42 +9580,40 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai */ } - /* "dependency_injector/containers.pyx":471 + /* "dependency_injector/containers.pyx":470 * 'with itself or its subclasses'.format(cls)) * * cls.overridden += (overriding,) # <<<<<<<<<<<<<< * * for name, provider in six.iteritems(overriding.cls_providers): */ - __Pyx_TraceLine(471,0,__PYX_ERR(0, 471, __pyx_L1_error)) - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_overridden); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 471, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_overridden); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 470, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 471, __pyx_L1_error) + __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 470, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(__pyx_v_overriding); __Pyx_GIVEREF(__pyx_v_overriding); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_overriding); - __pyx_t_5 = PyNumber_InPlaceAdd(__pyx_t_3, __pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 471, __pyx_L1_error) + __pyx_t_5 = PyNumber_InPlaceAdd(__pyx_t_3, __pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 470, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (__Pyx_PyObject_SetAttrStr(__pyx_v_cls, __pyx_n_s_overridden, __pyx_t_5) < 0) __PYX_ERR(0, 471, __pyx_L1_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_v_cls, __pyx_n_s_overridden, __pyx_t_5) < 0) __PYX_ERR(0, 470, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "dependency_injector/containers.pyx":473 + /* "dependency_injector/containers.pyx":472 * cls.overridden += (overriding,) * * for name, provider in six.iteritems(overriding.cls_providers): # <<<<<<<<<<<<<< * try: * getattr(cls, name).override(provider) */ - __Pyx_TraceLine(473,0,__PYX_ERR(0, 473, __pyx_L1_error)) - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_six); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 473, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_six); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 472, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_iteritems); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 473, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_iteritems); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 472, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_overriding, __pyx_n_s_cls_providers); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 473, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_overriding, __pyx_n_s_cls_providers); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 472, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_6 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) { @@ -10667,16 +9628,16 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __pyx_t_5 = (__pyx_t_6) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_6, __pyx_t_4) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_4); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 473, __pyx_L1_error) + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 472, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (likely(PyList_CheckExact(__pyx_t_5)) || PyTuple_CheckExact(__pyx_t_5)) { __pyx_t_3 = __pyx_t_5; __Pyx_INCREF(__pyx_t_3); __pyx_t_8 = 0; __pyx_t_9 = NULL; } else { - __pyx_t_8 = -1; __pyx_t_3 = PyObject_GetIter(__pyx_t_5); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 473, __pyx_L1_error) + __pyx_t_8 = -1; __pyx_t_3 = PyObject_GetIter(__pyx_t_5); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 472, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_9 = Py_TYPE(__pyx_t_3)->tp_iternext; if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 473, __pyx_L1_error) + __pyx_t_9 = Py_TYPE(__pyx_t_3)->tp_iternext; if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 472, __pyx_L1_error) } __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; for (;;) { @@ -10684,17 +9645,17 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai if (likely(PyList_CheckExact(__pyx_t_3))) { if (__pyx_t_8 >= PyList_GET_SIZE(__pyx_t_3)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_5 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_8); __Pyx_INCREF(__pyx_t_5); __pyx_t_8++; if (unlikely(0 < 0)) __PYX_ERR(0, 473, __pyx_L1_error) + __pyx_t_5 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_8); __Pyx_INCREF(__pyx_t_5); __pyx_t_8++; if (unlikely(0 < 0)) __PYX_ERR(0, 472, __pyx_L1_error) #else - __pyx_t_5 = PySequence_ITEM(__pyx_t_3, __pyx_t_8); __pyx_t_8++; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 473, __pyx_L1_error) + __pyx_t_5 = PySequence_ITEM(__pyx_t_3, __pyx_t_8); __pyx_t_8++; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 472, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); #endif } else { if (__pyx_t_8 >= PyTuple_GET_SIZE(__pyx_t_3)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_5 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_8); __Pyx_INCREF(__pyx_t_5); __pyx_t_8++; if (unlikely(0 < 0)) __PYX_ERR(0, 473, __pyx_L1_error) + __pyx_t_5 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_8); __Pyx_INCREF(__pyx_t_5); __pyx_t_8++; if (unlikely(0 < 0)) __PYX_ERR(0, 472, __pyx_L1_error) #else - __pyx_t_5 = PySequence_ITEM(__pyx_t_3, __pyx_t_8); __pyx_t_8++; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 473, __pyx_L1_error) + __pyx_t_5 = PySequence_ITEM(__pyx_t_3, __pyx_t_8); __pyx_t_8++; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 472, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); #endif } @@ -10704,7 +9665,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 473, __pyx_L1_error) + else __PYX_ERR(0, 472, __pyx_L1_error) } break; } @@ -10716,7 +9677,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai if (unlikely(size != 2)) { if (size > 2) __Pyx_RaiseTooManyValuesError(2); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 473, __pyx_L1_error) + __PYX_ERR(0, 472, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -10729,15 +9690,15 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __Pyx_INCREF(__pyx_t_4); __Pyx_INCREF(__pyx_t_6); #else - __pyx_t_4 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 473, __pyx_L1_error) + __pyx_t_4 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 472, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 473, __pyx_L1_error) + __pyx_t_6 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 472, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); #endif __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; } else { Py_ssize_t index = -1; - __pyx_t_7 = PyObject_GetIter(__pyx_t_5); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 473, __pyx_L1_error) + __pyx_t_7 = PyObject_GetIter(__pyx_t_5); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 472, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_10 = Py_TYPE(__pyx_t_7)->tp_iternext; @@ -10745,7 +9706,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __Pyx_GOTREF(__pyx_t_4); index = 1; __pyx_t_6 = __pyx_t_10(__pyx_t_7); if (unlikely(!__pyx_t_6)) goto __pyx_L6_unpacking_failed; __Pyx_GOTREF(__pyx_t_6); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_10(__pyx_t_7), 2) < 0) __PYX_ERR(0, 473, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_10(__pyx_t_7), 2) < 0) __PYX_ERR(0, 472, __pyx_L1_error) __pyx_t_10 = NULL; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; goto __pyx_L7_unpacking_done; @@ -10753,7 +9714,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_10 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 473, __pyx_L1_error) + __PYX_ERR(0, 472, __pyx_L1_error) __pyx_L7_unpacking_done:; } __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_4); @@ -10761,14 +9722,13 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __Pyx_XDECREF_SET(__pyx_v_provider, __pyx_t_6); __pyx_t_6 = 0; - /* "dependency_injector/containers.pyx":474 + /* "dependency_injector/containers.pyx":473 * * for name, provider in six.iteritems(overriding.cls_providers): * try: # <<<<<<<<<<<<<< * getattr(cls, name).override(provider) * except AttributeError: */ - __Pyx_TraceLine(474,0,__PYX_ERR(0, 474, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -10778,17 +9738,16 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __Pyx_XGOTREF(__pyx_t_13); /*try:*/ { - /* "dependency_injector/containers.pyx":475 + /* "dependency_injector/containers.pyx":474 * for name, provider in six.iteritems(overriding.cls_providers): * try: * getattr(cls, name).override(provider) # <<<<<<<<<<<<<< * except AttributeError: * pass */ - __Pyx_TraceLine(475,0,__PYX_ERR(0, 475, __pyx_L8_error)) - __pyx_t_6 = __Pyx_GetAttr(__pyx_v_cls, __pyx_v_name); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 475, __pyx_L8_error) + __pyx_t_6 = __Pyx_GetAttr(__pyx_v_cls, __pyx_v_name); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 474, __pyx_L8_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_override); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 475, __pyx_L8_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_override); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 474, __pyx_L8_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_6 = NULL; @@ -10803,12 +9762,12 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai } __pyx_t_5 = (__pyx_t_6) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_6, __pyx_v_provider) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_v_provider); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 475, __pyx_L8_error) + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 474, __pyx_L8_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "dependency_injector/containers.pyx":474 + /* "dependency_injector/containers.pyx":473 * * for name, provider in six.iteritems(overriding.cls_providers): * try: # <<<<<<<<<<<<<< @@ -10826,14 +9785,13 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "dependency_injector/containers.pyx":476 + /* "dependency_injector/containers.pyx":475 * try: * getattr(cls, name).override(provider) * except AttributeError: # <<<<<<<<<<<<<< * pass * */ - __Pyx_TraceLine(476,0,__PYX_ERR(0, 476, __pyx_L10_except_error)) __pyx_t_14 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_AttributeError); if (__pyx_t_14) { __Pyx_ErrRestore(0,0,0); @@ -10842,7 +9800,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai goto __pyx_L10_except_error; __pyx_L10_except_error:; - /* "dependency_injector/containers.pyx":474 + /* "dependency_injector/containers.pyx":473 * * for name, provider in six.iteritems(overriding.cls_providers): * try: # <<<<<<<<<<<<<< @@ -10862,18 +9820,17 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __pyx_L15_try_end:; } - /* "dependency_injector/containers.pyx":473 + /* "dependency_injector/containers.pyx":472 * cls.overridden += (overriding,) * * for name, provider in six.iteritems(overriding.cls_providers): # <<<<<<<<<<<<<< * try: * getattr(cls, name).override(provider) */ - __Pyx_TraceLine(473,0,__PYX_ERR(0, 473, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "dependency_injector/containers.pyx":456 + /* "dependency_injector/containers.pyx":455 * * @classmethod * def override(cls, object overriding): # <<<<<<<<<<<<<< @@ -10896,12 +9853,11 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __Pyx_XDECREF(__pyx_v_name); __Pyx_XDECREF(__pyx_v_provider); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "dependency_injector/containers.pyx":480 +/* "dependency_injector/containers.pyx":479 * * @classmethod * def reset_last_overriding(cls): # <<<<<<<<<<<<<< @@ -10927,7 +9883,6 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_20DeclarativeContai static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContainer_4reset_last_overriding(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_cls) { PyObject *__pyx_v_provider = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -10941,36 +9896,32 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__26) __Pyx_RefNannySetupContext("reset_last_overriding", 0); - __Pyx_TraceCall("reset_last_overriding", __pyx_f[0], 480, 0, __PYX_ERR(0, 480, __pyx_L1_error)); - /* "dependency_injector/containers.pyx":485 + /* "dependency_injector/containers.pyx":484 * :rtype: None * """ * if not cls.overridden: # <<<<<<<<<<<<<< * raise Error('Container {0} is not overridden'.format(cls)) * */ - __Pyx_TraceLine(485,0,__PYX_ERR(0, 485, __pyx_L1_error)) - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_overridden); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 485, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_overridden); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 484, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 485, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 484, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_3 = ((!__pyx_t_2) != 0); if (unlikely(__pyx_t_3)) { - /* "dependency_injector/containers.pyx":486 + /* "dependency_injector/containers.pyx":485 * """ * if not cls.overridden: * raise Error('Container {0} is not overridden'.format(cls)) # <<<<<<<<<<<<<< * * cls.overridden = cls.overridden[:-1] */ - __Pyx_TraceLine(486,0,__PYX_ERR(0, 486, __pyx_L1_error)) - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 486, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 485, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Container_0_is_not_overridden, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 486, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Container_0_is_not_overridden, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 485, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_7 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_6))) { @@ -10984,7 +9935,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai } __pyx_t_5 = (__pyx_t_7) ? __Pyx_PyObject_Call2Args(__pyx_t_6, __pyx_t_7, __pyx_v_cls) : __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_v_cls); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 486, __pyx_L1_error) + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 485, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_6 = NULL; @@ -11000,14 +9951,14 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __pyx_t_1 = (__pyx_t_6) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_6, __pyx_t_5) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_5); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 486, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 485, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 486, __pyx_L1_error) + __PYX_ERR(0, 485, __pyx_L1_error) - /* "dependency_injector/containers.pyx":485 + /* "dependency_injector/containers.pyx":484 * :rtype: None * """ * if not cls.overridden: # <<<<<<<<<<<<<< @@ -11016,36 +9967,34 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai */ } - /* "dependency_injector/containers.pyx":488 + /* "dependency_injector/containers.pyx":487 * raise Error('Container {0} is not overridden'.format(cls)) * * cls.overridden = cls.overridden[:-1] # <<<<<<<<<<<<<< * * for provider in six.itervalues(cls.providers): */ - __Pyx_TraceLine(488,0,__PYX_ERR(0, 488, __pyx_L1_error)) - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_overridden); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 488, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_overridden); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 487, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_4 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, -1L, NULL, NULL, &__pyx_slice__13, 0, 1, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 488, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetSlice(__pyx_t_1, 0, -1L, NULL, NULL, &__pyx_slice__2, 0, 1, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 487, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__Pyx_PyObject_SetAttrStr(__pyx_v_cls, __pyx_n_s_overridden, __pyx_t_4) < 0) __PYX_ERR(0, 488, __pyx_L1_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_v_cls, __pyx_n_s_overridden, __pyx_t_4) < 0) __PYX_ERR(0, 487, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "dependency_injector/containers.pyx":490 + /* "dependency_injector/containers.pyx":489 * cls.overridden = cls.overridden[:-1] * * for provider in six.itervalues(cls.providers): # <<<<<<<<<<<<<< * provider.reset_last_overriding() * */ - __Pyx_TraceLine(490,0,__PYX_ERR(0, 490, __pyx_L1_error)) - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_six); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 490, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_six); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 489, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_itervalues); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 490, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_itervalues); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 489, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 490, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 489, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_6 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_5))) { @@ -11060,16 +10009,16 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __pyx_t_4 = (__pyx_t_6) ? __Pyx_PyObject_Call2Args(__pyx_t_5, __pyx_t_6, __pyx_t_1) : __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_t_1); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 490, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 489, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (likely(PyList_CheckExact(__pyx_t_4)) || PyTuple_CheckExact(__pyx_t_4)) { __pyx_t_5 = __pyx_t_4; __Pyx_INCREF(__pyx_t_5); __pyx_t_8 = 0; __pyx_t_9 = NULL; } else { - __pyx_t_8 = -1; __pyx_t_5 = PyObject_GetIter(__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 490, __pyx_L1_error) + __pyx_t_8 = -1; __pyx_t_5 = PyObject_GetIter(__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 489, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_9 = Py_TYPE(__pyx_t_5)->tp_iternext; if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 490, __pyx_L1_error) + __pyx_t_9 = Py_TYPE(__pyx_t_5)->tp_iternext; if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 489, __pyx_L1_error) } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; for (;;) { @@ -11077,17 +10026,17 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai if (likely(PyList_CheckExact(__pyx_t_5))) { if (__pyx_t_8 >= PyList_GET_SIZE(__pyx_t_5)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_4 = PyList_GET_ITEM(__pyx_t_5, __pyx_t_8); __Pyx_INCREF(__pyx_t_4); __pyx_t_8++; if (unlikely(0 < 0)) __PYX_ERR(0, 490, __pyx_L1_error) + __pyx_t_4 = PyList_GET_ITEM(__pyx_t_5, __pyx_t_8); __Pyx_INCREF(__pyx_t_4); __pyx_t_8++; if (unlikely(0 < 0)) __PYX_ERR(0, 489, __pyx_L1_error) #else - __pyx_t_4 = PySequence_ITEM(__pyx_t_5, __pyx_t_8); __pyx_t_8++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 490, __pyx_L1_error) + __pyx_t_4 = PySequence_ITEM(__pyx_t_5, __pyx_t_8); __pyx_t_8++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 489, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #endif } else { if (__pyx_t_8 >= PyTuple_GET_SIZE(__pyx_t_5)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_4 = PyTuple_GET_ITEM(__pyx_t_5, __pyx_t_8); __Pyx_INCREF(__pyx_t_4); __pyx_t_8++; if (unlikely(0 < 0)) __PYX_ERR(0, 490, __pyx_L1_error) + __pyx_t_4 = PyTuple_GET_ITEM(__pyx_t_5, __pyx_t_8); __Pyx_INCREF(__pyx_t_4); __pyx_t_8++; if (unlikely(0 < 0)) __PYX_ERR(0, 489, __pyx_L1_error) #else - __pyx_t_4 = PySequence_ITEM(__pyx_t_5, __pyx_t_8); __pyx_t_8++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 490, __pyx_L1_error) + __pyx_t_4 = PySequence_ITEM(__pyx_t_5, __pyx_t_8); __pyx_t_8++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 489, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #endif } @@ -11097,7 +10046,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 490, __pyx_L1_error) + else __PYX_ERR(0, 489, __pyx_L1_error) } break; } @@ -11106,15 +10055,14 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __Pyx_XDECREF_SET(__pyx_v_provider, __pyx_t_4); __pyx_t_4 = 0; - /* "dependency_injector/containers.pyx":491 + /* "dependency_injector/containers.pyx":490 * * for provider in six.itervalues(cls.providers): * provider.reset_last_overriding() # <<<<<<<<<<<<<< * * @classmethod */ - __Pyx_TraceLine(491,0,__PYX_ERR(0, 491, __pyx_L1_error)) - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_provider, __pyx_n_s_reset_last_overriding); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 491, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_provider, __pyx_n_s_reset_last_overriding); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 490, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_6 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_1))) { @@ -11128,23 +10076,22 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai } __pyx_t_4 = (__pyx_t_6) ? __Pyx_PyObject_CallOneArg(__pyx_t_1, __pyx_t_6) : __Pyx_PyObject_CallNoArg(__pyx_t_1); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 491, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 490, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "dependency_injector/containers.pyx":490 + /* "dependency_injector/containers.pyx":489 * cls.overridden = cls.overridden[:-1] * * for provider in six.itervalues(cls.providers): # <<<<<<<<<<<<<< * provider.reset_last_overriding() * */ - __Pyx_TraceLine(490,0,__PYX_ERR(0, 490, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "dependency_injector/containers.pyx":480 + /* "dependency_injector/containers.pyx":479 * * @classmethod * def reset_last_overriding(cls): # <<<<<<<<<<<<<< @@ -11166,12 +10113,11 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __pyx_L0:; __Pyx_XDECREF(__pyx_v_provider); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "dependency_injector/containers.pyx":494 +/* "dependency_injector/containers.pyx":493 * * @classmethod * def reset_override(cls): # <<<<<<<<<<<<<< @@ -11197,7 +10143,6 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_20DeclarativeContai static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContainer_6reset_override(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_cls) { PyObject *__pyx_v_provider = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -11208,37 +10153,33 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__27) __Pyx_RefNannySetupContext("reset_override", 0); - __Pyx_TraceCall("reset_override", __pyx_f[0], 494, 0, __PYX_ERR(0, 494, __pyx_L1_error)); - /* "dependency_injector/containers.pyx":499 + /* "dependency_injector/containers.pyx":498 * :rtype: None * """ * cls.overridden = tuple() # <<<<<<<<<<<<<< * * for provider in six.itervalues(cls.providers): */ - __Pyx_TraceLine(499,0,__PYX_ERR(0, 499, __pyx_L1_error)) - __pyx_t_1 = __Pyx_PyObject_CallNoArg(((PyObject *)(&PyTuple_Type))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 499, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_CallNoArg(((PyObject *)(&PyTuple_Type))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 498, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_v_cls, __pyx_n_s_overridden, __pyx_t_1) < 0) __PYX_ERR(0, 499, __pyx_L1_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_v_cls, __pyx_n_s_overridden, __pyx_t_1) < 0) __PYX_ERR(0, 498, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "dependency_injector/containers.pyx":501 + /* "dependency_injector/containers.pyx":500 * cls.overridden = tuple() * * for provider in six.itervalues(cls.providers): # <<<<<<<<<<<<<< * provider.reset_override() * */ - __Pyx_TraceLine(501,0,__PYX_ERR(0, 501, __pyx_L1_error)) - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_six); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 501, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_six); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 500, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_itervalues); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 501, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_itervalues); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 500, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 501, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 500, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) { @@ -11253,16 +10194,16 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __pyx_t_1 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_t_2) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_2); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 501, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 500, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (likely(PyList_CheckExact(__pyx_t_1)) || PyTuple_CheckExact(__pyx_t_1)) { __pyx_t_3 = __pyx_t_1; __Pyx_INCREF(__pyx_t_3); __pyx_t_5 = 0; __pyx_t_6 = NULL; } else { - __pyx_t_5 = -1; __pyx_t_3 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 501, __pyx_L1_error) + __pyx_t_5 = -1; __pyx_t_3 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 500, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_6 = Py_TYPE(__pyx_t_3)->tp_iternext; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 501, __pyx_L1_error) + __pyx_t_6 = Py_TYPE(__pyx_t_3)->tp_iternext; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 500, __pyx_L1_error) } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; for (;;) { @@ -11270,17 +10211,17 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai if (likely(PyList_CheckExact(__pyx_t_3))) { if (__pyx_t_5 >= PyList_GET_SIZE(__pyx_t_3)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_1 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_5); __Pyx_INCREF(__pyx_t_1); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 501, __pyx_L1_error) + __pyx_t_1 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_5); __Pyx_INCREF(__pyx_t_1); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 500, __pyx_L1_error) #else - __pyx_t_1 = PySequence_ITEM(__pyx_t_3, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 501, __pyx_L1_error) + __pyx_t_1 = PySequence_ITEM(__pyx_t_3, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 500, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); #endif } else { if (__pyx_t_5 >= PyTuple_GET_SIZE(__pyx_t_3)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_5); __Pyx_INCREF(__pyx_t_1); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 501, __pyx_L1_error) + __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_5); __Pyx_INCREF(__pyx_t_1); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 500, __pyx_L1_error) #else - __pyx_t_1 = PySequence_ITEM(__pyx_t_3, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 501, __pyx_L1_error) + __pyx_t_1 = PySequence_ITEM(__pyx_t_3, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 500, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); #endif } @@ -11290,7 +10231,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 501, __pyx_L1_error) + else __PYX_ERR(0, 500, __pyx_L1_error) } break; } @@ -11299,15 +10240,14 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __Pyx_XDECREF_SET(__pyx_v_provider, __pyx_t_1); __pyx_t_1 = 0; - /* "dependency_injector/containers.pyx":502 + /* "dependency_injector/containers.pyx":501 * * for provider in six.itervalues(cls.providers): * provider.reset_override() # <<<<<<<<<<<<<< * * @classmethod */ - __Pyx_TraceLine(502,0,__PYX_ERR(0, 502, __pyx_L1_error)) - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_provider, __pyx_n_s_reset_override); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 502, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_provider, __pyx_n_s_reset_override); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 501, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -11321,23 +10261,22 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai } __pyx_t_1 = (__pyx_t_4) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_4) : __Pyx_PyObject_CallNoArg(__pyx_t_2); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 502, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 501, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "dependency_injector/containers.pyx":501 + /* "dependency_injector/containers.pyx":500 * cls.overridden = tuple() * * for provider in six.itervalues(cls.providers): # <<<<<<<<<<<<<< * provider.reset_override() * */ - __Pyx_TraceLine(501,0,__PYX_ERR(0, 501, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "dependency_injector/containers.pyx":494 + /* "dependency_injector/containers.pyx":493 * * @classmethod * def reset_override(cls): # <<<<<<<<<<<<<< @@ -11358,12 +10297,11 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __pyx_L0:; __Pyx_XDECREF(__pyx_v_provider); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "dependency_injector/containers.pyx":505 +/* "dependency_injector/containers.pyx":504 * * @classmethod * def resolve_provider_name(cls, provider_to_resolve): # <<<<<<<<<<<<<< @@ -11407,11 +10345,11 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_20DeclarativeContai case 1: if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_provider_to_resolve)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("resolve_provider_name", 1, 2, 2, 1); __PYX_ERR(0, 505, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("resolve_provider_name", 1, 2, 2, 1); __PYX_ERR(0, 504, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "resolve_provider_name") < 0)) __PYX_ERR(0, 505, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "resolve_provider_name") < 0)) __PYX_ERR(0, 504, __pyx_L3_error) } } else if (PyTuple_GET_SIZE(__pyx_args) != 2) { goto __pyx_L5_argtuple_error; @@ -11424,7 +10362,7 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_20DeclarativeContai } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("resolve_provider_name", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 505, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("resolve_provider_name", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 504, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("dependency_injector.containers.DeclarativeContainer.resolve_provider_name", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -11441,7 +10379,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai PyObject *__pyx_v_provider_name = NULL; PyObject *__pyx_v_container_provider = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -11456,21 +10393,18 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__28) __Pyx_RefNannySetupContext("resolve_provider_name", 0); - __Pyx_TraceCall("resolve_provider_name", __pyx_f[0], 505, 0, __PYX_ERR(0, 505, __pyx_L1_error)); - /* "dependency_injector/containers.pyx":507 + /* "dependency_injector/containers.pyx":506 * def resolve_provider_name(cls, provider_to_resolve): * """Try to resolve provider name by its instance.""" * for provider_name, container_provider in cls.providers.items(): # <<<<<<<<<<<<<< * if container_provider is provider_to_resolve: * return provider_name */ - __Pyx_TraceLine(507,0,__PYX_ERR(0, 507, __pyx_L1_error)) - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 507, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_cls, __pyx_n_s_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 506, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_items); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 507, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_items); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 506, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_2 = NULL; @@ -11485,16 +10419,16 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai } __pyx_t_1 = (__pyx_t_2) ? __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_2) : __Pyx_PyObject_CallNoArg(__pyx_t_3); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 507, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 506, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (likely(PyList_CheckExact(__pyx_t_1)) || PyTuple_CheckExact(__pyx_t_1)) { __pyx_t_3 = __pyx_t_1; __Pyx_INCREF(__pyx_t_3); __pyx_t_4 = 0; __pyx_t_5 = NULL; } else { - __pyx_t_4 = -1; __pyx_t_3 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 507, __pyx_L1_error) + __pyx_t_4 = -1; __pyx_t_3 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 506, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = Py_TYPE(__pyx_t_3)->tp_iternext; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 507, __pyx_L1_error) + __pyx_t_5 = Py_TYPE(__pyx_t_3)->tp_iternext; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 506, __pyx_L1_error) } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; for (;;) { @@ -11502,17 +10436,17 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai if (likely(PyList_CheckExact(__pyx_t_3))) { if (__pyx_t_4 >= PyList_GET_SIZE(__pyx_t_3)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_1 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 507, __pyx_L1_error) + __pyx_t_1 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 506, __pyx_L1_error) #else - __pyx_t_1 = PySequence_ITEM(__pyx_t_3, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 507, __pyx_L1_error) + __pyx_t_1 = PySequence_ITEM(__pyx_t_3, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 506, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); #endif } else { if (__pyx_t_4 >= PyTuple_GET_SIZE(__pyx_t_3)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 507, __pyx_L1_error) + __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 506, __pyx_L1_error) #else - __pyx_t_1 = PySequence_ITEM(__pyx_t_3, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 507, __pyx_L1_error) + __pyx_t_1 = PySequence_ITEM(__pyx_t_3, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 506, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); #endif } @@ -11522,7 +10456,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 507, __pyx_L1_error) + else __PYX_ERR(0, 506, __pyx_L1_error) } break; } @@ -11534,7 +10468,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai if (unlikely(size != 2)) { if (size > 2) __Pyx_RaiseTooManyValuesError(2); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 507, __pyx_L1_error) + __PYX_ERR(0, 506, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -11547,15 +10481,15 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __Pyx_INCREF(__pyx_t_2); __Pyx_INCREF(__pyx_t_6); #else - __pyx_t_2 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 507, __pyx_L1_error) + __pyx_t_2 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 506, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_6 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 507, __pyx_L1_error) + __pyx_t_6 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 506, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); #endif __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } else { Py_ssize_t index = -1; - __pyx_t_7 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 507, __pyx_L1_error) + __pyx_t_7 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 506, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_8 = Py_TYPE(__pyx_t_7)->tp_iternext; @@ -11563,7 +10497,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __Pyx_GOTREF(__pyx_t_2); index = 1; __pyx_t_6 = __pyx_t_8(__pyx_t_7); if (unlikely(!__pyx_t_6)) goto __pyx_L5_unpacking_failed; __Pyx_GOTREF(__pyx_t_6); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_8(__pyx_t_7), 2) < 0) __PYX_ERR(0, 507, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_8(__pyx_t_7), 2) < 0) __PYX_ERR(0, 506, __pyx_L1_error) __pyx_t_8 = NULL; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; goto __pyx_L6_unpacking_done; @@ -11571,7 +10505,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_8 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 507, __pyx_L1_error) + __PYX_ERR(0, 506, __pyx_L1_error) __pyx_L6_unpacking_done:; } __Pyx_XDECREF_SET(__pyx_v_provider_name, __pyx_t_2); @@ -11579,33 +10513,31 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __Pyx_XDECREF_SET(__pyx_v_container_provider, __pyx_t_6); __pyx_t_6 = 0; - /* "dependency_injector/containers.pyx":508 + /* "dependency_injector/containers.pyx":507 * """Try to resolve provider name by its instance.""" * for provider_name, container_provider in cls.providers.items(): * if container_provider is provider_to_resolve: # <<<<<<<<<<<<<< * return provider_name * else: */ - __Pyx_TraceLine(508,0,__PYX_ERR(0, 508, __pyx_L1_error)) __pyx_t_9 = (__pyx_v_container_provider == __pyx_v_provider_to_resolve); __pyx_t_10 = (__pyx_t_9 != 0); if (__pyx_t_10) { - /* "dependency_injector/containers.pyx":509 + /* "dependency_injector/containers.pyx":508 * for provider_name, container_provider in cls.providers.items(): * if container_provider is provider_to_resolve: * return provider_name # <<<<<<<<<<<<<< * else: * return None */ - __Pyx_TraceLine(509,0,__PYX_ERR(0, 509, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_provider_name); __pyx_r = __pyx_v_provider_name; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; goto __pyx_L0; - /* "dependency_injector/containers.pyx":508 + /* "dependency_injector/containers.pyx":507 * """Try to resolve provider name by its instance.""" * for provider_name, container_provider in cls.providers.items(): * if container_provider is provider_to_resolve: # <<<<<<<<<<<<<< @@ -11614,42 +10546,39 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai */ } - /* "dependency_injector/containers.pyx":507 + /* "dependency_injector/containers.pyx":506 * def resolve_provider_name(cls, provider_to_resolve): * """Try to resolve provider name by its instance.""" * for provider_name, container_provider in cls.providers.items(): # <<<<<<<<<<<<<< * if container_provider is provider_to_resolve: * return provider_name */ - __Pyx_TraceLine(507,0,__PYX_ERR(0, 507, __pyx_L1_error)) } /*else*/ { - /* "dependency_injector/containers.pyx":511 + /* "dependency_injector/containers.pyx":510 * return provider_name * else: * return None # <<<<<<<<<<<<<< * * */ - __Pyx_TraceLine(511,0,__PYX_ERR(0, 511, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_r = Py_None; __Pyx_INCREF(Py_None); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; goto __pyx_L0; } - /* "dependency_injector/containers.pyx":507 + /* "dependency_injector/containers.pyx":506 * def resolve_provider_name(cls, provider_to_resolve): * """Try to resolve provider name by its instance.""" * for provider_name, container_provider in cls.providers.items(): # <<<<<<<<<<<<<< * if container_provider is provider_to_resolve: * return provider_name */ - __Pyx_TraceLine(507,0,__PYX_ERR(0, 507, __pyx_L1_error)) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "dependency_injector/containers.pyx":505 + /* "dependency_injector/containers.pyx":504 * * @classmethod * def resolve_provider_name(cls, provider_to_resolve): # <<<<<<<<<<<<<< @@ -11670,12 +10599,11 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_20DeclarativeContai __Pyx_XDECREF(__pyx_v_provider_name); __Pyx_XDECREF(__pyx_v_container_provider); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "dependency_injector/containers.pyx":514 +/* "dependency_injector/containers.pyx":513 * * * def override(object container): # <<<<<<<<<<<<<< @@ -11698,7 +10626,7 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_5override(PyObject return __pyx_r; } -/* "dependency_injector/containers.pyx":524 +/* "dependency_injector/containers.pyx":523 * :rtype: callable(:py:class:`DeclarativeContainer`) * """ * def _decorator(object overriding_container): # <<<<<<<<<<<<<< @@ -11722,10 +10650,9 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_8override_1_decorat } static PyObject *__pyx_pf_19dependency_injector_10containers_8override__decorator(PyObject *__pyx_self, PyObject *__pyx_v_overriding_container) { - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_4_override *__pyx_cur_scope; - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_4_override *__pyx_outer_scope; + struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct__override *__pyx_cur_scope; + struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct__override *__pyx_outer_scope; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -11734,20 +10661,18 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_8override__decorato const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_decorator", 0); - __pyx_outer_scope = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_4_override *) __Pyx_CyFunction_GetClosure(__pyx_self); + __pyx_outer_scope = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct__override *) __Pyx_CyFunction_GetClosure(__pyx_self); __pyx_cur_scope = __pyx_outer_scope; - __Pyx_TraceCall("_decorator", __pyx_f[0], 524, 0, __PYX_ERR(0, 524, __pyx_L1_error)); - /* "dependency_injector/containers.pyx":526 + /* "dependency_injector/containers.pyx":525 * def _decorator(object overriding_container): * """Overriding decorator.""" * container.override(overriding_container) # <<<<<<<<<<<<<< * return overriding_container * return _decorator */ - __Pyx_TraceLine(526,0,__PYX_ERR(0, 526, __pyx_L1_error)) - if (unlikely(!__pyx_cur_scope->__pyx_v_container)) { __Pyx_RaiseClosureNameError("container"); __PYX_ERR(0, 526, __pyx_L1_error) } - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_cur_scope->__pyx_v_container, __pyx_n_s_override); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 526, __pyx_L1_error) + if (unlikely(!__pyx_cur_scope->__pyx_v_container)) { __Pyx_RaiseClosureNameError("container"); __PYX_ERR(0, 525, __pyx_L1_error) } + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_cur_scope->__pyx_v_container, __pyx_n_s_override); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 525, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -11761,25 +10686,24 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_8override__decorato } __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_2, __pyx_t_3, __pyx_v_overriding_container) : __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_v_overriding_container); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 526, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 525, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "dependency_injector/containers.pyx":527 + /* "dependency_injector/containers.pyx":526 * """Overriding decorator.""" * container.override(overriding_container) * return overriding_container # <<<<<<<<<<<<<< * return _decorator * */ - __Pyx_TraceLine(527,0,__PYX_ERR(0, 527, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_overriding_container); __pyx_r = __pyx_v_overriding_container; goto __pyx_L0; - /* "dependency_injector/containers.pyx":524 + /* "dependency_injector/containers.pyx":523 * :rtype: callable(:py:class:`DeclarativeContainer`) * """ * def _decorator(object overriding_container): # <<<<<<<<<<<<<< @@ -11796,12 +10720,11 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_8override__decorato __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "dependency_injector/containers.pyx":514 +/* "dependency_injector/containers.pyx":513 * * * def override(object container): # <<<<<<<<<<<<<< @@ -11810,57 +10733,52 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_8override__decorato */ static PyObject *__pyx_pf_19dependency_injector_10containers_4override(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_container) { - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_4_override *__pyx_cur_scope; + struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct__override *__pyx_cur_scope; PyObject *__pyx_v__decorator = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__29) __Pyx_RefNannySetupContext("override", 0); - __pyx_cur_scope = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_4_override *)__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_4_override(__pyx_ptype_19dependency_injector_10containers___pyx_scope_struct_4_override, __pyx_empty_tuple, NULL); + __pyx_cur_scope = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct__override *)__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct__override(__pyx_ptype_19dependency_injector_10containers___pyx_scope_struct__override, __pyx_empty_tuple, NULL); if (unlikely(!__pyx_cur_scope)) { - __pyx_cur_scope = ((struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_4_override *)Py_None); + __pyx_cur_scope = ((struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct__override *)Py_None); __Pyx_INCREF(Py_None); - __PYX_ERR(0, 514, __pyx_L1_error) + __PYX_ERR(0, 513, __pyx_L1_error) } else { __Pyx_GOTREF(__pyx_cur_scope); } - __Pyx_TraceCall("override", __pyx_f[0], 514, 0, __PYX_ERR(0, 514, __pyx_L1_error)); __pyx_cur_scope->__pyx_v_container = __pyx_v_container; __Pyx_INCREF(__pyx_cur_scope->__pyx_v_container); __Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_container); - /* "dependency_injector/containers.pyx":524 + /* "dependency_injector/containers.pyx":523 * :rtype: callable(:py:class:`DeclarativeContainer`) * """ * def _decorator(object overriding_container): # <<<<<<<<<<<<<< * """Overriding decorator.""" * container.override(overriding_container) */ - __Pyx_TraceLine(524,0,__PYX_ERR(0, 524, __pyx_L1_error)) - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_8override_1_decorator, 0, __pyx_n_s_override_locals__decorator, ((PyObject*)__pyx_cur_scope), __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__31)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 524, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_8override_1_decorator, 0, __pyx_n_s_override_locals__decorator, ((PyObject*)__pyx_cur_scope), __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__4)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 523, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v__decorator = __pyx_t_1; __pyx_t_1 = 0; - /* "dependency_injector/containers.pyx":528 + /* "dependency_injector/containers.pyx":527 * container.override(overriding_container) * return overriding_container * return _decorator # <<<<<<<<<<<<<< * * */ - __Pyx_TraceLine(528,0,__PYX_ERR(0, 528, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v__decorator); __pyx_r = __pyx_v__decorator; goto __pyx_L0; - /* "dependency_injector/containers.pyx":514 + /* "dependency_injector/containers.pyx":513 * * * def override(object container): # <<<<<<<<<<<<<< @@ -11877,12 +10795,11 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4override(CYTHON_UN __Pyx_XDECREF(__pyx_v__decorator); __Pyx_DECREF(((PyObject *)__pyx_cur_scope)); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "dependency_injector/containers.pyx":531 +/* "dependency_injector/containers.pyx":530 * * * def copy(object container): # <<<<<<<<<<<<<< @@ -11905,7 +10822,7 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_7copy(PyObject *__p return __pyx_r; } -/* "dependency_injector/containers.pyx":544 +/* "dependency_injector/containers.pyx":543 * :rtype: callable(:py:class:`DeclarativeContainer`) * """ * def _get_providers_memo(from_providers, source_providers): # <<<<<<<<<<<<<< @@ -11948,11 +10865,11 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_4copy_1_get_provide case 1: if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_source_providers)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("_get_providers_memo", 1, 2, 2, 1); __PYX_ERR(0, 544, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("_get_providers_memo", 1, 2, 2, 1); __PYX_ERR(0, 543, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_get_providers_memo") < 0)) __PYX_ERR(0, 544, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_get_providers_memo") < 0)) __PYX_ERR(0, 543, __pyx_L3_error) } } else if (PyTuple_GET_SIZE(__pyx_args) != 2) { goto __pyx_L5_argtuple_error; @@ -11965,7 +10882,7 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_4copy_1_get_provide } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("_get_providers_memo", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 544, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("_get_providers_memo", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 543, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("dependency_injector.containers.copy._get_providers_memo", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -11979,15 +10896,14 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_4copy_1_get_provide } static PyObject *__pyx_pf_19dependency_injector_10containers_4copy__get_providers_memo(PyObject *__pyx_self, PyObject *__pyx_v_from_providers, PyObject *__pyx_v_source_providers) { - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy *__pyx_cur_scope; - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy *__pyx_outer_scope; + struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy *__pyx_cur_scope; + struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy *__pyx_outer_scope; PyObject *__pyx_v_memo = NULL; PyObject *__pyx_v_name = NULL; PyObject *__pyx_v_provider = NULL; PyObject *__pyx_v_source_provider = NULL; PyObject *__pyx_v_sub_memo = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -12008,32 +10924,29 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy__get_provider const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_get_providers_memo", 0); - __pyx_outer_scope = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy *) __Pyx_CyFunction_GetClosure(__pyx_self); + __pyx_outer_scope = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy *) __Pyx_CyFunction_GetClosure(__pyx_self); __pyx_cur_scope = __pyx_outer_scope; - __Pyx_TraceCall("_get_providers_memo", __pyx_f[0], 544, 0, __PYX_ERR(0, 544, __pyx_L1_error)); - /* "dependency_injector/containers.pyx":545 + /* "dependency_injector/containers.pyx":544 * """ * def _get_providers_memo(from_providers, source_providers): * memo = dict() # <<<<<<<<<<<<<< * * for name, provider in from_providers.items(): */ - __Pyx_TraceLine(545,0,__PYX_ERR(0, 545, __pyx_L1_error)) - __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 545, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 544, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_memo = ((PyObject*)__pyx_t_1); __pyx_t_1 = 0; - /* "dependency_injector/containers.pyx":547 + /* "dependency_injector/containers.pyx":546 * memo = dict() * * for name, provider in from_providers.items(): # <<<<<<<<<<<<<< * try: * source_provider = source_providers[name] */ - __Pyx_TraceLine(547,0,__PYX_ERR(0, 547, __pyx_L1_error)) - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_from_providers, __pyx_n_s_items); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 547, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_from_providers, __pyx_n_s_items); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 546, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -12047,16 +10960,16 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy__get_provider } __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 547, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 546, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (likely(PyList_CheckExact(__pyx_t_1)) || PyTuple_CheckExact(__pyx_t_1)) { __pyx_t_2 = __pyx_t_1; __Pyx_INCREF(__pyx_t_2); __pyx_t_4 = 0; __pyx_t_5 = NULL; } else { - __pyx_t_4 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 547, __pyx_L1_error) + __pyx_t_4 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 546, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_5 = Py_TYPE(__pyx_t_2)->tp_iternext; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 547, __pyx_L1_error) + __pyx_t_5 = Py_TYPE(__pyx_t_2)->tp_iternext; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 546, __pyx_L1_error) } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; for (;;) { @@ -12064,17 +10977,17 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy__get_provider if (likely(PyList_CheckExact(__pyx_t_2))) { if (__pyx_t_4 >= PyList_GET_SIZE(__pyx_t_2)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_1 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 547, __pyx_L1_error) + __pyx_t_1 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 546, __pyx_L1_error) #else - __pyx_t_1 = PySequence_ITEM(__pyx_t_2, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 547, __pyx_L1_error) + __pyx_t_1 = PySequence_ITEM(__pyx_t_2, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 546, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); #endif } else { if (__pyx_t_4 >= PyTuple_GET_SIZE(__pyx_t_2)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 547, __pyx_L1_error) + __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 546, __pyx_L1_error) #else - __pyx_t_1 = PySequence_ITEM(__pyx_t_2, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 547, __pyx_L1_error) + __pyx_t_1 = PySequence_ITEM(__pyx_t_2, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 546, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); #endif } @@ -12084,7 +10997,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy__get_provider PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 547, __pyx_L1_error) + else __PYX_ERR(0, 546, __pyx_L1_error) } break; } @@ -12096,7 +11009,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy__get_provider if (unlikely(size != 2)) { if (size > 2) __Pyx_RaiseTooManyValuesError(2); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 547, __pyx_L1_error) + __PYX_ERR(0, 546, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -12109,15 +11022,15 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy__get_provider __Pyx_INCREF(__pyx_t_3); __Pyx_INCREF(__pyx_t_6); #else - __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 547, __pyx_L1_error) + __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 546, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_6 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 547, __pyx_L1_error) + __pyx_t_6 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 546, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); #endif __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } else { Py_ssize_t index = -1; - __pyx_t_7 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 547, __pyx_L1_error) + __pyx_t_7 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 546, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_8 = Py_TYPE(__pyx_t_7)->tp_iternext; @@ -12125,7 +11038,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy__get_provider __Pyx_GOTREF(__pyx_t_3); index = 1; __pyx_t_6 = __pyx_t_8(__pyx_t_7); if (unlikely(!__pyx_t_6)) goto __pyx_L5_unpacking_failed; __Pyx_GOTREF(__pyx_t_6); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_8(__pyx_t_7), 2) < 0) __PYX_ERR(0, 547, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_8(__pyx_t_7), 2) < 0) __PYX_ERR(0, 546, __pyx_L1_error) __pyx_t_8 = NULL; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; goto __pyx_L6_unpacking_done; @@ -12133,7 +11046,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy__get_provider __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_8 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 547, __pyx_L1_error) + __PYX_ERR(0, 546, __pyx_L1_error) __pyx_L6_unpacking_done:; } __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_3); @@ -12141,14 +11054,13 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy__get_provider __Pyx_XDECREF_SET(__pyx_v_provider, __pyx_t_6); __pyx_t_6 = 0; - /* "dependency_injector/containers.pyx":548 + /* "dependency_injector/containers.pyx":547 * * for name, provider in from_providers.items(): * try: # <<<<<<<<<<<<<< * source_provider = source_providers[name] * except KeyError: */ - __Pyx_TraceLine(548,0,__PYX_ERR(0, 548, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -12158,20 +11070,19 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy__get_provider __Pyx_XGOTREF(__pyx_t_11); /*try:*/ { - /* "dependency_injector/containers.pyx":549 + /* "dependency_injector/containers.pyx":548 * for name, provider in from_providers.items(): * try: * source_provider = source_providers[name] # <<<<<<<<<<<<<< * except KeyError: * ... */ - __Pyx_TraceLine(549,0,__PYX_ERR(0, 549, __pyx_L7_error)) - __pyx_t_1 = __Pyx_PyObject_GetItem(__pyx_v_source_providers, __pyx_v_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 549, __pyx_L7_error) + __pyx_t_1 = __Pyx_PyObject_GetItem(__pyx_v_source_providers, __pyx_v_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 548, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_XDECREF_SET(__pyx_v_source_provider, __pyx_t_1); __pyx_t_1 = 0; - /* "dependency_injector/containers.pyx":548 + /* "dependency_injector/containers.pyx":547 * * for name, provider in from_providers.items(): * try: # <<<<<<<<<<<<<< @@ -12180,74 +11091,70 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy__get_provider */ } - /* "dependency_injector/containers.pyx":553 + /* "dependency_injector/containers.pyx":552 * ... * else: * memo[id(source_provider)] = provider # <<<<<<<<<<<<<< * * if hasattr(provider, 'providers') and hasattr(source_provider, 'providers'): */ - __Pyx_TraceLine(553,0,__PYX_ERR(0, 553, __pyx_L9_except_error)) /*else:*/ { - __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, __pyx_v_source_provider); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 553, __pyx_L9_except_error) + __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, __pyx_v_source_provider); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 552, __pyx_L9_except_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(PyDict_SetItem(__pyx_v_memo, __pyx_t_1, __pyx_v_provider) < 0)) __PYX_ERR(0, 553, __pyx_L9_except_error) + if (unlikely(PyDict_SetItem(__pyx_v_memo, __pyx_t_1, __pyx_v_provider) < 0)) __PYX_ERR(0, 552, __pyx_L9_except_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "dependency_injector/containers.pyx":555 + /* "dependency_injector/containers.pyx":554 * memo[id(source_provider)] = provider * * if hasattr(provider, 'providers') and hasattr(source_provider, 'providers'): # <<<<<<<<<<<<<< * sub_memo = _get_providers_memo(provider.providers, source_provider.providers) * memo.update(sub_memo) */ - __Pyx_TraceLine(555,0,__PYX_ERR(0, 555, __pyx_L9_except_error)) - __pyx_t_13 = __Pyx_HasAttr(__pyx_v_provider, __pyx_n_s_providers); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 555, __pyx_L9_except_error) + __pyx_t_13 = __Pyx_HasAttr(__pyx_v_provider, __pyx_n_s_providers); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 554, __pyx_L9_except_error) __pyx_t_14 = (__pyx_t_13 != 0); if (__pyx_t_14) { } else { __pyx_t_12 = __pyx_t_14; goto __pyx_L16_bool_binop_done; } - __pyx_t_14 = __Pyx_HasAttr(__pyx_v_source_provider, __pyx_n_s_providers); if (unlikely(__pyx_t_14 == ((int)-1))) __PYX_ERR(0, 555, __pyx_L9_except_error) + __pyx_t_14 = __Pyx_HasAttr(__pyx_v_source_provider, __pyx_n_s_providers); if (unlikely(__pyx_t_14 == ((int)-1))) __PYX_ERR(0, 554, __pyx_L9_except_error) __pyx_t_13 = (__pyx_t_14 != 0); __pyx_t_12 = __pyx_t_13; __pyx_L16_bool_binop_done:; if (__pyx_t_12) { - /* "dependency_injector/containers.pyx":556 + /* "dependency_injector/containers.pyx":555 * * if hasattr(provider, 'providers') and hasattr(source_provider, 'providers'): * sub_memo = _get_providers_memo(provider.providers, source_provider.providers) # <<<<<<<<<<<<<< * memo.update(sub_memo) * return memo */ - __Pyx_TraceLine(556,0,__PYX_ERR(0, 556, __pyx_L9_except_error)) - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_provider, __pyx_n_s_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 556, __pyx_L9_except_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_provider, __pyx_n_s_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 555, __pyx_L9_except_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_source_provider, __pyx_n_s_providers); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 556, __pyx_L9_except_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_source_provider, __pyx_n_s_providers); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 555, __pyx_L9_except_error) __Pyx_GOTREF(__pyx_t_6); - if (unlikely(!__pyx_cur_scope->__pyx_v__get_providers_memo)) { __Pyx_RaiseClosureNameError("_get_providers_memo"); __PYX_ERR(0, 556, __pyx_L9_except_error) } - __pyx_t_3 = __pyx_pf_19dependency_injector_10containers_4copy__get_providers_memo(__pyx_cur_scope->__pyx_v__get_providers_memo, __pyx_t_1, __pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 556, __pyx_L9_except_error) + if (unlikely(!__pyx_cur_scope->__pyx_v__get_providers_memo)) { __Pyx_RaiseClosureNameError("_get_providers_memo"); __PYX_ERR(0, 555, __pyx_L9_except_error) } + __pyx_t_3 = __pyx_pf_19dependency_injector_10containers_4copy__get_providers_memo(__pyx_cur_scope->__pyx_v__get_providers_memo, __pyx_t_1, __pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 555, __pyx_L9_except_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_XDECREF_SET(__pyx_v_sub_memo, __pyx_t_3); __pyx_t_3 = 0; - /* "dependency_injector/containers.pyx":557 + /* "dependency_injector/containers.pyx":556 * if hasattr(provider, 'providers') and hasattr(source_provider, 'providers'): * sub_memo = _get_providers_memo(provider.providers, source_provider.providers) * memo.update(sub_memo) # <<<<<<<<<<<<<< * return memo * */ - __Pyx_TraceLine(557,0,__PYX_ERR(0, 557, __pyx_L9_except_error)) - __pyx_t_3 = __Pyx_CallUnboundCMethod1(&__pyx_umethod_PyDict_Type_update, __pyx_v_memo, __pyx_v_sub_memo); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 557, __pyx_L9_except_error) + __pyx_t_3 = __Pyx_CallUnboundCMethod1(&__pyx_umethod_PyDict_Type_update, __pyx_v_memo, __pyx_v_sub_memo); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 556, __pyx_L9_except_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "dependency_injector/containers.pyx":555 + /* "dependency_injector/containers.pyx":554 * memo[id(source_provider)] = provider * * if hasattr(provider, 'providers') and hasattr(source_provider, 'providers'): # <<<<<<<<<<<<<< @@ -12266,14 +11173,13 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy__get_provider __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "dependency_injector/containers.pyx":550 + /* "dependency_injector/containers.pyx":549 * try: * source_provider = source_providers[name] * except KeyError: # <<<<<<<<<<<<<< * ... * else: */ - __Pyx_TraceLine(550,0,__PYX_ERR(0, 550, __pyx_L9_except_error)) __pyx_t_15 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_KeyError); if (__pyx_t_15) { __Pyx_ErrRestore(0,0,0); @@ -12282,7 +11188,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy__get_provider goto __pyx_L9_except_error; __pyx_L9_except_error:; - /* "dependency_injector/containers.pyx":548 + /* "dependency_injector/containers.pyx":547 * * for name, provider in from_providers.items(): * try: # <<<<<<<<<<<<<< @@ -12302,31 +11208,29 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy__get_provider __pyx_L14_try_end:; } - /* "dependency_injector/containers.pyx":547 + /* "dependency_injector/containers.pyx":546 * memo = dict() * * for name, provider in from_providers.items(): # <<<<<<<<<<<<<< * try: * source_provider = source_providers[name] */ - __Pyx_TraceLine(547,0,__PYX_ERR(0, 547, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "dependency_injector/containers.pyx":558 + /* "dependency_injector/containers.pyx":557 * sub_memo = _get_providers_memo(provider.providers, source_provider.providers) * memo.update(sub_memo) * return memo # <<<<<<<<<<<<<< * * def _decorator(copied_container): */ - __Pyx_TraceLine(558,0,__PYX_ERR(0, 558, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_memo); __pyx_r = __pyx_v_memo; goto __pyx_L0; - /* "dependency_injector/containers.pyx":544 + /* "dependency_injector/containers.pyx":543 * :rtype: callable(:py:class:`DeclarativeContainer`) * """ * def _get_providers_memo(from_providers, source_providers): # <<<<<<<<<<<<<< @@ -12350,12 +11254,11 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy__get_provider __Pyx_XDECREF(__pyx_v_source_provider); __Pyx_XDECREF(__pyx_v_sub_memo); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "dependency_injector/containers.pyx":560 +/* "dependency_injector/containers.pyx":559 * return memo * * def _decorator(copied_container): # <<<<<<<<<<<<<< @@ -12378,14 +11281,13 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_4copy_3_decorator(P } static PyObject *__pyx_pf_19dependency_injector_10containers_4copy_2_decorator(PyObject *__pyx_self, PyObject *__pyx_v_copied_container) { - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy *__pyx_cur_scope; - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy *__pyx_outer_scope; + struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy *__pyx_cur_scope; + struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy *__pyx_outer_scope; PyObject *__pyx_v_memo = NULL; PyObject *__pyx_v_providers_copy = NULL; PyObject *__pyx_v_name = NULL; PyObject *__pyx_v_provider = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -12401,62 +11303,58 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy_2_decorator(P const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_decorator", 0); - __pyx_outer_scope = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy *) __Pyx_CyFunction_GetClosure(__pyx_self); + __pyx_outer_scope = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy *) __Pyx_CyFunction_GetClosure(__pyx_self); __pyx_cur_scope = __pyx_outer_scope; - __Pyx_TraceCall("_decorator", __pyx_f[0], 560, 0, __PYX_ERR(0, 560, __pyx_L1_error)); - /* "dependency_injector/containers.pyx":561 + /* "dependency_injector/containers.pyx":560 * * def _decorator(copied_container): * memo = _get_providers_memo(copied_container.cls_providers, container.providers) # <<<<<<<<<<<<<< * * providers_copy = deepcopy(container.providers, memo) */ - __Pyx_TraceLine(561,0,__PYX_ERR(0, 561, __pyx_L1_error)) - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_copied_container, __pyx_n_s_cls_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 561, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_copied_container, __pyx_n_s_cls_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 560, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely(!__pyx_cur_scope->__pyx_v_container)) { __Pyx_RaiseClosureNameError("container"); __PYX_ERR(0, 561, __pyx_L1_error) } - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_cur_scope->__pyx_v_container, __pyx_n_s_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 561, __pyx_L1_error) + if (unlikely(!__pyx_cur_scope->__pyx_v_container)) { __Pyx_RaiseClosureNameError("container"); __PYX_ERR(0, 560, __pyx_L1_error) } + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_cur_scope->__pyx_v_container, __pyx_n_s_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 560, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (unlikely(!__pyx_cur_scope->__pyx_v__get_providers_memo)) { __Pyx_RaiseClosureNameError("_get_providers_memo"); __PYX_ERR(0, 561, __pyx_L1_error) } - __pyx_t_3 = __pyx_pf_19dependency_injector_10containers_4copy__get_providers_memo(__pyx_cur_scope->__pyx_v__get_providers_memo, __pyx_t_1, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 561, __pyx_L1_error) + if (unlikely(!__pyx_cur_scope->__pyx_v__get_providers_memo)) { __Pyx_RaiseClosureNameError("_get_providers_memo"); __PYX_ERR(0, 560, __pyx_L1_error) } + __pyx_t_3 = __pyx_pf_19dependency_injector_10containers_4copy__get_providers_memo(__pyx_cur_scope->__pyx_v__get_providers_memo, __pyx_t_1, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 560, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_v_memo = __pyx_t_3; __pyx_t_3 = 0; - /* "dependency_injector/containers.pyx":563 + /* "dependency_injector/containers.pyx":562 * memo = _get_providers_memo(copied_container.cls_providers, container.providers) * * providers_copy = deepcopy(container.providers, memo) # <<<<<<<<<<<<<< * for name, provider in six.iteritems(providers_copy): * setattr(copied_container, name, provider) */ - __Pyx_TraceLine(563,0,__PYX_ERR(0, 563, __pyx_L1_error)) - if (unlikely(!__pyx_cur_scope->__pyx_v_container)) { __Pyx_RaiseClosureNameError("container"); __PYX_ERR(0, 563, __pyx_L1_error) } - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_cur_scope->__pyx_v_container, __pyx_n_s_providers); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 563, __pyx_L1_error) + if (unlikely(!__pyx_cur_scope->__pyx_v_container)) { __Pyx_RaiseClosureNameError("container"); __PYX_ERR(0, 562, __pyx_L1_error) } + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_cur_scope->__pyx_v_container, __pyx_n_s_providers); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 562, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(0, 563, __pyx_L1_error) + if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(0, 562, __pyx_L1_error) __pyx_t_4.__pyx_n = 1; __pyx_t_4.memo = ((PyObject*)__pyx_v_memo); - __pyx_t_2 = __pyx_f_19dependency_injector_9providers_deepcopy(__pyx_t_3, 0, &__pyx_t_4); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 563, __pyx_L1_error) + __pyx_t_2 = __pyx_f_19dependency_injector_9providers_deepcopy(__pyx_t_3, 0, &__pyx_t_4); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 562, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_v_providers_copy = __pyx_t_2; __pyx_t_2 = 0; - /* "dependency_injector/containers.pyx":564 + /* "dependency_injector/containers.pyx":563 * * providers_copy = deepcopy(container.providers, memo) * for name, provider in six.iteritems(providers_copy): # <<<<<<<<<<<<<< * setattr(copied_container, name, provider) * */ - __Pyx_TraceLine(564,0,__PYX_ERR(0, 564, __pyx_L1_error)) - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_six); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 564, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_six); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 563, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_iteritems); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 564, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_iteritems); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 563, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_3 = NULL; @@ -12471,16 +11369,16 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy_2_decorator(P } __pyx_t_2 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_1, __pyx_t_3, __pyx_v_providers_copy) : __Pyx_PyObject_CallOneArg(__pyx_t_1, __pyx_v_providers_copy); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 564, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 563, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (likely(PyList_CheckExact(__pyx_t_2)) || PyTuple_CheckExact(__pyx_t_2)) { __pyx_t_1 = __pyx_t_2; __Pyx_INCREF(__pyx_t_1); __pyx_t_5 = 0; __pyx_t_6 = NULL; } else { - __pyx_t_5 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 564, __pyx_L1_error) + __pyx_t_5 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 563, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_6 = Py_TYPE(__pyx_t_1)->tp_iternext; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 564, __pyx_L1_error) + __pyx_t_6 = Py_TYPE(__pyx_t_1)->tp_iternext; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 563, __pyx_L1_error) } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; for (;;) { @@ -12488,17 +11386,17 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy_2_decorator(P if (likely(PyList_CheckExact(__pyx_t_1))) { if (__pyx_t_5 >= PyList_GET_SIZE(__pyx_t_1)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_2 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_5); __Pyx_INCREF(__pyx_t_2); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 564, __pyx_L1_error) + __pyx_t_2 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_5); __Pyx_INCREF(__pyx_t_2); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 563, __pyx_L1_error) #else - __pyx_t_2 = PySequence_ITEM(__pyx_t_1, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 564, __pyx_L1_error) + __pyx_t_2 = PySequence_ITEM(__pyx_t_1, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 563, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); #endif } else { if (__pyx_t_5 >= PyTuple_GET_SIZE(__pyx_t_1)) break; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_2 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_5); __Pyx_INCREF(__pyx_t_2); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 564, __pyx_L1_error) + __pyx_t_2 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_5); __Pyx_INCREF(__pyx_t_2); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 563, __pyx_L1_error) #else - __pyx_t_2 = PySequence_ITEM(__pyx_t_1, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 564, __pyx_L1_error) + __pyx_t_2 = PySequence_ITEM(__pyx_t_1, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 563, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); #endif } @@ -12508,7 +11406,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy_2_decorator(P PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 564, __pyx_L1_error) + else __PYX_ERR(0, 563, __pyx_L1_error) } break; } @@ -12520,7 +11418,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy_2_decorator(P if (unlikely(size != 2)) { if (size > 2) __Pyx_RaiseTooManyValuesError(2); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 564, __pyx_L1_error) + __PYX_ERR(0, 563, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -12533,15 +11431,15 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy_2_decorator(P __Pyx_INCREF(__pyx_t_3); __Pyx_INCREF(__pyx_t_7); #else - __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 564, __pyx_L1_error) + __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 563, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_7 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 564, __pyx_L1_error) + __pyx_t_7 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 563, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); #endif __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } else { Py_ssize_t index = -1; - __pyx_t_8 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 564, __pyx_L1_error) + __pyx_t_8 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 563, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_9 = Py_TYPE(__pyx_t_8)->tp_iternext; @@ -12549,7 +11447,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy_2_decorator(P __Pyx_GOTREF(__pyx_t_3); index = 1; __pyx_t_7 = __pyx_t_9(__pyx_t_8); if (unlikely(!__pyx_t_7)) goto __pyx_L5_unpacking_failed; __Pyx_GOTREF(__pyx_t_7); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_9(__pyx_t_8), 2) < 0) __PYX_ERR(0, 564, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_9(__pyx_t_8), 2) < 0) __PYX_ERR(0, 563, __pyx_L1_error) __pyx_t_9 = NULL; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; goto __pyx_L6_unpacking_done; @@ -12557,7 +11455,7 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy_2_decorator(P __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_9 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 564, __pyx_L1_error) + __PYX_ERR(0, 563, __pyx_L1_error) __pyx_L6_unpacking_done:; } __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_3); @@ -12565,41 +11463,38 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy_2_decorator(P __Pyx_XDECREF_SET(__pyx_v_provider, __pyx_t_7); __pyx_t_7 = 0; - /* "dependency_injector/containers.pyx":565 + /* "dependency_injector/containers.pyx":564 * providers_copy = deepcopy(container.providers, memo) * for name, provider in six.iteritems(providers_copy): * setattr(copied_container, name, provider) # <<<<<<<<<<<<<< * * return copied_container */ - __Pyx_TraceLine(565,0,__PYX_ERR(0, 565, __pyx_L1_error)) - __pyx_t_10 = PyObject_SetAttr(__pyx_v_copied_container, __pyx_v_name, __pyx_v_provider); if (unlikely(__pyx_t_10 == ((int)-1))) __PYX_ERR(0, 565, __pyx_L1_error) + __pyx_t_10 = PyObject_SetAttr(__pyx_v_copied_container, __pyx_v_name, __pyx_v_provider); if (unlikely(__pyx_t_10 == ((int)-1))) __PYX_ERR(0, 564, __pyx_L1_error) - /* "dependency_injector/containers.pyx":564 + /* "dependency_injector/containers.pyx":563 * * providers_copy = deepcopy(container.providers, memo) * for name, provider in six.iteritems(providers_copy): # <<<<<<<<<<<<<< * setattr(copied_container, name, provider) * */ - __Pyx_TraceLine(564,0,__PYX_ERR(0, 564, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "dependency_injector/containers.pyx":567 + /* "dependency_injector/containers.pyx":566 * setattr(copied_container, name, provider) * * return copied_container # <<<<<<<<<<<<<< * return _decorator * */ - __Pyx_TraceLine(567,0,__PYX_ERR(0, 567, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied_container); __pyx_r = __pyx_v_copied_container; goto __pyx_L0; - /* "dependency_injector/containers.pyx":560 + /* "dependency_injector/containers.pyx":559 * return memo * * def _decorator(copied_container): # <<<<<<<<<<<<<< @@ -12622,12 +11517,11 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy_2_decorator(P __Pyx_XDECREF(__pyx_v_name); __Pyx_XDECREF(__pyx_v_provider); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "dependency_injector/containers.pyx":531 +/* "dependency_injector/containers.pyx":530 * * * def copy(object container): # <<<<<<<<<<<<<< @@ -12636,71 +11530,65 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_4copy_2_decorator(P */ static PyObject *__pyx_pf_19dependency_injector_10containers_6copy(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_container) { - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy *__pyx_cur_scope; + struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy *__pyx_cur_scope; PyObject *__pyx_v__decorator = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__32) __Pyx_RefNannySetupContext("copy", 0); - __pyx_cur_scope = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy *)__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_5_copy(__pyx_ptype_19dependency_injector_10containers___pyx_scope_struct_5_copy, __pyx_empty_tuple, NULL); + __pyx_cur_scope = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy *)__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_1_copy(__pyx_ptype_19dependency_injector_10containers___pyx_scope_struct_1_copy, __pyx_empty_tuple, NULL); if (unlikely(!__pyx_cur_scope)) { - __pyx_cur_scope = ((struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy *)Py_None); + __pyx_cur_scope = ((struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy *)Py_None); __Pyx_INCREF(Py_None); - __PYX_ERR(0, 531, __pyx_L1_error) + __PYX_ERR(0, 530, __pyx_L1_error) } else { __Pyx_GOTREF(__pyx_cur_scope); } - __Pyx_TraceCall("copy", __pyx_f[0], 531, 0, __PYX_ERR(0, 531, __pyx_L1_error)); __pyx_cur_scope->__pyx_v_container = __pyx_v_container; __Pyx_INCREF(__pyx_cur_scope->__pyx_v_container); __Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_container); - /* "dependency_injector/containers.pyx":544 + /* "dependency_injector/containers.pyx":543 * :rtype: callable(:py:class:`DeclarativeContainer`) * """ * def _get_providers_memo(from_providers, source_providers): # <<<<<<<<<<<<<< * memo = dict() * */ - __Pyx_TraceLine(544,0,__PYX_ERR(0, 544, __pyx_L1_error)) - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_4copy_1_get_providers_memo, 0, __pyx_n_s_copy_locals__get_providers_memo, ((PyObject*)__pyx_cur_scope), __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__34)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 544, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_4copy_1_get_providers_memo, 0, __pyx_n_s_copy_locals__get_providers_memo, ((PyObject*)__pyx_cur_scope), __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__6)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 543, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __pyx_cur_scope->__pyx_v__get_providers_memo = __pyx_t_1; __pyx_t_1 = 0; - /* "dependency_injector/containers.pyx":560 + /* "dependency_injector/containers.pyx":559 * return memo * * def _decorator(copied_container): # <<<<<<<<<<<<<< * memo = _get_providers_memo(copied_container.cls_providers, container.providers) * */ - __Pyx_TraceLine(560,0,__PYX_ERR(0, 560, __pyx_L1_error)) - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_4copy_3_decorator, 0, __pyx_n_s_copy_locals__decorator, ((PyObject*)__pyx_cur_scope), __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__36)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 560, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_4copy_3_decorator, 0, __pyx_n_s_copy_locals__decorator, ((PyObject*)__pyx_cur_scope), __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__8)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 559, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v__decorator = __pyx_t_1; __pyx_t_1 = 0; - /* "dependency_injector/containers.pyx":568 + /* "dependency_injector/containers.pyx":567 * * return copied_container * return _decorator # <<<<<<<<<<<<<< * * */ - __Pyx_TraceLine(568,0,__PYX_ERR(0, 568, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v__decorator); __pyx_r = __pyx_v__decorator; goto __pyx_L0; - /* "dependency_injector/containers.pyx":531 + /* "dependency_injector/containers.pyx":530 * * * def copy(object container): # <<<<<<<<<<<<<< @@ -12717,12 +11605,11 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_6copy(CYTHON_UNUSED __Pyx_XDECREF(__pyx_v__decorator); __Pyx_DECREF(((PyObject *)__pyx_cur_scope)); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "dependency_injector/containers.pyx":571 +/* "dependency_injector/containers.pyx":570 * * * cpdef bint is_container(object instance): # <<<<<<<<<<<<<< @@ -12733,7 +11620,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_6copy(CYTHON_UNUSED static PyObject *__pyx_pw_19dependency_injector_10containers_9is_container(PyObject *__pyx_self, PyObject *__pyx_v_instance); /*proto*/ static int __pyx_f_19dependency_injector_10containers_is_container(PyObject *__pyx_v_instance, CYTHON_UNUSED int __pyx_skip_dispatch) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -12741,24 +11627,22 @@ static int __pyx_f_19dependency_injector_10containers_is_container(PyObject *__p const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("is_container", 0); - __Pyx_TraceCall("is_container", __pyx_f[0], 571, 0, __PYX_ERR(0, 571, __pyx_L1_error)); - /* "dependency_injector/containers.pyx":579 + /* "dependency_injector/containers.pyx":578 * :rtype: bool * """ * return getattr(instance, '__IS_CONTAINER__', False) is True # <<<<<<<<<<<<<< * * */ - __Pyx_TraceLine(579,0,__PYX_ERR(0, 579, __pyx_L1_error)) - __pyx_t_1 = __Pyx_GetAttr3(__pyx_v_instance, __pyx_n_s_IS_CONTAINER, Py_False); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 579, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetAttr3(__pyx_v_instance, __pyx_n_s_IS_CONTAINER, Py_False); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 578, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = (__pyx_t_1 == Py_True); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_r = __pyx_t_2; goto __pyx_L0; - /* "dependency_injector/containers.pyx":571 + /* "dependency_injector/containers.pyx":570 * * * cpdef bint is_container(object instance): # <<<<<<<<<<<<<< @@ -12772,7 +11656,6 @@ static int __pyx_f_19dependency_injector_10containers_is_container(PyObject *__p __Pyx_WriteUnraisable("dependency_injector.containers.is_container", __pyx_clineno, __pyx_lineno, __pyx_filename, 1, 0); __pyx_r = 0; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -12793,16 +11676,14 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_9is_container(PyObj static PyObject *__pyx_pf_19dependency_injector_10containers_8is_container(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_instance) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("is_container", 0); - __Pyx_TraceCall("is_container (wrapper)", __pyx_f[0], 571, 0, __PYX_ERR(0, 571, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_f_19dependency_injector_10containers_is_container(__pyx_v_instance, 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 571, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_f_19dependency_injector_10containers_is_container(__pyx_v_instance, 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 570, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; @@ -12815,12 +11696,11 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_8is_container(CYTHO __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "dependency_injector/containers.pyx":582 +/* "dependency_injector/containers.pyx":581 * * * cpdef object _check_provider_type(object container, object provider): # <<<<<<<<<<<<<< @@ -12831,7 +11711,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_8is_container(CYTHO static PyObject *__pyx_pw_19dependency_injector_10containers_11_check_provider_type(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ static PyObject *__pyx_f_19dependency_injector_10containers__check_provider_type(PyObject *__pyx_v_container, PyObject *__pyx_v_provider, CYTHON_UNUSED int __pyx_skip_dispatch) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -12847,45 +11726,41 @@ static PyObject *__pyx_f_19dependency_injector_10containers__check_provider_type const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_check_provider_type", 0); - __Pyx_TraceCall("_check_provider_type", __pyx_f[0], 582, 0, __PYX_ERR(0, 582, __pyx_L1_error)); - /* "dependency_injector/containers.pyx":583 + /* "dependency_injector/containers.pyx":582 * * cpdef object _check_provider_type(object container, object provider): * if not isinstance(provider, container.provider_type): # <<<<<<<<<<<<<< * raise Error('{0} can contain only {1} ' * 'instances'.format(container, container.provider_type)) */ - __Pyx_TraceLine(583,0,__PYX_ERR(0, 583, __pyx_L1_error)) - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_container, __pyx_n_s_provider_type); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 583, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_container, __pyx_n_s_provider_type); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 582, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = PyObject_IsInstance(__pyx_v_provider, __pyx_t_1); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(0, 583, __pyx_L1_error) + __pyx_t_2 = PyObject_IsInstance(__pyx_v_provider, __pyx_t_1); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(0, 582, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_3 = ((!(__pyx_t_2 != 0)) != 0); if (unlikely(__pyx_t_3)) { - /* "dependency_injector/containers.pyx":584 + /* "dependency_injector/containers.pyx":583 * cpdef object _check_provider_type(object container, object provider): * if not isinstance(provider, container.provider_type): * raise Error('{0} can contain only {1} ' # <<<<<<<<<<<<<< * 'instances'.format(container, container.provider_type)) * */ - __Pyx_TraceLine(584,0,__PYX_ERR(0, 584, __pyx_L1_error)) - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 584, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 583, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - /* "dependency_injector/containers.pyx":585 + /* "dependency_injector/containers.pyx":584 * if not isinstance(provider, container.provider_type): * raise Error('{0} can contain only {1} ' * 'instances'.format(container, container.provider_type)) # <<<<<<<<<<<<<< * * */ - __Pyx_TraceLine(585,0,__PYX_ERR(0, 585, __pyx_L1_error)) - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_0_can_contain_only_1_instances, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 585, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_0_can_contain_only_1_instances, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 584, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_container, __pyx_n_s_provider_type); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 585, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_container, __pyx_n_s_provider_type); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 584, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = NULL; __pyx_t_9 = 0; @@ -12902,7 +11777,7 @@ static PyObject *__pyx_f_19dependency_injector_10containers__check_provider_type #if CYTHON_FAST_PYCALL if (PyFunction_Check(__pyx_t_6)) { PyObject *__pyx_temp[3] = {__pyx_t_8, __pyx_v_container, __pyx_t_7}; - __pyx_t_5 = __Pyx_PyFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 585, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 584, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; @@ -12911,14 +11786,14 @@ static PyObject *__pyx_f_19dependency_injector_10containers__check_provider_type #if CYTHON_FAST_PYCCALL if (__Pyx_PyFastCFunction_Check(__pyx_t_6)) { PyObject *__pyx_temp[3] = {__pyx_t_8, __pyx_v_container, __pyx_t_7}; - __pyx_t_5 = __Pyx_PyCFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 585, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyCFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 584, __pyx_L1_error) __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } else #endif { - __pyx_t_10 = PyTuple_New(2+__pyx_t_9); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 585, __pyx_L1_error) + __pyx_t_10 = PyTuple_New(2+__pyx_t_9); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 584, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); if (__pyx_t_8) { __Pyx_GIVEREF(__pyx_t_8); PyTuple_SET_ITEM(__pyx_t_10, 0, __pyx_t_8); __pyx_t_8 = NULL; @@ -12929,7 +11804,7 @@ static PyObject *__pyx_f_19dependency_injector_10containers__check_provider_type __Pyx_GIVEREF(__pyx_t_7); PyTuple_SET_ITEM(__pyx_t_10, 1+__pyx_t_9, __pyx_t_7); __pyx_t_7 = 0; - __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_10, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 585, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_10, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 584, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; } @@ -12947,14 +11822,14 @@ static PyObject *__pyx_f_19dependency_injector_10containers__check_provider_type __pyx_t_1 = (__pyx_t_6) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_6, __pyx_t_5) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_5); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 584, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 583, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __PYX_ERR(0, 584, __pyx_L1_error) + __PYX_ERR(0, 583, __pyx_L1_error) - /* "dependency_injector/containers.pyx":583 + /* "dependency_injector/containers.pyx":582 * * cpdef object _check_provider_type(object container, object provider): * if not isinstance(provider, container.provider_type): # <<<<<<<<<<<<<< @@ -12963,7 +11838,7 @@ static PyObject *__pyx_f_19dependency_injector_10containers__check_provider_type */ } - /* "dependency_injector/containers.pyx":582 + /* "dependency_injector/containers.pyx":581 * * * cpdef object _check_provider_type(object container, object provider): # <<<<<<<<<<<<<< @@ -12986,7 +11861,6 @@ static PyObject *__pyx_f_19dependency_injector_10containers__check_provider_type __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -13025,11 +11899,11 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_11_check_provider_t case 1: if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_provider)) != 0)) kw_args--; else { - __Pyx_RaiseArgtupleInvalid("_check_provider_type", 1, 2, 2, 1); __PYX_ERR(0, 582, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("_check_provider_type", 1, 2, 2, 1); __PYX_ERR(0, 581, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_check_provider_type") < 0)) __PYX_ERR(0, 582, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "_check_provider_type") < 0)) __PYX_ERR(0, 581, __pyx_L3_error) } } else if (PyTuple_GET_SIZE(__pyx_args) != 2) { goto __pyx_L5_argtuple_error; @@ -13042,7 +11916,7 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_11_check_provider_t } goto __pyx_L4_argument_unpacking_done; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("_check_provider_type", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 582, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("_check_provider_type", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 581, __pyx_L3_error) __pyx_L3_error:; __Pyx_AddTraceback("dependency_injector.containers._check_provider_type", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); @@ -13057,16 +11931,14 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_11_check_provider_t static PyObject *__pyx_pf_19dependency_injector_10containers_10_check_provider_type(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_container, PyObject *__pyx_v_provider) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_check_provider_type", 0); - __Pyx_TraceCall("_check_provider_type (wrapper)", __pyx_f[0], 582, 0, __PYX_ERR(0, 582, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __pyx_f_19dependency_injector_10containers__check_provider_type(__pyx_v_container, __pyx_v_provider, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 582, __pyx_L1_error) + __pyx_t_1 = __pyx_f_19dependency_injector_10containers__check_provider_type(__pyx_v_container, __pyx_v_provider, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 581, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; @@ -13079,12 +11951,11 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_10_check_provider_t __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "dependency_injector/containers.pyx":588 +/* "dependency_injector/containers.pyx":587 * * * cpdef bint _isawaitable(object instance): # <<<<<<<<<<<<<< @@ -13095,7 +11966,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_10_check_provider_t static PyObject *__pyx_pw_19dependency_injector_10containers_13_isawaitable(PyObject *__pyx_self, PyObject *__pyx_v_instance); /*proto*/ static int __pyx_f_19dependency_injector_10containers__isawaitable(PyObject *__pyx_v_instance, CYTHON_UNUSED int __pyx_skip_dispatch) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -13109,16 +11979,14 @@ static int __pyx_f_19dependency_injector_10containers__isawaitable(PyObject *__p const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_isawaitable", 0); - __Pyx_TraceCall("_isawaitable", __pyx_f[0], 588, 0, __PYX_ERR(0, 588, __pyx_L1_error)); - /* "dependency_injector/containers.pyx":589 + /* "dependency_injector/containers.pyx":588 * * cpdef bint _isawaitable(object instance): * try: # <<<<<<<<<<<<<< * return inspect.isawaitable(instance) * except AttributeError: */ - __Pyx_TraceLine(589,0,__PYX_ERR(0, 589, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -13128,17 +11996,16 @@ static int __pyx_f_19dependency_injector_10containers__isawaitable(PyObject *__p __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "dependency_injector/containers.pyx":590 + /* "dependency_injector/containers.pyx":589 * cpdef bint _isawaitable(object instance): * try: * return inspect.isawaitable(instance) # <<<<<<<<<<<<<< * except AttributeError: * return False */ - __Pyx_TraceLine(590,0,__PYX_ERR(0, 590, __pyx_L3_error)) - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_inspect); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 590, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_inspect); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 589, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_isawaitable); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 590, __pyx_L3_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_isawaitable); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 589, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_5 = NULL; @@ -13153,15 +12020,15 @@ static int __pyx_f_19dependency_injector_10containers__isawaitable(PyObject *__p } __pyx_t_4 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_6, __pyx_t_5, __pyx_v_instance) : __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_v_instance); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 590, __pyx_L3_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 589, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_7 < 0)) __PYX_ERR(0, 590, __pyx_L3_error) + __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_7 < 0)) __PYX_ERR(0, 589, __pyx_L3_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_r = __pyx_t_7; goto __pyx_L7_try_return; - /* "dependency_injector/containers.pyx":589 + /* "dependency_injector/containers.pyx":588 * * cpdef bint _isawaitable(object instance): * try: # <<<<<<<<<<<<<< @@ -13174,27 +12041,25 @@ static int __pyx_f_19dependency_injector_10containers__isawaitable(PyObject *__p __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "dependency_injector/containers.pyx":591 + /* "dependency_injector/containers.pyx":590 * try: * return inspect.isawaitable(instance) * except AttributeError: # <<<<<<<<<<<<<< * return False */ - __Pyx_TraceLine(591,0,__PYX_ERR(0, 591, __pyx_L5_except_error)) __pyx_t_8 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_AttributeError); if (__pyx_t_8) { __Pyx_AddTraceback("dependency_injector.containers._isawaitable", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_6, &__pyx_t_5) < 0) __PYX_ERR(0, 591, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_6, &__pyx_t_5) < 0) __PYX_ERR(0, 590, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_GOTREF(__pyx_t_6); __Pyx_GOTREF(__pyx_t_5); - /* "dependency_injector/containers.pyx":592 + /* "dependency_injector/containers.pyx":591 * return inspect.isawaitable(instance) * except AttributeError: * return False # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(592,0,__PYX_ERR(0, 592, __pyx_L5_except_error)) __pyx_r = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; @@ -13204,7 +12069,7 @@ static int __pyx_f_19dependency_injector_10containers__isawaitable(PyObject *__p goto __pyx_L5_except_error; __pyx_L5_except_error:; - /* "dependency_injector/containers.pyx":589 + /* "dependency_injector/containers.pyx":588 * * cpdef bint _isawaitable(object instance): * try: # <<<<<<<<<<<<<< @@ -13230,7 +12095,7 @@ static int __pyx_f_19dependency_injector_10containers__isawaitable(PyObject *__p goto __pyx_L0; } - /* "dependency_injector/containers.pyx":588 + /* "dependency_injector/containers.pyx":587 * * * cpdef bint _isawaitable(object instance): # <<<<<<<<<<<<<< @@ -13246,7 +12111,6 @@ static int __pyx_f_19dependency_injector_10containers__isawaitable(PyObject *__p __Pyx_WriteUnraisable("dependency_injector.containers._isawaitable", __pyx_clineno, __pyx_lineno, __pyx_filename, 1, 0); __pyx_r = 0; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -13266,16 +12130,14 @@ static PyObject *__pyx_pw_19dependency_injector_10containers_13_isawaitable(PyOb static PyObject *__pyx_pf_19dependency_injector_10containers_12_isawaitable(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_instance) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_isawaitable", 0); - __Pyx_TraceCall("_isawaitable (wrapper)", __pyx_f[0], 588, 0, __PYX_ERR(0, 588, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_f_19dependency_injector_10containers__isawaitable(__pyx_v_instance, 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 588, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_f_19dependency_injector_10containers__isawaitable(__pyx_v_instance, 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 587, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; @@ -13288,7 +12150,6 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_12_isawaitable(CYTH __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -13303,13 +12164,8 @@ static PyObject *__pyx_pf_19dependency_injector_10containers_12_isawaitable(CYTH static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_name(struct __pyx_obj_19dependency_injector_9providers_NamedInjection *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get_name", 0); - __Pyx_TraceCall("__get_name", __pyx_f[1], 307, 0, __PYX_ERR(1, 307, __pyx_L1_error)); /* "providers.pxd":308 * # Inline helper functions @@ -13318,7 +12174,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_na * * */ - __Pyx_TraceLine(308,0,__PYX_ERR(1, 308, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___name); __pyx_r = __pyx_v_self->__pyx___name; @@ -13333,12 +12188,8 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_na */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.__get_name", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -13353,7 +12204,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_na static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_value(struct __pyx_obj_19dependency_injector_9providers_Injection *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -13363,7 +12213,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_va const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get_value", 0); - __Pyx_TraceCall("__get_value", __pyx_f[1], 311, 0, __PYX_ERR(1, 311, __pyx_L1_error)); /* "providers.pxd":312 * @@ -13372,7 +12221,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_va * return self.__value * return self.__value() */ - __Pyx_TraceLine(312,0,__PYX_ERR(1, 312, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v_self->__pyx___call == 0) != 0); if (__pyx_t_1) { @@ -13383,7 +12231,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_va * return self.__value() * */ - __Pyx_TraceLine(313,0,__PYX_ERR(1, 313, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___value); __pyx_r = __pyx_v_self->__pyx___value; @@ -13405,7 +12252,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_va * * */ - __Pyx_TraceLine(314,0,__PYX_ERR(1, 314, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___value); __pyx_t_3 = __pyx_v_self->__pyx___value; __pyx_t_4 = NULL; @@ -13444,7 +12290,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_va __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -13459,7 +12304,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_va static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_value_kwargs(struct __pyx_obj_19dependency_injector_9providers_Injection *__pyx_v_self, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -13467,7 +12311,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_va const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get_value_kwargs", 0); - __Pyx_TraceCall("__get_value_kwargs", __pyx_f[1], 317, 0, __PYX_ERR(1, 317, __pyx_L1_error)); /* "providers.pxd":318 * @@ -13476,7 +12319,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_va * return self.__value * return self.__value(**kwargs) */ - __Pyx_TraceLine(318,0,__PYX_ERR(1, 318, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v_self->__pyx___call == 0) != 0); if (__pyx_t_1) { @@ -13487,7 +12329,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_va * return self.__value(**kwargs) * */ - __Pyx_TraceLine(319,0,__PYX_ERR(1, 319, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___value); __pyx_r = __pyx_v_self->__pyx___value; @@ -13509,7 +12350,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_va * * */ - __Pyx_TraceLine(320,0,__PYX_ERR(1, 320, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); if (unlikely(__pyx_v_kwargs == Py_None)) { PyErr_SetString(PyExc_TypeError, "argument after ** must be a mapping, not NoneType"); @@ -13536,7 +12376,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_va __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -13558,7 +12397,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa PyObject *__pyx_v_prefix = NULL; PyObject *__pyx_v_name = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -13574,7 +12412,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__separate_prefixed_kwargs", 0); - __Pyx_TraceCall("__separate_prefixed_kwargs", __pyx_f[1], 323, 0, __PYX_ERR(1, 323, __pyx_L1_error)); /* "providers.pxd":324 * @@ -13583,7 +12420,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * cdef dict prefixed_kwargs = {} * */ - __Pyx_TraceLine(324,0,__PYX_ERR(1, 324, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 324, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_plain_kwargs = ((PyObject*)__pyx_t_1); @@ -13596,7 +12432,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * * for key, value in kwargs.items(): */ - __Pyx_TraceLine(325,0,__PYX_ERR(1, 325, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 325, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_prefixed_kwargs = ((PyObject*)__pyx_t_1); @@ -13609,7 +12444,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * if '__' not in key: * plain_kwargs[key] = value */ - __Pyx_TraceLine(327,0,__PYX_ERR(1, 327, __pyx_L1_error)) if (unlikely(__pyx_v_kwargs == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "items"); __PYX_ERR(1, 327, __pyx_L1_error) @@ -13714,8 +12548,7 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * plain_kwargs[key] = value * continue */ - __Pyx_TraceLine(328,0,__PYX_ERR(1, 328, __pyx_L1_error)) - __pyx_t_9 = (__Pyx_PySequence_ContainsTF(__pyx_n_s__37, __pyx_v_key, Py_NE)); if (unlikely(__pyx_t_9 < 0)) __PYX_ERR(1, 328, __pyx_L1_error) + __pyx_t_9 = (__Pyx_PySequence_ContainsTF(__pyx_n_s__9, __pyx_v_key, Py_NE)); if (unlikely(__pyx_t_9 < 0)) __PYX_ERR(1, 328, __pyx_L1_error) __pyx_t_10 = (__pyx_t_9 != 0); if (__pyx_t_10) { @@ -13726,7 +12559,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * continue * */ - __Pyx_TraceLine(329,0,__PYX_ERR(1, 329, __pyx_L1_error)) if (unlikely(PyDict_SetItem(__pyx_v_plain_kwargs, __pyx_v_key, __pyx_v_value) < 0)) __PYX_ERR(1, 329, __pyx_L1_error) /* "providers.pxd":330 @@ -13736,7 +12568,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * * index = key.index('__') */ - __Pyx_TraceLine(330,0,__PYX_ERR(1, 330, __pyx_L1_error)) goto __pyx_L3_continue; /* "providers.pxd":328 @@ -13755,7 +12586,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * prefix, name = key[:index], key[index+2:] * */ - __Pyx_TraceLine(332,0,__PYX_ERR(1, 332, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_key, __pyx_n_s_index); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 332, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = NULL; @@ -13768,7 +12598,7 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa __Pyx_DECREF_SET(__pyx_t_6, function); } } - __pyx_t_1 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_6, __pyx_t_5, __pyx_n_s__37) : __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_n_s__37); + __pyx_t_1 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_6, __pyx_t_5, __pyx_n_s__9) : __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_n_s__9); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 332, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -13783,7 +12613,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * * if prefix not in prefixed_kwargs: */ - __Pyx_TraceLine(333,0,__PYX_ERR(1, 333, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_v_key, 0, 0, NULL, &__pyx_v_index, NULL, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 333, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_6 = __Pyx_PyInt_AddObjC(__pyx_v_index, __pyx_int_2, 2, 0, 0); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 333, __pyx_L1_error) @@ -13803,7 +12632,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * prefixed_kwargs[prefix] = {} * prefixed_kwargs[prefix][name] = value */ - __Pyx_TraceLine(335,0,__PYX_ERR(1, 335, __pyx_L1_error)) __pyx_t_10 = (__Pyx_PyDict_ContainsTF(__pyx_v_prefix, __pyx_v_prefixed_kwargs, Py_NE)); if (unlikely(__pyx_t_10 < 0)) __PYX_ERR(1, 335, __pyx_L1_error) __pyx_t_9 = (__pyx_t_10 != 0); if (__pyx_t_9) { @@ -13815,7 +12643,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * prefixed_kwargs[prefix][name] = value * */ - __Pyx_TraceLine(336,0,__PYX_ERR(1, 336, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 336, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); if (unlikely(PyDict_SetItem(__pyx_v_prefixed_kwargs, __pyx_v_prefix, __pyx_t_5) < 0)) __PYX_ERR(1, 336, __pyx_L1_error) @@ -13837,7 +12664,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * * return plain_kwargs, prefixed_kwargs */ - __Pyx_TraceLine(337,0,__PYX_ERR(1, 337, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyDict_GetItem(__pyx_v_prefixed_kwargs, __pyx_v_prefix); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 337, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); if (unlikely(PyObject_SetItem(__pyx_t_5, __pyx_v_name, __pyx_v_value) < 0)) __PYX_ERR(1, 337, __pyx_L1_error) @@ -13850,7 +12676,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * if '__' not in key: * plain_kwargs[key] = value */ - __Pyx_TraceLine(327,0,__PYX_ERR(1, 327, __pyx_L1_error)) __pyx_L3_continue:; } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -13862,7 +12687,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * * */ - __Pyx_TraceLine(339,0,__PYX_ERR(1, 339, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 339, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -13902,7 +12726,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa __Pyx_XDECREF(__pyx_v_prefix); __Pyx_XDECREF(__pyx_v_name); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -13922,7 +12745,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid struct __pyx_obj_19dependency_injector_9providers_PositionalInjection *__pyx_v_injection = 0; PyObject *__pyx_v_value = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -13935,7 +12757,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__provide_positional_args", 0); - __Pyx_TraceCall("__provide_positional_args", __pyx_f[1], 344, 0, __PYX_ERR(1, 344, __pyx_L1_error)); /* "providers.pxd":350 * ): @@ -13944,7 +12765,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * cdef list awaitables = [] * cdef PositionalInjection injection */ - __Pyx_TraceLine(350,0,__PYX_ERR(1, 350, __pyx_L1_error)) __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 350, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_positional_args = ((PyObject*)__pyx_t_1); @@ -13957,7 +12777,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * cdef PositionalInjection injection * */ - __Pyx_TraceLine(351,0,__PYX_ERR(1, 351, __pyx_L1_error)) __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 351, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_awaitables = ((PyObject*)__pyx_t_1); @@ -13970,7 +12789,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * return args * */ - __Pyx_TraceLine(354,0,__PYX_ERR(1, 354, __pyx_L1_error)) __pyx_t_2 = ((__pyx_v_inj_args_len == 0) != 0); if (__pyx_t_2) { @@ -13981,7 +12799,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * for index in range(inj_args_len): */ - __Pyx_TraceLine(355,0,__PYX_ERR(1, 355, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_args); __pyx_r = __pyx_v_args; @@ -14003,7 +12820,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * injection = inj_args[index] * value = __get_value(injection) */ - __Pyx_TraceLine(357,0,__PYX_ERR(1, 357, __pyx_L1_error)) __pyx_t_3 = __pyx_v_inj_args_len; __pyx_t_4 = __pyx_t_3; for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_4; __pyx_t_5+=1) { @@ -14016,7 +12832,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * value = __get_value(injection) * positional_args.append(value) */ - __Pyx_TraceLine(358,0,__PYX_ERR(1, 358, __pyx_L1_error)) if (unlikely(__pyx_v_inj_args == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 358, __pyx_L1_error) @@ -14033,7 +12848,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * positional_args.append(value) * */ - __Pyx_TraceLine(359,0,__PYX_ERR(1, 359, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___get_value(((struct __pyx_obj_19dependency_injector_9providers_Injection *)__pyx_v_injection)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 359, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_XDECREF_SET(__pyx_v_value, __pyx_t_1); @@ -14046,7 +12860,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * if __isawaitable(value): */ - __Pyx_TraceLine(360,0,__PYX_ERR(1, 360, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyList_Append(__pyx_v_positional_args, __pyx_v_value); if (unlikely(__pyx_t_6 == ((int)-1))) __PYX_ERR(1, 360, __pyx_L1_error) /* "providers.pxd":362 @@ -14056,7 +12869,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * awaitables.append((index, value)) * */ - __Pyx_TraceLine(362,0,__PYX_ERR(1, 362, __pyx_L1_error)) __pyx_t_2 = (__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_value) != 0); if (__pyx_t_2) { @@ -14067,7 +12879,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * positional_args.extend(args) */ - __Pyx_TraceLine(363,0,__PYX_ERR(1, 363, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_index); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 363, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 363, __pyx_L1_error) @@ -14098,7 +12909,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * if awaitables: */ - __Pyx_TraceLine(365,0,__PYX_ERR(1, 365, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyList_Extend(__pyx_v_positional_args, __pyx_v_args); if (unlikely(__pyx_t_6 == ((int)-1))) __PYX_ERR(1, 365, __pyx_L1_error) /* "providers.pxd":367 @@ -14108,7 +12918,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * return __awaitable_args_kwargs_future(positional_args, awaitables) * */ - __Pyx_TraceLine(367,0,__PYX_ERR(1, 367, __pyx_L1_error)) __pyx_t_2 = (PyList_GET_SIZE(__pyx_v_awaitables) != 0); if (__pyx_t_2) { @@ -14119,7 +12928,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * return positional_args */ - __Pyx_TraceLine(368,0,__PYX_ERR(1, 368, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_7 = __pyx_f_19dependency_injector_9providers___awaitable_args_kwargs_future(__pyx_v_positional_args, __pyx_v_awaitables); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 368, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); @@ -14143,7 +12951,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * */ - __Pyx_TraceLine(370,0,__PYX_ERR(1, 370, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_positional_args); __pyx_r = __pyx_v_positional_args; @@ -14169,7 +12976,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid __Pyx_XDECREF((PyObject *)__pyx_v_injection); __Pyx_XDECREF(__pyx_v_value); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -14190,7 +12996,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid PyObject *__pyx_v_awaitables = 0; struct __pyx_obj_19dependency_injector_9providers_NamedInjection *__pyx_v_kw_injection = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; @@ -14206,7 +13011,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__provide_keyword_args", 0); - __Pyx_TraceCall("__provide_keyword_args", __pyx_f[1], 375, 0, __PYX_ERR(1, 375, __pyx_L1_error)); __Pyx_INCREF(__pyx_v_kwargs); /* "providers.pxd":383 @@ -14216,7 +13020,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * cdef list awaitables = [] * cdef NamedInjection kw_injection */ - __Pyx_TraceLine(383,0,__PYX_ERR(1, 383, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 383, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_prefixed = ((PyObject*)__pyx_t_1); @@ -14229,7 +13032,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * cdef NamedInjection kw_injection * */ - __Pyx_TraceLine(384,0,__PYX_ERR(1, 384, __pyx_L1_error)) __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 384, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_awaitables = ((PyObject*)__pyx_t_1); @@ -14242,7 +13044,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * for index in range(inj_kwargs_len): * kw_injection = inj_kwargs[index] */ - __Pyx_TraceLine(387,0,__PYX_ERR(1, 387, __pyx_L1_error)) if (unlikely(__pyx_v_kwargs == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(1, 387, __pyx_L1_error) @@ -14258,7 +13059,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * kw_injection = inj_kwargs[index] * name = __get_name(kw_injection) */ - __Pyx_TraceLine(388,0,__PYX_ERR(1, 388, __pyx_L1_error)) __pyx_t_4 = __pyx_v_inj_kwargs_len; __pyx_t_5 = __pyx_t_4; for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) { @@ -14271,7 +13071,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * name = __get_name(kw_injection) * value = __get_value(kw_injection) */ - __Pyx_TraceLine(389,0,__PYX_ERR(1, 389, __pyx_L1_error)) if (unlikely(__pyx_v_inj_kwargs == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 389, __pyx_L1_error) @@ -14288,7 +13087,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * value = __get_value(kw_injection) * kwargs[name] = value */ - __Pyx_TraceLine(390,0,__PYX_ERR(1, 390, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___get_name(__pyx_v_kw_injection); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 390, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_1); @@ -14301,7 +13099,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * kwargs[name] = value * if __isawaitable(value): */ - __Pyx_TraceLine(391,0,__PYX_ERR(1, 391, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___get_value(((struct __pyx_obj_19dependency_injector_9providers_Injection *)__pyx_v_kw_injection)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 391, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_XDECREF_SET(__pyx_v_value, __pyx_t_1); @@ -14314,7 +13111,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * if __isawaitable(value): * awaitables.append((name, value)) */ - __Pyx_TraceLine(392,0,__PYX_ERR(1, 392, __pyx_L1_error)) if (unlikely(__pyx_v_kwargs == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 392, __pyx_L1_error) @@ -14328,7 +13124,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * awaitables.append((name, value)) * else: */ - __Pyx_TraceLine(393,0,__PYX_ERR(1, 393, __pyx_L1_error)) __pyx_t_3 = (__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_value) != 0); if (__pyx_t_3) { @@ -14339,7 +13134,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * else: * kwargs, prefixed = __separate_prefixed_kwargs(kwargs) */ - __Pyx_TraceLine(394,0,__PYX_ERR(1, 394, __pyx_L1_error)) __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 394, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v_name); @@ -14378,7 +13172,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * */ - __Pyx_TraceLine(396,0,__PYX_ERR(1, 396, __pyx_L1_error)) /*else*/ { __pyx_t_1 = __pyx_f_19dependency_injector_9providers___separate_prefixed_kwargs(__pyx_v_kwargs); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 396, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -14419,7 +13212,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * kw_injection = inj_kwargs[index] * name = __get_name(kw_injection) */ - __Pyx_TraceLine(399,0,__PYX_ERR(1, 399, __pyx_L1_error)) __pyx_t_4 = __pyx_v_inj_kwargs_len; __pyx_t_5 = __pyx_t_4; for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) { @@ -14432,7 +13224,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * name = __get_name(kw_injection) * */ - __Pyx_TraceLine(400,0,__PYX_ERR(1, 400, __pyx_L1_error)) if (unlikely(__pyx_v_inj_kwargs == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 400, __pyx_L1_error) @@ -14449,7 +13240,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * if name in kwargs: */ - __Pyx_TraceLine(401,0,__PYX_ERR(1, 401, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___get_name(__pyx_v_kw_injection); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 401, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_1); @@ -14462,7 +13252,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * continue * */ - __Pyx_TraceLine(403,0,__PYX_ERR(1, 403, __pyx_L1_error)) if (unlikely(__pyx_v_kwargs == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); __PYX_ERR(1, 403, __pyx_L1_error) @@ -14478,7 +13267,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * if name in prefixed: */ - __Pyx_TraceLine(404,0,__PYX_ERR(1, 404, __pyx_L1_error)) goto __pyx_L7_continue; /* "providers.pxd":403 @@ -14497,7 +13285,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * value = __get_value_kwargs(kw_injection, prefixed[name]) * else: */ - __Pyx_TraceLine(406,0,__PYX_ERR(1, 406, __pyx_L1_error)) if (unlikely(__pyx_v_prefixed == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); __PYX_ERR(1, 406, __pyx_L1_error) @@ -14513,7 +13300,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * else: * value = __get_value(kw_injection) */ - __Pyx_TraceLine(407,0,__PYX_ERR(1, 407, __pyx_L1_error)) if (unlikely(__pyx_v_prefixed == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 407, __pyx_L1_error) @@ -14544,7 +13330,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * kwargs[name] = value */ - __Pyx_TraceLine(409,0,__PYX_ERR(1, 409, __pyx_L1_error)) /*else*/ { __pyx_t_9 = __pyx_f_19dependency_injector_9providers___get_value(((struct __pyx_obj_19dependency_injector_9providers_Injection *)__pyx_v_kw_injection)); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 409, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); @@ -14560,7 +13345,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * if __isawaitable(value): * awaitables.append((name, value)) */ - __Pyx_TraceLine(411,0,__PYX_ERR(1, 411, __pyx_L1_error)) if (unlikely(__pyx_v_kwargs == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 411, __pyx_L1_error) @@ -14574,7 +13358,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * awaitables.append((name, value)) * */ - __Pyx_TraceLine(412,0,__PYX_ERR(1, 412, __pyx_L1_error)) __pyx_t_3 = (__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_value) != 0); if (__pyx_t_3) { @@ -14585,7 +13368,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * if awaitables: */ - __Pyx_TraceLine(413,0,__PYX_ERR(1, 413, __pyx_L1_error)) __pyx_t_9 = PyTuple_New(2); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 413, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_INCREF(__pyx_v_name); @@ -14617,7 +13399,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * return __awaitable_args_kwargs_future(kwargs, awaitables) * */ - __Pyx_TraceLine(415,0,__PYX_ERR(1, 415, __pyx_L1_error)) __pyx_t_3 = (PyList_GET_SIZE(__pyx_v_awaitables) != 0); if (__pyx_t_3) { @@ -14628,7 +13409,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * return kwargs */ - __Pyx_TraceLine(416,0,__PYX_ERR(1, 416, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_9 = __pyx_f_19dependency_injector_9providers___awaitable_args_kwargs_future(__pyx_v_kwargs, __pyx_v_awaitables); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 416, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); @@ -14652,7 +13432,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * */ - __Pyx_TraceLine(418,0,__PYX_ERR(1, 418, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_kwargs); __pyx_r = __pyx_v_kwargs; @@ -14681,7 +13460,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid __Pyx_XDECREF((PyObject *)__pyx_v_kw_injection); __Pyx_XDECREF(__pyx_v_kwargs); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -14700,7 +13478,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___awaita CYTHON_UNUSED PyObject *__pyx_v__ = NULL; PyObject *__pyx_v_value = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -14716,7 +13493,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___awaita const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__awaitable_args_kwargs_future", 0); - __Pyx_TraceCall("__awaitable_args_kwargs_future", __pyx_f[1], 421, 0, __PYX_ERR(1, 421, __pyx_L1_error)); /* "providers.pxd":422 * @@ -14725,7 +13501,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___awaita * * args_ready = asyncio.gather(*[value for _, value in awaitables]) */ - __Pyx_TraceLine(422,0,__PYX_ERR(1, 422, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 422, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_Future); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 422, __pyx_L1_error) @@ -14756,7 +13531,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___awaita * args_ready.add_done_callback( * functools.partial( */ - __Pyx_TraceLine(424,0,__PYX_ERR(1, 424, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 424, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_gather); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 424, __pyx_L1_error) @@ -14847,7 +13621,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___awaita * functools.partial( * __async_prepare_args_kwargs_callback, */ - __Pyx_TraceLine(425,0,__PYX_ERR(1, 425, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_args_ready, __pyx_n_s_add_done_callback); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 425, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -14858,7 +13631,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___awaita * __async_prepare_args_kwargs_callback, * future_result, */ - __Pyx_TraceLine(426,0,__PYX_ERR(1, 426, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_functools); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 426, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_partial); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 426, __pyx_L1_error) @@ -14872,7 +13644,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___awaita * future_result, * args, */ - __Pyx_TraceLine(427,0,__PYX_ERR(1, 427, __pyx_L1_error)) __pyx_t_5 = __Pyx_CFunc_void____object____object____object____object___to_py(__pyx_f_19dependency_injector_9providers___async_prepare_args_kwargs_callback); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 427, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); @@ -14883,7 +13654,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___awaita * ), * ) */ - __Pyx_TraceLine(430,0,__PYX_ERR(1, 430, __pyx_L1_error)) __pyx_t_6 = NULL; __pyx_t_10 = 0; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_7))) { @@ -14962,7 +13732,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___awaita * * return future_result */ - __Pyx_TraceLine(433,0,__PYX_ERR(1, 433, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 433, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_ensure_future); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 433, __pyx_L1_error) @@ -14992,7 +13761,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___awaita * * */ - __Pyx_TraceLine(435,0,__PYX_ERR(1, 435, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_future_result); __pyx_r = __pyx_v_future_result; @@ -15023,7 +13791,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___awaita __Pyx_XDECREF(__pyx_v__); __Pyx_XDECREF(__pyx_v_value); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -15041,7 +13808,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_prepa PyObject *__pyx_v_value = NULL; PyObject *__pyx_v_key = NULL; CYTHON_UNUSED PyObject *__pyx_v__ = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -15057,7 +13823,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_prepa const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__async_prepare_args_kwargs_callback", 0); - __Pyx_TraceCall("__async_prepare_args_kwargs_callback", __pyx_f[1], 438, 0, __PYX_ERR(1, 438, __pyx_L1_error)); /* "providers.pxd":444 * object future, @@ -15066,7 +13831,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_prepa * for value, (key, _) in zip(awaited, awaitables): * args[key] = value */ - __Pyx_TraceLine(444,0,__PYX_ERR(1, 444, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_future, __pyx_n_s_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 444, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -15094,7 +13858,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_prepa * args[key] = value * future_result.set_result(args) */ - __Pyx_TraceLine(445,0,__PYX_ERR(1, 445, __pyx_L1_error)) __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 445, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v_awaited); @@ -15252,7 +14015,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_prepa * future_result.set_result(args) * */ - __Pyx_TraceLine(446,0,__PYX_ERR(1, 446, __pyx_L1_error)) if (unlikely(PyObject_SetItem(__pyx_v_args, __pyx_v_key, __pyx_v_value) < 0)) __PYX_ERR(1, 446, __pyx_L1_error) /* "providers.pxd":445 @@ -15262,7 +14024,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_prepa * args[key] = value * future_result.set_result(args) */ - __Pyx_TraceLine(445,0,__PYX_ERR(1, 445, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -15273,7 +14034,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_prepa * * */ - __Pyx_TraceLine(447,0,__PYX_ERR(1, 447, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_future_result, __pyx_n_s_set_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 447, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_6 = NULL; @@ -15317,7 +14077,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_prepa __Pyx_XDECREF(__pyx_v_value); __Pyx_XDECREF(__pyx_v_key); __Pyx_XDECREF(__pyx_v__); - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); } @@ -15337,7 +14096,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid PyObject *__pyx_v_name = NULL; PyObject *__pyx_v_value = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -15349,7 +14107,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__provide_attributes", 0); - __Pyx_TraceCall("__provide_attributes", __pyx_f[1], 452, 0, __PYX_ERR(1, 452, __pyx_L1_error)); /* "providers.pxd":454 * cdef inline object __provide_attributes(tuple attributes, int attributes_len): @@ -15358,7 +14115,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * cdef list awaitables = [] * */ - __Pyx_TraceLine(454,0,__PYX_ERR(1, 454, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 454, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_attribute_injections = ((PyObject*)__pyx_t_1); @@ -15371,7 +14127,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * for index in range(attributes_len): */ - __Pyx_TraceLine(455,0,__PYX_ERR(1, 455, __pyx_L1_error)) __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 455, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_awaitables = ((PyObject*)__pyx_t_1); @@ -15384,7 +14139,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * attr_injection = attributes[index] * name = __get_name(attr_injection) */ - __Pyx_TraceLine(457,0,__PYX_ERR(1, 457, __pyx_L1_error)) __pyx_t_2 = __pyx_v_attributes_len; __pyx_t_3 = __pyx_t_2; for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { @@ -15397,7 +14151,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * name = __get_name(attr_injection) * value = __get_value(attr_injection) */ - __Pyx_TraceLine(458,0,__PYX_ERR(1, 458, __pyx_L1_error)) if (unlikely(__pyx_v_attributes == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 458, __pyx_L1_error) @@ -15414,7 +14167,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * value = __get_value(attr_injection) * attribute_injections[name] = value */ - __Pyx_TraceLine(459,0,__PYX_ERR(1, 459, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___get_name(__pyx_v_attr_injection); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 459, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_1); @@ -15427,7 +14179,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * attribute_injections[name] = value * if __isawaitable(value): */ - __Pyx_TraceLine(460,0,__PYX_ERR(1, 460, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___get_value(((struct __pyx_obj_19dependency_injector_9providers_Injection *)__pyx_v_attr_injection)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 460, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_XDECREF_SET(__pyx_v_value, __pyx_t_1); @@ -15440,7 +14191,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * if __isawaitable(value): * awaitables.append((name, value)) */ - __Pyx_TraceLine(461,0,__PYX_ERR(1, 461, __pyx_L1_error)) if (unlikely(PyDict_SetItem(__pyx_v_attribute_injections, __pyx_v_name, __pyx_v_value) < 0)) __PYX_ERR(1, 461, __pyx_L1_error) /* "providers.pxd":462 @@ -15450,7 +14200,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * awaitables.append((name, value)) * */ - __Pyx_TraceLine(462,0,__PYX_ERR(1, 462, __pyx_L1_error)) __pyx_t_5 = (__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_value) != 0); if (__pyx_t_5) { @@ -15461,7 +14210,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * if awaitables: */ - __Pyx_TraceLine(463,0,__PYX_ERR(1, 463, __pyx_L1_error)) __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 463, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v_name); @@ -15490,7 +14238,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * return __awaitable_args_kwargs_future(attribute_injections, awaitables) * */ - __Pyx_TraceLine(465,0,__PYX_ERR(1, 465, __pyx_L1_error)) __pyx_t_5 = (PyList_GET_SIZE(__pyx_v_awaitables) != 0); if (__pyx_t_5) { @@ -15501,7 +14248,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * return attribute_injections */ - __Pyx_TraceLine(466,0,__PYX_ERR(1, 466, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers___awaitable_args_kwargs_future(__pyx_v_attribute_injections, __pyx_v_awaitables); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 466, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -15525,7 +14271,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * */ - __Pyx_TraceLine(468,0,__PYX_ERR(1, 468, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_attribute_injections); __pyx_r = __pyx_v_attribute_injections; @@ -15551,7 +14296,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid __Pyx_XDECREF(__pyx_v_name); __Pyx_XDECREF(__pyx_v_value); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -15568,7 +14312,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ PyObject *__pyx_v_future_result = NULL; PyObject *__pyx_v_attributes_ready = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -15582,7 +14325,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__async_inject_attributes", 0); - __Pyx_TraceCall("__async_inject_attributes", __pyx_f[1], 471, 0, __PYX_ERR(1, 471, __pyx_L1_error)); /* "providers.pxd":472 * @@ -15591,7 +14333,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ * * attributes_ready = asyncio.gather(future_instance, future_attributes) */ - __Pyx_TraceLine(472,0,__PYX_ERR(1, 472, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 472, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_Future); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 472, __pyx_L1_error) @@ -15622,7 +14363,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ * attributes_ready.add_done_callback( * functools.partial( */ - __Pyx_TraceLine(474,0,__PYX_ERR(1, 474, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 474, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_gather); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 474, __pyx_L1_error) @@ -15683,7 +14423,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ * functools.partial( * __async_inject_attributes_callback, */ - __Pyx_TraceLine(475,0,__PYX_ERR(1, 475, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_attributes_ready, __pyx_n_s_add_done_callback); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 475, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -15694,7 +14433,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ * __async_inject_attributes_callback, * future_result, */ - __Pyx_TraceLine(476,0,__PYX_ERR(1, 476, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_functools); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 476, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_partial); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 476, __pyx_L1_error) @@ -15708,7 +14446,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ * future_result, * ), */ - __Pyx_TraceLine(477,0,__PYX_ERR(1, 477, __pyx_L1_error)) __pyx_t_3 = __Pyx_CFunc_void____object____object___to_py(__pyx_f_19dependency_injector_9providers___async_inject_attributes_callback); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 477, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -15719,7 +14456,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ * ), * ) */ - __Pyx_TraceLine(478,0,__PYX_ERR(1, 478, __pyx_L1_error)) __pyx_t_7 = NULL; __pyx_t_4 = 0; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_6))) { @@ -15792,7 +14528,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ * * return future_result */ - __Pyx_TraceLine(481,0,__PYX_ERR(1, 481, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 481, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_ensure_future); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 481, __pyx_L1_error) @@ -15822,7 +14557,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ * * */ - __Pyx_TraceLine(483,0,__PYX_ERR(1, 483, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_future_result); __pyx_r = __pyx_v_future_result; @@ -15851,7 +14585,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ __Pyx_XDECREF(__pyx_v_future_result); __Pyx_XDECREF(__pyx_v_attributes_ready); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -15867,7 +14600,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_inject_attributes_callback(PyObject *__pyx_v_future_result, PyObject *__pyx_v_future) { PyObject *__pyx_v_instance = NULL; PyObject *__pyx_v_attributes = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -15878,7 +14610,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_injec const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__async_inject_attributes_callback", 0); - __Pyx_TraceCall("__async_inject_attributes_callback", __pyx_f[1], 486, 0, __PYX_ERR(1, 486, __pyx_L1_error)); /* "providers.pxd":487 * @@ -15887,7 +14618,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_injec * __inject_attributes(instance, attributes) * future_result.set_result(instance) */ - __Pyx_TraceLine(487,0,__PYX_ERR(1, 487, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_future, __pyx_n_s_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 487, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -15963,7 +14693,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_injec * future_result.set_result(instance) * */ - __Pyx_TraceLine(488,0,__PYX_ERR(1, 488, __pyx_L1_error)) if (!(likely(PyDict_CheckExact(__pyx_v_attributes))||((__pyx_v_attributes) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_attributes)->tp_name), 0))) __PYX_ERR(1, 488, __pyx_L1_error) __pyx_f_19dependency_injector_9providers___inject_attributes(__pyx_v_instance, ((PyObject*)__pyx_v_attributes)); @@ -15974,7 +14703,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_injec * * */ - __Pyx_TraceLine(489,0,__PYX_ERR(1, 489, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_future_result, __pyx_n_s_set_result); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 489, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_2 = NULL; @@ -16013,7 +14741,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_injec __pyx_L0:; __Pyx_XDECREF(__pyx_v_instance); __Pyx_XDECREF(__pyx_v_attributes); - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); } @@ -16028,7 +14755,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_injec static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___inject_attributes(PyObject *__pyx_v_instance, PyObject *__pyx_v_attributes) { PyObject *__pyx_v_name = NULL; PyObject *__pyx_v_value = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -16043,7 +14769,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___inject_attr const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__inject_attributes", 0); - __Pyx_TraceCall("__inject_attributes", __pyx_f[1], 492, 0, __PYX_ERR(1, 492, __pyx_L1_error)); /* "providers.pxd":493 * @@ -16052,7 +14777,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___inject_attr * setattr(instance, name, value) * */ - __Pyx_TraceLine(493,0,__PYX_ERR(1, 493, __pyx_L1_error)) if (unlikely(__pyx_v_attributes == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "items"); __PYX_ERR(1, 493, __pyx_L1_error) @@ -16157,7 +14881,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___inject_attr * * */ - __Pyx_TraceLine(494,0,__PYX_ERR(1, 494, __pyx_L1_error)) __pyx_t_9 = PyObject_SetAttr(__pyx_v_instance, __pyx_v_name, __pyx_v_value); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(1, 494, __pyx_L1_error) /* "providers.pxd":493 @@ -16167,7 +14890,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___inject_attr * setattr(instance, name, value) * */ - __Pyx_TraceLine(493,0,__PYX_ERR(1, 493, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -16191,7 +14913,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___inject_attr __pyx_L0:; __Pyx_XDECREF(__pyx_v_name); __Pyx_XDECREF(__pyx_v_value); - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); } @@ -16212,7 +14933,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P PyObject *__pyx_v_future_result = NULL; PyObject *__pyx_v_args_kwargs_ready = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -16228,7 +14948,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__call", 0); - __Pyx_TraceCall("__call", __pyx_f[1], 497, 0, __PYX_ERR(1, 497, __pyx_L1_error)); /* "providers.pxd":506 * int injection_kwargs_len, @@ -16237,7 +14956,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * context_args, * injection_args, */ - __Pyx_TraceLine(506,0,__PYX_ERR(1, 506, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___provide_positional_args(__pyx_v_context_args, __pyx_v_injection_args, __pyx_v_injection_args_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 506, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_args = __pyx_t_1; @@ -16250,7 +14968,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * context_kwargs, * injection_kwargs, */ - __Pyx_TraceLine(511,0,__PYX_ERR(1, 511, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___provide_keyword_args(__pyx_v_context_kwargs, __pyx_v_injection_kwargs, __pyx_v_injection_kwargs_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 511, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_kwargs = __pyx_t_1; @@ -16263,7 +14980,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * kwargs_awaitable = __isawaitable(kwargs) * */ - __Pyx_TraceLine(517,0,__PYX_ERR(1, 517, __pyx_L1_error)) __pyx_v_args_awaitable = __pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_args); /* "providers.pxd":518 @@ -16273,7 +14989,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * * if args_awaitable or kwargs_awaitable: */ - __Pyx_TraceLine(518,0,__PYX_ERR(1, 518, __pyx_L1_error)) __pyx_v_kwargs_awaitable = __pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_kwargs); /* "providers.pxd":520 @@ -16283,7 +14998,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * if not args_awaitable: * future = asyncio.Future() */ - __Pyx_TraceLine(520,0,__PYX_ERR(1, 520, __pyx_L1_error)) __pyx_t_3 = (__pyx_v_args_awaitable != 0); if (!__pyx_t_3) { } else { @@ -16302,7 +15016,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * future = asyncio.Future() * future.set_result(args) */ - __Pyx_TraceLine(521,0,__PYX_ERR(1, 521, __pyx_L1_error)) __pyx_t_2 = ((!(__pyx_v_args_awaitable != 0)) != 0); if (__pyx_t_2) { @@ -16313,7 +15026,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * future.set_result(args) * args = future */ - __Pyx_TraceLine(522,0,__PYX_ERR(1, 522, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 522, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_Future); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 522, __pyx_L1_error) @@ -16344,7 +15056,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * args = future * */ - __Pyx_TraceLine(523,0,__PYX_ERR(1, 523, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_future, __pyx_n_s_set_result); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 523, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_4 = NULL; @@ -16371,7 +15082,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * * if not kwargs_awaitable: */ - __Pyx_TraceLine(524,0,__PYX_ERR(1, 524, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_future); __Pyx_DECREF_SET(__pyx_v_args, __pyx_v_future); @@ -16391,7 +15101,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * future = asyncio.Future() * future.set_result(kwargs) */ - __Pyx_TraceLine(526,0,__PYX_ERR(1, 526, __pyx_L1_error)) __pyx_t_2 = ((!(__pyx_v_kwargs_awaitable != 0)) != 0); if (__pyx_t_2) { @@ -16402,7 +15111,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * future.set_result(kwargs) * kwargs = future */ - __Pyx_TraceLine(527,0,__PYX_ERR(1, 527, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 527, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_Future); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 527, __pyx_L1_error) @@ -16433,7 +15141,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * kwargs = future * */ - __Pyx_TraceLine(528,0,__PYX_ERR(1, 528, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_future, __pyx_n_s_set_result); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 528, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; @@ -16460,7 +15167,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * * future_result = asyncio.Future() */ - __Pyx_TraceLine(529,0,__PYX_ERR(1, 529, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_future); __Pyx_DECREF_SET(__pyx_v_kwargs, __pyx_v_future); @@ -16480,7 +15186,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * * args_kwargs_ready = asyncio.gather(args, kwargs) */ - __Pyx_TraceLine(531,0,__PYX_ERR(1, 531, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 531, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_Future); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 531, __pyx_L1_error) @@ -16511,7 +15216,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * args_kwargs_ready.add_done_callback( * functools.partial( */ - __Pyx_TraceLine(533,0,__PYX_ERR(1, 533, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 533, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_gather); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 533, __pyx_L1_error) @@ -16572,7 +15276,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * functools.partial( * __async_call_callback, */ - __Pyx_TraceLine(534,0,__PYX_ERR(1, 534, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_args_kwargs_ready, __pyx_n_s_add_done_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 534, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); @@ -16583,7 +15286,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * __async_call_callback, * future_result, */ - __Pyx_TraceLine(535,0,__PYX_ERR(1, 535, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_functools); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 535, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_partial); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 535, __pyx_L1_error) @@ -16597,7 +15299,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * future_result, * call, */ - __Pyx_TraceLine(536,0,__PYX_ERR(1, 536, __pyx_L1_error)) __pyx_t_5 = __Pyx_CFunc_void____object____object____object___to_py(__pyx_f_19dependency_injector_9providers___async_call_callback); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 536, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); @@ -16608,7 +15309,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * ), * ) */ - __Pyx_TraceLine(538,0,__PYX_ERR(1, 538, __pyx_L1_error)) __pyx_t_9 = NULL; __pyx_t_6 = 0; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_8))) { @@ -16684,7 +15384,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * * return future_result */ - __Pyx_TraceLine(541,0,__PYX_ERR(1, 541, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 541, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_ensure_future); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 541, __pyx_L1_error) @@ -16714,7 +15413,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * * return call(*args, **kwargs) */ - __Pyx_TraceLine(543,0,__PYX_ERR(1, 543, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_future_result); __pyx_r = __pyx_v_future_result; @@ -16736,7 +15434,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * * */ - __Pyx_TraceLine(545,0,__PYX_ERR(1, 545, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 545, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -16785,7 +15482,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P __Pyx_XDECREF(__pyx_v_future_result); __Pyx_XDECREF(__pyx_v_args_kwargs_ready); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -16802,7 +15498,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_call_ PyObject *__pyx_v_args = NULL; PyObject *__pyx_v_kwargs = NULL; PyObject *__pyx_v_result = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -16818,7 +15513,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_call_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__async_call_callback", 0); - __Pyx_TraceCall("__async_call_callback", __pyx_f[1], 548, 0, __PYX_ERR(1, 548, __pyx_L1_error)); /* "providers.pxd":549 * @@ -16827,7 +15521,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_call_ * result = call(*args, **kwargs) * */ - __Pyx_TraceLine(549,0,__PYX_ERR(1, 549, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_future, __pyx_n_s_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 549, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -16903,7 +15596,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_call_ * * if __isawaitable(result): */ - __Pyx_TraceLine(550,0,__PYX_ERR(1, 550, __pyx_L1_error)) __pyx_t_1 = __Pyx_PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 550, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (unlikely(__pyx_v_kwargs == Py_None)) { @@ -16931,7 +15623,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_call_ * result = asyncio.ensure_future(result) * result.add_done_callback(functools.partial(__async_result_callback, future_result)) */ - __Pyx_TraceLine(552,0,__PYX_ERR(1, 552, __pyx_L1_error)) __pyx_t_6 = (__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_result) != 0); if (__pyx_t_6) { @@ -16942,7 +15633,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_call_ * result.add_done_callback(functools.partial(__async_result_callback, future_result)) * return */ - __Pyx_TraceLine(553,0,__PYX_ERR(1, 553, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 553, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_ensure_future); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 553, __pyx_L1_error) @@ -16973,7 +15663,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_call_ * return * */ - __Pyx_TraceLine(554,0,__PYX_ERR(1, 554, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_result, __pyx_n_s_add_done_callback); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 554, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_functools); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 554, __pyx_L1_error) @@ -17055,7 +15744,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_call_ * * future_result.set_result(result) */ - __Pyx_TraceLine(555,0,__PYX_ERR(1, 555, __pyx_L1_error)) goto __pyx_L0; /* "providers.pxd":552 @@ -17074,7 +15762,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_call_ * * */ - __Pyx_TraceLine(557,0,__PYX_ERR(1, 557, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_future_result, __pyx_n_s_set_result); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 557, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = NULL; @@ -17117,7 +15804,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_call_ __Pyx_XDECREF(__pyx_v_args); __Pyx_XDECREF(__pyx_v_kwargs); __Pyx_XDECREF(__pyx_v_result); - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); } @@ -17131,7 +15817,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_call_ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_result_callback(PyObject *__pyx_v_future_result, PyObject *__pyx_v_future) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -17142,7 +15827,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__async_result_callback", 0); - __Pyx_TraceCall("__async_result_callback", __pyx_f[1], 560, 0, __PYX_ERR(1, 560, __pyx_L1_error)); /* "providers.pxd":561 * @@ -17151,7 +15835,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ * * */ - __Pyx_TraceLine(561,0,__PYX_ERR(1, 561, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_future_result, __pyx_n_s_set_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 561, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_future, __pyx_n_s_result); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 561, __pyx_L1_error) @@ -17210,7 +15893,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -17225,7 +15907,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callable_call(struct __pyx_obj_19dependency_injector_9providers_Callable *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -17235,7 +15916,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callab const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__callable_call", 0); - __Pyx_TraceCall("__callable_call", __pyx_f[1], 564, 0, __PYX_ERR(1, 564, __pyx_L1_error)); /* "providers.pxd":565 * @@ -17244,7 +15924,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callab * self.__provides, * args, */ - __Pyx_TraceLine(565,0,__PYX_ERR(1, 565, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); /* "providers.pxd":566 @@ -17254,7 +15933,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callab * args, * self.__args, */ - __Pyx_TraceLine(566,0,__PYX_ERR(1, 566, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___provides; __Pyx_INCREF(__pyx_t_1); @@ -17265,7 +15943,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callab * self.__args_len, * kwargs, */ - __Pyx_TraceLine(568,0,__PYX_ERR(1, 568, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___args; __Pyx_INCREF(__pyx_t_2); @@ -17276,7 +15953,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callab * self.__kwargs_len, * ) */ - __Pyx_TraceLine(571,0,__PYX_ERR(1, 571, __pyx_L1_error)) __pyx_t_3 = __pyx_v_self->__pyx___kwargs; __Pyx_INCREF(__pyx_t_3); @@ -17287,7 +15963,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callab * self.__provides, * args, */ - __Pyx_TraceLine(565,0,__PYX_ERR(1, 565, __pyx_L1_error)) __pyx_t_4 = __pyx_f_19dependency_injector_9providers___call(__pyx_t_1, __pyx_v_args, ((PyObject*)__pyx_t_2), __pyx_v_self->__pyx___args_len, __pyx_v_kwargs, ((PyObject*)__pyx_t_3), __pyx_v_self->__pyx___kwargs_len); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 565, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -17315,7 +15990,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callab __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -17335,7 +16009,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor int __pyx_v_attributes_awaitable; PyObject *__pyx_v_future = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -17346,7 +16019,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__factory_call", 0); - __Pyx_TraceCall("__factory_call", __pyx_f[1], 576, 0, __PYX_ERR(1, 576, __pyx_L1_error)); /* "providers.pxd":579 * cdef object instance @@ -17355,7 +16027,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * * if self.__attributes_len > 0: */ - __Pyx_TraceLine(579,0,__PYX_ERR(1, 579, __pyx_L1_error)) __pyx_t_1 = ((PyObject *)__pyx_v_self->__pyx___instantiator); __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = __pyx_f_19dependency_injector_9providers___callable_call(((struct __pyx_obj_19dependency_injector_9providers_Callable *)__pyx_t_1), __pyx_v_args, __pyx_v_kwargs); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 579, __pyx_L1_error) @@ -17371,7 +16042,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * attributes = __provide_attributes(self.__attributes, self.__attributes_len) * */ - __Pyx_TraceLine(581,0,__PYX_ERR(1, 581, __pyx_L1_error)) __pyx_t_3 = ((__pyx_v_self->__pyx___attributes_len > 0) != 0); if (__pyx_t_3) { @@ -17382,7 +16052,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * * instance_awaitable = __isawaitable(instance) */ - __Pyx_TraceLine(582,0,__PYX_ERR(1, 582, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___attributes; __Pyx_INCREF(__pyx_t_2); __pyx_t_1 = __pyx_f_19dependency_injector_9providers___provide_attributes(((PyObject*)__pyx_t_2), __pyx_v_self->__pyx___attributes_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 582, __pyx_L1_error) @@ -17398,7 +16067,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * attributes_awaitable = __isawaitable(attributes) * */ - __Pyx_TraceLine(584,0,__PYX_ERR(1, 584, __pyx_L1_error)) __pyx_v_instance_awaitable = __pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_instance); /* "providers.pxd":585 @@ -17408,7 +16076,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * * if instance_awaitable or attributes_awaitable: */ - __Pyx_TraceLine(585,0,__PYX_ERR(1, 585, __pyx_L1_error)) __pyx_v_attributes_awaitable = __pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_attributes); /* "providers.pxd":587 @@ -17418,7 +16085,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * if not instance_awaitable: * future = asyncio.Future() */ - __Pyx_TraceLine(587,0,__PYX_ERR(1, 587, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_instance_awaitable != 0); if (!__pyx_t_4) { } else { @@ -17437,7 +16103,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * future = asyncio.Future() * future.set_result(instance) */ - __Pyx_TraceLine(588,0,__PYX_ERR(1, 588, __pyx_L1_error)) __pyx_t_3 = ((!(__pyx_v_instance_awaitable != 0)) != 0); if (__pyx_t_3) { @@ -17448,7 +16113,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * future.set_result(instance) * instance = future */ - __Pyx_TraceLine(589,0,__PYX_ERR(1, 589, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 589, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_Future); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 589, __pyx_L1_error) @@ -17479,7 +16143,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * instance = future * */ - __Pyx_TraceLine(590,0,__PYX_ERR(1, 590, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_future, __pyx_n_s_set_result); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 590, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_2 = NULL; @@ -17506,7 +16169,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * * if not attributes_awaitable: */ - __Pyx_TraceLine(591,0,__PYX_ERR(1, 591, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_future); __Pyx_DECREF_SET(__pyx_v_instance, __pyx_v_future); @@ -17526,7 +16188,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * future = asyncio.Future() * future.set_result(attributes) */ - __Pyx_TraceLine(593,0,__PYX_ERR(1, 593, __pyx_L1_error)) __pyx_t_3 = ((!(__pyx_v_attributes_awaitable != 0)) != 0); if (__pyx_t_3) { @@ -17537,7 +16198,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * future.set_result(attributes) * attributes = future */ - __Pyx_TraceLine(594,0,__PYX_ERR(1, 594, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 594, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_Future); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 594, __pyx_L1_error) @@ -17568,7 +16228,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * attributes = future * */ - __Pyx_TraceLine(595,0,__PYX_ERR(1, 595, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_future, __pyx_n_s_set_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 595, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_5 = NULL; @@ -17595,7 +16254,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * * return __async_inject_attributes(instance, attributes) */ - __Pyx_TraceLine(596,0,__PYX_ERR(1, 596, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_future); __Pyx_DECREF_SET(__pyx_v_attributes, __pyx_v_future); @@ -17615,7 +16273,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * * __inject_attributes(instance, attributes) */ - __Pyx_TraceLine(598,0,__PYX_ERR(1, 598, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers___async_inject_attributes(__pyx_v_instance, __pyx_v_attributes); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 598, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -17639,7 +16296,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * * return instance */ - __Pyx_TraceLine(600,0,__PYX_ERR(1, 600, __pyx_L1_error)) if (!(likely(PyDict_CheckExact(__pyx_v_attributes))||((__pyx_v_attributes) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_attributes)->tp_name), 0))) __PYX_ERR(1, 600, __pyx_L1_error) __pyx_f_19dependency_injector_9providers___inject_attributes(__pyx_v_instance, ((PyObject*)__pyx_v_attributes)); @@ -17659,7 +16315,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * * */ - __Pyx_TraceLine(602,0,__PYX_ERR(1, 602, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_instance); __pyx_r = __pyx_v_instance; @@ -17685,7 +16340,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor __Pyx_XDECREF(__pyx_v_attributes); __Pyx_XDECREF(__pyx_v_future); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -17700,7 +16354,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor static CYTHON_INLINE int __pyx_f_19dependency_injector_9providers___isawaitable(PyObject *__pyx_v_instance) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -17711,7 +16364,6 @@ static CYTHON_INLINE int __pyx_f_19dependency_injector_9providers___isawaitable( const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__isawaitable", 0); - __Pyx_TraceCall("__isawaitable", __pyx_f[1], 608, 0, __PYX_ERR(1, 608, __pyx_L1_error)); /* "providers.pxd":611 * global __has_isawaitable @@ -17720,7 +16372,6 @@ static CYTHON_INLINE int __pyx_f_19dependency_injector_9providers___isawaitable( * return inspect.isawaitable(instance) * */ - __Pyx_TraceLine(611,0,__PYX_ERR(1, 611, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v_19dependency_injector_9providers___has_isawaitable == 1) != 0); if (__pyx_t_1) { @@ -17731,7 +16382,6 @@ static CYTHON_INLINE int __pyx_f_19dependency_injector_9providers___isawaitable( * * if hasattr(inspect, 'isawaitable'): */ - __Pyx_TraceLine(612,0,__PYX_ERR(1, 612, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_inspect); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 612, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_isawaitable); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 612, __pyx_L1_error) @@ -17773,7 +16423,6 @@ static CYTHON_INLINE int __pyx_f_19dependency_injector_9providers___isawaitable( * __has_isawaitable = True * return inspect.isawaitable(instance) */ - __Pyx_TraceLine(614,0,__PYX_ERR(1, 614, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_inspect); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 614, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_1 = __Pyx_HasAttr(__pyx_t_2, __pyx_n_s_isawaitable); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(1, 614, __pyx_L1_error) @@ -17788,7 +16437,6 @@ static CYTHON_INLINE int __pyx_f_19dependency_injector_9providers___isawaitable( * return inspect.isawaitable(instance) * */ - __Pyx_TraceLine(615,0,__PYX_ERR(1, 615, __pyx_L1_error)) __pyx_v_19dependency_injector_9providers___has_isawaitable = 1; /* "providers.pxd":616 @@ -17798,7 +16446,6 @@ static CYTHON_INLINE int __pyx_f_19dependency_injector_9providers___isawaitable( * * return False */ - __Pyx_TraceLine(616,0,__PYX_ERR(1, 616, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_inspect); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 616, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_isawaitable); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 616, __pyx_L1_error) @@ -17838,7 +16485,6 @@ static CYTHON_INLINE int __pyx_f_19dependency_injector_9providers___isawaitable( * * return False # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(618,0,__PYX_ERR(1, 618, __pyx_L1_error)) __pyx_r = 0; goto __pyx_L0; @@ -17858,7 +16504,6 @@ static CYTHON_INLINE int __pyx_f_19dependency_injector_9providers___isawaitable( __Pyx_WriteUnraisable("dependency_injector.providers.__isawaitable", __pyx_clineno, __pyx_lineno, __pyx_filename, 1, 0); __pyx_r = 0; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -17963,7 +16608,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_64__Pyx_CFunc_void____object____obje struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object____object___to_py *__pyx_cur_scope; struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object____object___to_py *__pyx_outer_scope; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_lineno = 0; const char *__pyx_filename = NULL; @@ -17971,7 +16615,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_64__Pyx_CFunc_void____object____obje __Pyx_RefNannySetupContext("wrap", 0); __pyx_outer_scope = (struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object____object___to_py *) __Pyx_CyFunction_GetClosure(__pyx_self); __pyx_cur_scope = __pyx_outer_scope; - __Pyx_TraceCall("wrap", __pyx_f[2], 65, 0, __PYX_ERR(2, 65, __pyx_L1_error)); /* "cfunc.to_py":67 * def wrap(object future_result, object args, object awaitables, object future): @@ -17980,7 +16623,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_64__Pyx_CFunc_void____object____obje * return wrap * */ - __Pyx_TraceLine(67,0,__PYX_ERR(2, 67, __pyx_L1_error)) __pyx_cur_scope->__pyx_v_f(__pyx_v_future_result, __pyx_v_args, __pyx_v_awaitables, __pyx_v_future); if (unlikely(PyErr_Occurred())) __PYX_ERR(2, 67, __pyx_L1_error) /* "cfunc.to_py":65 @@ -17999,7 +16641,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_64__Pyx_CFunc_void____object____obje __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -18016,7 +16657,6 @@ static PyObject *__Pyx_CFunc_void____object____object____object____object___to_p struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object____object___to_py *__pyx_cur_scope; PyObject *__pyx_v_wrap = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; @@ -18031,7 +16671,6 @@ static PyObject *__Pyx_CFunc_void____object____object____object____object___to_p } else { __Pyx_GOTREF(__pyx_cur_scope); } - __Pyx_TraceCall("__Pyx_CFunc_void____object____object____object____object___to_py", __pyx_f[2], 64, 0, __PYX_ERR(2, 64, __pyx_L1_error)); __pyx_cur_scope->__pyx_v_f = __pyx_v_f; /* "cfunc.to_py":65 @@ -18041,8 +16680,7 @@ static PyObject *__Pyx_CFunc_void____object____object____object____object___to_p * """wrap(future_result, args, awaitables, future) -> 'void'""" * f(future_result, args, awaitables, future) */ - __Pyx_TraceLine(65,0,__PYX_ERR(2, 65, __pyx_L1_error)) - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_64__Pyx_CFunc_void____object____object____object____object___to_py_1wrap, 0, __pyx_n_s_Pyx_CFunc_void____object____ob, ((PyObject*)__pyx_cur_scope), __pyx_n_s_cfunc_to_py, __pyx_d, ((PyObject *)__pyx_codeobj__39)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 65, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_64__Pyx_CFunc_void____object____object____object____object___to_py_1wrap, 0, __pyx_n_s_Pyx_CFunc_void____object____ob, ((PyObject*)__pyx_cur_scope), __pyx_n_s_cfunc_to_py, __pyx_d, ((PyObject *)__pyx_codeobj__11)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 65, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_wrap = __pyx_t_1; __pyx_t_1 = 0; @@ -18054,7 +16692,6 @@ static PyObject *__Pyx_CFunc_void____object____object____object____object___to_p * * */ - __Pyx_TraceLine(68,0,__PYX_ERR(2, 68, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_wrap); __pyx_r = __pyx_v_wrap; @@ -18077,7 +16714,6 @@ static PyObject *__Pyx_CFunc_void____object____object____object____object___to_p __Pyx_XDECREF(__pyx_v_wrap); __Pyx_DECREF(((PyObject *)__pyx_cur_scope)); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -18160,7 +16796,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_44__Pyx_CFunc_void____object____obje struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object___to_py *__pyx_cur_scope; struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object___to_py *__pyx_outer_scope; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_lineno = 0; const char *__pyx_filename = NULL; @@ -18168,7 +16803,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_44__Pyx_CFunc_void____object____obje __Pyx_RefNannySetupContext("wrap", 0); __pyx_outer_scope = (struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object___to_py *) __Pyx_CyFunction_GetClosure(__pyx_self); __pyx_cur_scope = __pyx_outer_scope; - __Pyx_TraceCall("wrap", __pyx_f[2], 65, 0, __PYX_ERR(2, 65, __pyx_L1_error)); /* "cfunc.to_py":67 * def wrap(object future_result, object future): @@ -18177,7 +16811,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_44__Pyx_CFunc_void____object____obje * return wrap * */ - __Pyx_TraceLine(67,0,__PYX_ERR(2, 67, __pyx_L1_error)) __pyx_cur_scope->__pyx_v_f(__pyx_v_future_result, __pyx_v_future); if (unlikely(PyErr_Occurred())) __PYX_ERR(2, 67, __pyx_L1_error) /* "cfunc.to_py":65 @@ -18196,7 +16829,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_44__Pyx_CFunc_void____object____obje __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -18213,7 +16845,6 @@ static PyObject *__Pyx_CFunc_void____object____object___to_py(void (*__pyx_v_f)( struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object___to_py *__pyx_cur_scope; PyObject *__pyx_v_wrap = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; @@ -18228,7 +16859,6 @@ static PyObject *__Pyx_CFunc_void____object____object___to_py(void (*__pyx_v_f)( } else { __Pyx_GOTREF(__pyx_cur_scope); } - __Pyx_TraceCall("__Pyx_CFunc_void____object____object___to_py", __pyx_f[2], 64, 0, __PYX_ERR(2, 64, __pyx_L1_error)); __pyx_cur_scope->__pyx_v_f = __pyx_v_f; /* "cfunc.to_py":65 @@ -18238,8 +16868,7 @@ static PyObject *__Pyx_CFunc_void____object____object___to_py(void (*__pyx_v_f)( * """wrap(future_result, future) -> 'void'""" * f(future_result, future) */ - __Pyx_TraceLine(65,0,__PYX_ERR(2, 65, __pyx_L1_error)) - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_44__Pyx_CFunc_void____object____object___to_py_1wrap, 0, __pyx_n_s_Pyx_CFunc_void____object____ob_2, ((PyObject*)__pyx_cur_scope), __pyx_n_s_cfunc_to_py, __pyx_d, ((PyObject *)__pyx_codeobj__41)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 65, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_44__Pyx_CFunc_void____object____object___to_py_1wrap, 0, __pyx_n_s_Pyx_CFunc_void____object____ob_2, ((PyObject*)__pyx_cur_scope), __pyx_n_s_cfunc_to_py, __pyx_d, ((PyObject *)__pyx_codeobj__13)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 65, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_wrap = __pyx_t_1; __pyx_t_1 = 0; @@ -18251,7 +16880,6 @@ static PyObject *__Pyx_CFunc_void____object____object___to_py(void (*__pyx_v_f)( * * */ - __Pyx_TraceLine(68,0,__PYX_ERR(2, 68, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_wrap); __pyx_r = __pyx_v_wrap; @@ -18274,7 +16902,6 @@ static PyObject *__Pyx_CFunc_void____object____object___to_py(void (*__pyx_v_f)( __Pyx_XDECREF(__pyx_v_wrap); __Pyx_DECREF(((PyObject *)__pyx_cur_scope)); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -18368,7 +16995,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_54__Pyx_CFunc_void____object____obje struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object___to_py *__pyx_cur_scope; struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object___to_py *__pyx_outer_scope; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_lineno = 0; const char *__pyx_filename = NULL; @@ -18376,7 +17002,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_54__Pyx_CFunc_void____object____obje __Pyx_RefNannySetupContext("wrap", 0); __pyx_outer_scope = (struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object___to_py *) __Pyx_CyFunction_GetClosure(__pyx_self); __pyx_cur_scope = __pyx_outer_scope; - __Pyx_TraceCall("wrap", __pyx_f[2], 65, 0, __PYX_ERR(2, 65, __pyx_L1_error)); /* "cfunc.to_py":67 * def wrap(object future_result, object call, object future): @@ -18385,7 +17010,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_54__Pyx_CFunc_void____object____obje * return wrap * */ - __Pyx_TraceLine(67,0,__PYX_ERR(2, 67, __pyx_L1_error)) __pyx_cur_scope->__pyx_v_f(__pyx_v_future_result, __pyx_v_call, __pyx_v_future); if (unlikely(PyErr_Occurred())) __PYX_ERR(2, 67, __pyx_L1_error) /* "cfunc.to_py":65 @@ -18404,7 +17028,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_54__Pyx_CFunc_void____object____obje __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -18421,7 +17044,6 @@ static PyObject *__Pyx_CFunc_void____object____object____object___to_py(void (*_ struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object___to_py *__pyx_cur_scope; PyObject *__pyx_v_wrap = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; @@ -18436,7 +17058,6 @@ static PyObject *__Pyx_CFunc_void____object____object____object___to_py(void (*_ } else { __Pyx_GOTREF(__pyx_cur_scope); } - __Pyx_TraceCall("__Pyx_CFunc_void____object____object____object___to_py", __pyx_f[2], 64, 0, __PYX_ERR(2, 64, __pyx_L1_error)); __pyx_cur_scope->__pyx_v_f = __pyx_v_f; /* "cfunc.to_py":65 @@ -18446,8 +17067,7 @@ static PyObject *__Pyx_CFunc_void____object____object____object___to_py(void (*_ * """wrap(future_result, call, future) -> 'void'""" * f(future_result, call, future) */ - __Pyx_TraceLine(65,0,__PYX_ERR(2, 65, __pyx_L1_error)) - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_54__Pyx_CFunc_void____object____object____object___to_py_1wrap, 0, __pyx_n_s_Pyx_CFunc_void____object____ob_3, ((PyObject*)__pyx_cur_scope), __pyx_n_s_cfunc_to_py, __pyx_d, ((PyObject *)__pyx_codeobj__43)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 65, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_54__Pyx_CFunc_void____object____object____object___to_py_1wrap, 0, __pyx_n_s_Pyx_CFunc_void____object____ob_3, ((PyObject*)__pyx_cur_scope), __pyx_n_s_cfunc_to_py, __pyx_d, ((PyObject *)__pyx_codeobj__15)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 65, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_wrap = __pyx_t_1; __pyx_t_1 = 0; @@ -18459,7 +17079,6 @@ static PyObject *__Pyx_CFunc_void____object____object____object___to_py(void (*_ * * */ - __Pyx_TraceLine(68,0,__PYX_ERR(2, 68, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_wrap); __pyx_r = __pyx_v_wrap; @@ -18482,7 +17101,6 @@ static PyObject *__Pyx_CFunc_void____object____object____object___to_py(void (*_ __Pyx_XDECREF(__pyx_v_wrap); __Pyx_DECREF(((PyObject *)__pyx_cur_scope)); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -18565,7 +17183,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_46__Pyx_CFunc_object____object____ob struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_object____object____object___to_py *__pyx_cur_scope; struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_object____object____object___to_py *__pyx_outer_scope; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; @@ -18574,7 +17191,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_46__Pyx_CFunc_object____object____ob __Pyx_RefNannySetupContext("wrap", 0); __pyx_outer_scope = (struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_object____object____object___to_py *) __Pyx_CyFunction_GetClosure(__pyx_self); __pyx_cur_scope = __pyx_outer_scope; - __Pyx_TraceCall("wrap", __pyx_f[2], 65, 0, __PYX_ERR(2, 65, __pyx_L1_error)); /* "cfunc.to_py":67 * def wrap(object future_result, object future): @@ -18583,7 +17199,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_46__Pyx_CFunc_object____object____ob * return wrap * */ - __Pyx_TraceLine(67,0,__PYX_ERR(2, 67, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_cur_scope->__pyx_v_f(__pyx_v_future_result, __pyx_v_future); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 67, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -18606,7 +17221,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_46__Pyx_CFunc_object____object____ob __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -18623,7 +17237,6 @@ static PyObject *__Pyx_CFunc_object____object____object___to_py(PyObject *(*__py struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_object____object____object___to_py *__pyx_cur_scope; PyObject *__pyx_v_wrap = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; @@ -18638,7 +17251,6 @@ static PyObject *__Pyx_CFunc_object____object____object___to_py(PyObject *(*__py } else { __Pyx_GOTREF(__pyx_cur_scope); } - __Pyx_TraceCall("__Pyx_CFunc_object____object____object___to_py", __pyx_f[2], 64, 0, __PYX_ERR(2, 64, __pyx_L1_error)); __pyx_cur_scope->__pyx_v_f = __pyx_v_f; /* "cfunc.to_py":65 @@ -18648,8 +17260,7 @@ static PyObject *__Pyx_CFunc_object____object____object___to_py(PyObject *(*__py * """wrap(future_result, future)""" * return f(future_result, future) */ - __Pyx_TraceLine(65,0,__PYX_ERR(2, 65, __pyx_L1_error)) - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_46__Pyx_CFunc_object____object____object___to_py_1wrap, 0, __pyx_n_s_Pyx_CFunc_object____object, ((PyObject*)__pyx_cur_scope), __pyx_n_s_cfunc_to_py, __pyx_d, ((PyObject *)__pyx_codeobj__45)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 65, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_46__Pyx_CFunc_object____object____object___to_py_1wrap, 0, __pyx_n_s_Pyx_CFunc_object____object, ((PyObject*)__pyx_cur_scope), __pyx_n_s_cfunc_to_py, __pyx_d, ((PyObject *)__pyx_codeobj__17)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 65, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_wrap = __pyx_t_1; __pyx_t_1 = 0; @@ -18661,7 +17272,6 @@ static PyObject *__Pyx_CFunc_object____object____object___to_py(PyObject *(*__py * * */ - __Pyx_TraceLine(68,0,__PYX_ERR(2, 68, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_wrap); __pyx_r = __pyx_v_wrap; @@ -18684,19 +17294,18 @@ static PyObject *__Pyx_CFunc_object____object____object___to_py(PyObject *(*__py __Pyx_XDECREF(__pyx_v_wrap); __Pyx_DECREF(((PyObject *)__pyx_cur_scope)); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } -static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__ *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct____new__[8]; -static int __pyx_freecount_19dependency_injector_10containers___pyx_scope_struct____new__ = 0; +static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct__override *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct__override[8]; +static int __pyx_freecount_19dependency_injector_10containers___pyx_scope_struct__override = 0; -static PyObject *__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct____new__(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { +static PyObject *__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct__override(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { PyObject *o; - if (CYTHON_COMPILING_IN_CPYTHON && likely((__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct____new__ > 0) & (t->tp_basicsize == sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__)))) { - o = (PyObject*)__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct____new__[--__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct____new__]; - memset(o, 0, sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__)); + if (CYTHON_COMPILING_IN_CPYTHON && likely((__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct__override > 0) & (t->tp_basicsize == sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct__override)))) { + o = (PyObject*)__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct__override[--__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct__override]; + memset(o, 0, sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct__override)); (void) PyObject_INIT(o, t); PyObject_GC_Track(o); } else { @@ -18706,525 +17315,41 @@ static PyObject *__pyx_tp_new_19dependency_injector_10containers___pyx_scope_str return o; } -static void __pyx_tp_dealloc_19dependency_injector_10containers___pyx_scope_struct____new__(PyObject *o) { - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__ *p = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__ *)o; - PyObject_GC_UnTrack(o); - Py_CLEAR(p->__pyx_v_attributes); - Py_CLEAR(p->__pyx_v_bases); - if (CYTHON_COMPILING_IN_CPYTHON && ((__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct____new__ < 8) & (Py_TYPE(o)->tp_basicsize == sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__)))) { - __pyx_freelist_19dependency_injector_10containers___pyx_scope_struct____new__[__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct____new__++] = ((struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__ *)o); - } else { - (*Py_TYPE(o)->tp_free)(o); - } -} - -static int __pyx_tp_traverse_19dependency_injector_10containers___pyx_scope_struct____new__(PyObject *o, visitproc v, void *a) { - int e; - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__ *p = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__ *)o; - if (p->__pyx_v_attributes) { - e = (*v)(p->__pyx_v_attributes, a); if (e) return e; - } - if (p->__pyx_v_bases) { - e = (*v)(p->__pyx_v_bases, a); if (e) return e; - } - return 0; -} - -static int __pyx_tp_clear_19dependency_injector_10containers___pyx_scope_struct____new__(PyObject *o) { - PyObject* tmp; - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__ *p = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__ *)o; - tmp = ((PyObject*)p->__pyx_v_attributes); - p->__pyx_v_attributes = ((PyObject*)Py_None); Py_INCREF(Py_None); - Py_XDECREF(tmp); - tmp = ((PyObject*)p->__pyx_v_bases); - p->__pyx_v_bases = ((PyObject*)Py_None); Py_INCREF(Py_None); - Py_XDECREF(tmp); - return 0; -} - -static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_struct____new__ = { - PyVarObject_HEAD_INIT(0, 0) - "dependency_injector.containers.__pyx_scope_struct____new__", /*tp_name*/ - sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct____new__), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_19dependency_injector_10containers___pyx_scope_struct____new__, /*tp_dealloc*/ - #if PY_VERSION_HEX < 0x030800b4 - 0, /*tp_print*/ - #endif - #if PY_VERSION_HEX >= 0x030800b4 - 0, /*tp_vectorcall_offset*/ - #endif - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #endif - #if PY_MAJOR_VERSION >= 3 - 0, /*tp_as_async*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ - 0, /*tp_doc*/ - __pyx_tp_traverse_19dependency_injector_10containers___pyx_scope_struct____new__, /*tp_traverse*/ - __pyx_tp_clear_19dependency_injector_10containers___pyx_scope_struct____new__, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - 0, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct____new__, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - 0, /*tp_version_tag*/ - #if PY_VERSION_HEX >= 0x030400a1 - 0, /*tp_finalize*/ - #endif - #if PY_VERSION_HEX >= 0x030800b1 - 0, /*tp_vectorcall*/ - #endif - #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 - 0, /*tp_print*/ - #endif -}; - -static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_genexpr *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_1_genexpr[8]; -static int __pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_1_genexpr = 0; - -static PyObject *__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_1_genexpr(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - PyObject *o; - if (CYTHON_COMPILING_IN_CPYTHON && likely((__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_1_genexpr > 0) & (t->tp_basicsize == sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_genexpr)))) { - o = (PyObject*)__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_1_genexpr[--__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_1_genexpr]; - memset(o, 0, sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_genexpr)); - (void) PyObject_INIT(o, t); - PyObject_GC_Track(o); - } else { - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - } - return o; -} - -static void __pyx_tp_dealloc_19dependency_injector_10containers___pyx_scope_struct_1_genexpr(PyObject *o) { - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_genexpr *p = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_genexpr *)o; - PyObject_GC_UnTrack(o); - Py_CLEAR(p->__pyx_outer_scope); - Py_CLEAR(p->__pyx_v_container); - Py_CLEAR(p->__pyx_v_name); - Py_CLEAR(p->__pyx_t_0); - if (CYTHON_COMPILING_IN_CPYTHON && ((__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_1_genexpr < 8) & (Py_TYPE(o)->tp_basicsize == sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_genexpr)))) { - __pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_1_genexpr[__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_1_genexpr++] = ((struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_genexpr *)o); - } else { - (*Py_TYPE(o)->tp_free)(o); - } -} - -static int __pyx_tp_traverse_19dependency_injector_10containers___pyx_scope_struct_1_genexpr(PyObject *o, visitproc v, void *a) { - int e; - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_genexpr *p = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_genexpr *)o; - if (p->__pyx_outer_scope) { - e = (*v)(((PyObject *)p->__pyx_outer_scope), a); if (e) return e; - } - if (p->__pyx_v_container) { - e = (*v)(p->__pyx_v_container, a); if (e) return e; - } - if (p->__pyx_v_name) { - e = (*v)(p->__pyx_v_name, a); if (e) return e; - } - if (p->__pyx_t_0) { - e = (*v)(p->__pyx_t_0, a); if (e) return e; - } - return 0; -} - -static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_struct_1_genexpr = { - PyVarObject_HEAD_INIT(0, 0) - "dependency_injector.containers.__pyx_scope_struct_1_genexpr", /*tp_name*/ - sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_genexpr), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_19dependency_injector_10containers___pyx_scope_struct_1_genexpr, /*tp_dealloc*/ - #if PY_VERSION_HEX < 0x030800b4 - 0, /*tp_print*/ - #endif - #if PY_VERSION_HEX >= 0x030800b4 - 0, /*tp_vectorcall_offset*/ - #endif - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #endif - #if PY_MAJOR_VERSION >= 3 - 0, /*tp_as_async*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ - 0, /*tp_doc*/ - __pyx_tp_traverse_19dependency_injector_10containers___pyx_scope_struct_1_genexpr, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - 0, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_1_genexpr, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - 0, /*tp_version_tag*/ - #if PY_VERSION_HEX >= 0x030400a1 - 0, /*tp_finalize*/ - #endif - #if PY_VERSION_HEX >= 0x030800b1 - 0, /*tp_vectorcall*/ - #endif - #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 - 0, /*tp_print*/ - #endif -}; - -static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_2_genexpr *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_2_genexpr[8]; -static int __pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_2_genexpr = 0; - -static PyObject *__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_2_genexpr(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - PyObject *o; - if (CYTHON_COMPILING_IN_CPYTHON && likely((__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_2_genexpr > 0) & (t->tp_basicsize == sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_2_genexpr)))) { - o = (PyObject*)__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_2_genexpr[--__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_2_genexpr]; - memset(o, 0, sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_2_genexpr)); - (void) PyObject_INIT(o, t); - PyObject_GC_Track(o); - } else { - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - } - return o; -} - -static void __pyx_tp_dealloc_19dependency_injector_10containers___pyx_scope_struct_2_genexpr(PyObject *o) { - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_2_genexpr *p = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_2_genexpr *)o; - PyObject_GC_UnTrack(o); - Py_CLEAR(p->__pyx_outer_scope); - Py_CLEAR(p->__pyx_v_name); - Py_CLEAR(p->__pyx_v_provider); - Py_CLEAR(p->__pyx_t_0); - if (CYTHON_COMPILING_IN_CPYTHON && ((__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_2_genexpr < 8) & (Py_TYPE(o)->tp_basicsize == sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_2_genexpr)))) { - __pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_2_genexpr[__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_2_genexpr++] = ((struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_2_genexpr *)o); - } else { - (*Py_TYPE(o)->tp_free)(o); - } -} - -static int __pyx_tp_traverse_19dependency_injector_10containers___pyx_scope_struct_2_genexpr(PyObject *o, visitproc v, void *a) { - int e; - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_2_genexpr *p = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_2_genexpr *)o; - if (p->__pyx_outer_scope) { - e = (*v)(((PyObject *)p->__pyx_outer_scope), a); if (e) return e; - } - if (p->__pyx_v_name) { - e = (*v)(p->__pyx_v_name, a); if (e) return e; - } - if (p->__pyx_v_provider) { - e = (*v)(p->__pyx_v_provider, a); if (e) return e; - } - if (p->__pyx_t_0) { - e = (*v)(p->__pyx_t_0, a); if (e) return e; - } - return 0; -} - -static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_struct_2_genexpr = { - PyVarObject_HEAD_INIT(0, 0) - "dependency_injector.containers.__pyx_scope_struct_2_genexpr", /*tp_name*/ - sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_2_genexpr), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_19dependency_injector_10containers___pyx_scope_struct_2_genexpr, /*tp_dealloc*/ - #if PY_VERSION_HEX < 0x030800b4 - 0, /*tp_print*/ - #endif - #if PY_VERSION_HEX >= 0x030800b4 - 0, /*tp_vectorcall_offset*/ - #endif - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #endif - #if PY_MAJOR_VERSION >= 3 - 0, /*tp_as_async*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ - 0, /*tp_doc*/ - __pyx_tp_traverse_19dependency_injector_10containers___pyx_scope_struct_2_genexpr, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - 0, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_2_genexpr, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - 0, /*tp_version_tag*/ - #if PY_VERSION_HEX >= 0x030400a1 - 0, /*tp_finalize*/ - #endif - #if PY_VERSION_HEX >= 0x030800b1 - 0, /*tp_vectorcall*/ - #endif - #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 - 0, /*tp_print*/ - #endif -}; - -static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_3_genexpr *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_3_genexpr[8]; -static int __pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_3_genexpr = 0; - -static PyObject *__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_3_genexpr(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - PyObject *o; - if (CYTHON_COMPILING_IN_CPYTHON && likely((__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_3_genexpr > 0) & (t->tp_basicsize == sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_3_genexpr)))) { - o = (PyObject*)__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_3_genexpr[--__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_3_genexpr]; - memset(o, 0, sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_3_genexpr)); - (void) PyObject_INIT(o, t); - PyObject_GC_Track(o); - } else { - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - } - return o; -} - -static void __pyx_tp_dealloc_19dependency_injector_10containers___pyx_scope_struct_3_genexpr(PyObject *o) { - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_3_genexpr *p = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_3_genexpr *)o; - PyObject_GC_UnTrack(o); - Py_CLEAR(p->__pyx_outer_scope); - Py_CLEAR(p->__pyx_v_base); - Py_CLEAR(p->__pyx_v_name); - Py_CLEAR(p->__pyx_v_provider); - Py_CLEAR(p->__pyx_t_0); - Py_CLEAR(p->__pyx_t_2); - if (CYTHON_COMPILING_IN_CPYTHON && ((__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_3_genexpr < 8) & (Py_TYPE(o)->tp_basicsize == sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_3_genexpr)))) { - __pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_3_genexpr[__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_3_genexpr++] = ((struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_3_genexpr *)o); - } else { - (*Py_TYPE(o)->tp_free)(o); - } -} - -static int __pyx_tp_traverse_19dependency_injector_10containers___pyx_scope_struct_3_genexpr(PyObject *o, visitproc v, void *a) { - int e; - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_3_genexpr *p = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_3_genexpr *)o; - if (p->__pyx_outer_scope) { - e = (*v)(((PyObject *)p->__pyx_outer_scope), a); if (e) return e; - } - if (p->__pyx_v_base) { - e = (*v)(p->__pyx_v_base, a); if (e) return e; - } - if (p->__pyx_v_name) { - e = (*v)(p->__pyx_v_name, a); if (e) return e; - } - if (p->__pyx_v_provider) { - e = (*v)(p->__pyx_v_provider, a); if (e) return e; - } - if (p->__pyx_t_0) { - e = (*v)(p->__pyx_t_0, a); if (e) return e; - } - if (p->__pyx_t_2) { - e = (*v)(p->__pyx_t_2, a); if (e) return e; - } - return 0; -} - -static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_struct_3_genexpr = { - PyVarObject_HEAD_INIT(0, 0) - "dependency_injector.containers.__pyx_scope_struct_3_genexpr", /*tp_name*/ - sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_3_genexpr), /*tp_basicsize*/ - 0, /*tp_itemsize*/ - __pyx_tp_dealloc_19dependency_injector_10containers___pyx_scope_struct_3_genexpr, /*tp_dealloc*/ - #if PY_VERSION_HEX < 0x030800b4 - 0, /*tp_print*/ - #endif - #if PY_VERSION_HEX >= 0x030800b4 - 0, /*tp_vectorcall_offset*/ - #endif - 0, /*tp_getattr*/ - 0, /*tp_setattr*/ - #if PY_MAJOR_VERSION < 3 - 0, /*tp_compare*/ - #endif - #if PY_MAJOR_VERSION >= 3 - 0, /*tp_as_async*/ - #endif - 0, /*tp_repr*/ - 0, /*tp_as_number*/ - 0, /*tp_as_sequence*/ - 0, /*tp_as_mapping*/ - 0, /*tp_hash*/ - 0, /*tp_call*/ - 0, /*tp_str*/ - 0, /*tp_getattro*/ - 0, /*tp_setattro*/ - 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ - 0, /*tp_doc*/ - __pyx_tp_traverse_19dependency_injector_10containers___pyx_scope_struct_3_genexpr, /*tp_traverse*/ - 0, /*tp_clear*/ - 0, /*tp_richcompare*/ - 0, /*tp_weaklistoffset*/ - 0, /*tp_iter*/ - 0, /*tp_iternext*/ - 0, /*tp_methods*/ - 0, /*tp_members*/ - 0, /*tp_getset*/ - 0, /*tp_base*/ - 0, /*tp_dict*/ - 0, /*tp_descr_get*/ - 0, /*tp_descr_set*/ - 0, /*tp_dictoffset*/ - 0, /*tp_init*/ - 0, /*tp_alloc*/ - __pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_3_genexpr, /*tp_new*/ - 0, /*tp_free*/ - 0, /*tp_is_gc*/ - 0, /*tp_bases*/ - 0, /*tp_mro*/ - 0, /*tp_cache*/ - 0, /*tp_subclasses*/ - 0, /*tp_weaklist*/ - 0, /*tp_del*/ - 0, /*tp_version_tag*/ - #if PY_VERSION_HEX >= 0x030400a1 - 0, /*tp_finalize*/ - #endif - #if PY_VERSION_HEX >= 0x030800b1 - 0, /*tp_vectorcall*/ - #endif - #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 - 0, /*tp_print*/ - #endif -}; - -static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_4_override *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_4_override[8]; -static int __pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_4_override = 0; - -static PyObject *__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_4_override(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - PyObject *o; - if (CYTHON_COMPILING_IN_CPYTHON && likely((__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_4_override > 0) & (t->tp_basicsize == sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_4_override)))) { - o = (PyObject*)__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_4_override[--__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_4_override]; - memset(o, 0, sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_4_override)); - (void) PyObject_INIT(o, t); - PyObject_GC_Track(o); - } else { - o = (*t->tp_alloc)(t, 0); - if (unlikely(!o)) return 0; - } - return o; -} - -static void __pyx_tp_dealloc_19dependency_injector_10containers___pyx_scope_struct_4_override(PyObject *o) { - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_4_override *p = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_4_override *)o; +static void __pyx_tp_dealloc_19dependency_injector_10containers___pyx_scope_struct__override(PyObject *o) { + struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct__override *p = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct__override *)o; PyObject_GC_UnTrack(o); Py_CLEAR(p->__pyx_v_container); - if (CYTHON_COMPILING_IN_CPYTHON && ((__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_4_override < 8) & (Py_TYPE(o)->tp_basicsize == sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_4_override)))) { - __pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_4_override[__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_4_override++] = ((struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_4_override *)o); + if (CYTHON_COMPILING_IN_CPYTHON && ((__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct__override < 8) & (Py_TYPE(o)->tp_basicsize == sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct__override)))) { + __pyx_freelist_19dependency_injector_10containers___pyx_scope_struct__override[__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct__override++] = ((struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct__override *)o); } else { (*Py_TYPE(o)->tp_free)(o); } } -static int __pyx_tp_traverse_19dependency_injector_10containers___pyx_scope_struct_4_override(PyObject *o, visitproc v, void *a) { +static int __pyx_tp_traverse_19dependency_injector_10containers___pyx_scope_struct__override(PyObject *o, visitproc v, void *a) { int e; - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_4_override *p = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_4_override *)o; + struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct__override *p = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct__override *)o; if (p->__pyx_v_container) { e = (*v)(p->__pyx_v_container, a); if (e) return e; } return 0; } -static int __pyx_tp_clear_19dependency_injector_10containers___pyx_scope_struct_4_override(PyObject *o) { +static int __pyx_tp_clear_19dependency_injector_10containers___pyx_scope_struct__override(PyObject *o) { PyObject* tmp; - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_4_override *p = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_4_override *)o; + struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct__override *p = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct__override *)o; tmp = ((PyObject*)p->__pyx_v_container); p->__pyx_v_container = Py_None; Py_INCREF(Py_None); Py_XDECREF(tmp); return 0; } -static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_struct_4_override = { +static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_struct__override = { PyVarObject_HEAD_INIT(0, 0) - "dependency_injector.containers.__pyx_scope_struct_4_override", /*tp_name*/ - sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_4_override), /*tp_basicsize*/ + "dependency_injector.containers.__pyx_scope_struct__override", /*tp_name*/ + sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct__override), /*tp_basicsize*/ 0, /*tp_itemsize*/ - __pyx_tp_dealloc_19dependency_injector_10containers___pyx_scope_struct_4_override, /*tp_dealloc*/ + __pyx_tp_dealloc_19dependency_injector_10containers___pyx_scope_struct__override, /*tp_dealloc*/ #if PY_VERSION_HEX < 0x030800b4 0, /*tp_print*/ #endif @@ -19251,8 +17376,8 @@ static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_st 0, /*tp_as_buffer*/ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ 0, /*tp_doc*/ - __pyx_tp_traverse_19dependency_injector_10containers___pyx_scope_struct_4_override, /*tp_traverse*/ - __pyx_tp_clear_19dependency_injector_10containers___pyx_scope_struct_4_override, /*tp_clear*/ + __pyx_tp_traverse_19dependency_injector_10containers___pyx_scope_struct__override, /*tp_traverse*/ + __pyx_tp_clear_19dependency_injector_10containers___pyx_scope_struct__override, /*tp_clear*/ 0, /*tp_richcompare*/ 0, /*tp_weaklistoffset*/ 0, /*tp_iter*/ @@ -19267,7 +17392,7 @@ static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_st 0, /*tp_dictoffset*/ 0, /*tp_init*/ 0, /*tp_alloc*/ - __pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_4_override, /*tp_new*/ + __pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct__override, /*tp_new*/ 0, /*tp_free*/ 0, /*tp_is_gc*/ 0, /*tp_bases*/ @@ -19288,14 +17413,14 @@ static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_st #endif }; -static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_5_copy[8]; -static int __pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_5_copy = 0; +static struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy *__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_1_copy[8]; +static int __pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_1_copy = 0; -static PyObject *__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_5_copy(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { +static PyObject *__pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_1_copy(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { PyObject *o; - if (CYTHON_COMPILING_IN_CPYTHON && likely((__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_5_copy > 0) & (t->tp_basicsize == sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy)))) { - o = (PyObject*)__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_5_copy[--__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_5_copy]; - memset(o, 0, sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy)); + if (CYTHON_COMPILING_IN_CPYTHON && likely((__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_1_copy > 0) & (t->tp_basicsize == sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy)))) { + o = (PyObject*)__pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_1_copy[--__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_1_copy]; + memset(o, 0, sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy)); (void) PyObject_INIT(o, t); PyObject_GC_Track(o); } else { @@ -19305,21 +17430,21 @@ static PyObject *__pyx_tp_new_19dependency_injector_10containers___pyx_scope_str return o; } -static void __pyx_tp_dealloc_19dependency_injector_10containers___pyx_scope_struct_5_copy(PyObject *o) { - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy *p = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy *)o; +static void __pyx_tp_dealloc_19dependency_injector_10containers___pyx_scope_struct_1_copy(PyObject *o) { + struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy *p = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy *)o; PyObject_GC_UnTrack(o); Py_CLEAR(p->__pyx_v__get_providers_memo); Py_CLEAR(p->__pyx_v_container); - if (CYTHON_COMPILING_IN_CPYTHON && ((__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_5_copy < 8) & (Py_TYPE(o)->tp_basicsize == sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy)))) { - __pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_5_copy[__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_5_copy++] = ((struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy *)o); + if (CYTHON_COMPILING_IN_CPYTHON && ((__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_1_copy < 8) & (Py_TYPE(o)->tp_basicsize == sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy)))) { + __pyx_freelist_19dependency_injector_10containers___pyx_scope_struct_1_copy[__pyx_freecount_19dependency_injector_10containers___pyx_scope_struct_1_copy++] = ((struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy *)o); } else { (*Py_TYPE(o)->tp_free)(o); } } -static int __pyx_tp_traverse_19dependency_injector_10containers___pyx_scope_struct_5_copy(PyObject *o, visitproc v, void *a) { +static int __pyx_tp_traverse_19dependency_injector_10containers___pyx_scope_struct_1_copy(PyObject *o, visitproc v, void *a) { int e; - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy *p = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy *)o; + struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy *p = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy *)o; if (p->__pyx_v__get_providers_memo) { e = (*v)(p->__pyx_v__get_providers_memo, a); if (e) return e; } @@ -19329,9 +17454,9 @@ static int __pyx_tp_traverse_19dependency_injector_10containers___pyx_scope_stru return 0; } -static int __pyx_tp_clear_19dependency_injector_10containers___pyx_scope_struct_5_copy(PyObject *o) { +static int __pyx_tp_clear_19dependency_injector_10containers___pyx_scope_struct_1_copy(PyObject *o) { PyObject* tmp; - struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy *p = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy *)o; + struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy *p = (struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy *)o; tmp = ((PyObject*)p->__pyx_v__get_providers_memo); p->__pyx_v__get_providers_memo = Py_None; Py_INCREF(Py_None); Py_XDECREF(tmp); @@ -19341,12 +17466,12 @@ static int __pyx_tp_clear_19dependency_injector_10containers___pyx_scope_struct_ return 0; } -static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_struct_5_copy = { +static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_struct_1_copy = { PyVarObject_HEAD_INIT(0, 0) - "dependency_injector.containers.__pyx_scope_struct_5_copy", /*tp_name*/ - sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_5_copy), /*tp_basicsize*/ + "dependency_injector.containers.__pyx_scope_struct_1_copy", /*tp_name*/ + sizeof(struct __pyx_obj_19dependency_injector_10containers___pyx_scope_struct_1_copy), /*tp_basicsize*/ 0, /*tp_itemsize*/ - __pyx_tp_dealloc_19dependency_injector_10containers___pyx_scope_struct_5_copy, /*tp_dealloc*/ + __pyx_tp_dealloc_19dependency_injector_10containers___pyx_scope_struct_1_copy, /*tp_dealloc*/ #if PY_VERSION_HEX < 0x030800b4 0, /*tp_print*/ #endif @@ -19373,8 +17498,8 @@ static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_st 0, /*tp_as_buffer*/ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ 0, /*tp_doc*/ - __pyx_tp_traverse_19dependency_injector_10containers___pyx_scope_struct_5_copy, /*tp_traverse*/ - __pyx_tp_clear_19dependency_injector_10containers___pyx_scope_struct_5_copy, /*tp_clear*/ + __pyx_tp_traverse_19dependency_injector_10containers___pyx_scope_struct_1_copy, /*tp_traverse*/ + __pyx_tp_clear_19dependency_injector_10containers___pyx_scope_struct_1_copy, /*tp_clear*/ 0, /*tp_richcompare*/ 0, /*tp_weaklistoffset*/ 0, /*tp_iter*/ @@ -19389,7 +17514,7 @@ static PyTypeObject __pyx_type_19dependency_injector_10containers___pyx_scope_st 0, /*tp_dictoffset*/ 0, /*tp_init*/ 0, /*tp_alloc*/ - __pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_5_copy, /*tp_new*/ + __pyx_tp_new_19dependency_injector_10containers___pyx_scope_struct_1_copy, /*tp_new*/ 0, /*tp_free*/ 0, /*tp_is_gc*/ 0, /*tp_bases*/ @@ -19841,7 +17966,6 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = { {&__pyx_n_s_DeclarativeContainerMetaClass_2, __pyx_k_DeclarativeContainerMetaClass_2, sizeof(__pyx_k_DeclarativeContainerMetaClass_2), 0, 0, 1, 1}, {&__pyx_n_s_DeclarativeContainerMetaClass_3, __pyx_k_DeclarativeContainerMetaClass_3, sizeof(__pyx_k_DeclarativeContainerMetaClass_3), 0, 0, 1, 1}, {&__pyx_n_s_DeclarativeContainerMetaClass_4, __pyx_k_DeclarativeContainerMetaClass_4, sizeof(__pyx_k_DeclarativeContainerMetaClass_4), 0, 0, 1, 1}, - {&__pyx_n_s_DeclarativeContainerMetaClass_5, __pyx_k_DeclarativeContainerMetaClass_5, sizeof(__pyx_k_DeclarativeContainerMetaClass_5), 0, 0, 1, 1}, {&__pyx_n_s_DeclarativeContainerMetaClass_de, __pyx_k_DeclarativeContainerMetaClass_de, sizeof(__pyx_k_DeclarativeContainerMetaClass_de), 0, 0, 1, 1}, {&__pyx_n_s_DeclarativeContainer___new, __pyx_k_DeclarativeContainer___new, sizeof(__pyx_k_DeclarativeContainer___new), 0, 0, 1, 1}, {&__pyx_n_s_DeclarativeContainer_override, __pyx_k_DeclarativeContainer_override, sizeof(__pyx_k_DeclarativeContainer_override), 0, 0, 1, 1}, @@ -19878,7 +18002,7 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = { {&__pyx_n_s_Pyx_CFunc_void____object____ob_2, __pyx_k_Pyx_CFunc_void____object____ob_2, sizeof(__pyx_k_Pyx_CFunc_void____object____ob_2), 0, 0, 1, 1}, {&__pyx_n_s_Pyx_CFunc_void____object____ob_3, __pyx_k_Pyx_CFunc_void____object____ob_3, sizeof(__pyx_k_Pyx_CFunc_void____object____ob_3), 0, 0, 1, 1}, {&__pyx_kp_s_Wiring_requires_Python_3_6_or_ab, __pyx_k_Wiring_requires_Python_3_6_or_ab, sizeof(__pyx_k_Wiring_requires_Python_3_6_or_ab), 0, 0, 1, 0}, - {&__pyx_n_s__37, __pyx_k__37, sizeof(__pyx_k__37), 0, 0, 1, 1}, + {&__pyx_n_s__9, __pyx_k__9, sizeof(__pyx_k__9), 0, 0, 1, 1}, {&__pyx_n_s_add_done_callback, __pyx_k_add_done_callback, sizeof(__pyx_k_add_done_callback), 0, 0, 1, 1}, {&__pyx_n_s_add_metaclass, __pyx_k_add_metaclass, sizeof(__pyx_k_add_metaclass), 0, 0, 1, 1}, {&__pyx_n_s_apply_container_providers_overri, __pyx_k_apply_container_providers_overri, sizeof(__pyx_k_apply_container_providers_overri), 0, 0, 1, 1}, @@ -19889,6 +18013,7 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = { {&__pyx_n_s_asyncio_tasks, __pyx_k_asyncio_tasks, sizeof(__pyx_k_asyncio_tasks), 0, 0, 1, 1}, {&__pyx_n_s_attributes, __pyx_k_attributes, sizeof(__pyx_k_attributes), 0, 0, 1, 1}, {&__pyx_n_s_awaitables, __pyx_k_awaitables, sizeof(__pyx_k_awaitables), 0, 0, 1, 1}, + {&__pyx_n_s_base, __pyx_k_base, sizeof(__pyx_k_base), 0, 0, 1, 1}, {&__pyx_n_s_bases, __pyx_k_bases, sizeof(__pyx_k_bases), 0, 0, 1, 1}, {&__pyx_n_s_call, __pyx_k_call, sizeof(__pyx_k_call), 0, 0, 1, 1}, {&__pyx_n_s_cfunc_to_py, __pyx_k_cfunc_to_py, sizeof(__pyx_k_cfunc_to_py), 0, 0, 1, 1}, @@ -19896,7 +18021,6 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = { {&__pyx_n_s_class_name, __pyx_k_class_name, sizeof(__pyx_k_class_name), 0, 0, 1, 1}, {&__pyx_n_s_clear, __pyx_k_clear, sizeof(__pyx_k_clear), 0, 0, 1, 1}, {&__pyx_n_s_cline_in_traceback, __pyx_k_cline_in_traceback, sizeof(__pyx_k_cline_in_traceback), 0, 0, 1, 1}, - {&__pyx_n_s_close, __pyx_k_close, sizeof(__pyx_k_close), 0, 0, 1, 1}, {&__pyx_n_s_cls, __pyx_k_cls, sizeof(__pyx_k_cls), 0, 0, 1, 1}, {&__pyx_n_s_cls_providers, __pyx_k_cls_providers, sizeof(__pyx_k_cls_providers), 0, 0, 1, 1}, {&__pyx_n_s_container, __pyx_k_container, sizeof(__pyx_k_container), 0, 0, 1, 1}, @@ -19924,7 +18048,6 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = { {&__pyx_n_s_future_result, __pyx_k_future_result, sizeof(__pyx_k_future_result), 0, 0, 1, 1}, {&__pyx_n_s_futures, __pyx_k_futures, sizeof(__pyx_k_futures), 0, 0, 1, 1}, {&__pyx_n_s_gather, __pyx_k_gather, sizeof(__pyx_k_gather), 0, 0, 1, 1}, - {&__pyx_n_s_genexpr, __pyx_k_genexpr, sizeof(__pyx_k_genexpr), 0, 0, 1, 1}, {&__pyx_n_s_get, __pyx_k_get, sizeof(__pyx_k_get), 0, 0, 1, 1}, {&__pyx_n_s_get_providers_memo, __pyx_k_get_providers_memo, sizeof(__pyx_k_get_providers_memo), 0, 0, 1, 1}, {&__pyx_n_s_id, __pyx_k_id, sizeof(__pyx_k_id), 0, 0, 1, 1}, @@ -19979,7 +18102,6 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = { {&__pyx_n_s_result, __pyx_k_result, sizeof(__pyx_k_result), 0, 0, 1, 1}, {&__pyx_n_s_self, __pyx_k_self, sizeof(__pyx_k_self), 0, 0, 1, 1}, {&__pyx_n_s_self_2, __pyx_k_self_2, sizeof(__pyx_k_self_2), 0, 0, 1, 1}, - {&__pyx_n_s_send, __pyx_k_send, sizeof(__pyx_k_send), 0, 0, 1, 1}, {&__pyx_n_s_set_providers, __pyx_k_set_providers, sizeof(__pyx_k_set_providers), 0, 0, 1, 1}, {&__pyx_n_s_set_result, __pyx_k_set_result, sizeof(__pyx_k_set_result), 0, 0, 1, 1}, {&__pyx_n_s_setattr, __pyx_k_setattr, sizeof(__pyx_k_setattr), 0, 0, 1, 1}, @@ -19994,7 +18116,6 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = { {&__pyx_n_s_super, __pyx_k_super, sizeof(__pyx_k_super), 0, 0, 1, 1}, {&__pyx_n_s_sys, __pyx_k_sys, sizeof(__pyx_k_sys), 0, 0, 1, 1}, {&__pyx_n_s_test, __pyx_k_test, sizeof(__pyx_k_test), 0, 0, 1, 1}, - {&__pyx_n_s_throw, __pyx_k_throw, sizeof(__pyx_k_throw), 0, 0, 1, 1}, {&__pyx_n_s_unwire, __pyx_k_unwire, sizeof(__pyx_k_unwire), 0, 0, 1, 1}, {&__pyx_n_s_update, __pyx_k_update, sizeof(__pyx_k_update), 0, 0, 1, 1}, {&__pyx_n_s_value, __pyx_k_value, sizeof(__pyx_k_value), 0, 0, 1, 1}, @@ -20016,7 +18137,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedBuiltins(void) { __pyx_builtin_super = __Pyx_GetBuiltinName(__pyx_n_s_super); if (!__pyx_builtin_super) __PYX_ERR(0, 78, __pyx_L1_error) __pyx_builtin_id = __Pyx_GetBuiltinName(__pyx_n_s_id); if (!__pyx_builtin_id) __PYX_ERR(0, 82, __pyx_L1_error) __pyx_builtin_AttributeError = __Pyx_GetBuiltinName(__pyx_n_s_AttributeError); if (!__pyx_builtin_AttributeError) __PYX_ERR(0, 178, __pyx_L1_error) - __pyx_builtin_KeyError = __Pyx_GetBuiltinName(__pyx_n_s_KeyError); if (!__pyx_builtin_KeyError) __PYX_ERR(0, 550, __pyx_L1_error) + __pyx_builtin_KeyError = __Pyx_GetBuiltinName(__pyx_n_s_KeyError); if (!__pyx_builtin_KeyError) __PYX_ERR(0, 549, __pyx_L1_error) __pyx_builtin_range = __Pyx_GetBuiltinName(__pyx_n_s_range); if (!__pyx_builtin_range) __PYX_ERR(1, 357, __pyx_L1_error) __pyx_builtin_zip = __Pyx_GetBuiltinName(__pyx_n_s_zip); if (!__pyx_builtin_zip) __PYX_ERR(1, 445, __pyx_L1_error) return 0; @@ -20035,9 +18156,9 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * * def unwire(*args, **kwargs): */ - __pyx_tuple__2 = PyTuple_Pack(1, __pyx_kp_s_Wiring_requires_Python_3_6_or_ab); if (unlikely(!__pyx_tuple__2)) __PYX_ERR(0, 29, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__2); - __Pyx_GIVEREF(__pyx_tuple__2); + __pyx_tuple_ = PyTuple_Pack(1, __pyx_kp_s_Wiring_requires_Python_3_6_or_ab); if (unlikely(!__pyx_tuple_)) __PYX_ERR(0, 29, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple_); + __Pyx_GIVEREF(__pyx_tuple_); /* "dependency_injector/containers.pyx":202 * raise Error('Container {0} is not overridden'.format(self)) @@ -20046,45 +18167,45 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * * for provider in six.itervalues(self.providers): */ - __pyx_slice__13 = PySlice_New(Py_None, __pyx_int_neg_1, Py_None); if (unlikely(!__pyx_slice__13)) __PYX_ERR(0, 202, __pyx_L1_error) - __Pyx_GOTREF(__pyx_slice__13); - __Pyx_GIVEREF(__pyx_slice__13); + __pyx_slice__2 = PySlice_New(Py_None, __pyx_int_neg_1, Py_None); if (unlikely(!__pyx_slice__2)) __PYX_ERR(0, 202, __pyx_L1_error) + __Pyx_GOTREF(__pyx_slice__2); + __Pyx_GIVEREF(__pyx_slice__2); - /* "dependency_injector/containers.pyx":524 + /* "dependency_injector/containers.pyx":523 * :rtype: callable(:py:class:`DeclarativeContainer`) * """ * def _decorator(object overriding_container): # <<<<<<<<<<<<<< * """Overriding decorator.""" * container.override(overriding_container) */ - __pyx_tuple__30 = PyTuple_Pack(1, __pyx_n_s_overriding_container); if (unlikely(!__pyx_tuple__30)) __PYX_ERR(0, 524, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__30); - __Pyx_GIVEREF(__pyx_tuple__30); - __pyx_codeobj__31 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__30, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_decorator, 524, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__31)) __PYX_ERR(0, 524, __pyx_L1_error) + __pyx_tuple__3 = PyTuple_Pack(1, __pyx_n_s_overriding_container); if (unlikely(!__pyx_tuple__3)) __PYX_ERR(0, 523, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__3); + __Pyx_GIVEREF(__pyx_tuple__3); + __pyx_codeobj__4 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__3, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_decorator, 523, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__4)) __PYX_ERR(0, 523, __pyx_L1_error) - /* "dependency_injector/containers.pyx":544 + /* "dependency_injector/containers.pyx":543 * :rtype: callable(:py:class:`DeclarativeContainer`) * """ * def _get_providers_memo(from_providers, source_providers): # <<<<<<<<<<<<<< * memo = dict() * */ - __pyx_tuple__33 = PyTuple_Pack(7, __pyx_n_s_from_providers, __pyx_n_s_source_providers, __pyx_n_s_memo, __pyx_n_s_name, __pyx_n_s_provider, __pyx_n_s_source_provider, __pyx_n_s_sub_memo); if (unlikely(!__pyx_tuple__33)) __PYX_ERR(0, 544, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__33); - __Pyx_GIVEREF(__pyx_tuple__33); - __pyx_codeobj__34 = (PyObject*)__Pyx_PyCode_New(2, 0, 7, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__33, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_get_providers_memo, 544, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__34)) __PYX_ERR(0, 544, __pyx_L1_error) + __pyx_tuple__5 = PyTuple_Pack(7, __pyx_n_s_from_providers, __pyx_n_s_source_providers, __pyx_n_s_memo, __pyx_n_s_name, __pyx_n_s_provider, __pyx_n_s_source_provider, __pyx_n_s_sub_memo); if (unlikely(!__pyx_tuple__5)) __PYX_ERR(0, 543, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__5); + __Pyx_GIVEREF(__pyx_tuple__5); + __pyx_codeobj__6 = (PyObject*)__Pyx_PyCode_New(2, 0, 7, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__5, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_get_providers_memo, 543, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__6)) __PYX_ERR(0, 543, __pyx_L1_error) - /* "dependency_injector/containers.pyx":560 + /* "dependency_injector/containers.pyx":559 * return memo * * def _decorator(copied_container): # <<<<<<<<<<<<<< * memo = _get_providers_memo(copied_container.cls_providers, container.providers) * */ - __pyx_tuple__35 = PyTuple_Pack(5, __pyx_n_s_copied_container, __pyx_n_s_memo, __pyx_n_s_providers_copy, __pyx_n_s_name, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__35)) __PYX_ERR(0, 560, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__35); - __Pyx_GIVEREF(__pyx_tuple__35); - __pyx_codeobj__36 = (PyObject*)__Pyx_PyCode_New(1, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__35, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_decorator, 560, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__36)) __PYX_ERR(0, 560, __pyx_L1_error) + __pyx_tuple__7 = PyTuple_Pack(5, __pyx_n_s_copied_container, __pyx_n_s_memo, __pyx_n_s_providers_copy, __pyx_n_s_name, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__7)) __PYX_ERR(0, 559, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__7); + __Pyx_GIVEREF(__pyx_tuple__7); + __pyx_codeobj__8 = (PyObject*)__Pyx_PyCode_New(1, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__7, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_decorator, 559, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__8)) __PYX_ERR(0, 559, __pyx_L1_error) /* "cfunc.to_py":65 * @cname("__Pyx_CFunc_void____object____object____object____object___to_py") @@ -20093,22 +18214,22 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """wrap(future_result, args, awaitables, future) -> 'void'""" * f(future_result, args, awaitables, future) */ - __pyx_tuple__38 = PyTuple_Pack(4, __pyx_n_s_future_result, __pyx_n_s_args, __pyx_n_s_awaitables, __pyx_n_s_future); if (unlikely(!__pyx_tuple__38)) __PYX_ERR(2, 65, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__38); - __Pyx_GIVEREF(__pyx_tuple__38); - __pyx_codeobj__39 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__38, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_wrap, 65, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__39)) __PYX_ERR(2, 65, __pyx_L1_error) - __pyx_tuple__40 = PyTuple_Pack(2, __pyx_n_s_future_result, __pyx_n_s_future); if (unlikely(!__pyx_tuple__40)) __PYX_ERR(2, 65, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__40); - __Pyx_GIVEREF(__pyx_tuple__40); - __pyx_codeobj__41 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__40, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_wrap, 65, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__41)) __PYX_ERR(2, 65, __pyx_L1_error) - __pyx_tuple__42 = PyTuple_Pack(3, __pyx_n_s_future_result, __pyx_n_s_call, __pyx_n_s_future); if (unlikely(!__pyx_tuple__42)) __PYX_ERR(2, 65, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__42); - __Pyx_GIVEREF(__pyx_tuple__42); - __pyx_codeobj__43 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__42, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_wrap, 65, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__43)) __PYX_ERR(2, 65, __pyx_L1_error) - __pyx_tuple__44 = PyTuple_Pack(2, __pyx_n_s_future_result, __pyx_n_s_future); if (unlikely(!__pyx_tuple__44)) __PYX_ERR(2, 65, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__44); - __Pyx_GIVEREF(__pyx_tuple__44); - __pyx_codeobj__45 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__44, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_wrap, 65, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__45)) __PYX_ERR(2, 65, __pyx_L1_error) + __pyx_tuple__10 = PyTuple_Pack(4, __pyx_n_s_future_result, __pyx_n_s_args, __pyx_n_s_awaitables, __pyx_n_s_future); if (unlikely(!__pyx_tuple__10)) __PYX_ERR(2, 65, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__10); + __Pyx_GIVEREF(__pyx_tuple__10); + __pyx_codeobj__11 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__10, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_wrap, 65, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__11)) __PYX_ERR(2, 65, __pyx_L1_error) + __pyx_tuple__12 = PyTuple_Pack(2, __pyx_n_s_future_result, __pyx_n_s_future); if (unlikely(!__pyx_tuple__12)) __PYX_ERR(2, 65, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__12); + __Pyx_GIVEREF(__pyx_tuple__12); + __pyx_codeobj__13 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__12, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_wrap, 65, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__13)) __PYX_ERR(2, 65, __pyx_L1_error) + __pyx_tuple__14 = PyTuple_Pack(3, __pyx_n_s_future_result, __pyx_n_s_call, __pyx_n_s_future); if (unlikely(!__pyx_tuple__14)) __PYX_ERR(2, 65, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__14); + __Pyx_GIVEREF(__pyx_tuple__14); + __pyx_codeobj__15 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__14, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_wrap, 65, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__15)) __PYX_ERR(2, 65, __pyx_L1_error) + __pyx_tuple__16 = PyTuple_Pack(2, __pyx_n_s_future_result, __pyx_n_s_future); if (unlikely(!__pyx_tuple__16)) __PYX_ERR(2, 65, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__16); + __Pyx_GIVEREF(__pyx_tuple__16); + __pyx_codeobj__17 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__16, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_wrap, 65, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__17)) __PYX_ERR(2, 65, __pyx_L1_error) /* "dependency_injector/containers.pyx":25 * @@ -20117,12 +18238,12 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * from .wiring import wire, unwire * else: */ - __pyx_slice__46 = PySlice_New(Py_None, __pyx_int_2, Py_None); if (unlikely(!__pyx_slice__46)) __PYX_ERR(0, 25, __pyx_L1_error) - __Pyx_GOTREF(__pyx_slice__46); - __Pyx_GIVEREF(__pyx_slice__46); - __pyx_tuple__47 = PyTuple_Pack(2, __pyx_int_3, __pyx_int_6); if (unlikely(!__pyx_tuple__47)) __PYX_ERR(0, 25, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__47); - __Pyx_GIVEREF(__pyx_tuple__47); + __pyx_slice__18 = PySlice_New(Py_None, __pyx_int_2, Py_None); if (unlikely(!__pyx_slice__18)) __PYX_ERR(0, 25, __pyx_L1_error) + __Pyx_GOTREF(__pyx_slice__18); + __Pyx_GIVEREF(__pyx_slice__18); + __pyx_tuple__19 = PyTuple_Pack(2, __pyx_int_3, __pyx_int_6); if (unlikely(!__pyx_tuple__19)) __PYX_ERR(0, 25, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__19); + __Pyx_GIVEREF(__pyx_tuple__19); /* "dependency_injector/containers.pyx":28 * from .wiring import wire, unwire @@ -20131,10 +18252,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * raise NotImplementedError('Wiring requires Python 3.6 or above') * */ - __pyx_tuple__48 = PyTuple_Pack(2, __pyx_n_s_args, __pyx_n_s_kwargs); if (unlikely(!__pyx_tuple__48)) __PYX_ERR(0, 28, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__48); - __Pyx_GIVEREF(__pyx_tuple__48); - __pyx_codeobj_ = (PyObject*)__Pyx_PyCode_New(0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__48, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_wire, 28, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj_)) __PYX_ERR(0, 28, __pyx_L1_error) + __pyx_tuple__20 = PyTuple_Pack(2, __pyx_n_s_args, __pyx_n_s_kwargs); if (unlikely(!__pyx_tuple__20)) __PYX_ERR(0, 28, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__20); + __Pyx_GIVEREF(__pyx_tuple__20); + __pyx_codeobj__21 = (PyObject*)__Pyx_PyCode_New(0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__20, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_wire, 28, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__21)) __PYX_ERR(0, 28, __pyx_L1_error) /* "dependency_injector/containers.pyx":31 * raise NotImplementedError('Wiring requires Python 3.6 or above') @@ -20143,10 +18264,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * raise NotImplementedError('Wiring requires Python 3.6 or above') * */ - __pyx_tuple__49 = PyTuple_Pack(2, __pyx_n_s_args, __pyx_n_s_kwargs); if (unlikely(!__pyx_tuple__49)) __PYX_ERR(0, 31, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__49); - __Pyx_GIVEREF(__pyx_tuple__49); - __pyx_codeobj__3 = (PyObject*)__Pyx_PyCode_New(0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__49, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_unwire, 31, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__3)) __PYX_ERR(0, 31, __pyx_L1_error) + __pyx_tuple__22 = PyTuple_Pack(2, __pyx_n_s_args, __pyx_n_s_kwargs); if (unlikely(!__pyx_tuple__22)) __PYX_ERR(0, 31, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__22); + __Pyx_GIVEREF(__pyx_tuple__22); + __pyx_codeobj__23 = (PyObject*)__Pyx_PyCode_New(0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__22, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_unwire, 31, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__23)) __PYX_ERR(0, 31, __pyx_L1_error) /* "dependency_injector/containers.pyx":35 * @@ -20155,9 +18276,9 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """Dynamic inversion of control container. * */ - __pyx_tuple__50 = PyTuple_Pack(1, __pyx_builtin_object); if (unlikely(!__pyx_tuple__50)) __PYX_ERR(0, 35, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__50); - __Pyx_GIVEREF(__pyx_tuple__50); + __pyx_tuple__24 = PyTuple_Pack(1, __pyx_builtin_object); if (unlikely(!__pyx_tuple__24)) __PYX_ERR(0, 35, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__24); + __Pyx_GIVEREF(__pyx_tuple__24); /* "dependency_injector/containers.pyx":66 * __IS_CONTAINER__ = True @@ -20166,10 +18287,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """Initializer. * */ - __pyx_tuple__51 = PyTuple_Pack(1, __pyx_n_s_self_2); if (unlikely(!__pyx_tuple__51)) __PYX_ERR(0, 66, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__51); - __Pyx_GIVEREF(__pyx_tuple__51); - __pyx_codeobj__4 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__51, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_init, 66, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__4)) __PYX_ERR(0, 66, __pyx_L1_error) + __pyx_tuple__25 = PyTuple_Pack(1, __pyx_n_s_self_2); if (unlikely(!__pyx_tuple__25)) __PYX_ERR(0, 66, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__25); + __Pyx_GIVEREF(__pyx_tuple__25); + __pyx_codeobj__26 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__25, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_init, 66, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__26)) __PYX_ERR(0, 66, __pyx_L1_error) /* "dependency_injector/containers.pyx":80 * super(DynamicContainer, self).__init__() @@ -20178,10 +18299,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """Create and return full copy of container.""" * copied = memo.get(id(self)) */ - __pyx_tuple__52 = PyTuple_Pack(5, __pyx_n_s_self_2, __pyx_n_s_memo, __pyx_n_s_copied, __pyx_n_s_name, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__52)) __PYX_ERR(0, 80, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__52); - __Pyx_GIVEREF(__pyx_tuple__52); - __pyx_codeobj__5 = (PyObject*)__Pyx_PyCode_New(2, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__52, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_deepcopy, 80, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__5)) __PYX_ERR(0, 80, __pyx_L1_error) + __pyx_tuple__27 = PyTuple_Pack(5, __pyx_n_s_self_2, __pyx_n_s_memo, __pyx_n_s_copied, __pyx_n_s_name, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__27)) __PYX_ERR(0, 80, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__27); + __Pyx_GIVEREF(__pyx_tuple__27); + __pyx_codeobj__28 = (PyObject*)__Pyx_PyCode_New(2, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__27, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_deepcopy, 80, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__28)) __PYX_ERR(0, 80, __pyx_L1_error) /* "dependency_injector/containers.pyx":96 * return copied @@ -20190,10 +18311,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """Set instance attribute. * */ - __pyx_tuple__53 = PyTuple_Pack(3, __pyx_n_s_self_2, __pyx_n_s_name, __pyx_n_s_value); if (unlikely(!__pyx_tuple__53)) __PYX_ERR(0, 96, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__53); - __Pyx_GIVEREF(__pyx_tuple__53); - __pyx_codeobj__6 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__53, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_setattr, 96, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__6)) __PYX_ERR(0, 96, __pyx_L1_error) + __pyx_tuple__29 = PyTuple_Pack(3, __pyx_n_s_self_2, __pyx_n_s_name, __pyx_n_s_value); if (unlikely(!__pyx_tuple__29)) __PYX_ERR(0, 96, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__29); + __Pyx_GIVEREF(__pyx_tuple__29); + __pyx_codeobj__30 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__29, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_setattr, 96, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__30)) __PYX_ERR(0, 96, __pyx_L1_error) /* "dependency_injector/containers.pyx":115 * super(DynamicContainer, self).__setattr__(name, value) @@ -20202,10 +18323,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """Delete instance attribute. * */ - __pyx_tuple__54 = PyTuple_Pack(2, __pyx_n_s_self_2, __pyx_n_s_name); if (unlikely(!__pyx_tuple__54)) __PYX_ERR(0, 115, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__54); - __Pyx_GIVEREF(__pyx_tuple__54); - __pyx_codeobj__7 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__54, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_delattr, 115, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__7)) __PYX_ERR(0, 115, __pyx_L1_error) + __pyx_tuple__31 = PyTuple_Pack(2, __pyx_n_s_self_2, __pyx_n_s_name); if (unlikely(!__pyx_tuple__31)) __PYX_ERR(0, 115, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__31); + __Pyx_GIVEREF(__pyx_tuple__31); + __pyx_codeobj__32 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__31, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_delattr, 115, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__32)) __PYX_ERR(0, 115, __pyx_L1_error) /* "dependency_injector/containers.pyx":131 * @@ -20214,10 +18335,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """Return dependency providers dictionary. * */ - __pyx_tuple__55 = PyTuple_Pack(3, __pyx_n_s_self_2, __pyx_n_s_name, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__55)) __PYX_ERR(0, 131, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__55); - __Pyx_GIVEREF(__pyx_tuple__55); - __pyx_codeobj__8 = (PyObject*)__Pyx_PyCode_New(1, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__55, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_dependencies, 131, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__8)) __PYX_ERR(0, 131, __pyx_L1_error) + __pyx_tuple__33 = PyTuple_Pack(3, __pyx_n_s_self_2, __pyx_n_s_name, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__33)) __PYX_ERR(0, 131, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__33); + __Pyx_GIVEREF(__pyx_tuple__33); + __pyx_codeobj__34 = (PyObject*)__Pyx_PyCode_New(1, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__33, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_dependencies, 131, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__34)) __PYX_ERR(0, 131, __pyx_L1_error) /* "dependency_injector/containers.pyx":146 * } @@ -20226,10 +18347,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """Set container providers. * */ - __pyx_tuple__56 = PyTuple_Pack(4, __pyx_n_s_self_2, __pyx_n_s_providers, __pyx_n_s_name, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__56)) __PYX_ERR(0, 146, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__56); - __Pyx_GIVEREF(__pyx_tuple__56); - __pyx_codeobj__9 = (PyObject*)__Pyx_PyCode_New(1, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__56, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_set_providers, 146, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__9)) __PYX_ERR(0, 146, __pyx_L1_error) + __pyx_tuple__35 = PyTuple_Pack(4, __pyx_n_s_self_2, __pyx_n_s_providers, __pyx_n_s_name, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__35)) __PYX_ERR(0, 146, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__35); + __Pyx_GIVEREF(__pyx_tuple__35); + __pyx_codeobj__36 = (PyObject*)__Pyx_PyCode_New(1, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__35, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_set_providers, 146, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__36)) __PYX_ERR(0, 146, __pyx_L1_error) /* "dependency_injector/containers.pyx":158 * setattr(self, name, provider) @@ -20238,10 +18359,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """Override current container by overriding container. * */ - __pyx_tuple__57 = PyTuple_Pack(4, __pyx_n_s_self_2, __pyx_n_s_overriding, __pyx_n_s_name, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__57)) __PYX_ERR(0, 158, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__57); - __Pyx_GIVEREF(__pyx_tuple__57); - __pyx_codeobj__10 = (PyObject*)__Pyx_PyCode_New(2, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__57, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_override, 158, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__10)) __PYX_ERR(0, 158, __pyx_L1_error) + __pyx_tuple__37 = PyTuple_Pack(4, __pyx_n_s_self_2, __pyx_n_s_overriding, __pyx_n_s_name, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__37)) __PYX_ERR(0, 158, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__37); + __Pyx_GIVEREF(__pyx_tuple__37); + __pyx_codeobj__38 = (PyObject*)__Pyx_PyCode_New(2, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__37, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_override, 158, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__38)) __PYX_ERR(0, 158, __pyx_L1_error) /* "dependency_injector/containers.pyx":181 * pass @@ -20250,10 +18371,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """Override container providers. * */ - __pyx_tuple__58 = PyTuple_Pack(5, __pyx_n_s_self_2, __pyx_n_s_overriding_providers, __pyx_n_s_name, __pyx_n_s_overriding_provider, __pyx_n_s_container_provider); if (unlikely(!__pyx_tuple__58)) __PYX_ERR(0, 181, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__58); - __Pyx_GIVEREF(__pyx_tuple__58); - __pyx_codeobj__11 = (PyObject*)__Pyx_PyCode_New(1, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__58, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_override_providers, 181, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__11)) __PYX_ERR(0, 181, __pyx_L1_error) + __pyx_tuple__39 = PyTuple_Pack(5, __pyx_n_s_self_2, __pyx_n_s_overriding_providers, __pyx_n_s_name, __pyx_n_s_overriding_provider, __pyx_n_s_container_provider); if (unlikely(!__pyx_tuple__39)) __PYX_ERR(0, 181, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__39); + __Pyx_GIVEREF(__pyx_tuple__39); + __pyx_codeobj__40 = (PyObject*)__Pyx_PyCode_New(1, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__39, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_override_providers, 181, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__40)) __PYX_ERR(0, 181, __pyx_L1_error) /* "dependency_injector/containers.pyx":194 * container_provider.override(overriding_provider) @@ -20262,10 +18383,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """Reset last overriding provider for each container providers. * */ - __pyx_tuple__59 = PyTuple_Pack(2, __pyx_n_s_self_2, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__59)) __PYX_ERR(0, 194, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__59); - __Pyx_GIVEREF(__pyx_tuple__59); - __pyx_codeobj__12 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__59, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_reset_last_overriding, 194, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__12)) __PYX_ERR(0, 194, __pyx_L1_error) + __pyx_tuple__41 = PyTuple_Pack(2, __pyx_n_s_self_2, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__41)) __PYX_ERR(0, 194, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__41); + __Pyx_GIVEREF(__pyx_tuple__41); + __pyx_codeobj__42 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__41, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_reset_last_overriding, 194, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__42)) __PYX_ERR(0, 194, __pyx_L1_error) /* "dependency_injector/containers.pyx":207 * provider.reset_last_overriding() @@ -20274,10 +18395,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """Reset all overridings for each container providers. * */ - __pyx_tuple__60 = PyTuple_Pack(2, __pyx_n_s_self_2, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__60)) __PYX_ERR(0, 207, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__60); - __Pyx_GIVEREF(__pyx_tuple__60); - __pyx_codeobj__14 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__60, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_reset_override, 207, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__14)) __PYX_ERR(0, 207, __pyx_L1_error) + __pyx_tuple__43 = PyTuple_Pack(2, __pyx_n_s_self_2, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__43)) __PYX_ERR(0, 207, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__43); + __Pyx_GIVEREF(__pyx_tuple__43); + __pyx_codeobj__44 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__43, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_reset_override, 207, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__44)) __PYX_ERR(0, 207, __pyx_L1_error) /* "dependency_injector/containers.pyx":217 * provider.reset_override() @@ -20286,13 +18407,13 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """Wire container providers with provided packages and modules. * */ - __pyx_tuple__61 = PyTuple_Pack(3, __pyx_n_s_self_2, __pyx_n_s_modules, __pyx_n_s_packages); if (unlikely(!__pyx_tuple__61)) __PYX_ERR(0, 217, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__61); - __Pyx_GIVEREF(__pyx_tuple__61); - __pyx_codeobj__15 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__61, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_wire, 217, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__15)) __PYX_ERR(0, 217, __pyx_L1_error) - __pyx_tuple__62 = PyTuple_Pack(2, ((PyObject *)Py_None), ((PyObject *)Py_None)); if (unlikely(!__pyx_tuple__62)) __PYX_ERR(0, 217, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__62); - __Pyx_GIVEREF(__pyx_tuple__62); + __pyx_tuple__45 = PyTuple_Pack(3, __pyx_n_s_self_2, __pyx_n_s_modules, __pyx_n_s_packages); if (unlikely(!__pyx_tuple__45)) __PYX_ERR(0, 217, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__45); + __Pyx_GIVEREF(__pyx_tuple__45); + __pyx_codeobj__46 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__45, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_wire, 217, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__46)) __PYX_ERR(0, 217, __pyx_L1_error) + __pyx_tuple__47 = PyTuple_Pack(2, ((PyObject *)Py_None), ((PyObject *)Py_None)); if (unlikely(!__pyx_tuple__47)) __PYX_ERR(0, 217, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__47); + __Pyx_GIVEREF(__pyx_tuple__47); /* "dependency_injector/containers.pyx":234 * self.wired_to_packages.extend(packages) @@ -20301,10 +18422,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """Unwire container providers from previously wired packages and modules.""" * unwire( */ - __pyx_tuple__63 = PyTuple_Pack(1, __pyx_n_s_self_2); if (unlikely(!__pyx_tuple__63)) __PYX_ERR(0, 234, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__63); - __Pyx_GIVEREF(__pyx_tuple__63); - __pyx_codeobj__16 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__63, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_unwire, 234, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__16)) __PYX_ERR(0, 234, __pyx_L1_error) + __pyx_tuple__48 = PyTuple_Pack(1, __pyx_n_s_self_2); if (unlikely(!__pyx_tuple__48)) __PYX_ERR(0, 234, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__48); + __Pyx_GIVEREF(__pyx_tuple__48); + __pyx_codeobj__49 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__48, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_unwire, 234, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__49)) __PYX_ERR(0, 234, __pyx_L1_error) /* "dependency_injector/containers.pyx":244 * self.wired_to_packages.clear() @@ -20313,10 +18434,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """Initialize all container resources.""" * futures = [] */ - __pyx_tuple__64 = PyTuple_Pack(4, __pyx_n_s_self_2, __pyx_n_s_futures, __pyx_n_s_provider, __pyx_n_s_resource); if (unlikely(!__pyx_tuple__64)) __PYX_ERR(0, 244, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__64); - __Pyx_GIVEREF(__pyx_tuple__64); - __pyx_codeobj__17 = (PyObject*)__Pyx_PyCode_New(1, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__64, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_init_resources, 244, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__17)) __PYX_ERR(0, 244, __pyx_L1_error) + __pyx_tuple__50 = PyTuple_Pack(4, __pyx_n_s_self_2, __pyx_n_s_futures, __pyx_n_s_provider, __pyx_n_s_resource); if (unlikely(!__pyx_tuple__50)) __PYX_ERR(0, 244, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__50); + __Pyx_GIVEREF(__pyx_tuple__50); + __pyx_codeobj__51 = (PyObject*)__Pyx_PyCode_New(1, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__50, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_init_resources, 244, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__51)) __PYX_ERR(0, 244, __pyx_L1_error) /* "dependency_injector/containers.pyx":259 * return asyncio.gather(*futures) @@ -20325,10 +18446,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """Shutdown all container resources.""" * futures = [] */ - __pyx_tuple__65 = PyTuple_Pack(4, __pyx_n_s_self_2, __pyx_n_s_futures, __pyx_n_s_provider, __pyx_n_s_shutdown); if (unlikely(!__pyx_tuple__65)) __PYX_ERR(0, 259, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__65); - __Pyx_GIVEREF(__pyx_tuple__65); - __pyx_codeobj__18 = (PyObject*)__Pyx_PyCode_New(1, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__65, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_shutdown_resources, 259, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__18)) __PYX_ERR(0, 259, __pyx_L1_error) + __pyx_tuple__52 = PyTuple_Pack(4, __pyx_n_s_self_2, __pyx_n_s_futures, __pyx_n_s_provider, __pyx_n_s_shutdown); if (unlikely(!__pyx_tuple__52)) __PYX_ERR(0, 259, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__52); + __Pyx_GIVEREF(__pyx_tuple__52); + __pyx_codeobj__53 = (PyObject*)__Pyx_PyCode_New(1, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__52, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_shutdown_resources, 259, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__53)) __PYX_ERR(0, 259, __pyx_L1_error) /* "dependency_injector/containers.pyx":274 * return asyncio.gather(*futures) @@ -20337,153 +18458,153 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """Apply container providers' overridings.""" * for provider in self.providers.values(): */ - __pyx_tuple__66 = PyTuple_Pack(2, __pyx_n_s_self_2, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__66)) __PYX_ERR(0, 274, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__66); - __Pyx_GIVEREF(__pyx_tuple__66); - __pyx_codeobj__19 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__66, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_apply_container_providers_overri, 274, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__19)) __PYX_ERR(0, 274, __pyx_L1_error) + __pyx_tuple__54 = PyTuple_Pack(2, __pyx_n_s_self_2, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__54)) __PYX_ERR(0, 274, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__54); + __Pyx_GIVEREF(__pyx_tuple__54); + __pyx_codeobj__55 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__54, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_apply_container_providers_overri, 274, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__55)) __PYX_ERR(0, 274, __pyx_L1_error) /* "dependency_injector/containers.pyx":285 * """Declarative inversion of control container meta class.""" * * def __new__(type mcs, str class_name, tuple bases, dict attributes): # <<<<<<<<<<<<<< * """Declarative container class factory.""" - * cdef tuple cls_providers + * containers = { */ - __pyx_tuple__67 = PyTuple_Pack(13, __pyx_n_s_mcs, __pyx_n_s_class_name, __pyx_n_s_bases, __pyx_n_s_attributes, __pyx_n_s_cls_providers, __pyx_n_s_inherited_providers, __pyx_n_s_cls, __pyx_n_s_containers, __pyx_n_s_provider, __pyx_n_s_genexpr, __pyx_n_s_genexpr, __pyx_n_s_genexpr, __pyx_n_s_genexpr); if (unlikely(!__pyx_tuple__67)) __PYX_ERR(0, 285, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__67); - __Pyx_GIVEREF(__pyx_tuple__67); - __pyx_codeobj__20 = (PyObject*)__Pyx_PyCode_New(4, 0, 13, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__67, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_new, 285, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__20)) __PYX_ERR(0, 285, __pyx_L1_error) + __pyx_tuple__56 = PyTuple_Pack(17, __pyx_n_s_mcs, __pyx_n_s_class_name, __pyx_n_s_bases, __pyx_n_s_attributes, __pyx_n_s_containers, __pyx_n_s_cls_providers, __pyx_n_s_inherited_providers, __pyx_n_s_providers, __pyx_n_s_cls, __pyx_n_s_provider, __pyx_n_s_name, __pyx_n_s_container, __pyx_n_s_name, __pyx_n_s_provider, __pyx_n_s_base, __pyx_n_s_name, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__56)) __PYX_ERR(0, 285, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__56); + __Pyx_GIVEREF(__pyx_tuple__56); + __pyx_codeobj__57 = (PyObject*)__Pyx_PyCode_New(4, 0, 17, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__56, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_new, 285, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__57)) __PYX_ERR(0, 285, __pyx_L1_error) - /* "dependency_injector/containers.pyx":325 + /* "dependency_injector/containers.pyx":324 * return cls * * def __setattr__(cls, str name, object value): # <<<<<<<<<<<<<< * """Set class attribute. * */ - __pyx_tuple__68 = PyTuple_Pack(3, __pyx_n_s_cls, __pyx_n_s_name, __pyx_n_s_value); if (unlikely(!__pyx_tuple__68)) __PYX_ERR(0, 325, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__68); - __Pyx_GIVEREF(__pyx_tuple__68); - __pyx_codeobj__21 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__68, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_setattr, 325, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__21)) __PYX_ERR(0, 325, __pyx_L1_error) + __pyx_tuple__58 = PyTuple_Pack(3, __pyx_n_s_cls, __pyx_n_s_name, __pyx_n_s_value); if (unlikely(!__pyx_tuple__58)) __PYX_ERR(0, 324, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__58); + __Pyx_GIVEREF(__pyx_tuple__58); + __pyx_codeobj__59 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__58, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_setattr, 324, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__59)) __PYX_ERR(0, 324, __pyx_L1_error) - /* "dependency_injector/containers.pyx":345 + /* "dependency_injector/containers.pyx":344 * super(DeclarativeContainerMetaClass, cls).__setattr__(name, value) * * def __delattr__(cls, str name): # <<<<<<<<<<<<<< * """Delete class attribute. * */ - __pyx_tuple__69 = PyTuple_Pack(2, __pyx_n_s_cls, __pyx_n_s_name); if (unlikely(!__pyx_tuple__69)) __PYX_ERR(0, 345, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__69); - __Pyx_GIVEREF(__pyx_tuple__69); - __pyx_codeobj__22 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__69, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_delattr, 345, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__22)) __PYX_ERR(0, 345, __pyx_L1_error) + __pyx_tuple__60 = PyTuple_Pack(2, __pyx_n_s_cls, __pyx_n_s_name); if (unlikely(!__pyx_tuple__60)) __PYX_ERR(0, 344, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__60); + __Pyx_GIVEREF(__pyx_tuple__60); + __pyx_codeobj__61 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__60, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_delattr, 344, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__61)) __PYX_ERR(0, 344, __pyx_L1_error) - /* "dependency_injector/containers.pyx":362 + /* "dependency_injector/containers.pyx":361 * * @property * def dependencies(cls): # <<<<<<<<<<<<<< * """Return dependency providers dictionary. * */ - __pyx_tuple__70 = PyTuple_Pack(3, __pyx_n_s_cls, __pyx_n_s_name, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__70)) __PYX_ERR(0, 362, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__70); - __Pyx_GIVEREF(__pyx_tuple__70); - __pyx_codeobj__23 = (PyObject*)__Pyx_PyCode_New(1, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__70, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_dependencies, 362, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__23)) __PYX_ERR(0, 362, __pyx_L1_error) + __pyx_tuple__62 = PyTuple_Pack(3, __pyx_n_s_cls, __pyx_n_s_name, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__62)) __PYX_ERR(0, 361, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__62); + __Pyx_GIVEREF(__pyx_tuple__62); + __pyx_codeobj__63 = (PyObject*)__Pyx_PyCode_New(1, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__62, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_dependencies, 361, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__63)) __PYX_ERR(0, 361, __pyx_L1_error) - /* "dependency_injector/containers.pyx":379 + /* "dependency_injector/containers.pyx":378 * * @six.add_metaclass(DeclarativeContainerMetaClass) * class DeclarativeContainer(object): # <<<<<<<<<<<<<< * """Declarative inversion of control container. * */ - __pyx_tuple__71 = PyTuple_Pack(1, __pyx_builtin_object); if (unlikely(!__pyx_tuple__71)) __PYX_ERR(0, 379, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__71); - __Pyx_GIVEREF(__pyx_tuple__71); + __pyx_tuple__64 = PyTuple_Pack(1, __pyx_builtin_object); if (unlikely(!__pyx_tuple__64)) __PYX_ERR(0, 378, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__64); + __Pyx_GIVEREF(__pyx_tuple__64); - /* "dependency_injector/containers.pyx":441 + /* "dependency_injector/containers.pyx":440 * """ * * def __new__(cls, **overriding_providers): # <<<<<<<<<<<<<< * """Constructor. * */ - __pyx_tuple__72 = PyTuple_Pack(3, __pyx_n_s_cls, __pyx_n_s_overriding_providers, __pyx_n_s_container); if (unlikely(!__pyx_tuple__72)) __PYX_ERR(0, 441, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__72); - __Pyx_GIVEREF(__pyx_tuple__72); - __pyx_codeobj__24 = (PyObject*)__Pyx_PyCode_New(1, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__72, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_new, 441, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__24)) __PYX_ERR(0, 441, __pyx_L1_error) + __pyx_tuple__65 = PyTuple_Pack(3, __pyx_n_s_cls, __pyx_n_s_overriding_providers, __pyx_n_s_container); if (unlikely(!__pyx_tuple__65)) __PYX_ERR(0, 440, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__65); + __Pyx_GIVEREF(__pyx_tuple__65); + __pyx_codeobj__66 = (PyObject*)__Pyx_PyCode_New(1, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__65, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_new, 440, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__66)) __PYX_ERR(0, 440, __pyx_L1_error) - /* "dependency_injector/containers.pyx":456 + /* "dependency_injector/containers.pyx":455 * * @classmethod * def override(cls, object overriding): # <<<<<<<<<<<<<< * """Override current container by overriding container. * */ - __pyx_tuple__73 = PyTuple_Pack(4, __pyx_n_s_cls, __pyx_n_s_overriding, __pyx_n_s_name, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__73)) __PYX_ERR(0, 456, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__73); - __Pyx_GIVEREF(__pyx_tuple__73); - __pyx_codeobj__25 = (PyObject*)__Pyx_PyCode_New(2, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__73, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_override, 456, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__25)) __PYX_ERR(0, 456, __pyx_L1_error) + __pyx_tuple__67 = PyTuple_Pack(4, __pyx_n_s_cls, __pyx_n_s_overriding, __pyx_n_s_name, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__67)) __PYX_ERR(0, 455, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__67); + __Pyx_GIVEREF(__pyx_tuple__67); + __pyx_codeobj__68 = (PyObject*)__Pyx_PyCode_New(2, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__67, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_override, 455, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__68)) __PYX_ERR(0, 455, __pyx_L1_error) - /* "dependency_injector/containers.pyx":480 + /* "dependency_injector/containers.pyx":479 * * @classmethod * def reset_last_overriding(cls): # <<<<<<<<<<<<<< * """Reset last overriding provider for each container providers. * */ - __pyx_tuple__74 = PyTuple_Pack(2, __pyx_n_s_cls, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__74)) __PYX_ERR(0, 480, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__74); - __Pyx_GIVEREF(__pyx_tuple__74); - __pyx_codeobj__26 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__74, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_reset_last_overriding, 480, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__26)) __PYX_ERR(0, 480, __pyx_L1_error) + __pyx_tuple__69 = PyTuple_Pack(2, __pyx_n_s_cls, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__69)) __PYX_ERR(0, 479, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__69); + __Pyx_GIVEREF(__pyx_tuple__69); + __pyx_codeobj__70 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__69, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_reset_last_overriding, 479, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__70)) __PYX_ERR(0, 479, __pyx_L1_error) - /* "dependency_injector/containers.pyx":494 + /* "dependency_injector/containers.pyx":493 * * @classmethod * def reset_override(cls): # <<<<<<<<<<<<<< * """Reset all overridings for each container providers. * */ - __pyx_tuple__75 = PyTuple_Pack(2, __pyx_n_s_cls, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__75)) __PYX_ERR(0, 494, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__75); - __Pyx_GIVEREF(__pyx_tuple__75); - __pyx_codeobj__27 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__75, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_reset_override, 494, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__27)) __PYX_ERR(0, 494, __pyx_L1_error) + __pyx_tuple__71 = PyTuple_Pack(2, __pyx_n_s_cls, __pyx_n_s_provider); if (unlikely(!__pyx_tuple__71)) __PYX_ERR(0, 493, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__71); + __Pyx_GIVEREF(__pyx_tuple__71); + __pyx_codeobj__72 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__71, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_reset_override, 493, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__72)) __PYX_ERR(0, 493, __pyx_L1_error) - /* "dependency_injector/containers.pyx":505 + /* "dependency_injector/containers.pyx":504 * * @classmethod * def resolve_provider_name(cls, provider_to_resolve): # <<<<<<<<<<<<<< * """Try to resolve provider name by its instance.""" * for provider_name, container_provider in cls.providers.items(): */ - __pyx_tuple__76 = PyTuple_Pack(4, __pyx_n_s_cls, __pyx_n_s_provider_to_resolve, __pyx_n_s_provider_name, __pyx_n_s_container_provider); if (unlikely(!__pyx_tuple__76)) __PYX_ERR(0, 505, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__76); - __Pyx_GIVEREF(__pyx_tuple__76); - __pyx_codeobj__28 = (PyObject*)__Pyx_PyCode_New(2, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__76, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_resolve_provider_name, 505, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__28)) __PYX_ERR(0, 505, __pyx_L1_error) + __pyx_tuple__73 = PyTuple_Pack(4, __pyx_n_s_cls, __pyx_n_s_provider_to_resolve, __pyx_n_s_provider_name, __pyx_n_s_container_provider); if (unlikely(!__pyx_tuple__73)) __PYX_ERR(0, 504, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__73); + __Pyx_GIVEREF(__pyx_tuple__73); + __pyx_codeobj__74 = (PyObject*)__Pyx_PyCode_New(2, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__73, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_resolve_provider_name, 504, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__74)) __PYX_ERR(0, 504, __pyx_L1_error) - /* "dependency_injector/containers.pyx":514 + /* "dependency_injector/containers.pyx":513 * * * def override(object container): # <<<<<<<<<<<<<< * """:py:class:`DeclarativeContainer` overriding decorator. * */ - __pyx_tuple__77 = PyTuple_Pack(3, __pyx_n_s_container, __pyx_n_s_decorator, __pyx_n_s_decorator); if (unlikely(!__pyx_tuple__77)) __PYX_ERR(0, 514, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__77); - __Pyx_GIVEREF(__pyx_tuple__77); - __pyx_codeobj__29 = (PyObject*)__Pyx_PyCode_New(1, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__77, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_override, 514, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__29)) __PYX_ERR(0, 514, __pyx_L1_error) + __pyx_tuple__75 = PyTuple_Pack(3, __pyx_n_s_container, __pyx_n_s_decorator, __pyx_n_s_decorator); if (unlikely(!__pyx_tuple__75)) __PYX_ERR(0, 513, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__75); + __Pyx_GIVEREF(__pyx_tuple__75); + __pyx_codeobj__76 = (PyObject*)__Pyx_PyCode_New(1, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__75, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_override, 513, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__76)) __PYX_ERR(0, 513, __pyx_L1_error) - /* "dependency_injector/containers.pyx":531 + /* "dependency_injector/containers.pyx":530 * * * def copy(object container): # <<<<<<<<<<<<<< * """:py:class:`DeclarativeContainer` copying decorator. * */ - __pyx_tuple__78 = PyTuple_Pack(5, __pyx_n_s_container, __pyx_n_s_get_providers_memo, __pyx_n_s_get_providers_memo, __pyx_n_s_decorator, __pyx_n_s_decorator); if (unlikely(!__pyx_tuple__78)) __PYX_ERR(0, 531, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__78); - __Pyx_GIVEREF(__pyx_tuple__78); - __pyx_codeobj__32 = (PyObject*)__Pyx_PyCode_New(1, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__78, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_copy, 531, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__32)) __PYX_ERR(0, 531, __pyx_L1_error) + __pyx_tuple__77 = PyTuple_Pack(5, __pyx_n_s_container, __pyx_n_s_get_providers_memo, __pyx_n_s_get_providers_memo, __pyx_n_s_decorator, __pyx_n_s_decorator); if (unlikely(!__pyx_tuple__77)) __PYX_ERR(0, 530, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__77); + __Pyx_GIVEREF(__pyx_tuple__77); + __pyx_codeobj__78 = (PyObject*)__Pyx_PyCode_New(1, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__77, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_containe, __pyx_n_s_copy, 530, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__78)) __PYX_ERR(0, 530, __pyx_L1_error) __Pyx_RefNannyFinishContext(); return 0; __pyx_L1_error:; @@ -20552,54 +18673,22 @@ static int __Pyx_modinit_type_init_code(void) { int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__Pyx_modinit_type_init_code", 0); /*--- Type init code ---*/ - if (PyType_Ready(&__pyx_type_19dependency_injector_10containers___pyx_scope_struct____new__) < 0) __PYX_ERR(0, 285, __pyx_L1_error) + if (PyType_Ready(&__pyx_type_19dependency_injector_10containers___pyx_scope_struct__override) < 0) __PYX_ERR(0, 513, __pyx_L1_error) #if PY_VERSION_HEX < 0x030800B1 - __pyx_type_19dependency_injector_10containers___pyx_scope_struct____new__.tp_print = 0; + __pyx_type_19dependency_injector_10containers___pyx_scope_struct__override.tp_print = 0; #endif - if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_19dependency_injector_10containers___pyx_scope_struct____new__.tp_dictoffset && __pyx_type_19dependency_injector_10containers___pyx_scope_struct____new__.tp_getattro == PyObject_GenericGetAttr)) { - __pyx_type_19dependency_injector_10containers___pyx_scope_struct____new__.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict; + if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_19dependency_injector_10containers___pyx_scope_struct__override.tp_dictoffset && __pyx_type_19dependency_injector_10containers___pyx_scope_struct__override.tp_getattro == PyObject_GenericGetAttr)) { + __pyx_type_19dependency_injector_10containers___pyx_scope_struct__override.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict; } - __pyx_ptype_19dependency_injector_10containers___pyx_scope_struct____new__ = &__pyx_type_19dependency_injector_10containers___pyx_scope_struct____new__; - if (PyType_Ready(&__pyx_type_19dependency_injector_10containers___pyx_scope_struct_1_genexpr) < 0) __PYX_ERR(0, 292, __pyx_L1_error) + __pyx_ptype_19dependency_injector_10containers___pyx_scope_struct__override = &__pyx_type_19dependency_injector_10containers___pyx_scope_struct__override; + if (PyType_Ready(&__pyx_type_19dependency_injector_10containers___pyx_scope_struct_1_copy) < 0) __PYX_ERR(0, 530, __pyx_L1_error) #if PY_VERSION_HEX < 0x030800B1 - __pyx_type_19dependency_injector_10containers___pyx_scope_struct_1_genexpr.tp_print = 0; + __pyx_type_19dependency_injector_10containers___pyx_scope_struct_1_copy.tp_print = 0; #endif - if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_19dependency_injector_10containers___pyx_scope_struct_1_genexpr.tp_dictoffset && __pyx_type_19dependency_injector_10containers___pyx_scope_struct_1_genexpr.tp_getattro == PyObject_GenericGetAttr)) { - __pyx_type_19dependency_injector_10containers___pyx_scope_struct_1_genexpr.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict; + if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_19dependency_injector_10containers___pyx_scope_struct_1_copy.tp_dictoffset && __pyx_type_19dependency_injector_10containers___pyx_scope_struct_1_copy.tp_getattro == PyObject_GenericGetAttr)) { + __pyx_type_19dependency_injector_10containers___pyx_scope_struct_1_copy.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict; } - __pyx_ptype_19dependency_injector_10containers___pyx_scope_struct_1_genexpr = &__pyx_type_19dependency_injector_10containers___pyx_scope_struct_1_genexpr; - if (PyType_Ready(&__pyx_type_19dependency_injector_10containers___pyx_scope_struct_2_genexpr) < 0) __PYX_ERR(0, 300, __pyx_L1_error) - #if PY_VERSION_HEX < 0x030800B1 - __pyx_type_19dependency_injector_10containers___pyx_scope_struct_2_genexpr.tp_print = 0; - #endif - if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_19dependency_injector_10containers___pyx_scope_struct_2_genexpr.tp_dictoffset && __pyx_type_19dependency_injector_10containers___pyx_scope_struct_2_genexpr.tp_getattro == PyObject_GenericGetAttr)) { - __pyx_type_19dependency_injector_10containers___pyx_scope_struct_2_genexpr.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict; - } - __pyx_ptype_19dependency_injector_10containers___pyx_scope_struct_2_genexpr = &__pyx_type_19dependency_injector_10containers___pyx_scope_struct_2_genexpr; - if (PyType_Ready(&__pyx_type_19dependency_injector_10containers___pyx_scope_struct_3_genexpr) < 0) __PYX_ERR(0, 306, __pyx_L1_error) - #if PY_VERSION_HEX < 0x030800B1 - __pyx_type_19dependency_injector_10containers___pyx_scope_struct_3_genexpr.tp_print = 0; - #endif - if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_19dependency_injector_10containers___pyx_scope_struct_3_genexpr.tp_dictoffset && __pyx_type_19dependency_injector_10containers___pyx_scope_struct_3_genexpr.tp_getattro == PyObject_GenericGetAttr)) { - __pyx_type_19dependency_injector_10containers___pyx_scope_struct_3_genexpr.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict; - } - __pyx_ptype_19dependency_injector_10containers___pyx_scope_struct_3_genexpr = &__pyx_type_19dependency_injector_10containers___pyx_scope_struct_3_genexpr; - if (PyType_Ready(&__pyx_type_19dependency_injector_10containers___pyx_scope_struct_4_override) < 0) __PYX_ERR(0, 514, __pyx_L1_error) - #if PY_VERSION_HEX < 0x030800B1 - __pyx_type_19dependency_injector_10containers___pyx_scope_struct_4_override.tp_print = 0; - #endif - if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_19dependency_injector_10containers___pyx_scope_struct_4_override.tp_dictoffset && __pyx_type_19dependency_injector_10containers___pyx_scope_struct_4_override.tp_getattro == PyObject_GenericGetAttr)) { - __pyx_type_19dependency_injector_10containers___pyx_scope_struct_4_override.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict; - } - __pyx_ptype_19dependency_injector_10containers___pyx_scope_struct_4_override = &__pyx_type_19dependency_injector_10containers___pyx_scope_struct_4_override; - if (PyType_Ready(&__pyx_type_19dependency_injector_10containers___pyx_scope_struct_5_copy) < 0) __PYX_ERR(0, 531, __pyx_L1_error) - #if PY_VERSION_HEX < 0x030800B1 - __pyx_type_19dependency_injector_10containers___pyx_scope_struct_5_copy.tp_print = 0; - #endif - if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_19dependency_injector_10containers___pyx_scope_struct_5_copy.tp_dictoffset && __pyx_type_19dependency_injector_10containers___pyx_scope_struct_5_copy.tp_getattro == PyObject_GenericGetAttr)) { - __pyx_type_19dependency_injector_10containers___pyx_scope_struct_5_copy.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict; - } - __pyx_ptype_19dependency_injector_10containers___pyx_scope_struct_5_copy = &__pyx_type_19dependency_injector_10containers___pyx_scope_struct_5_copy; + __pyx_ptype_19dependency_injector_10containers___pyx_scope_struct_1_copy = &__pyx_type_19dependency_injector_10containers___pyx_scope_struct_1_copy; if (PyType_Ready(&__pyx_scope_struct____Pyx_CFunc_void____object____object____object____object___to_py) < 0) __PYX_ERR(2, 64, __pyx_L1_error) #if PY_VERSION_HEX < 0x030800B1 __pyx_scope_struct____Pyx_CFunc_void____object____object____object____object___to_py.tp_print = 0; @@ -20921,7 +19010,6 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec_containers(PyObject *__pyx_pyinit_ #endif #endif { - __Pyx_TraceDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; PyObject *__pyx_t_3 = NULL; @@ -21040,7 +19128,6 @@ if (!__Pyx_RefNanny) { #if defined(__Pyx_Generator_USED) || defined(__Pyx_Coroutine_USED) if (__Pyx_patch_abc() < 0) __PYX_ERR(0, 1, __pyx_L1_error) #endif - __Pyx_TraceCall("__Pyx_PyMODINIT_FUNC PyInit_containers(void)", __pyx_f[0], 1, 0, __PYX_ERR(0, 1, __pyx_L1_error)); /* "dependency_injector/containers.pyx":3 * """Containers module.""" @@ -21049,7 +19136,6 @@ if (!__Pyx_RefNanny) { * import sys * */ - __Pyx_TraceLine(3,0,__PYX_ERR(0, 3, __pyx_L1_error)) __pyx_t_1 = __Pyx_patch_inspect(__Pyx_Import(__pyx_n_s_inspect, 0, -1)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 3, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_inspect, __pyx_t_1) < 0) __PYX_ERR(0, 3, __pyx_L1_error) @@ -21062,7 +19148,6 @@ if (!__Pyx_RefNanny) { * * try: */ - __Pyx_TraceLine(4,0,__PYX_ERR(0, 4, __pyx_L1_error)) __pyx_t_1 = __Pyx_Import(__pyx_n_s_sys, 0, -1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 4, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_sys, __pyx_t_1) < 0) __PYX_ERR(0, 4, __pyx_L1_error) @@ -21075,7 +19160,6 @@ if (!__Pyx_RefNanny) { * import asyncio * except ImportError: */ - __Pyx_TraceLine(6,0,__PYX_ERR(0, 6, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -21092,7 +19176,6 @@ if (!__Pyx_RefNanny) { * except ImportError: * asyncio = None */ - __Pyx_TraceLine(7,0,__PYX_ERR(0, 7, __pyx_L2_error)) __pyx_t_1 = __Pyx_patch_asyncio(__Pyx_Import(__pyx_n_s_asyncio, 0, -1)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 7, __pyx_L2_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_asyncio, __pyx_t_1) < 0) __PYX_ERR(0, 7, __pyx_L2_error) @@ -21120,7 +19203,6 @@ if (!__Pyx_RefNanny) { * asyncio = None * */ - __Pyx_TraceLine(8,0,__PYX_ERR(0, 8, __pyx_L4_except_error)) __pyx_t_5 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_ImportError); if (__pyx_t_5) { __Pyx_AddTraceback("dependency_injector.containers", __pyx_clineno, __pyx_lineno, __pyx_filename); @@ -21136,7 +19218,6 @@ if (!__Pyx_RefNanny) { * * import six */ - __Pyx_TraceLine(9,0,__PYX_ERR(0, 9, __pyx_L4_except_error)) if (PyDict_SetItem(__pyx_d, __pyx_n_s_asyncio, Py_None) < 0) __PYX_ERR(0, 9, __pyx_L4_except_error) __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; @@ -21173,7 +19254,6 @@ if (!__Pyx_RefNanny) { * * from .errors import Error */ - __Pyx_TraceLine(11,0,__PYX_ERR(0, 11, __pyx_L1_error)) __pyx_t_7 = __Pyx_Import(__pyx_n_s_six, 0, -1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 11, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); if (PyDict_SetItem(__pyx_d, __pyx_n_s_six, __pyx_t_7) < 0) __PYX_ERR(0, 11, __pyx_L1_error) @@ -21186,7 +19266,6 @@ if (!__Pyx_RefNanny) { * from .providers cimport ( * Provider, */ - __Pyx_TraceLine(13,0,__PYX_ERR(0, 13, __pyx_L1_error)) __pyx_t_7 = PyList_New(1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_INCREF(__pyx_n_s_Error); @@ -21208,16 +19287,15 @@ if (!__Pyx_RefNanny) { * from .wiring import wire, unwire * else: */ - __Pyx_TraceLine(25,0,__PYX_ERR(0, 25, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_sys); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 25, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_version_info); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 25, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = __Pyx_PyObject_GetSlice(__pyx_t_7, 0, 2, NULL, NULL, &__pyx_slice__46, 0, 1, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 25, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetSlice(__pyx_t_7, 0, 2, NULL, NULL, &__pyx_slice__18, 0, 1, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 25, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = PyObject_RichCompare(__pyx_t_6, __pyx_tuple__47, Py_GE); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 25, __pyx_L1_error) + __pyx_t_7 = PyObject_RichCompare(__pyx_t_6, __pyx_tuple__19, Py_GE); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 25, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely(__pyx_t_8 < 0)) __PYX_ERR(0, 25, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; @@ -21230,7 +19308,6 @@ if (!__Pyx_RefNanny) { * else: * def wire(*args, **kwargs): */ - __Pyx_TraceLine(26,0,__PYX_ERR(0, 26, __pyx_L1_error)) __pyx_t_7 = PyList_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 26, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_INCREF(__pyx_n_s_wire); @@ -21269,7 +19346,6 @@ if (!__Pyx_RefNanny) { * raise NotImplementedError('Wiring requires Python 3.6 or above') * */ - __Pyx_TraceLine(28,0,__PYX_ERR(0, 28, __pyx_L1_error)) /*else*/ { __pyx_t_6 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_10containers_1wire, NULL, __pyx_n_s_dependency_injector_containers); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 28, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); @@ -21283,7 +19359,6 @@ if (!__Pyx_RefNanny) { * raise NotImplementedError('Wiring requires Python 3.6 or above') * */ - __Pyx_TraceLine(31,0,__PYX_ERR(0, 31, __pyx_L1_error)) __pyx_t_6 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_10containers_3unwire, NULL, __pyx_n_s_dependency_injector_containers); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 31, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); if (PyDict_SetItem(__pyx_d, __pyx_n_s_unwire, __pyx_t_6) < 0) __PYX_ERR(0, 31, __pyx_L1_error) @@ -21298,10 +19373,9 @@ if (!__Pyx_RefNanny) { * """Dynamic inversion of control container. * */ - __Pyx_TraceLine(35,0,__PYX_ERR(0, 35, __pyx_L1_error)) - __pyx_t_6 = __Pyx_CalculateMetaclass(NULL, __pyx_tuple__50); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 35, __pyx_L1_error) + __pyx_t_6 = __Pyx_CalculateMetaclass(NULL, __pyx_tuple__24); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 35, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = __Pyx_Py3MetaclassPrepare(__pyx_t_6, __pyx_tuple__50, __pyx_n_s_DynamicContainer, __pyx_n_s_DynamicContainer, (PyObject *) NULL, __pyx_n_s_dependency_injector_containers, __pyx_kp_s_Dynamic_inversion_of_control_con); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 35, __pyx_L1_error) + __pyx_t_7 = __Pyx_Py3MetaclassPrepare(__pyx_t_6, __pyx_tuple__24, __pyx_n_s_DynamicContainer, __pyx_n_s_DynamicContainer, (PyObject *) NULL, __pyx_n_s_dependency_injector_containers, __pyx_kp_s_Dynamic_inversion_of_control_con); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 35, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); /* "dependency_injector/containers.pyx":64 @@ -21311,7 +19385,6 @@ if (!__Pyx_RefNanny) { * * def __init__(self): */ - __Pyx_TraceLine(64,0,__PYX_ERR(0, 64, __pyx_L1_error)) if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_IS_CONTAINER, Py_True) < 0) __PYX_ERR(0, 64, __pyx_L1_error) /* "dependency_injector/containers.pyx":66 @@ -21321,8 +19394,7 @@ if (!__Pyx_RefNanny) { * """Initializer. * */ - __Pyx_TraceLine(66,0,__PYX_ERR(0, 66, __pyx_L1_error)) - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_1__init__, 0, __pyx_n_s_DynamicContainer___init, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__4)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 66, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_1__init__, 0, __pyx_n_s_DynamicContainer___init, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__26)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 66, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_init, __pyx_t_1) < 0) __PYX_ERR(0, 66, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -21334,8 +19406,7 @@ if (!__Pyx_RefNanny) { * """Create and return full copy of container.""" * copied = memo.get(id(self)) */ - __Pyx_TraceLine(80,0,__PYX_ERR(0, 80, __pyx_L1_error)) - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_3__deepcopy__, 0, __pyx_n_s_DynamicContainer___deepcopy, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__5)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 80, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_3__deepcopy__, 0, __pyx_n_s_DynamicContainer___deepcopy, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__28)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 80, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_deepcopy, __pyx_t_1) < 0) __PYX_ERR(0, 80, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -21347,8 +19418,7 @@ if (!__Pyx_RefNanny) { * """Set instance attribute. * */ - __Pyx_TraceLine(96,0,__PYX_ERR(0, 96, __pyx_L1_error)) - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_5__setattr__, 0, __pyx_n_s_DynamicContainer___setattr, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__6)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 96, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_5__setattr__, 0, __pyx_n_s_DynamicContainer___setattr, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__30)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 96, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_setattr, __pyx_t_1) < 0) __PYX_ERR(0, 96, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -21360,8 +19430,7 @@ if (!__Pyx_RefNanny) { * """Delete instance attribute. * */ - __Pyx_TraceLine(115,0,__PYX_ERR(0, 115, __pyx_L1_error)) - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_7__delattr__, 0, __pyx_n_s_DynamicContainer___delattr, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__7)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 115, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_7__delattr__, 0, __pyx_n_s_DynamicContainer___delattr, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__32)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 115, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_delattr, __pyx_t_1) < 0) __PYX_ERR(0, 115, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -21373,8 +19442,7 @@ if (!__Pyx_RefNanny) { * """Return dependency providers dictionary. * */ - __Pyx_TraceLine(131,0,__PYX_ERR(0, 131, __pyx_L1_error)) - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_9dependencies, 0, __pyx_n_s_DynamicContainer_dependencies, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__8)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 131, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_9dependencies, 0, __pyx_n_s_DynamicContainer_dependencies, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__34)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 131, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); /* "dependency_injector/containers.pyx":130 @@ -21384,7 +19452,6 @@ if (!__Pyx_RefNanny) { * def dependencies(self): * """Return dependency providers dictionary. */ - __Pyx_TraceLine(130,0,__PYX_ERR(0, 130, __pyx_L1_error)) __pyx_t_9 = __Pyx_PyObject_CallOneArg(__pyx_builtin_property, __pyx_t_1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 130, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -21398,8 +19465,7 @@ if (!__Pyx_RefNanny) { * """Set container providers. * */ - __Pyx_TraceLine(146,0,__PYX_ERR(0, 146, __pyx_L1_error)) - __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_11set_providers, 0, __pyx_n_s_DynamicContainer_set_providers, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__9)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 146, __pyx_L1_error) + __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_11set_providers, 0, __pyx_n_s_DynamicContainer_set_providers, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__36)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 146, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_set_providers, __pyx_t_9) < 0) __PYX_ERR(0, 146, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; @@ -21411,8 +19477,7 @@ if (!__Pyx_RefNanny) { * """Override current container by overriding container. * */ - __Pyx_TraceLine(158,0,__PYX_ERR(0, 158, __pyx_L1_error)) - __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_13override, 0, __pyx_n_s_DynamicContainer_override, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__10)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 158, __pyx_L1_error) + __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_13override, 0, __pyx_n_s_DynamicContainer_override, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__38)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 158, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_override, __pyx_t_9) < 0) __PYX_ERR(0, 158, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; @@ -21424,8 +19489,7 @@ if (!__Pyx_RefNanny) { * """Override container providers. * */ - __Pyx_TraceLine(181,0,__PYX_ERR(0, 181, __pyx_L1_error)) - __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_15override_providers, 0, __pyx_n_s_DynamicContainer_override_provid, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__11)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 181, __pyx_L1_error) + __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_15override_providers, 0, __pyx_n_s_DynamicContainer_override_provid, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__40)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 181, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_override_providers, __pyx_t_9) < 0) __PYX_ERR(0, 181, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; @@ -21437,8 +19501,7 @@ if (!__Pyx_RefNanny) { * """Reset last overriding provider for each container providers. * */ - __Pyx_TraceLine(194,0,__PYX_ERR(0, 194, __pyx_L1_error)) - __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_17reset_last_overriding, 0, __pyx_n_s_DynamicContainer_reset_last_over, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__12)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 194, __pyx_L1_error) + __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_17reset_last_overriding, 0, __pyx_n_s_DynamicContainer_reset_last_over, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__42)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 194, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_reset_last_overriding, __pyx_t_9) < 0) __PYX_ERR(0, 194, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; @@ -21450,8 +19513,7 @@ if (!__Pyx_RefNanny) { * """Reset all overridings for each container providers. * */ - __Pyx_TraceLine(207,0,__PYX_ERR(0, 207, __pyx_L1_error)) - __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_19reset_override, 0, __pyx_n_s_DynamicContainer_reset_override, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__14)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 207, __pyx_L1_error) + __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_19reset_override, 0, __pyx_n_s_DynamicContainer_reset_override, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__44)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 207, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_reset_override, __pyx_t_9) < 0) __PYX_ERR(0, 207, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; @@ -21463,10 +19525,9 @@ if (!__Pyx_RefNanny) { * """Wire container providers with provided packages and modules. * */ - __Pyx_TraceLine(217,0,__PYX_ERR(0, 217, __pyx_L1_error)) - __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_21wire, 0, __pyx_n_s_DynamicContainer_wire, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__15)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 217, __pyx_L1_error) + __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_21wire, 0, __pyx_n_s_DynamicContainer_wire, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__46)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 217, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_9, __pyx_tuple__62); + __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_9, __pyx_tuple__47); if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_wire, __pyx_t_9) < 0) __PYX_ERR(0, 217, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; @@ -21477,8 +19538,7 @@ if (!__Pyx_RefNanny) { * """Unwire container providers from previously wired packages and modules.""" * unwire( */ - __Pyx_TraceLine(234,0,__PYX_ERR(0, 234, __pyx_L1_error)) - __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_23unwire, 0, __pyx_n_s_DynamicContainer_unwire, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__16)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 234, __pyx_L1_error) + __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_23unwire, 0, __pyx_n_s_DynamicContainer_unwire, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__49)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 234, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_unwire, __pyx_t_9) < 0) __PYX_ERR(0, 234, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; @@ -21490,8 +19550,7 @@ if (!__Pyx_RefNanny) { * """Initialize all container resources.""" * futures = [] */ - __Pyx_TraceLine(244,0,__PYX_ERR(0, 244, __pyx_L1_error)) - __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_25init_resources, 0, __pyx_n_s_DynamicContainer_init_resources, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__17)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 244, __pyx_L1_error) + __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_25init_resources, 0, __pyx_n_s_DynamicContainer_init_resources, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__51)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 244, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_init_resources, __pyx_t_9) < 0) __PYX_ERR(0, 244, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; @@ -21503,8 +19562,7 @@ if (!__Pyx_RefNanny) { * """Shutdown all container resources.""" * futures = [] */ - __Pyx_TraceLine(259,0,__PYX_ERR(0, 259, __pyx_L1_error)) - __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_27shutdown_resources, 0, __pyx_n_s_DynamicContainer_shutdown_resour, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__18)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 259, __pyx_L1_error) + __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_27shutdown_resources, 0, __pyx_n_s_DynamicContainer_shutdown_resour, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__53)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 259, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_shutdown_resources, __pyx_t_9) < 0) __PYX_ERR(0, 259, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; @@ -21516,8 +19574,7 @@ if (!__Pyx_RefNanny) { * """Apply container providers' overridings.""" * for provider in self.providers.values(): */ - __Pyx_TraceLine(274,0,__PYX_ERR(0, 274, __pyx_L1_error)) - __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_29apply_container_providers_overridings, 0, __pyx_n_s_DynamicContainer_apply_container, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__19)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 274, __pyx_L1_error) + __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_16DynamicContainer_29apply_container_providers_overridings, 0, __pyx_n_s_DynamicContainer_apply_container, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__55)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 274, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_apply_container_providers_overri, __pyx_t_9) < 0) __PYX_ERR(0, 274, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; @@ -21529,8 +19586,7 @@ if (!__Pyx_RefNanny) { * """Dynamic inversion of control container. * */ - __Pyx_TraceLine(35,0,__PYX_ERR(0, 35, __pyx_L1_error)) - __pyx_t_9 = __Pyx_Py3ClassCreate(__pyx_t_6, __pyx_n_s_DynamicContainer, __pyx_tuple__50, __pyx_t_7, NULL, 0, 1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 35, __pyx_L1_error) + __pyx_t_9 = __Pyx_Py3ClassCreate(__pyx_t_6, __pyx_n_s_DynamicContainer, __pyx_tuple__24, __pyx_t_7, NULL, 0, 1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 35, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); if (PyDict_SetItem(__pyx_d, __pyx_n_s_DynamicContainer, __pyx_t_9) < 0) __PYX_ERR(0, 35, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; @@ -21544,7 +19600,6 @@ if (!__Pyx_RefNanny) { * """Declarative inversion of control container meta class.""" * */ - __Pyx_TraceLine(282,0,__PYX_ERR(0, 282, __pyx_L1_error)) __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 282, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_INCREF(((PyObject *)(&PyType_Type))); @@ -21552,7 +19607,7 @@ if (!__Pyx_RefNanny) { PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)(&PyType_Type))); __pyx_t_7 = __Pyx_CalculateMetaclass(NULL, __pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 282, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_9 = __Pyx_Py3MetaclassPrepare(__pyx_t_7, __pyx_t_6, __pyx_n_s_DeclarativeContainerMetaClass_2, __pyx_n_s_DeclarativeContainerMetaClass_2, (PyObject *) NULL, __pyx_n_s_dependency_injector_containers, __pyx_kp_s_Declarative_inversion_of_control); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 282, __pyx_L1_error) + __pyx_t_9 = __Pyx_Py3MetaclassPrepare(__pyx_t_7, __pyx_t_6, __pyx_n_s_DeclarativeContainerMetaClass, __pyx_n_s_DeclarativeContainerMetaClass, (PyObject *) NULL, __pyx_n_s_dependency_injector_containers, __pyx_kp_s_Declarative_inversion_of_control); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 282, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); /* "dependency_injector/containers.pyx":285 @@ -21560,63 +19615,58 @@ if (!__Pyx_RefNanny) { * * def __new__(type mcs, str class_name, tuple bases, dict attributes): # <<<<<<<<<<<<<< * """Declarative container class factory.""" - * cdef tuple cls_providers + * containers = { */ - __Pyx_TraceLine(285,0,__PYX_ERR(0, 285, __pyx_L1_error)) - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_29DeclarativeContainerMetaClass_1__new__, __Pyx_CYFUNCTION_STATICMETHOD, __pyx_n_s_DeclarativeContainerMetaClass_3, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__20)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 285, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_29DeclarativeContainerMetaClass_1__new__, __Pyx_CYFUNCTION_STATICMETHOD, __pyx_n_s_DeclarativeContainerMetaClass_2, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__57)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 285, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (__Pyx_SetNameInClass(__pyx_t_9, __pyx_n_s_new, __pyx_t_1) < 0) __PYX_ERR(0, 285, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "dependency_injector/containers.pyx":325 + /* "dependency_injector/containers.pyx":324 * return cls * * def __setattr__(cls, str name, object value): # <<<<<<<<<<<<<< * """Set class attribute. * */ - __Pyx_TraceLine(325,0,__PYX_ERR(0, 325, __pyx_L1_error)) - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_29DeclarativeContainerMetaClass_3__setattr__, 0, __pyx_n_s_DeclarativeContainerMetaClass_4, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__21)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 325, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_29DeclarativeContainerMetaClass_3__setattr__, 0, __pyx_n_s_DeclarativeContainerMetaClass_3, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__59)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 324, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_SetNameInClass(__pyx_t_9, __pyx_n_s_setattr, __pyx_t_1) < 0) __PYX_ERR(0, 325, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_9, __pyx_n_s_setattr, __pyx_t_1) < 0) __PYX_ERR(0, 324, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "dependency_injector/containers.pyx":345 + /* "dependency_injector/containers.pyx":344 * super(DeclarativeContainerMetaClass, cls).__setattr__(name, value) * * def __delattr__(cls, str name): # <<<<<<<<<<<<<< * """Delete class attribute. * */ - __Pyx_TraceLine(345,0,__PYX_ERR(0, 345, __pyx_L1_error)) - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_29DeclarativeContainerMetaClass_5__delattr__, 0, __pyx_n_s_DeclarativeContainerMetaClass_5, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__22)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 345, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_29DeclarativeContainerMetaClass_5__delattr__, 0, __pyx_n_s_DeclarativeContainerMetaClass_4, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__61)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 344, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_SetNameInClass(__pyx_t_9, __pyx_n_s_delattr, __pyx_t_1) < 0) __PYX_ERR(0, 345, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_9, __pyx_n_s_delattr, __pyx_t_1) < 0) __PYX_ERR(0, 344, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "dependency_injector/containers.pyx":362 + /* "dependency_injector/containers.pyx":361 * * @property * def dependencies(cls): # <<<<<<<<<<<<<< * """Return dependency providers dictionary. * */ - __Pyx_TraceLine(362,0,__PYX_ERR(0, 362, __pyx_L1_error)) - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_29DeclarativeContainerMetaClass_7dependencies, 0, __pyx_n_s_DeclarativeContainerMetaClass_de, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__23)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 362, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_29DeclarativeContainerMetaClass_7dependencies, 0, __pyx_n_s_DeclarativeContainerMetaClass_de, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__63)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 361, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - /* "dependency_injector/containers.pyx":361 + /* "dependency_injector/containers.pyx":360 * super(DeclarativeContainerMetaClass, cls).__delattr__(name) * * @property # <<<<<<<<<<<<<< * def dependencies(cls): * """Return dependency providers dictionary. */ - __Pyx_TraceLine(361,0,__PYX_ERR(0, 361, __pyx_L1_error)) - __pyx_t_10 = __Pyx_PyObject_CallOneArg(__pyx_builtin_property, __pyx_t_1); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 361, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_CallOneArg(__pyx_builtin_property, __pyx_t_1); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 360, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__Pyx_SetNameInClass(__pyx_t_9, __pyx_n_s_dependencies, __pyx_t_10) < 0) __PYX_ERR(0, 362, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_9, __pyx_n_s_dependencies, __pyx_t_10) < 0) __PYX_ERR(0, 361, __pyx_L1_error) __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; /* "dependency_injector/containers.pyx":282 @@ -21626,263 +19676,242 @@ if (!__Pyx_RefNanny) { * """Declarative inversion of control container meta class.""" * */ - __Pyx_TraceLine(282,0,__PYX_ERR(0, 282, __pyx_L1_error)) - __pyx_t_10 = __Pyx_Py3ClassCreate(__pyx_t_7, __pyx_n_s_DeclarativeContainerMetaClass_2, __pyx_t_6, __pyx_t_9, NULL, 0, 1); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 282, __pyx_L1_error) + __pyx_t_10 = __Pyx_Py3ClassCreate(__pyx_t_7, __pyx_n_s_DeclarativeContainerMetaClass, __pyx_t_6, __pyx_t_9, NULL, 0, 1); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 282, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_DeclarativeContainerMetaClass_2, __pyx_t_10) < 0) __PYX_ERR(0, 282, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_DeclarativeContainerMetaClass, __pyx_t_10) < 0) __PYX_ERR(0, 282, __pyx_L1_error) __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "dependency_injector/containers.pyx":379 + /* "dependency_injector/containers.pyx":378 * * @six.add_metaclass(DeclarativeContainerMetaClass) * class DeclarativeContainer(object): # <<<<<<<<<<<<<< * """Declarative inversion of control container. * */ - __Pyx_TraceLine(379,0,__PYX_ERR(0, 379, __pyx_L1_error)) - __pyx_t_6 = __Pyx_CalculateMetaclass(NULL, __pyx_tuple__71); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 379, __pyx_L1_error) + __pyx_t_6 = __Pyx_CalculateMetaclass(NULL, __pyx_tuple__64); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 378, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = __Pyx_Py3MetaclassPrepare(__pyx_t_6, __pyx_tuple__71, __pyx_n_s_DeclarativeContainer, __pyx_n_s_DeclarativeContainer, (PyObject *) NULL, __pyx_n_s_dependency_injector_containers, __pyx_kp_s_Declarative_inversion_of_control_2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 379, __pyx_L1_error) + __pyx_t_7 = __Pyx_Py3MetaclassPrepare(__pyx_t_6, __pyx_tuple__64, __pyx_n_s_DeclarativeContainer, __pyx_n_s_DeclarativeContainer, (PyObject *) NULL, __pyx_n_s_dependency_injector_containers, __pyx_kp_s_Declarative_inversion_of_control_2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 378, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - /* "dependency_injector/containers.pyx":390 + /* "dependency_injector/containers.pyx":389 * """ * * __IS_CONTAINER__ = True # <<<<<<<<<<<<<< * * provider_type = Provider */ - __Pyx_TraceLine(390,0,__PYX_ERR(0, 390, __pyx_L1_error)) - if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_IS_CONTAINER, Py_True) < 0) __PYX_ERR(0, 390, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_IS_CONTAINER, Py_True) < 0) __PYX_ERR(0, 389, __pyx_L1_error) - /* "dependency_injector/containers.pyx":392 + /* "dependency_injector/containers.pyx":391 * __IS_CONTAINER__ = True * * provider_type = Provider # <<<<<<<<<<<<<< * """Type of providers that could be placed in container. * */ - __Pyx_TraceLine(392,0,__PYX_ERR(0, 392, __pyx_L1_error)) - if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_provider_type, ((PyObject *)__pyx_ptype_19dependency_injector_9providers_Provider)) < 0) __PYX_ERR(0, 392, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_provider_type, ((PyObject *)__pyx_ptype_19dependency_injector_9providers_Provider)) < 0) __PYX_ERR(0, 391, __pyx_L1_error) - /* "dependency_injector/containers.pyx":398 + /* "dependency_injector/containers.pyx":397 * """ * * instance_type = DynamicContainer # <<<<<<<<<<<<<< * """Type of container that is returned on instantiating declarative * container. */ - __Pyx_TraceLine(398,0,__PYX_ERR(0, 398, __pyx_L1_error)) - __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_DynamicContainer); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 398, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_DynamicContainer); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 397, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_instance_type, __pyx_t_9) < 0) __PYX_ERR(0, 398, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_instance_type, __pyx_t_9) < 0) __PYX_ERR(0, 397, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - /* "dependency_injector/containers.pyx":405 + /* "dependency_injector/containers.pyx":404 * """ * * containers = dict() # <<<<<<<<<<<<<< * """Read-only dictionary of all nested containers. * */ - __Pyx_TraceLine(405,0,__PYX_ERR(0, 405, __pyx_L1_error)) - __pyx_t_9 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 405, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 404, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_containers, __pyx_t_9) < 0) __PYX_ERR(0, 405, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_containers, __pyx_t_9) < 0) __PYX_ERR(0, 404, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - /* "dependency_injector/containers.pyx":411 + /* "dependency_injector/containers.pyx":410 * """ * * providers = dict() # <<<<<<<<<<<<<< * """Read-only dictionary of all providers. * */ - __Pyx_TraceLine(411,0,__PYX_ERR(0, 411, __pyx_L1_error)) - __pyx_t_9 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 411, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 410, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_providers, __pyx_t_9) < 0) __PYX_ERR(0, 411, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_providers, __pyx_t_9) < 0) __PYX_ERR(0, 410, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - /* "dependency_injector/containers.pyx":417 + /* "dependency_injector/containers.pyx":416 * """ * * cls_providers = dict() # <<<<<<<<<<<<<< * """Read-only dictionary of current container providers. * */ - __Pyx_TraceLine(417,0,__PYX_ERR(0, 417, __pyx_L1_error)) - __pyx_t_9 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 417, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 416, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_cls_providers, __pyx_t_9) < 0) __PYX_ERR(0, 417, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_cls_providers, __pyx_t_9) < 0) __PYX_ERR(0, 416, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - /* "dependency_injector/containers.pyx":423 + /* "dependency_injector/containers.pyx":422 * """ * * inherited_providers = dict() # <<<<<<<<<<<<<< * """Read-only dictionary of inherited providers. * */ - __Pyx_TraceLine(423,0,__PYX_ERR(0, 423, __pyx_L1_error)) - __pyx_t_9 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 423, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 422, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_inherited_providers, __pyx_t_9) < 0) __PYX_ERR(0, 423, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_inherited_providers, __pyx_t_9) < 0) __PYX_ERR(0, 422, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - /* "dependency_injector/containers.pyx":429 + /* "dependency_injector/containers.pyx":428 * """ * * overridden = tuple() # <<<<<<<<<<<<<< * """Tuple of overriding containers. * */ - __Pyx_TraceLine(429,0,__PYX_ERR(0, 429, __pyx_L1_error)) - __pyx_t_9 = __Pyx_PyObject_CallNoArg(((PyObject *)(&PyTuple_Type))); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 429, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_CallNoArg(((PyObject *)(&PyTuple_Type))); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 428, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_overridden, __pyx_t_9) < 0) __PYX_ERR(0, 429, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_overridden, __pyx_t_9) < 0) __PYX_ERR(0, 428, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - /* "dependency_injector/containers.pyx":435 + /* "dependency_injector/containers.pyx":434 * """ * * __self__ = None # <<<<<<<<<<<<<< * """Provider that provides current container. * */ - __Pyx_TraceLine(435,0,__PYX_ERR(0, 435, __pyx_L1_error)) - if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_self, Py_None) < 0) __PYX_ERR(0, 435, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_self, Py_None) < 0) __PYX_ERR(0, 434, __pyx_L1_error) - /* "dependency_injector/containers.pyx":441 + /* "dependency_injector/containers.pyx":440 * """ * * def __new__(cls, **overriding_providers): # <<<<<<<<<<<<<< * """Constructor. * */ - __Pyx_TraceLine(441,0,__PYX_ERR(0, 441, __pyx_L1_error)) - __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_20DeclarativeContainer_1__new__, __Pyx_CYFUNCTION_STATICMETHOD, __pyx_n_s_DeclarativeContainer___new, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__24)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 441, __pyx_L1_error) + __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_20DeclarativeContainer_1__new__, __Pyx_CYFUNCTION_STATICMETHOD, __pyx_n_s_DeclarativeContainer___new, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__66)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 440, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_new, __pyx_t_9) < 0) __PYX_ERR(0, 441, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_new, __pyx_t_9) < 0) __PYX_ERR(0, 440, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - /* "dependency_injector/containers.pyx":456 + /* "dependency_injector/containers.pyx":455 * * @classmethod * def override(cls, object overriding): # <<<<<<<<<<<<<< * """Override current container by overriding container. * */ - __Pyx_TraceLine(456,0,__PYX_ERR(0, 456, __pyx_L1_error)) - __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_20DeclarativeContainer_3override, __Pyx_CYFUNCTION_CLASSMETHOD, __pyx_n_s_DeclarativeContainer_override, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__25)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 456, __pyx_L1_error) + __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_20DeclarativeContainer_3override, __Pyx_CYFUNCTION_CLASSMETHOD, __pyx_n_s_DeclarativeContainer_override, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__68)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 455, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - /* "dependency_injector/containers.pyx":455 + /* "dependency_injector/containers.pyx":454 * return container * * @classmethod # <<<<<<<<<<<<<< * def override(cls, object overriding): * """Override current container by overriding container. */ - __Pyx_TraceLine(455,0,__PYX_ERR(0, 455, __pyx_L1_error)) - __pyx_t_10 = __Pyx_Method_ClassMethod(__pyx_t_9); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 455, __pyx_L1_error) + __pyx_t_10 = __Pyx_Method_ClassMethod(__pyx_t_9); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 454, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_override, __pyx_t_10) < 0) __PYX_ERR(0, 456, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_override, __pyx_t_10) < 0) __PYX_ERR(0, 455, __pyx_L1_error) __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - /* "dependency_injector/containers.pyx":480 + /* "dependency_injector/containers.pyx":479 * * @classmethod * def reset_last_overriding(cls): # <<<<<<<<<<<<<< * """Reset last overriding provider for each container providers. * */ - __Pyx_TraceLine(480,0,__PYX_ERR(0, 480, __pyx_L1_error)) - __pyx_t_10 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_20DeclarativeContainer_5reset_last_overriding, __Pyx_CYFUNCTION_CLASSMETHOD, __pyx_n_s_DeclarativeContainer_reset_last, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__26)); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 480, __pyx_L1_error) + __pyx_t_10 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_20DeclarativeContainer_5reset_last_overriding, __Pyx_CYFUNCTION_CLASSMETHOD, __pyx_n_s_DeclarativeContainer_reset_last, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__70)); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 479, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); - /* "dependency_injector/containers.pyx":479 + /* "dependency_injector/containers.pyx":478 * pass * * @classmethod # <<<<<<<<<<<<<< * def reset_last_overriding(cls): * """Reset last overriding provider for each container providers. */ - __Pyx_TraceLine(479,0,__PYX_ERR(0, 479, __pyx_L1_error)) - __pyx_t_9 = __Pyx_Method_ClassMethod(__pyx_t_10); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 479, __pyx_L1_error) + __pyx_t_9 = __Pyx_Method_ClassMethod(__pyx_t_10); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 478, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_reset_last_overriding, __pyx_t_9) < 0) __PYX_ERR(0, 480, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_reset_last_overriding, __pyx_t_9) < 0) __PYX_ERR(0, 479, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - /* "dependency_injector/containers.pyx":494 + /* "dependency_injector/containers.pyx":493 * * @classmethod * def reset_override(cls): # <<<<<<<<<<<<<< * """Reset all overridings for each container providers. * */ - __Pyx_TraceLine(494,0,__PYX_ERR(0, 494, __pyx_L1_error)) - __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_20DeclarativeContainer_7reset_override, __Pyx_CYFUNCTION_CLASSMETHOD, __pyx_n_s_DeclarativeContainer_reset_overr, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__27)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 494, __pyx_L1_error) + __pyx_t_9 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_20DeclarativeContainer_7reset_override, __Pyx_CYFUNCTION_CLASSMETHOD, __pyx_n_s_DeclarativeContainer_reset_overr, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__72)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 493, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - /* "dependency_injector/containers.pyx":493 + /* "dependency_injector/containers.pyx":492 * provider.reset_last_overriding() * * @classmethod # <<<<<<<<<<<<<< * def reset_override(cls): * """Reset all overridings for each container providers. */ - __Pyx_TraceLine(493,0,__PYX_ERR(0, 493, __pyx_L1_error)) - __pyx_t_10 = __Pyx_Method_ClassMethod(__pyx_t_9); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 493, __pyx_L1_error) + __pyx_t_10 = __Pyx_Method_ClassMethod(__pyx_t_9); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 492, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_reset_override, __pyx_t_10) < 0) __PYX_ERR(0, 494, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_reset_override, __pyx_t_10) < 0) __PYX_ERR(0, 493, __pyx_L1_error) __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - /* "dependency_injector/containers.pyx":505 + /* "dependency_injector/containers.pyx":504 * * @classmethod * def resolve_provider_name(cls, provider_to_resolve): # <<<<<<<<<<<<<< * """Try to resolve provider name by its instance.""" * for provider_name, container_provider in cls.providers.items(): */ - __Pyx_TraceLine(505,0,__PYX_ERR(0, 505, __pyx_L1_error)) - __pyx_t_10 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_20DeclarativeContainer_9resolve_provider_name, __Pyx_CYFUNCTION_CLASSMETHOD, __pyx_n_s_DeclarativeContainer_resolve_pro, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__28)); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 505, __pyx_L1_error) + __pyx_t_10 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_10containers_20DeclarativeContainer_9resolve_provider_name, __Pyx_CYFUNCTION_CLASSMETHOD, __pyx_n_s_DeclarativeContainer_resolve_pro, NULL, __pyx_n_s_dependency_injector_containers, __pyx_d, ((PyObject *)__pyx_codeobj__74)); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 504, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); - /* "dependency_injector/containers.pyx":504 + /* "dependency_injector/containers.pyx":503 * provider.reset_override() * * @classmethod # <<<<<<<<<<<<<< * def resolve_provider_name(cls, provider_to_resolve): * """Try to resolve provider name by its instance.""" */ - __Pyx_TraceLine(504,0,__PYX_ERR(0, 504, __pyx_L1_error)) - __pyx_t_9 = __Pyx_Method_ClassMethod(__pyx_t_10); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 504, __pyx_L1_error) + __pyx_t_9 = __Pyx_Method_ClassMethod(__pyx_t_10); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 503, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_resolve_provider_name, __pyx_t_9) < 0) __PYX_ERR(0, 505, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_resolve_provider_name, __pyx_t_9) < 0) __PYX_ERR(0, 504, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - /* "dependency_injector/containers.pyx":378 + /* "dependency_injector/containers.pyx":377 * * * @six.add_metaclass(DeclarativeContainerMetaClass) # <<<<<<<<<<<<<< * class DeclarativeContainer(object): * """Declarative inversion of control container. */ - __Pyx_TraceLine(378,0,__PYX_ERR(0, 378, __pyx_L1_error)) - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_six); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 378, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_six); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 377, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_add_metaclass); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 378, __pyx_L1_error) + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_add_metaclass); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 377, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_DeclarativeContainerMetaClass_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 378, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_DeclarativeContainerMetaClass); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 377, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_12 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_11))) { @@ -21897,19 +19926,18 @@ if (!__Pyx_RefNanny) { __pyx_t_10 = (__pyx_t_12) ? __Pyx_PyObject_Call2Args(__pyx_t_11, __pyx_t_12, __pyx_t_1) : __Pyx_PyObject_CallOneArg(__pyx_t_11, __pyx_t_1); __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 378, __pyx_L1_error) + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 377, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - /* "dependency_injector/containers.pyx":379 + /* "dependency_injector/containers.pyx":378 * * @six.add_metaclass(DeclarativeContainerMetaClass) * class DeclarativeContainer(object): # <<<<<<<<<<<<<< * """Declarative inversion of control container. * */ - __Pyx_TraceLine(379,0,__PYX_ERR(0, 379, __pyx_L1_error)) - __pyx_t_11 = __Pyx_Py3ClassCreate(__pyx_t_6, __pyx_n_s_DeclarativeContainer, __pyx_tuple__71, __pyx_t_7, NULL, 0, 1); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 379, __pyx_L1_error) + __pyx_t_11 = __Pyx_Py3ClassCreate(__pyx_t_6, __pyx_n_s_DeclarativeContainer, __pyx_tuple__64, __pyx_t_7, NULL, 0, 1); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 378, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_11); __pyx_t_1 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_10))) { @@ -21924,274 +19952,55 @@ if (!__Pyx_RefNanny) { __pyx_t_9 = (__pyx_t_1) ? __Pyx_PyObject_Call2Args(__pyx_t_10, __pyx_t_1, __pyx_t_11) : __Pyx_PyObject_CallOneArg(__pyx_t_10, __pyx_t_11); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 378, __pyx_L1_error) + if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 377, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s_DeclarativeContainer, __pyx_t_9) < 0) __PYX_ERR(0, 379, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_DeclarativeContainer, __pyx_t_9) < 0) __PYX_ERR(0, 378, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "dependency_injector/containers.pyx":514 + /* "dependency_injector/containers.pyx":513 * * * def override(object container): # <<<<<<<<<<<<<< * """:py:class:`DeclarativeContainer` overriding decorator. * */ - __Pyx_TraceLine(514,0,__PYX_ERR(0, 514, __pyx_L1_error)) - __pyx_t_6 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_10containers_5override, NULL, __pyx_n_s_dependency_injector_containers); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 514, __pyx_L1_error) + __pyx_t_6 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_10containers_5override, NULL, __pyx_n_s_dependency_injector_containers); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 513, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_override, __pyx_t_6) < 0) __PYX_ERR(0, 514, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_override, __pyx_t_6) < 0) __PYX_ERR(0, 513, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "dependency_injector/containers.pyx":531 + /* "dependency_injector/containers.pyx":530 * * * def copy(object container): # <<<<<<<<<<<<<< * """:py:class:`DeclarativeContainer` copying decorator. * */ - __Pyx_TraceLine(531,0,__PYX_ERR(0, 531, __pyx_L1_error)) - __pyx_t_6 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_10containers_7copy, NULL, __pyx_n_s_dependency_injector_containers); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 531, __pyx_L1_error) + __pyx_t_6 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_10containers_7copy, NULL, __pyx_n_s_dependency_injector_containers); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 530, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_copy, __pyx_t_6) < 0) __PYX_ERR(0, 531, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_copy, __pyx_t_6) < 0) __PYX_ERR(0, 530, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "dependency_injector/containers.pyx":571 - * - * - * cpdef bint is_container(object instance): # <<<<<<<<<<<<<< - * """Check if instance is container instance. - * - */ - __Pyx_TraceLine(571,0,__PYX_ERR(0, 571, __pyx_L1_error)) - - - /* "dependency_injector/containers.pyx":582 - * - * - * cpdef object _check_provider_type(object container, object provider): # <<<<<<<<<<<<<< - * if not isinstance(provider, container.provider_type): - * raise Error('{0} can contain only {1} ' - */ - __Pyx_TraceLine(582,0,__PYX_ERR(0, 582, __pyx_L1_error)) - - - /* "dependency_injector/containers.pyx":588 - * - * - * cpdef bint _isawaitable(object instance): # <<<<<<<<<<<<<< - * try: - * return inspect.isawaitable(instance) - */ - __Pyx_TraceLine(588,0,__PYX_ERR(0, 588, __pyx_L1_error)) - - /* "dependency_injector/containers.pyx":1 * """Containers module.""" # <<<<<<<<<<<<<< * * import inspect */ - __Pyx_TraceLine(1,0,__PYX_ERR(0, 1, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); if (PyDict_SetItem(__pyx_d, __pyx_n_s_test, __pyx_t_6) < 0) __PYX_ERR(0, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "providers.pxd":307 - * - * # Inline helper functions - * cdef inline object __get_name(NamedInjection self): # <<<<<<<<<<<<<< - * return self.__name - * - */ - __Pyx_TraceLine(307,0,__PYX_ERR(1, 307, __pyx_L1_error)) - - - /* "providers.pxd":311 - * - * - * cdef inline object __get_value(Injection self): # <<<<<<<<<<<<<< - * if self.__call == 0: - * return self.__value - */ - __Pyx_TraceLine(311,0,__PYX_ERR(1, 311, __pyx_L1_error)) - - - /* "providers.pxd":317 - * - * - * cdef inline object __get_value_kwargs(Injection self, dict kwargs): # <<<<<<<<<<<<<< - * if self.__call == 0: - * return self.__value - */ - __Pyx_TraceLine(317,0,__PYX_ERR(1, 317, __pyx_L1_error)) - - - /* "providers.pxd":323 - * - * - * cdef inline tuple __separate_prefixed_kwargs(dict kwargs): # <<<<<<<<<<<<<< - * cdef dict plain_kwargs = {} - * cdef dict prefixed_kwargs = {} - */ - __Pyx_TraceLine(323,0,__PYX_ERR(1, 323, __pyx_L1_error)) - - - /* "providers.pxd":344 - * @cython.boundscheck(False) - * @cython.wraparound(False) - * cdef inline object __provide_positional_args( # <<<<<<<<<<<<<< - * tuple args, - * tuple inj_args, - */ - __Pyx_TraceLine(344,0,__PYX_ERR(1, 344, __pyx_L1_error)) - - - /* "providers.pxd":375 - * @cython.boundscheck(False) - * @cython.wraparound(False) - * cdef inline object __provide_keyword_args( # <<<<<<<<<<<<<< - * dict kwargs, - * tuple inj_kwargs, - */ - __Pyx_TraceLine(375,0,__PYX_ERR(1, 375, __pyx_L1_error)) - - - /* "providers.pxd":421 - * - * - * cdef inline object __awaitable_args_kwargs_future(object args, list awaitables): # <<<<<<<<<<<<<< - * future_result = asyncio.Future() - * - */ - __Pyx_TraceLine(421,0,__PYX_ERR(1, 421, __pyx_L1_error)) - - - /* "providers.pxd":438 - * - * - * cdef inline void __async_prepare_args_kwargs_callback( # <<<<<<<<<<<<<< - * object future_result, - * object args, - */ - __Pyx_TraceLine(438,0,__PYX_ERR(1, 438, __pyx_L1_error)) - - - /* "providers.pxd":452 - * @cython.boundscheck(False) - * @cython.wraparound(False) - * cdef inline object __provide_attributes(tuple attributes, int attributes_len): # <<<<<<<<<<<<<< - * cdef NamedInjection attr_injection - * cdef dict attribute_injections = {} - */ - __Pyx_TraceLine(452,0,__PYX_ERR(1, 452, __pyx_L1_error)) - - - /* "providers.pxd":471 - * - * - * cdef inline object __async_inject_attributes(future_instance, future_attributes): # <<<<<<<<<<<<<< - * future_result = asyncio.Future() - * - */ - __Pyx_TraceLine(471,0,__PYX_ERR(1, 471, __pyx_L1_error)) - - - /* "providers.pxd":486 - * - * - * cdef inline void __async_inject_attributes_callback(object future_result, object future): # <<<<<<<<<<<<<< - * instance, attributes = future.result() - * __inject_attributes(instance, attributes) - */ - __Pyx_TraceLine(486,0,__PYX_ERR(1, 486, __pyx_L1_error)) - - - /* "providers.pxd":492 - * - * - * cdef inline void __inject_attributes(object instance, dict attributes): # <<<<<<<<<<<<<< - * for name, value in attributes.items(): - * setattr(instance, name, value) - */ - __Pyx_TraceLine(492,0,__PYX_ERR(1, 492, __pyx_L1_error)) - - - /* "providers.pxd":497 - * - * - * cdef inline object __call( # <<<<<<<<<<<<<< - * object call, - * tuple context_args, - */ - __Pyx_TraceLine(497,0,__PYX_ERR(1, 497, __pyx_L1_error)) - - - /* "providers.pxd":548 - * - * - * cdef inline void __async_call_callback(object future_result, object call, object future): # <<<<<<<<<<<<<< - * args, kwargs = future.result() - * result = call(*args, **kwargs) - */ - __Pyx_TraceLine(548,0,__PYX_ERR(1, 548, __pyx_L1_error)) - - - /* "providers.pxd":560 - * - * - * cdef inline object __async_result_callback(object future_result, object future): # <<<<<<<<<<<<<< - * future_result.set_result(future.result()) - * - */ - __Pyx_TraceLine(560,0,__PYX_ERR(1, 560, __pyx_L1_error)) - - - /* "providers.pxd":564 - * - * - * cdef inline object __callable_call(Callable self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * return __call( - * self.__provides, - */ - __Pyx_TraceLine(564,0,__PYX_ERR(1, 564, __pyx_L1_error)) - - - /* "providers.pxd":576 - * - * - * cdef inline object __factory_call(Factory self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * cdef object instance - * - */ - __Pyx_TraceLine(576,0,__PYX_ERR(1, 576, __pyx_L1_error)) - - - /* "providers.pxd":608 - * - * - * cdef inline bint __isawaitable(object instance): # <<<<<<<<<<<<<< - * global __has_isawaitable - * - */ - __Pyx_TraceLine(608,0,__PYX_ERR(1, 608, __pyx_L1_error)) - - /* "cfunc.to_py":64 * - * @cname("__Pyx_CFunc_void____object____object____object____object___to_py") - * cdef object __Pyx_CFunc_void____object____object____object____object___to_py(void (*f)(object, object, object, object) except *): # <<<<<<<<<<<<<< - * def wrap(object future_result, object args, object awaitables, object future): - * """wrap(future_result, args, awaitables, future) -> 'void'""" + * @cname("__Pyx_CFunc_object____object____object___to_py") + * cdef object __Pyx_CFunc_object____object____object___to_py(object (*f)(object, object) ): # <<<<<<<<<<<<<< + * def wrap(object future_result, object future): + * """wrap(future_result, future)""" */ - __Pyx_TraceLine(64,0,__PYX_ERR(2, 64, __pyx_L1_error)) - - - - - __Pyx_TraceReturn(Py_None, 0); /*--- Wrapped vars code ---*/ @@ -22309,6 +20118,26 @@ invalid_keyword: return 0; } +/* PyObjectCall */ +#if CYTHON_COMPILING_IN_CPYTHON +static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw) { + PyObject *result; + ternaryfunc call = func->ob_type->tp_call; + if (unlikely(!call)) + return PyObject_Call(func, arg, kw); + if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object"))) + return NULL; + result = (*call)(func, arg, kw); + Py_LeaveRecursiveCall(); + if (unlikely(!result) && unlikely(!PyErr_Occurred())) { + PyErr_SetString( + PyExc_SystemError, + "NULL result without error in PyObject_Call"); + } + return result; +} +#endif + /* PyErrFetchRestore */ #if CYTHON_FAST_THREAD_STATE static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) { @@ -22333,119 +20162,6 @@ static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject } #endif -/* Profile */ -#if CYTHON_PROFILE -static int __Pyx_TraceSetupAndCall(PyCodeObject** code, - PyFrameObject** frame, - PyThreadState* tstate, - const char *funcname, - const char *srcfile, - int firstlineno) { - PyObject *type, *value, *traceback; - int retval; - if (*frame == NULL || !CYTHON_PROFILE_REUSE_FRAME) { - if (*code == NULL) { - *code = __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno); - if (*code == NULL) return 0; - } - *frame = PyFrame_New( - tstate, /*PyThreadState *tstate*/ - *code, /*PyCodeObject *code*/ - __pyx_d, /*PyObject *globals*/ - 0 /*PyObject *locals*/ - ); - if (*frame == NULL) return 0; - if (CYTHON_TRACE && (*frame)->f_trace == NULL) { - Py_INCREF(Py_None); - (*frame)->f_trace = Py_None; - } -#if PY_VERSION_HEX < 0x030400B1 - } else { - (*frame)->f_tstate = tstate; -#endif - } - __Pyx_PyFrame_SetLineNumber(*frame, firstlineno); - retval = 1; - tstate->tracing++; - tstate->use_tracing = 0; - __Pyx_ErrFetchInState(tstate, &type, &value, &traceback); - #if CYTHON_TRACE - if (tstate->c_tracefunc) - retval = tstate->c_tracefunc(tstate->c_traceobj, *frame, PyTrace_CALL, NULL) == 0; - if (retval && tstate->c_profilefunc) - #endif - retval = tstate->c_profilefunc(tstate->c_profileobj, *frame, PyTrace_CALL, NULL) == 0; - tstate->use_tracing = (tstate->c_profilefunc || - (CYTHON_TRACE && tstate->c_tracefunc)); - tstate->tracing--; - if (retval) { - __Pyx_ErrRestoreInState(tstate, type, value, traceback); - return tstate->use_tracing && retval; - } else { - Py_XDECREF(type); - Py_XDECREF(value); - Py_XDECREF(traceback); - return -1; - } -} -static PyCodeObject *__Pyx_createFrameCodeObject(const char *funcname, const char *srcfile, int firstlineno) { - PyCodeObject *py_code = 0; -#if PY_MAJOR_VERSION >= 3 - py_code = PyCode_NewEmpty(srcfile, funcname, firstlineno); - if (likely(py_code)) { - py_code->co_flags |= CO_OPTIMIZED | CO_NEWLOCALS; - } -#else - PyObject *py_srcfile = 0; - PyObject *py_funcname = 0; - py_funcname = PyString_FromString(funcname); - if (unlikely(!py_funcname)) goto bad; - py_srcfile = PyString_FromString(srcfile); - if (unlikely(!py_srcfile)) goto bad; - py_code = PyCode_New( - 0, - 0, - 0, - CO_OPTIMIZED | CO_NEWLOCALS, - __pyx_empty_bytes, /*PyObject *code,*/ - __pyx_empty_tuple, /*PyObject *consts,*/ - __pyx_empty_tuple, /*PyObject *names,*/ - __pyx_empty_tuple, /*PyObject *varnames,*/ - __pyx_empty_tuple, /*PyObject *freevars,*/ - __pyx_empty_tuple, /*PyObject *cellvars,*/ - py_srcfile, /*PyObject *filename,*/ - py_funcname, /*PyObject *name,*/ - firstlineno, - __pyx_empty_bytes /*PyObject *lnotab*/ - ); -bad: - Py_XDECREF(py_srcfile); - Py_XDECREF(py_funcname); -#endif - return py_code; -} -#endif - -/* PyObjectCall */ -#if CYTHON_COMPILING_IN_CPYTHON -static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw) { - PyObject *result; - ternaryfunc call = func->ob_type->tp_call; - if (unlikely(!call)) - return PyObject_Call(func, arg, kw); - if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object"))) - return NULL; - result = (*call)(func, arg, kw); - Py_LeaveRecursiveCall(); - if (unlikely(!result) && unlikely(!PyErr_Occurred())) { - PyErr_SetString( - PyExc_SystemError, - "NULL result without error in PyObject_Call"); - } - return result; -} -#endif - /* RaiseException */ #if PY_MAJOR_VERSION < 3 static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, @@ -23496,6 +21212,78 @@ bad: return NULL; } +/* UnpackUnboundCMethod */ +static int __Pyx_TryUnpackUnboundCMethod(__Pyx_CachedCFunction* target) { + PyObject *method; + method = __Pyx_PyObject_GetAttrStr(target->type, *target->method_name); + if (unlikely(!method)) + return -1; + target->method = method; +#if CYTHON_COMPILING_IN_CPYTHON + #if PY_MAJOR_VERSION >= 3 + if (likely(__Pyx_TypeCheck(method, &PyMethodDescr_Type))) + #endif + { + PyMethodDescrObject *descr = (PyMethodDescrObject*) method; + target->func = descr->d_method->ml_meth; + target->flag = descr->d_method->ml_flags & ~(METH_CLASS | METH_STATIC | METH_COEXIST | METH_STACKLESS); + } +#endif + return 0; +} + +/* CallUnboundCMethod1 */ +#if CYTHON_COMPILING_IN_CPYTHON +static CYTHON_INLINE PyObject* __Pyx_CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg) { + if (likely(cfunc->func)) { + int flag = cfunc->flag; + if (flag == METH_O) { + return (*(cfunc->func))(self, arg); + } else if (PY_VERSION_HEX >= 0x030600B1 && flag == METH_FASTCALL) { + if (PY_VERSION_HEX >= 0x030700A0) { + return (*(__Pyx_PyCFunctionFast)(void*)(PyCFunction)cfunc->func)(self, &arg, 1); + } else { + return (*(__Pyx_PyCFunctionFastWithKeywords)(void*)(PyCFunction)cfunc->func)(self, &arg, 1, NULL); + } + } else if (PY_VERSION_HEX >= 0x030700A0 && flag == (METH_FASTCALL | METH_KEYWORDS)) { + return (*(__Pyx_PyCFunctionFastWithKeywords)(void*)(PyCFunction)cfunc->func)(self, &arg, 1, NULL); + } + } + return __Pyx__CallUnboundCMethod1(cfunc, self, arg); +} +#endif +static PyObject* __Pyx__CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg){ + PyObject *args, *result = NULL; + if (unlikely(!cfunc->func && !cfunc->method) && unlikely(__Pyx_TryUnpackUnboundCMethod(cfunc) < 0)) return NULL; +#if CYTHON_COMPILING_IN_CPYTHON + if (cfunc->func && (cfunc->flag & METH_VARARGS)) { + args = PyTuple_New(1); + if (unlikely(!args)) goto bad; + Py_INCREF(arg); + PyTuple_SET_ITEM(args, 0, arg); + if (cfunc->flag & METH_KEYWORDS) + result = (*(PyCFunctionWithKeywords)(void*)(PyCFunction)cfunc->func)(self, args, NULL); + else + result = (*cfunc->func)(self, args); + } else { + args = PyTuple_New(2); + if (unlikely(!args)) goto bad; + Py_INCREF(self); + PyTuple_SET_ITEM(args, 0, self); + Py_INCREF(arg); + PyTuple_SET_ITEM(args, 1, arg); + result = __Pyx_PyObject_Call(cfunc->method, args, NULL); + } +#else + args = PyTuple_Pack(2, self, arg); + if (unlikely(!args)) goto bad; + result = __Pyx_PyObject_Call(cfunc->method, args, NULL); +#endif +bad: + Py_XDECREF(args); + return result; +} + /* None */ static CYTHON_INLINE void __Pyx_RaiseClosureNameError(const char *varname) { PyErr_Format(PyExc_NameError, "free variable '%s' referenced before assignment in enclosing scope", varname); @@ -24291,78 +22079,6 @@ static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) { } } -/* UnpackUnboundCMethod */ -static int __Pyx_TryUnpackUnboundCMethod(__Pyx_CachedCFunction* target) { - PyObject *method; - method = __Pyx_PyObject_GetAttrStr(target->type, *target->method_name); - if (unlikely(!method)) - return -1; - target->method = method; -#if CYTHON_COMPILING_IN_CPYTHON - #if PY_MAJOR_VERSION >= 3 - if (likely(__Pyx_TypeCheck(method, &PyMethodDescr_Type))) - #endif - { - PyMethodDescrObject *descr = (PyMethodDescrObject*) method; - target->func = descr->d_method->ml_meth; - target->flag = descr->d_method->ml_flags & ~(METH_CLASS | METH_STATIC | METH_COEXIST | METH_STACKLESS); - } -#endif - return 0; -} - -/* CallUnboundCMethod1 */ -#if CYTHON_COMPILING_IN_CPYTHON -static CYTHON_INLINE PyObject* __Pyx_CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg) { - if (likely(cfunc->func)) { - int flag = cfunc->flag; - if (flag == METH_O) { - return (*(cfunc->func))(self, arg); - } else if (PY_VERSION_HEX >= 0x030600B1 && flag == METH_FASTCALL) { - if (PY_VERSION_HEX >= 0x030700A0) { - return (*(__Pyx_PyCFunctionFast)(void*)(PyCFunction)cfunc->func)(self, &arg, 1); - } else { - return (*(__Pyx_PyCFunctionFastWithKeywords)(void*)(PyCFunction)cfunc->func)(self, &arg, 1, NULL); - } - } else if (PY_VERSION_HEX >= 0x030700A0 && flag == (METH_FASTCALL | METH_KEYWORDS)) { - return (*(__Pyx_PyCFunctionFastWithKeywords)(void*)(PyCFunction)cfunc->func)(self, &arg, 1, NULL); - } - } - return __Pyx__CallUnboundCMethod1(cfunc, self, arg); -} -#endif -static PyObject* __Pyx__CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg){ - PyObject *args, *result = NULL; - if (unlikely(!cfunc->func && !cfunc->method) && unlikely(__Pyx_TryUnpackUnboundCMethod(cfunc) < 0)) return NULL; -#if CYTHON_COMPILING_IN_CPYTHON - if (cfunc->func && (cfunc->flag & METH_VARARGS)) { - args = PyTuple_New(1); - if (unlikely(!args)) goto bad; - Py_INCREF(arg); - PyTuple_SET_ITEM(args, 0, arg); - if (cfunc->flag & METH_KEYWORDS) - result = (*(PyCFunctionWithKeywords)(void*)(PyCFunction)cfunc->func)(self, args, NULL); - else - result = (*cfunc->func)(self, args); - } else { - args = PyTuple_New(2); - if (unlikely(!args)) goto bad; - Py_INCREF(self); - PyTuple_SET_ITEM(args, 0, self); - Py_INCREF(arg); - PyTuple_SET_ITEM(args, 1, arg); - result = __Pyx_PyObject_Call(cfunc->method, args, NULL); - } -#else - args = PyTuple_Pack(2, self, arg); - if (unlikely(!args)) goto bad; - result = __Pyx_PyObject_Call(cfunc->method, args, NULL); -#endif -bad: - Py_XDECREF(args); - return result; -} - /* GetAttr3 */ static PyObject *__Pyx_GetAttr3Default(PyObject *d) { __Pyx_PyThreadState_declare @@ -25938,1047 +23654,6 @@ static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObj } #endif -/* SwapException */ -#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; - #if CYTHON_USE_EXC_INFO_STACK - _PyErr_StackItem *exc_info = tstate->exc_info; - tmp_type = exc_info->exc_type; - tmp_value = exc_info->exc_value; - tmp_tb = exc_info->exc_traceback; - exc_info->exc_type = *type; - exc_info->exc_value = *value; - exc_info->exc_traceback = *tb; - #else - tmp_type = tstate->exc_type; - tmp_value = tstate->exc_value; - tmp_tb = tstate->exc_traceback; - tstate->exc_type = *type; - tstate->exc_value = *value; - tstate->exc_traceback = *tb; - #endif - *type = tmp_type; - *value = tmp_value; - *tb = tmp_tb; -} -#else -static CYTHON_INLINE void __Pyx_ExceptionSwap(PyObject **type, PyObject **value, PyObject **tb) { - PyObject *tmp_type, *tmp_value, *tmp_tb; - PyErr_GetExcInfo(&tmp_type, &tmp_value, &tmp_tb); - PyErr_SetExcInfo(*type, *value, *tb); - *type = tmp_type; - *value = tmp_value; - *tb = tmp_tb; -} -#endif - -/* PyObjectGetMethod */ -static int __Pyx_PyObject_GetMethod(PyObject *obj, PyObject *name, PyObject **method) { - PyObject *attr; -#if CYTHON_UNPACK_METHODS && CYTHON_COMPILING_IN_CPYTHON && CYTHON_USE_PYTYPE_LOOKUP - PyTypeObject *tp = Py_TYPE(obj); - PyObject *descr; - descrgetfunc f = NULL; - PyObject **dictptr, *dict; - int meth_found = 0; - assert (*method == NULL); - if (unlikely(tp->tp_getattro != PyObject_GenericGetAttr)) { - attr = __Pyx_PyObject_GetAttrStr(obj, name); - goto try_unpack; - } - if (unlikely(tp->tp_dict == NULL) && unlikely(PyType_Ready(tp) < 0)) { - return 0; - } - descr = _PyType_Lookup(tp, name); - if (likely(descr != NULL)) { - Py_INCREF(descr); -#if PY_MAJOR_VERSION >= 3 - #ifdef __Pyx_CyFunction_USED - if (likely(PyFunction_Check(descr) || (Py_TYPE(descr) == &PyMethodDescr_Type) || __Pyx_CyFunction_Check(descr))) - #else - if (likely(PyFunction_Check(descr) || (Py_TYPE(descr) == &PyMethodDescr_Type))) - #endif -#else - #ifdef __Pyx_CyFunction_USED - if (likely(PyFunction_Check(descr) || __Pyx_CyFunction_Check(descr))) - #else - if (likely(PyFunction_Check(descr))) - #endif -#endif - { - meth_found = 1; - } else { - f = Py_TYPE(descr)->tp_descr_get; - if (f != NULL && PyDescr_IsData(descr)) { - attr = f(descr, obj, (PyObject *)Py_TYPE(obj)); - Py_DECREF(descr); - goto try_unpack; - } - } - } - dictptr = _PyObject_GetDictPtr(obj); - if (dictptr != NULL && (dict = *dictptr) != NULL) { - Py_INCREF(dict); - attr = __Pyx_PyDict_GetItemStr(dict, name); - if (attr != NULL) { - Py_INCREF(attr); - Py_DECREF(dict); - Py_XDECREF(descr); - goto try_unpack; - } - Py_DECREF(dict); - } - if (meth_found) { - *method = descr; - return 1; - } - if (f != NULL) { - attr = f(descr, obj, (PyObject *)Py_TYPE(obj)); - Py_DECREF(descr); - goto try_unpack; - } - if (descr != NULL) { - *method = descr; - return 0; - } - PyErr_Format(PyExc_AttributeError, -#if PY_MAJOR_VERSION >= 3 - "'%.50s' object has no attribute '%U'", - tp->tp_name, name); -#else - "'%.50s' object has no attribute '%.400s'", - tp->tp_name, PyString_AS_STRING(name)); -#endif - return 0; -#else - attr = __Pyx_PyObject_GetAttrStr(obj, name); - goto try_unpack; -#endif -try_unpack: -#if CYTHON_UNPACK_METHODS - if (likely(attr) && PyMethod_Check(attr) && likely(PyMethod_GET_SELF(attr) == obj)) { - PyObject *function = PyMethod_GET_FUNCTION(attr); - Py_INCREF(function); - Py_DECREF(attr); - *method = function; - return 1; - } -#endif - *method = attr; - return 0; -} - -/* PyObjectCallMethod1 */ -static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) { - PyObject *result = __Pyx_PyObject_CallOneArg(method, arg); - Py_DECREF(method); - return result; -} -static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) { - PyObject *method = NULL, *result; - int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method); - if (likely(is_method)) { - result = __Pyx_PyObject_Call2Args(method, obj, arg); - Py_DECREF(method); - return result; - } - if (unlikely(!method)) return NULL; - return __Pyx__PyObject_CallMethod1(method, arg); -} - -/* CoroutineBase */ -#include -#include -#define __Pyx_Coroutine_Undelegate(gen) Py_CLEAR((gen)->yieldfrom) -static int __Pyx_PyGen__FetchStopIterationValue(CYTHON_UNUSED PyThreadState *__pyx_tstate, PyObject **pvalue) { - PyObject *et, *ev, *tb; - PyObject *value = NULL; - __Pyx_ErrFetch(&et, &ev, &tb); - if (!et) { - Py_XDECREF(tb); - Py_XDECREF(ev); - Py_INCREF(Py_None); - *pvalue = Py_None; - return 0; - } - if (likely(et == PyExc_StopIteration)) { - if (!ev) { - Py_INCREF(Py_None); - value = Py_None; - } -#if PY_VERSION_HEX >= 0x030300A0 - else if (Py_TYPE(ev) == (PyTypeObject*)PyExc_StopIteration) { - value = ((PyStopIterationObject *)ev)->value; - Py_INCREF(value); - Py_DECREF(ev); - } -#endif - else if (unlikely(PyTuple_Check(ev))) { - if (PyTuple_GET_SIZE(ev) >= 1) { -#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - value = PyTuple_GET_ITEM(ev, 0); - Py_INCREF(value); -#else - value = PySequence_ITEM(ev, 0); -#endif - } else { - Py_INCREF(Py_None); - value = Py_None; - } - Py_DECREF(ev); - } - else if (!__Pyx_TypeCheck(ev, (PyTypeObject*)PyExc_StopIteration)) { - value = ev; - } - if (likely(value)) { - Py_XDECREF(tb); - Py_DECREF(et); - *pvalue = value; - return 0; - } - } else if (!__Pyx_PyErr_GivenExceptionMatches(et, PyExc_StopIteration)) { - __Pyx_ErrRestore(et, ev, tb); - return -1; - } - PyErr_NormalizeException(&et, &ev, &tb); - if (unlikely(!PyObject_TypeCheck(ev, (PyTypeObject*)PyExc_StopIteration))) { - __Pyx_ErrRestore(et, ev, tb); - return -1; - } - Py_XDECREF(tb); - Py_DECREF(et); -#if PY_VERSION_HEX >= 0x030300A0 - value = ((PyStopIterationObject *)ev)->value; - Py_INCREF(value); - Py_DECREF(ev); -#else - { - PyObject* args = __Pyx_PyObject_GetAttrStr(ev, __pyx_n_s_args); - Py_DECREF(ev); - if (likely(args)) { - value = PySequence_GetItem(args, 0); - Py_DECREF(args); - } - if (unlikely(!value)) { - __Pyx_ErrRestore(NULL, NULL, NULL); - Py_INCREF(Py_None); - value = Py_None; - } - } -#endif - *pvalue = value; - return 0; -} -static CYTHON_INLINE -void __Pyx_Coroutine_ExceptionClear(__Pyx_ExcInfoStruct *exc_state) { - PyObject *t, *v, *tb; - t = exc_state->exc_type; - v = exc_state->exc_value; - tb = exc_state->exc_traceback; - exc_state->exc_type = NULL; - exc_state->exc_value = NULL; - exc_state->exc_traceback = NULL; - Py_XDECREF(t); - Py_XDECREF(v); - Py_XDECREF(tb); -} -#define __Pyx_Coroutine_AlreadyRunningError(gen) (__Pyx__Coroutine_AlreadyRunningError(gen), (PyObject*)NULL) -static void __Pyx__Coroutine_AlreadyRunningError(CYTHON_UNUSED __pyx_CoroutineObject *gen) { - const char *msg; - if ((0)) { - #ifdef __Pyx_Coroutine_USED - } else if (__Pyx_Coroutine_Check((PyObject*)gen)) { - msg = "coroutine already executing"; - #endif - #ifdef __Pyx_AsyncGen_USED - } else if (__Pyx_AsyncGen_CheckExact((PyObject*)gen)) { - msg = "async generator already executing"; - #endif - } else { - msg = "generator already executing"; - } - PyErr_SetString(PyExc_ValueError, msg); -} -#define __Pyx_Coroutine_NotStartedError(gen) (__Pyx__Coroutine_NotStartedError(gen), (PyObject*)NULL) -static void __Pyx__Coroutine_NotStartedError(CYTHON_UNUSED PyObject *gen) { - const char *msg; - if ((0)) { - #ifdef __Pyx_Coroutine_USED - } else if (__Pyx_Coroutine_Check(gen)) { - msg = "can't send non-None value to a just-started coroutine"; - #endif - #ifdef __Pyx_AsyncGen_USED - } else if (__Pyx_AsyncGen_CheckExact(gen)) { - msg = "can't send non-None value to a just-started async generator"; - #endif - } else { - msg = "can't send non-None value to a just-started generator"; - } - PyErr_SetString(PyExc_TypeError, msg); -} -#define __Pyx_Coroutine_AlreadyTerminatedError(gen, value, closing) (__Pyx__Coroutine_AlreadyTerminatedError(gen, value, closing), (PyObject*)NULL) -static void __Pyx__Coroutine_AlreadyTerminatedError(CYTHON_UNUSED PyObject *gen, PyObject *value, CYTHON_UNUSED int closing) { - #ifdef __Pyx_Coroutine_USED - if (!closing && __Pyx_Coroutine_Check(gen)) { - PyErr_SetString(PyExc_RuntimeError, "cannot reuse already awaited coroutine"); - } else - #endif - if (value) { - #ifdef __Pyx_AsyncGen_USED - if (__Pyx_AsyncGen_CheckExact(gen)) - PyErr_SetNone(__Pyx_PyExc_StopAsyncIteration); - else - #endif - PyErr_SetNone(PyExc_StopIteration); - } -} -static -PyObject *__Pyx_Coroutine_SendEx(__pyx_CoroutineObject *self, PyObject *value, int closing) { - __Pyx_PyThreadState_declare - PyThreadState *tstate; - __Pyx_ExcInfoStruct *exc_state; - PyObject *retval; - assert(!self->is_running); - if (unlikely(self->resume_label == 0)) { - if (unlikely(value && value != Py_None)) { - return __Pyx_Coroutine_NotStartedError((PyObject*)self); - } - } - if (unlikely(self->resume_label == -1)) { - return __Pyx_Coroutine_AlreadyTerminatedError((PyObject*)self, value, closing); - } -#if CYTHON_FAST_THREAD_STATE - __Pyx_PyThreadState_assign - tstate = __pyx_tstate; -#else - tstate = __Pyx_PyThreadState_Current; -#endif - exc_state = &self->gi_exc_state; - if (exc_state->exc_type) { - #if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_PYSTON - #else - if (exc_state->exc_traceback) { - PyTracebackObject *tb = (PyTracebackObject *) exc_state->exc_traceback; - PyFrameObject *f = tb->tb_frame; - Py_XINCREF(tstate->frame); - assert(f->f_back == NULL); - f->f_back = tstate->frame; - } - #endif - } -#if CYTHON_USE_EXC_INFO_STACK - exc_state->previous_item = tstate->exc_info; - tstate->exc_info = exc_state; -#else - if (exc_state->exc_type) { - __Pyx_ExceptionSwap(&exc_state->exc_type, &exc_state->exc_value, &exc_state->exc_traceback); - } else { - __Pyx_Coroutine_ExceptionClear(exc_state); - __Pyx_ExceptionSave(&exc_state->exc_type, &exc_state->exc_value, &exc_state->exc_traceback); - } -#endif - self->is_running = 1; - retval = self->body((PyObject *) self, tstate, value); - self->is_running = 0; -#if CYTHON_USE_EXC_INFO_STACK - exc_state = &self->gi_exc_state; - tstate->exc_info = exc_state->previous_item; - exc_state->previous_item = NULL; - __Pyx_Coroutine_ResetFrameBackpointer(exc_state); -#endif - return retval; -} -static CYTHON_INLINE void __Pyx_Coroutine_ResetFrameBackpointer(__Pyx_ExcInfoStruct *exc_state) { - PyObject *exc_tb = exc_state->exc_traceback; - if (likely(exc_tb)) { -#if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_PYSTON -#else - PyTracebackObject *tb = (PyTracebackObject *) exc_tb; - PyFrameObject *f = tb->tb_frame; - Py_CLEAR(f->f_back); -#endif - } -} -static CYTHON_INLINE -PyObject *__Pyx_Coroutine_MethodReturn(CYTHON_UNUSED PyObject* gen, PyObject *retval) { - if (unlikely(!retval)) { - __Pyx_PyThreadState_declare - __Pyx_PyThreadState_assign - if (!__Pyx_PyErr_Occurred()) { - PyObject *exc = PyExc_StopIteration; - #ifdef __Pyx_AsyncGen_USED - if (__Pyx_AsyncGen_CheckExact(gen)) - exc = __Pyx_PyExc_StopAsyncIteration; - #endif - __Pyx_PyErr_SetNone(exc); - } - } - return retval; -} -static CYTHON_INLINE -PyObject *__Pyx_Coroutine_FinishDelegation(__pyx_CoroutineObject *gen) { - PyObject *ret; - PyObject *val = NULL; - __Pyx_Coroutine_Undelegate(gen); - __Pyx_PyGen__FetchStopIterationValue(__Pyx_PyThreadState_Current, &val); - ret = __Pyx_Coroutine_SendEx(gen, val, 0); - Py_XDECREF(val); - return ret; -} -static PyObject *__Pyx_Coroutine_Send(PyObject *self, PyObject *value) { - PyObject *retval; - __pyx_CoroutineObject *gen = (__pyx_CoroutineObject*) self; - PyObject *yf = gen->yieldfrom; - if (unlikely(gen->is_running)) - return __Pyx_Coroutine_AlreadyRunningError(gen); - if (yf) { - PyObject *ret; - gen->is_running = 1; - #ifdef __Pyx_Generator_USED - if (__Pyx_Generator_CheckExact(yf)) { - ret = __Pyx_Coroutine_Send(yf, value); - } else - #endif - #ifdef __Pyx_Coroutine_USED - if (__Pyx_Coroutine_Check(yf)) { - ret = __Pyx_Coroutine_Send(yf, value); - } else - #endif - #ifdef __Pyx_AsyncGen_USED - if (__pyx_PyAsyncGenASend_CheckExact(yf)) { - ret = __Pyx_async_gen_asend_send(yf, value); - } else - #endif - #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x03030000 && (defined(__linux__) || PY_VERSION_HEX >= 0x030600B3) - if (PyGen_CheckExact(yf)) { - ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value); - } else - #endif - #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x03050000 && defined(PyCoro_CheckExact) && (defined(__linux__) || PY_VERSION_HEX >= 0x030600B3) - if (PyCoro_CheckExact(yf)) { - ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value); - } else - #endif - { - if (value == Py_None) - ret = Py_TYPE(yf)->tp_iternext(yf); - else - ret = __Pyx_PyObject_CallMethod1(yf, __pyx_n_s_send, value); - } - gen->is_running = 0; - if (likely(ret)) { - return ret; - } - retval = __Pyx_Coroutine_FinishDelegation(gen); - } else { - retval = __Pyx_Coroutine_SendEx(gen, value, 0); - } - return __Pyx_Coroutine_MethodReturn(self, retval); -} -static int __Pyx_Coroutine_CloseIter(__pyx_CoroutineObject *gen, PyObject *yf) { - PyObject *retval = NULL; - int err = 0; - #ifdef __Pyx_Generator_USED - if (__Pyx_Generator_CheckExact(yf)) { - retval = __Pyx_Coroutine_Close(yf); - if (!retval) - return -1; - } else - #endif - #ifdef __Pyx_Coroutine_USED - if (__Pyx_Coroutine_Check(yf)) { - retval = __Pyx_Coroutine_Close(yf); - if (!retval) - return -1; - } else - if (__Pyx_CoroutineAwait_CheckExact(yf)) { - retval = __Pyx_CoroutineAwait_Close((__pyx_CoroutineAwaitObject*)yf, NULL); - if (!retval) - return -1; - } else - #endif - #ifdef __Pyx_AsyncGen_USED - if (__pyx_PyAsyncGenASend_CheckExact(yf)) { - retval = __Pyx_async_gen_asend_close(yf, NULL); - } else - if (__pyx_PyAsyncGenAThrow_CheckExact(yf)) { - retval = __Pyx_async_gen_athrow_close(yf, NULL); - } else - #endif - { - PyObject *meth; - gen->is_running = 1; - meth = __Pyx_PyObject_GetAttrStr(yf, __pyx_n_s_close); - if (unlikely(!meth)) { - if (!PyErr_ExceptionMatches(PyExc_AttributeError)) { - PyErr_WriteUnraisable(yf); - } - PyErr_Clear(); - } else { - retval = PyObject_CallFunction(meth, NULL); - Py_DECREF(meth); - if (!retval) - err = -1; - } - gen->is_running = 0; - } - Py_XDECREF(retval); - return err; -} -static PyObject *__Pyx_Generator_Next(PyObject *self) { - __pyx_CoroutineObject *gen = (__pyx_CoroutineObject*) self; - PyObject *yf = gen->yieldfrom; - if (unlikely(gen->is_running)) - return __Pyx_Coroutine_AlreadyRunningError(gen); - if (yf) { - PyObject *ret; - gen->is_running = 1; - #ifdef __Pyx_Generator_USED - if (__Pyx_Generator_CheckExact(yf)) { - ret = __Pyx_Generator_Next(yf); - } else - #endif - #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x03030000 && (defined(__linux__) || PY_VERSION_HEX >= 0x030600B3) - if (PyGen_CheckExact(yf)) { - ret = _PyGen_Send((PyGenObject*)yf, NULL); - } else - #endif - #ifdef __Pyx_Coroutine_USED - if (__Pyx_Coroutine_Check(yf)) { - ret = __Pyx_Coroutine_Send(yf, Py_None); - } else - #endif - ret = Py_TYPE(yf)->tp_iternext(yf); - gen->is_running = 0; - if (likely(ret)) { - return ret; - } - return __Pyx_Coroutine_FinishDelegation(gen); - } - return __Pyx_Coroutine_SendEx(gen, Py_None, 0); -} -static PyObject *__Pyx_Coroutine_Close_Method(PyObject *self, CYTHON_UNUSED PyObject *arg) { - return __Pyx_Coroutine_Close(self); -} -static PyObject *__Pyx_Coroutine_Close(PyObject *self) { - __pyx_CoroutineObject *gen = (__pyx_CoroutineObject *) self; - PyObject *retval, *raised_exception; - PyObject *yf = gen->yieldfrom; - int err = 0; - if (unlikely(gen->is_running)) - return __Pyx_Coroutine_AlreadyRunningError(gen); - if (yf) { - Py_INCREF(yf); - err = __Pyx_Coroutine_CloseIter(gen, yf); - __Pyx_Coroutine_Undelegate(gen); - Py_DECREF(yf); - } - if (err == 0) - PyErr_SetNone(PyExc_GeneratorExit); - retval = __Pyx_Coroutine_SendEx(gen, NULL, 1); - if (unlikely(retval)) { - const char *msg; - Py_DECREF(retval); - if ((0)) { - #ifdef __Pyx_Coroutine_USED - } else if (__Pyx_Coroutine_Check(self)) { - msg = "coroutine ignored GeneratorExit"; - #endif - #ifdef __Pyx_AsyncGen_USED - } else if (__Pyx_AsyncGen_CheckExact(self)) { -#if PY_VERSION_HEX < 0x03060000 - msg = "async generator ignored GeneratorExit - might require Python 3.6+ finalisation (PEP 525)"; -#else - msg = "async generator ignored GeneratorExit"; -#endif - #endif - } else { - msg = "generator ignored GeneratorExit"; - } - PyErr_SetString(PyExc_RuntimeError, msg); - return NULL; - } - raised_exception = PyErr_Occurred(); - if (likely(!raised_exception || __Pyx_PyErr_GivenExceptionMatches2(raised_exception, PyExc_GeneratorExit, PyExc_StopIteration))) { - if (raised_exception) PyErr_Clear(); - Py_INCREF(Py_None); - return Py_None; - } - return NULL; -} -static PyObject *__Pyx__Coroutine_Throw(PyObject *self, PyObject *typ, PyObject *val, PyObject *tb, - PyObject *args, int close_on_genexit) { - __pyx_CoroutineObject *gen = (__pyx_CoroutineObject *) self; - PyObject *yf = gen->yieldfrom; - if (unlikely(gen->is_running)) - return __Pyx_Coroutine_AlreadyRunningError(gen); - if (yf) { - PyObject *ret; - Py_INCREF(yf); - if (__Pyx_PyErr_GivenExceptionMatches(typ, PyExc_GeneratorExit) && close_on_genexit) { - int err = __Pyx_Coroutine_CloseIter(gen, yf); - Py_DECREF(yf); - __Pyx_Coroutine_Undelegate(gen); - if (err < 0) - return __Pyx_Coroutine_MethodReturn(self, __Pyx_Coroutine_SendEx(gen, NULL, 0)); - goto throw_here; - } - gen->is_running = 1; - if (0 - #ifdef __Pyx_Generator_USED - || __Pyx_Generator_CheckExact(yf) - #endif - #ifdef __Pyx_Coroutine_USED - || __Pyx_Coroutine_Check(yf) - #endif - ) { - ret = __Pyx__Coroutine_Throw(yf, typ, val, tb, args, close_on_genexit); - #ifdef __Pyx_Coroutine_USED - } else if (__Pyx_CoroutineAwait_CheckExact(yf)) { - ret = __Pyx__Coroutine_Throw(((__pyx_CoroutineAwaitObject*)yf)->coroutine, typ, val, tb, args, close_on_genexit); - #endif - } else { - PyObject *meth = __Pyx_PyObject_GetAttrStr(yf, __pyx_n_s_throw); - if (unlikely(!meth)) { - Py_DECREF(yf); - if (!PyErr_ExceptionMatches(PyExc_AttributeError)) { - gen->is_running = 0; - return NULL; - } - PyErr_Clear(); - __Pyx_Coroutine_Undelegate(gen); - gen->is_running = 0; - goto throw_here; - } - if (likely(args)) { - ret = PyObject_CallObject(meth, args); - } else { - ret = PyObject_CallFunctionObjArgs(meth, typ, val, tb, NULL); - } - Py_DECREF(meth); - } - gen->is_running = 0; - Py_DECREF(yf); - if (!ret) { - ret = __Pyx_Coroutine_FinishDelegation(gen); - } - return __Pyx_Coroutine_MethodReturn(self, ret); - } -throw_here: - __Pyx_Raise(typ, val, tb, NULL); - return __Pyx_Coroutine_MethodReturn(self, __Pyx_Coroutine_SendEx(gen, NULL, 0)); -} -static PyObject *__Pyx_Coroutine_Throw(PyObject *self, PyObject *args) { - PyObject *typ; - PyObject *val = NULL; - PyObject *tb = NULL; - if (!PyArg_UnpackTuple(args, (char *)"throw", 1, 3, &typ, &val, &tb)) - return NULL; - return __Pyx__Coroutine_Throw(self, typ, val, tb, args, 1); -} -static CYTHON_INLINE int __Pyx_Coroutine_traverse_excstate(__Pyx_ExcInfoStruct *exc_state, visitproc visit, void *arg) { - Py_VISIT(exc_state->exc_type); - Py_VISIT(exc_state->exc_value); - Py_VISIT(exc_state->exc_traceback); - return 0; -} -static int __Pyx_Coroutine_traverse(__pyx_CoroutineObject *gen, visitproc visit, void *arg) { - Py_VISIT(gen->closure); - Py_VISIT(gen->classobj); - Py_VISIT(gen->yieldfrom); - return __Pyx_Coroutine_traverse_excstate(&gen->gi_exc_state, visit, arg); -} -static int __Pyx_Coroutine_clear(PyObject *self) { - __pyx_CoroutineObject *gen = (__pyx_CoroutineObject *) self; - Py_CLEAR(gen->closure); - Py_CLEAR(gen->classobj); - Py_CLEAR(gen->yieldfrom); - __Pyx_Coroutine_ExceptionClear(&gen->gi_exc_state); -#ifdef __Pyx_AsyncGen_USED - if (__Pyx_AsyncGen_CheckExact(self)) { - Py_CLEAR(((__pyx_PyAsyncGenObject*)gen)->ag_finalizer); - } -#endif - Py_CLEAR(gen->gi_code); - Py_CLEAR(gen->gi_name); - Py_CLEAR(gen->gi_qualname); - Py_CLEAR(gen->gi_modulename); - return 0; -} -static void __Pyx_Coroutine_dealloc(PyObject *self) { - __pyx_CoroutineObject *gen = (__pyx_CoroutineObject *) self; - PyObject_GC_UnTrack(gen); - if (gen->gi_weakreflist != NULL) - PyObject_ClearWeakRefs(self); - if (gen->resume_label >= 0) { - PyObject_GC_Track(self); -#if PY_VERSION_HEX >= 0x030400a1 && CYTHON_USE_TP_FINALIZE - if (PyObject_CallFinalizerFromDealloc(self)) -#else - Py_TYPE(gen)->tp_del(self); - if (self->ob_refcnt > 0) -#endif - { - return; - } - PyObject_GC_UnTrack(self); - } -#ifdef __Pyx_AsyncGen_USED - if (__Pyx_AsyncGen_CheckExact(self)) { - /* We have to handle this case for asynchronous generators - right here, because this code has to be between UNTRACK - and GC_Del. */ - Py_CLEAR(((__pyx_PyAsyncGenObject*)self)->ag_finalizer); - } -#endif - __Pyx_Coroutine_clear(self); - PyObject_GC_Del(gen); -} -static void __Pyx_Coroutine_del(PyObject *self) { - PyObject *error_type, *error_value, *error_traceback; - __pyx_CoroutineObject *gen = (__pyx_CoroutineObject *) self; - __Pyx_PyThreadState_declare - if (gen->resume_label < 0) { - return; - } -#if !CYTHON_USE_TP_FINALIZE - assert(self->ob_refcnt == 0); - self->ob_refcnt = 1; -#endif - __Pyx_PyThreadState_assign - __Pyx_ErrFetch(&error_type, &error_value, &error_traceback); -#ifdef __Pyx_AsyncGen_USED - if (__Pyx_AsyncGen_CheckExact(self)) { - __pyx_PyAsyncGenObject *agen = (__pyx_PyAsyncGenObject*)self; - PyObject *finalizer = agen->ag_finalizer; - if (finalizer && !agen->ag_closed) { - PyObject *res = __Pyx_PyObject_CallOneArg(finalizer, self); - if (unlikely(!res)) { - PyErr_WriteUnraisable(self); - } else { - Py_DECREF(res); - } - __Pyx_ErrRestore(error_type, error_value, error_traceback); - return; - } - } -#endif - if (unlikely(gen->resume_label == 0 && !error_value)) { -#ifdef __Pyx_Coroutine_USED -#ifdef __Pyx_Generator_USED - if (!__Pyx_Generator_CheckExact(self)) -#endif - { - PyObject_GC_UnTrack(self); -#if PY_MAJOR_VERSION >= 3 || defined(PyErr_WarnFormat) - if (unlikely(PyErr_WarnFormat(PyExc_RuntimeWarning, 1, "coroutine '%.50S' was never awaited", gen->gi_qualname) < 0)) - PyErr_WriteUnraisable(self); -#else - {PyObject *msg; - char *cmsg; - #if CYTHON_COMPILING_IN_PYPY - msg = NULL; - cmsg = (char*) "coroutine was never awaited"; - #else - char *cname; - PyObject *qualname; - qualname = gen->gi_qualname; - cname = PyString_AS_STRING(qualname); - msg = PyString_FromFormat("coroutine '%.50s' was never awaited", cname); - if (unlikely(!msg)) { - PyErr_Clear(); - cmsg = (char*) "coroutine was never awaited"; - } else { - cmsg = PyString_AS_STRING(msg); - } - #endif - if (unlikely(PyErr_WarnEx(PyExc_RuntimeWarning, cmsg, 1) < 0)) - PyErr_WriteUnraisable(self); - Py_XDECREF(msg);} -#endif - PyObject_GC_Track(self); - } -#endif - } else { - PyObject *res = __Pyx_Coroutine_Close(self); - if (unlikely(!res)) { - if (PyErr_Occurred()) - PyErr_WriteUnraisable(self); - } else { - Py_DECREF(res); - } - } - __Pyx_ErrRestore(error_type, error_value, error_traceback); -#if !CYTHON_USE_TP_FINALIZE - assert(self->ob_refcnt > 0); - if (--self->ob_refcnt == 0) { - return; - } - { - Py_ssize_t refcnt = self->ob_refcnt; - _Py_NewReference(self); - self->ob_refcnt = refcnt; - } -#if CYTHON_COMPILING_IN_CPYTHON - assert(PyType_IS_GC(self->ob_type) && - _Py_AS_GC(self)->gc.gc_refs != _PyGC_REFS_UNTRACKED); - _Py_DEC_REFTOTAL; -#endif -#ifdef COUNT_ALLOCS - --Py_TYPE(self)->tp_frees; - --Py_TYPE(self)->tp_allocs; -#endif -#endif -} -static PyObject * -__Pyx_Coroutine_get_name(__pyx_CoroutineObject *self, CYTHON_UNUSED void *context) -{ - PyObject *name = self->gi_name; - if (unlikely(!name)) name = Py_None; - Py_INCREF(name); - return name; -} -static int -__Pyx_Coroutine_set_name(__pyx_CoroutineObject *self, PyObject *value, CYTHON_UNUSED void *context) -{ - PyObject *tmp; -#if PY_MAJOR_VERSION >= 3 - if (unlikely(value == NULL || !PyUnicode_Check(value))) -#else - if (unlikely(value == NULL || !PyString_Check(value))) -#endif - { - PyErr_SetString(PyExc_TypeError, - "__name__ must be set to a string object"); - return -1; - } - tmp = self->gi_name; - Py_INCREF(value); - self->gi_name = value; - Py_XDECREF(tmp); - return 0; -} -static PyObject * -__Pyx_Coroutine_get_qualname(__pyx_CoroutineObject *self, CYTHON_UNUSED void *context) -{ - PyObject *name = self->gi_qualname; - if (unlikely(!name)) name = Py_None; - Py_INCREF(name); - return name; -} -static int -__Pyx_Coroutine_set_qualname(__pyx_CoroutineObject *self, PyObject *value, CYTHON_UNUSED void *context) -{ - PyObject *tmp; -#if PY_MAJOR_VERSION >= 3 - if (unlikely(value == NULL || !PyUnicode_Check(value))) -#else - if (unlikely(value == NULL || !PyString_Check(value))) -#endif - { - PyErr_SetString(PyExc_TypeError, - "__qualname__ must be set to a string object"); - return -1; - } - tmp = self->gi_qualname; - Py_INCREF(value); - self->gi_qualname = value; - Py_XDECREF(tmp); - return 0; -} -static __pyx_CoroutineObject *__Pyx__Coroutine_New( - PyTypeObject* type, __pyx_coroutine_body_t body, PyObject *code, PyObject *closure, - PyObject *name, PyObject *qualname, PyObject *module_name) { - __pyx_CoroutineObject *gen = PyObject_GC_New(__pyx_CoroutineObject, type); - if (unlikely(!gen)) - return NULL; - return __Pyx__Coroutine_NewInit(gen, body, code, closure, name, qualname, module_name); -} -static __pyx_CoroutineObject *__Pyx__Coroutine_NewInit( - __pyx_CoroutineObject *gen, __pyx_coroutine_body_t body, PyObject *code, PyObject *closure, - PyObject *name, PyObject *qualname, PyObject *module_name) { - gen->body = body; - gen->closure = closure; - Py_XINCREF(closure); - gen->is_running = 0; - gen->resume_label = 0; - gen->classobj = NULL; - gen->yieldfrom = NULL; - gen->gi_exc_state.exc_type = NULL; - gen->gi_exc_state.exc_value = NULL; - gen->gi_exc_state.exc_traceback = NULL; -#if CYTHON_USE_EXC_INFO_STACK - gen->gi_exc_state.previous_item = NULL; -#endif - gen->gi_weakreflist = NULL; - Py_XINCREF(qualname); - gen->gi_qualname = qualname; - Py_XINCREF(name); - gen->gi_name = name; - Py_XINCREF(module_name); - gen->gi_modulename = module_name; - Py_XINCREF(code); - gen->gi_code = code; - PyObject_GC_Track(gen); - return gen; -} - -/* PatchGeneratorABC */ -#ifndef CYTHON_REGISTER_ABCS -#define CYTHON_REGISTER_ABCS 1 -#endif -#if defined(__Pyx_Generator_USED) || defined(__Pyx_Coroutine_USED) -static PyObject* __Pyx_patch_abc_module(PyObject *module); -static PyObject* __Pyx_patch_abc_module(PyObject *module) { - module = __Pyx_Coroutine_patch_module( - module, "" -"if _cython_generator_type is not None:\n" -" try: Generator = _module.Generator\n" -" except AttributeError: pass\n" -" else: Generator.register(_cython_generator_type)\n" -"if _cython_coroutine_type is not None:\n" -" try: Coroutine = _module.Coroutine\n" -" except AttributeError: pass\n" -" else: Coroutine.register(_cython_coroutine_type)\n" - ); - return module; -} -#endif -static int __Pyx_patch_abc(void) { -#if defined(__Pyx_Generator_USED) || defined(__Pyx_Coroutine_USED) - static int abc_patched = 0; - if (CYTHON_REGISTER_ABCS && !abc_patched) { - PyObject *module; - module = PyImport_ImportModule((PY_MAJOR_VERSION >= 3) ? "collections.abc" : "collections"); - if (!module) { - PyErr_WriteUnraisable(NULL); - if (unlikely(PyErr_WarnEx(PyExc_RuntimeWarning, - ((PY_MAJOR_VERSION >= 3) ? - "Cython module failed to register with collections.abc module" : - "Cython module failed to register with collections module"), 1) < 0)) { - return -1; - } - } else { - module = __Pyx_patch_abc_module(module); - abc_patched = 1; - if (unlikely(!module)) - return -1; - Py_DECREF(module); - } - module = PyImport_ImportModule("backports_abc"); - if (module) { - module = __Pyx_patch_abc_module(module); - Py_XDECREF(module); - } - if (!module) { - PyErr_Clear(); - } - } -#else - if ((0)) __Pyx_Coroutine_patch_module(NULL, NULL); -#endif - return 0; -} - -/* Generator */ -static PyMethodDef __pyx_Generator_methods[] = { - {"send", (PyCFunction) __Pyx_Coroutine_Send, METH_O, - (char*) PyDoc_STR("send(arg) -> send 'arg' into generator,\nreturn next yielded value or raise StopIteration.")}, - {"throw", (PyCFunction) __Pyx_Coroutine_Throw, METH_VARARGS, - (char*) PyDoc_STR("throw(typ[,val[,tb]]) -> raise exception in generator,\nreturn next yielded value or raise StopIteration.")}, - {"close", (PyCFunction) __Pyx_Coroutine_Close_Method, METH_NOARGS, - (char*) PyDoc_STR("close() -> raise GeneratorExit inside generator.")}, - {0, 0, 0, 0} -}; -static PyMemberDef __pyx_Generator_memberlist[] = { - {(char *) "gi_running", T_BOOL, offsetof(__pyx_CoroutineObject, is_running), READONLY, NULL}, - {(char*) "gi_yieldfrom", T_OBJECT, offsetof(__pyx_CoroutineObject, yieldfrom), READONLY, - (char*) PyDoc_STR("object being iterated by 'yield from', or None")}, - {(char*) "gi_code", T_OBJECT, offsetof(__pyx_CoroutineObject, gi_code), READONLY, NULL}, - {0, 0, 0, 0, 0} -}; -static PyGetSetDef __pyx_Generator_getsets[] = { - {(char *) "__name__", (getter)__Pyx_Coroutine_get_name, (setter)__Pyx_Coroutine_set_name, - (char*) PyDoc_STR("name of the generator"), 0}, - {(char *) "__qualname__", (getter)__Pyx_Coroutine_get_qualname, (setter)__Pyx_Coroutine_set_qualname, - (char*) PyDoc_STR("qualified name of the generator"), 0}, - {0, 0, 0, 0, 0} -}; -static PyTypeObject __pyx_GeneratorType_type = { - PyVarObject_HEAD_INIT(0, 0) - "generator", - sizeof(__pyx_CoroutineObject), - 0, - (destructor) __Pyx_Coroutine_dealloc, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_HAVE_FINALIZE, - 0, - (traverseproc) __Pyx_Coroutine_traverse, - 0, - 0, - offsetof(__pyx_CoroutineObject, gi_weakreflist), - 0, - (iternextfunc) __Pyx_Generator_Next, - __pyx_Generator_methods, - __pyx_Generator_memberlist, - __pyx_Generator_getsets, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, -#if CYTHON_USE_TP_FINALIZE - 0, -#else - __Pyx_Coroutine_del, -#endif - 0, -#if CYTHON_USE_TP_FINALIZE - __Pyx_Coroutine_del, -#elif PY_VERSION_HEX >= 0x030400a1 - 0, -#endif -#if PY_VERSION_HEX >= 0x030800b1 - 0, -#endif -#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000 - 0, -#endif -}; -static int __pyx_Generator_init(void) { - __pyx_GeneratorType_type.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict; - __pyx_GeneratorType_type.tp_iter = PyObject_SelfIter; - __pyx_GeneratorType = __Pyx_FetchCommonType(&__pyx_GeneratorType_type); - if (unlikely(!__pyx_GeneratorType)) { - return -1; - } - return 0; -} - /* CheckBinaryVersion */ static int __Pyx_check_binary_version(void) { char ctversion[4], rtversion[4]; diff --git a/src/dependency_injector/containers.pyx b/src/dependency_injector/containers.pyx index 18f59678..f0794c38 100644 --- a/src/dependency_injector/containers.pyx +++ b/src/dependency_injector/containers.pyx @@ -284,34 +284,33 @@ class DeclarativeContainerMetaClass(type): def __new__(type mcs, str class_name, tuple bases, dict attributes): """Declarative container class factory.""" - cdef tuple cls_providers - cdef tuple inherited_providers - cdef type cls - - containers = tuple( - (name, container) + containers = { + name: container for name, container in six.iteritems(attributes) if is_container(container) - ) + } - attributes['containers'] = dict(containers) - - cls_providers = tuple( - (name, provider) + cls_providers = { + name: provider for name, provider in six.iteritems(attributes) if isinstance(provider, Provider) - ) + } - inherited_providers = tuple( - (name, provider) + inherited_providers = { + name: provider for base in bases if is_container(base) and base is not DynamicContainer for name, provider in six.iteritems(base.providers) - ) + } - attributes['cls_providers'] = dict(cls_providers) - attributes['inherited_providers'] = dict(inherited_providers) - attributes['providers'] = dict(cls_providers + inherited_providers) + providers = {} + providers.update(inherited_providers) + providers.update(cls_providers) + + attributes['containers'] = containers + attributes['inherited_providers'] = inherited_providers + attributes['cls_providers'] = cls_providers + attributes['providers'] = providers cls = type.__new__(mcs, class_name, bases, attributes) diff --git a/src/dependency_injector/providers.c b/src/dependency_injector/providers.c index 4e59fa5d..3de28c73 100644 --- a/src/dependency_injector/providers.c +++ b/src/dependency_injector/providers.c @@ -2214,244 +2214,6 @@ static int __Pyx_ParseOptionalKeywords(PyObject *kwds, PyObject **argnames[],\ PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args,\ const char* function_name); -/* PyThreadStateGet.proto */ -#if CYTHON_FAST_THREAD_STATE -#define __Pyx_PyThreadState_declare PyThreadState *__pyx_tstate; -#define __Pyx_PyThreadState_assign __pyx_tstate = __Pyx_PyThreadState_Current; -#define __Pyx_PyErr_Occurred() __pyx_tstate->curexc_type -#else -#define __Pyx_PyThreadState_declare -#define __Pyx_PyThreadState_assign -#define __Pyx_PyErr_Occurred() PyErr_Occurred() -#endif - -/* PyErrFetchRestore.proto */ -#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) -#define __Pyx_ErrFetchWithState(type, value, tb) __Pyx_ErrFetchInState(PyThreadState_GET(), type, value, tb) -#define __Pyx_ErrRestore(type, value, tb) __Pyx_ErrRestoreInState(__pyx_tstate, type, value, tb) -#define __Pyx_ErrFetch(type, value, tb) __Pyx_ErrFetchInState(__pyx_tstate, type, value, tb) -static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb); -static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb); -#if CYTHON_COMPILING_IN_CPYTHON -#define __Pyx_PyErr_SetNone(exc) (Py_INCREF(exc), __Pyx_ErrRestore((exc), NULL, NULL)) -#else -#define __Pyx_PyErr_SetNone(exc) PyErr_SetNone(exc) -#endif -#else -#define __Pyx_PyErr_Clear() PyErr_Clear() -#define __Pyx_PyErr_SetNone(exc) PyErr_SetNone(exc) -#define __Pyx_ErrRestoreWithState(type, value, tb) PyErr_Restore(type, value, tb) -#define __Pyx_ErrFetchWithState(type, value, tb) PyErr_Fetch(type, value, tb) -#define __Pyx_ErrRestoreInState(tstate, type, value, tb) PyErr_Restore(type, value, tb) -#define __Pyx_ErrFetchInState(tstate, type, value, tb) PyErr_Fetch(type, value, tb) -#define __Pyx_ErrRestore(type, value, tb) PyErr_Restore(type, value, tb) -#define __Pyx_ErrFetch(type, value, tb) PyErr_Fetch(type, value, tb) -#endif - -/* Profile.proto */ -#ifndef CYTHON_PROFILE -#if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_PYSTON - #define CYTHON_PROFILE 0 -#else - #define CYTHON_PROFILE 1 -#endif -#endif -#ifndef CYTHON_TRACE_NOGIL - #define CYTHON_TRACE_NOGIL 0 -#else - #if CYTHON_TRACE_NOGIL && !defined(CYTHON_TRACE) - #define CYTHON_TRACE 1 - #endif -#endif -#ifndef CYTHON_TRACE - #define CYTHON_TRACE 0 -#endif -#if CYTHON_TRACE - #undef CYTHON_PROFILE_REUSE_FRAME -#endif -#ifndef CYTHON_PROFILE_REUSE_FRAME - #define CYTHON_PROFILE_REUSE_FRAME 0 -#endif -#if CYTHON_PROFILE || CYTHON_TRACE - #include "compile.h" - #include "frameobject.h" - #include "traceback.h" - #if CYTHON_PROFILE_REUSE_FRAME - #define CYTHON_FRAME_MODIFIER static - #define CYTHON_FRAME_DEL(frame) - #else - #define CYTHON_FRAME_MODIFIER - #define CYTHON_FRAME_DEL(frame) Py_CLEAR(frame) - #endif - #define __Pyx_TraceDeclarations\ - static PyCodeObject *__pyx_frame_code = NULL;\ - CYTHON_FRAME_MODIFIER PyFrameObject *__pyx_frame = NULL;\ - int __Pyx_use_tracing = 0; - #define __Pyx_TraceFrameInit(codeobj)\ - if (codeobj) __pyx_frame_code = (PyCodeObject*) codeobj; - #ifdef WITH_THREAD - #define __Pyx_TraceCall(funcname, srcfile, firstlineno, nogil, goto_error)\ - if (nogil) {\ - if (CYTHON_TRACE_NOGIL) {\ - PyThreadState *tstate;\ - PyGILState_STATE state = PyGILState_Ensure();\ - tstate = __Pyx_PyThreadState_Current;\ - if (unlikely(tstate->use_tracing) && !tstate->tracing &&\ - (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\ - __Pyx_use_tracing = __Pyx_TraceSetupAndCall(&__pyx_frame_code, &__pyx_frame, tstate, funcname, srcfile, firstlineno);\ - }\ - PyGILState_Release(state);\ - if (unlikely(__Pyx_use_tracing < 0)) goto_error;\ - }\ - } else {\ - PyThreadState* tstate = PyThreadState_GET();\ - if (unlikely(tstate->use_tracing) && !tstate->tracing &&\ - (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\ - __Pyx_use_tracing = __Pyx_TraceSetupAndCall(&__pyx_frame_code, &__pyx_frame, tstate, funcname, srcfile, firstlineno);\ - if (unlikely(__Pyx_use_tracing < 0)) goto_error;\ - }\ - } - #else - #define __Pyx_TraceCall(funcname, srcfile, firstlineno, nogil, goto_error)\ - { PyThreadState* tstate = PyThreadState_GET();\ - if (unlikely(tstate->use_tracing) && !tstate->tracing &&\ - (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\ - __Pyx_use_tracing = __Pyx_TraceSetupAndCall(&__pyx_frame_code, &__pyx_frame, tstate, funcname, srcfile, firstlineno);\ - if (unlikely(__Pyx_use_tracing < 0)) goto_error;\ - }\ - } - #endif - #define __Pyx_TraceException()\ - if (likely(!__Pyx_use_tracing)); else {\ - PyThreadState* tstate = __Pyx_PyThreadState_Current;\ - if (tstate->use_tracing &&\ - (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))) {\ - tstate->tracing++;\ - tstate->use_tracing = 0;\ - PyObject *exc_info = __Pyx_GetExceptionTuple(tstate);\ - if (exc_info) {\ - if (CYTHON_TRACE && tstate->c_tracefunc)\ - tstate->c_tracefunc(\ - tstate->c_traceobj, __pyx_frame, PyTrace_EXCEPTION, exc_info);\ - tstate->c_profilefunc(\ - tstate->c_profileobj, __pyx_frame, PyTrace_EXCEPTION, exc_info);\ - Py_DECREF(exc_info);\ - }\ - tstate->use_tracing = 1;\ - tstate->tracing--;\ - }\ - } - static void __Pyx_call_return_trace_func(PyThreadState *tstate, PyFrameObject *frame, PyObject *result) { - PyObject *type, *value, *traceback; - __Pyx_ErrFetchInState(tstate, &type, &value, &traceback); - tstate->tracing++; - tstate->use_tracing = 0; - if (CYTHON_TRACE && tstate->c_tracefunc) - tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_RETURN, result); - if (tstate->c_profilefunc) - tstate->c_profilefunc(tstate->c_profileobj, frame, PyTrace_RETURN, result); - CYTHON_FRAME_DEL(frame); - tstate->use_tracing = 1; - tstate->tracing--; - __Pyx_ErrRestoreInState(tstate, type, value, traceback); - } - #ifdef WITH_THREAD - #define __Pyx_TraceReturn(result, nogil)\ - if (likely(!__Pyx_use_tracing)); else {\ - if (nogil) {\ - if (CYTHON_TRACE_NOGIL) {\ - PyThreadState *tstate;\ - PyGILState_STATE state = PyGILState_Ensure();\ - tstate = __Pyx_PyThreadState_Current;\ - if (tstate->use_tracing) {\ - __Pyx_call_return_trace_func(tstate, __pyx_frame, (PyObject*)result);\ - }\ - PyGILState_Release(state);\ - }\ - } else {\ - PyThreadState* tstate = __Pyx_PyThreadState_Current;\ - if (tstate->use_tracing) {\ - __Pyx_call_return_trace_func(tstate, __pyx_frame, (PyObject*)result);\ - }\ - }\ - } - #else - #define __Pyx_TraceReturn(result, nogil)\ - if (likely(!__Pyx_use_tracing)); else {\ - PyThreadState* tstate = __Pyx_PyThreadState_Current;\ - if (tstate->use_tracing) {\ - __Pyx_call_return_trace_func(tstate, __pyx_frame, (PyObject*)result);\ - }\ - } - #endif - static PyCodeObject *__Pyx_createFrameCodeObject(const char *funcname, const char *srcfile, int firstlineno); - static int __Pyx_TraceSetupAndCall(PyCodeObject** code, PyFrameObject** frame, PyThreadState* tstate, const char *funcname, const char *srcfile, int firstlineno); -#else - #define __Pyx_TraceDeclarations - #define __Pyx_TraceFrameInit(codeobj) - #define __Pyx_TraceCall(funcname, srcfile, firstlineno, nogil, goto_error) if ((1)); else goto_error; - #define __Pyx_TraceException() - #define __Pyx_TraceReturn(result, nogil) -#endif -#if CYTHON_TRACE - static int __Pyx_call_line_trace_func(PyThreadState *tstate, PyFrameObject *frame, int lineno) { - int ret; - PyObject *type, *value, *traceback; - __Pyx_ErrFetchInState(tstate, &type, &value, &traceback); - __Pyx_PyFrame_SetLineNumber(frame, lineno); - tstate->tracing++; - tstate->use_tracing = 0; - ret = tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_LINE, NULL); - tstate->use_tracing = 1; - tstate->tracing--; - if (likely(!ret)) { - __Pyx_ErrRestoreInState(tstate, type, value, traceback); - } else { - Py_XDECREF(type); - Py_XDECREF(value); - Py_XDECREF(traceback); - } - return ret; - } - #ifdef WITH_THREAD - #define __Pyx_TraceLine(lineno, nogil, goto_error)\ - if (likely(!__Pyx_use_tracing)); else {\ - if (nogil) {\ - if (CYTHON_TRACE_NOGIL) {\ - int ret = 0;\ - PyThreadState *tstate;\ - PyGILState_STATE state = PyGILState_Ensure();\ - tstate = __Pyx_PyThreadState_Current;\ - if (unlikely(tstate->use_tracing && tstate->c_tracefunc && __pyx_frame->f_trace)) {\ - ret = __Pyx_call_line_trace_func(tstate, __pyx_frame, lineno);\ - }\ - PyGILState_Release(state);\ - if (unlikely(ret)) goto_error;\ - }\ - } else {\ - PyThreadState* tstate = __Pyx_PyThreadState_Current;\ - if (unlikely(tstate->use_tracing && tstate->c_tracefunc && __pyx_frame->f_trace)) {\ - int ret = __Pyx_call_line_trace_func(tstate, __pyx_frame, lineno);\ - if (unlikely(ret)) goto_error;\ - }\ - }\ - } - #else - #define __Pyx_TraceLine(lineno, nogil, goto_error)\ - if (likely(!__Pyx_use_tracing)); else {\ - PyThreadState* tstate = __Pyx_PyThreadState_Current;\ - if (unlikely(tstate->use_tracing && tstate->c_tracefunc && __pyx_frame->f_trace)) {\ - int ret = __Pyx_call_line_trace_func(tstate, __pyx_frame, lineno);\ - if (unlikely(ret)) goto_error;\ - }\ - } - #endif -#else - #define __Pyx_TraceLine(lineno, nogil, goto_error) if ((1)); else goto_error; -#endif - /* PyDictVersioning.proto */ #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_TYPE_SLOTS #define __PYX_DICT_VERSION_INIT ((PY_UINT64_T) -1) @@ -2585,6 +2347,17 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_LookupSpecial(PyObject* obj, PyObj static _PyErr_StackItem * __Pyx_PyErr_GetTopmostException(PyThreadState *tstate); #endif +/* PyThreadStateGet.proto */ +#if CYTHON_FAST_THREAD_STATE +#define __Pyx_PyThreadState_declare PyThreadState *__pyx_tstate; +#define __Pyx_PyThreadState_assign __pyx_tstate = __Pyx_PyThreadState_Current; +#define __Pyx_PyErr_Occurred() __pyx_tstate->curexc_type +#else +#define __Pyx_PyThreadState_declare +#define __Pyx_PyThreadState_assign +#define __Pyx_PyErr_Occurred() PyErr_Occurred() +#endif + /* SaveResetException.proto */ #if CYTHON_FAST_THREAD_STATE #define __Pyx_ExceptionSave(type, value, tb) __Pyx__ExceptionSave(__pyx_tstate, type, value, tb) @@ -2604,6 +2377,31 @@ static int __Pyx__GetException(PyThreadState *tstate, PyObject **type, PyObject static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb); #endif +/* PyErrFetchRestore.proto */ +#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) +#define __Pyx_ErrFetchWithState(type, value, tb) __Pyx_ErrFetchInState(PyThreadState_GET(), type, value, tb) +#define __Pyx_ErrRestore(type, value, tb) __Pyx_ErrRestoreInState(__pyx_tstate, type, value, tb) +#define __Pyx_ErrFetch(type, value, tb) __Pyx_ErrFetchInState(__pyx_tstate, type, value, tb) +static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb); +static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb); +#if CYTHON_COMPILING_IN_CPYTHON +#define __Pyx_PyErr_SetNone(exc) (Py_INCREF(exc), __Pyx_ErrRestore((exc), NULL, NULL)) +#else +#define __Pyx_PyErr_SetNone(exc) PyErr_SetNone(exc) +#endif +#else +#define __Pyx_PyErr_Clear() PyErr_Clear() +#define __Pyx_PyErr_SetNone(exc) PyErr_SetNone(exc) +#define __Pyx_ErrRestoreWithState(type, value, tb) PyErr_Restore(type, value, tb) +#define __Pyx_ErrFetchWithState(type, value, tb) PyErr_Fetch(type, value, tb) +#define __Pyx_ErrRestoreInState(tstate, type, value, tb) PyErr_Restore(type, value, tb) +#define __Pyx_ErrFetchInState(tstate, type, value, tb) PyErr_Fetch(type, value, tb) +#define __Pyx_ErrRestore(type, value, tb) PyErr_Restore(type, value, tb) +#define __Pyx_ErrFetch(type, value, tb) PyErr_Fetch(type, value, tb) +#endif + /* None.proto */ static CYTHON_INLINE void __Pyx_RaiseUnboundLocalError(const char *varname); @@ -3406,20 +3204,20 @@ static PyObject *__pyx_builtin_ValueError; static PyObject *__pyx_builtin_KeyError; static PyObject *__pyx_builtin_StopIteration; static PyObject *__pyx_builtin_hex; -static const char __pyx_k__5[] = "_"; -static const char __pyx_k__9[] = "__"; +static const char __pyx_k__2[] = "_"; +static const char __pyx_k__5[] = "__"; +static const char __pyx_k__6[] = "."; static const char __pyx_k_id[] = "id"; static const char __pyx_k_os[] = "os"; static const char __pyx_k_re[] = "re"; static const char __pyx_k_0_1[] = "{0}={1}"; -static const char __pyx_k__10[] = "."; -static const char __pyx_k__25[] = "("; -static const char __pyx_k__26[] = ")"; -static const char __pyx_k__29[] = ""; -static const char __pyx_k__31[] = ", "; -static const char __pyx_k__32[] = "('"; -static const char __pyx_k__33[] = "')"; -static const char __pyx_k__95[] = "\\$\\{([^}^{]+)\\}"; +static const char __pyx_k__21[] = "("; +static const char __pyx_k__22[] = ")"; +static const char __pyx_k__24[] = ""; +static const char __pyx_k__25[] = ", "; +static const char __pyx_k__26[] = "('"; +static const char __pyx_k__27[] = "')"; +static const char __pyx_k__43[] = "\\$\\{([^}^{]+)\\}"; static const char __pyx_k_cls[] = "cls"; static const char __pyx_k_doc[] = "__doc__"; static const char __pyx_k_get[] = "get"; @@ -3979,16 +3777,16 @@ static PyObject *__pyx_kp_s_Undefined_configuration_option_0; static PyObject *__pyx_kp_s_Unknown_type_of_resource_initial; static PyObject *__pyx_n_s_ValueError; static PyObject *__pyx_n_s_YamlLoader; -static PyObject *__pyx_kp_s__10; -static PyObject *__pyx_kp_u__25; +static PyObject *__pyx_n_s__2; +static PyObject *__pyx_kp_u__21; +static PyObject *__pyx_kp_u__22; +static PyObject *__pyx_n_s__24; +static PyObject *__pyx_kp_s__25; static PyObject *__pyx_kp_u__26; -static PyObject *__pyx_n_s__29; -static PyObject *__pyx_kp_s__31; -static PyObject *__pyx_kp_u__32; -static PyObject *__pyx_kp_u__33; +static PyObject *__pyx_kp_u__27; +static PyObject *__pyx_kp_s__43; static PyObject *__pyx_n_s__5; -static PyObject *__pyx_n_s__9; -static PyObject *__pyx_kp_s__95; +static PyObject *__pyx_kp_s__6; static PyObject *__pyx_n_s_add_args; static PyObject *__pyx_n_s_add_attributes; static PyObject *__pyx_n_s_add_constructor; @@ -4795,144 +4593,144 @@ static PyObject *__pyx_int_240604463; static PyObject *__pyx_int_265687189; static PyObject *__pyx_int_267092376; static PyObject *__pyx_int_267861151; +static PyObject *__pyx_k__4; static PyObject *__pyx_k__8; +static PyObject *__pyx_k__9; +static PyObject *__pyx_k__10; static PyObject *__pyx_k__12; static PyObject *__pyx_k__13; static PyObject *__pyx_k__14; +static PyObject *__pyx_k__15; static PyObject *__pyx_k__16; static PyObject *__pyx_k__17; static PyObject *__pyx_k__18; static PyObject *__pyx_k__19; -static PyObject *__pyx_k__20; -static PyObject *__pyx_k__21; -static PyObject *__pyx_k__22; -static PyObject *__pyx_k__23; -static PyObject *__pyx_codeobj_; +static PyObject *__pyx_tuple_; static PyObject *__pyx_tuple__3; static PyObject *__pyx_tuple__7; static PyObject *__pyx_tuple__11; -static PyObject *__pyx_tuple__15; -static PyObject *__pyx_tuple__24; +static PyObject *__pyx_tuple__20; +static PyObject *__pyx_tuple__23; static PyObject *__pyx_tuple__28; +static PyObject *__pyx_tuple__30; +static PyObject *__pyx_tuple__32; +static PyObject *__pyx_tuple__34; +static PyObject *__pyx_tuple__36; +static PyObject *__pyx_tuple__37; +static PyObject *__pyx_tuple__39; +static PyObject *__pyx_tuple__41; +static PyObject *__pyx_tuple__44; +static PyObject *__pyx_tuple__45; +static PyObject *__pyx_tuple__47; +static PyObject *__pyx_tuple__49; +static PyObject *__pyx_tuple__51; +static PyObject *__pyx_tuple__53; +static PyObject *__pyx_tuple__55; +static PyObject *__pyx_tuple__57; +static PyObject *__pyx_tuple__59; +static PyObject *__pyx_tuple__61; +static PyObject *__pyx_tuple__63; +static PyObject *__pyx_tuple__65; +static PyObject *__pyx_tuple__67; +static PyObject *__pyx_tuple__69; +static PyObject *__pyx_tuple__71; +static PyObject *__pyx_tuple__73; +static PyObject *__pyx_tuple__75; +static PyObject *__pyx_tuple__77; +static PyObject *__pyx_tuple__79; +static PyObject *__pyx_tuple__81; static PyObject *__pyx_tuple__83; static PyObject *__pyx_tuple__85; static PyObject *__pyx_tuple__87; static PyObject *__pyx_tuple__89; static PyObject *__pyx_tuple__91; -static PyObject *__pyx_tuple__92; static PyObject *__pyx_tuple__93; -static PyObject *__pyx_tuple__94; -static PyObject *__pyx_tuple__96; +static PyObject *__pyx_tuple__95; static PyObject *__pyx_tuple__97; -static PyObject *__pyx_tuple__98; static PyObject *__pyx_tuple__99; -static PyObject *__pyx_codeobj__2; -static PyObject *__pyx_codeobj__4; -static PyObject *__pyx_codeobj__6; -static PyObject *__pyx_tuple__100; static PyObject *__pyx_tuple__101; -static PyObject *__pyx_tuple__102; static PyObject *__pyx_tuple__103; -static PyObject *__pyx_tuple__104; static PyObject *__pyx_tuple__105; -static PyObject *__pyx_tuple__106; static PyObject *__pyx_tuple__107; -static PyObject *__pyx_tuple__108; static PyObject *__pyx_tuple__109; -static PyObject *__pyx_tuple__110; static PyObject *__pyx_tuple__111; -static PyObject *__pyx_tuple__112; static PyObject *__pyx_tuple__113; -static PyObject *__pyx_tuple__114; static PyObject *__pyx_tuple__115; -static PyObject *__pyx_tuple__116; static PyObject *__pyx_tuple__117; -static PyObject *__pyx_tuple__118; static PyObject *__pyx_tuple__119; -static PyObject *__pyx_tuple__120; static PyObject *__pyx_tuple__121; -static PyObject *__pyx_tuple__122; static PyObject *__pyx_tuple__123; -static PyObject *__pyx_tuple__124; static PyObject *__pyx_tuple__125; -static PyObject *__pyx_tuple__126; static PyObject *__pyx_tuple__127; -static PyObject *__pyx_tuple__128; static PyObject *__pyx_tuple__129; -static PyObject *__pyx_tuple__130; static PyObject *__pyx_tuple__131; -static PyObject *__pyx_tuple__132; static PyObject *__pyx_tuple__133; -static PyObject *__pyx_tuple__134; static PyObject *__pyx_tuple__135; -static PyObject *__pyx_tuple__136; static PyObject *__pyx_tuple__137; -static PyObject *__pyx_tuple__138; static PyObject *__pyx_tuple__139; -static PyObject *__pyx_tuple__140; static PyObject *__pyx_tuple__141; -static PyObject *__pyx_tuple__142; static PyObject *__pyx_tuple__143; -static PyObject *__pyx_tuple__144; static PyObject *__pyx_tuple__145; -static PyObject *__pyx_tuple__146; static PyObject *__pyx_tuple__147; -static PyObject *__pyx_tuple__148; -static PyObject *__pyx_codeobj__27; -static PyObject *__pyx_codeobj__30; -static PyObject *__pyx_codeobj__34; +static PyObject *__pyx_codeobj__29; +static PyObject *__pyx_codeobj__31; +static PyObject *__pyx_codeobj__33; static PyObject *__pyx_codeobj__35; -static PyObject *__pyx_codeobj__36; -static PyObject *__pyx_codeobj__37; static PyObject *__pyx_codeobj__38; -static PyObject *__pyx_codeobj__39; static PyObject *__pyx_codeobj__40; -static PyObject *__pyx_codeobj__41; static PyObject *__pyx_codeobj__42; -static PyObject *__pyx_codeobj__43; -static PyObject *__pyx_codeobj__44; -static PyObject *__pyx_codeobj__45; static PyObject *__pyx_codeobj__46; -static PyObject *__pyx_codeobj__47; static PyObject *__pyx_codeobj__48; -static PyObject *__pyx_codeobj__49; static PyObject *__pyx_codeobj__50; -static PyObject *__pyx_codeobj__51; static PyObject *__pyx_codeobj__52; -static PyObject *__pyx_codeobj__53; static PyObject *__pyx_codeobj__54; -static PyObject *__pyx_codeobj__55; static PyObject *__pyx_codeobj__56; -static PyObject *__pyx_codeobj__57; static PyObject *__pyx_codeobj__58; -static PyObject *__pyx_codeobj__59; static PyObject *__pyx_codeobj__60; -static PyObject *__pyx_codeobj__61; static PyObject *__pyx_codeobj__62; -static PyObject *__pyx_codeobj__63; static PyObject *__pyx_codeobj__64; -static PyObject *__pyx_codeobj__65; static PyObject *__pyx_codeobj__66; -static PyObject *__pyx_codeobj__67; static PyObject *__pyx_codeobj__68; -static PyObject *__pyx_codeobj__69; static PyObject *__pyx_codeobj__70; -static PyObject *__pyx_codeobj__71; static PyObject *__pyx_codeobj__72; -static PyObject *__pyx_codeobj__73; static PyObject *__pyx_codeobj__74; -static PyObject *__pyx_codeobj__75; static PyObject *__pyx_codeobj__76; -static PyObject *__pyx_codeobj__77; static PyObject *__pyx_codeobj__78; -static PyObject *__pyx_codeobj__79; static PyObject *__pyx_codeobj__80; -static PyObject *__pyx_codeobj__81; static PyObject *__pyx_codeobj__82; static PyObject *__pyx_codeobj__84; static PyObject *__pyx_codeobj__86; static PyObject *__pyx_codeobj__88; static PyObject *__pyx_codeobj__90; +static PyObject *__pyx_codeobj__92; +static PyObject *__pyx_codeobj__94; +static PyObject *__pyx_codeobj__96; +static PyObject *__pyx_codeobj__98; +static PyObject *__pyx_codeobj__100; +static PyObject *__pyx_codeobj__102; +static PyObject *__pyx_codeobj__104; +static PyObject *__pyx_codeobj__106; +static PyObject *__pyx_codeobj__108; +static PyObject *__pyx_codeobj__110; +static PyObject *__pyx_codeobj__112; +static PyObject *__pyx_codeobj__114; +static PyObject *__pyx_codeobj__116; +static PyObject *__pyx_codeobj__118; +static PyObject *__pyx_codeobj__120; +static PyObject *__pyx_codeobj__122; +static PyObject *__pyx_codeobj__124; +static PyObject *__pyx_codeobj__126; +static PyObject *__pyx_codeobj__128; +static PyObject *__pyx_codeobj__130; +static PyObject *__pyx_codeobj__132; +static PyObject *__pyx_codeobj__134; +static PyObject *__pyx_codeobj__136; +static PyObject *__pyx_codeobj__138; +static PyObject *__pyx_codeobj__140; +static PyObject *__pyx_codeobj__142; +static PyObject *__pyx_codeobj__144; +static PyObject *__pyx_codeobj__146; +static PyObject *__pyx_codeobj__148; /* Late includes */ /* "dependency_injector/providers.pyx":52 @@ -5010,7 +4808,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_30lambda(PyObject *__ static PyObject *__pyx_lambda_funcdef_19dependency_injector_9providers_lambda(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_obj, PyObject *__pyx_v_memo) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -5024,7 +4821,6 @@ static PyObject *__pyx_lambda_funcdef_19dependency_injector_9providers_lambda(CY const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("lambda", 0); - __Pyx_TraceCall("lambda", __pyx_f[1], 52, 0, __PYX_ERR(1, 52, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_obj, __pyx_n_s_im_func); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 52, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -5036,7 +4832,6 @@ static PyObject *__pyx_lambda_funcdef_19dependency_injector_9providers_lambda(CY * obj.im_class) * */ - __Pyx_TraceLine(53,0,__PYX_ERR(1, 53, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_copy); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 53, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_deepcopy); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 53, __pyx_L1_error) @@ -5099,7 +4894,6 @@ static PyObject *__pyx_lambda_funcdef_19dependency_injector_9providers_lambda(CY * * */ - __Pyx_TraceLine(54,0,__PYX_ERR(1, 54, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_obj, __pyx_n_s_im_class); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 54, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_obj))); @@ -5182,7 +4976,6 @@ static PyObject *__pyx_lambda_funcdef_19dependency_injector_9providers_lambda(CY __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -5306,7 +5099,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16EnvInterpolation_1b static PyObject *__pyx_pf_19dependency_injector_9providers_16EnvInterpolation_before_get(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_parser, PyObject *__pyx_v_section, PyObject *__pyx_v_option, PyObject *__pyx_v_value, PyObject *__pyx_v_defaults) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -5316,9 +5108,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16EnvInterpolation_be int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj_) __Pyx_RefNannySetupContext("before_get", 0); - __Pyx_TraceCall("before_get", __pyx_f[1], 61, 0, __PYX_ERR(1, 61, __pyx_L1_error)); __Pyx_INCREF(__pyx_v_value); /* "dependency_injector/providers.pyx":62 @@ -5328,7 +5118,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16EnvInterpolation_be * return os.path.expandvars(value) * */ - __Pyx_TraceLine(62,0,__PYX_ERR(1, 62, __pyx_L1_error)) __pyx_t_2 = __Pyx_CyFunction_GetClassObj(__pyx_self); if (!__pyx_t_2) { PyErr_SetString(PyExc_SystemError, "super(): empty __class__ cell"); __PYX_ERR(1, 62, __pyx_L1_error) } __Pyx_INCREF(__pyx_t_2); @@ -5410,7 +5199,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16EnvInterpolation_be * * def _parse_ini_file(filepath): */ - __Pyx_TraceLine(63,0,__PYX_ERR(1, 63, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_os); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 63, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -5458,7 +5246,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16EnvInterpolation_be __pyx_L0:; __Pyx_XDECREF(__pyx_v_value); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -5489,7 +5276,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers__parse_ini_file(CYTHO PyObject *__pyx_v_parser = NULL; PyObject *__pyx_v_config_file = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -5506,9 +5292,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers__parse_ini_file(CYTHO int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__2) __Pyx_RefNannySetupContext("_parse_ini_file", 0); - __Pyx_TraceCall("_parse_ini_file", __pyx_f[1], 65, 0, __PYX_ERR(1, 65, __pyx_L1_error)); /* "dependency_injector/providers.pyx":66 * @@ -5517,7 +5301,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers__parse_ini_file(CYTHO * with open(filepath) as config_file: * parser.read_file(config_file) */ - __Pyx_TraceLine(66,0,__PYX_ERR(1, 66, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_iniconfigparser); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 66, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_ConfigParser); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 66, __pyx_L1_error) @@ -5558,7 +5341,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers__parse_ini_file(CYTHO * parser.read_file(config_file) * return parser */ - __Pyx_TraceLine(67,0,__PYX_ERR(1, 67, __pyx_L1_error)) /*with:*/ { __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_open, __pyx_v_filepath); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 67, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -5603,7 +5385,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers__parse_ini_file(CYTHO * return parser * else: */ - __Pyx_TraceLine(68,0,__PYX_ERR(1, 68, __pyx_L7_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_parser, __pyx_n_s_read_file); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 68, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_1 = NULL; @@ -5688,7 +5469,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers__parse_ini_file(CYTHO /*finally:*/ { /*normal exit:*/{ if (__pyx_t_6) { - __pyx_t_9 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_tuple__3, NULL); + __pyx_t_9 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_tuple_, NULL); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 67, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); @@ -5712,7 +5493,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers__parse_ini_file(CYTHO * else: * import StringIO */ - __Pyx_TraceLine(69,0,__PYX_ERR(1, 69, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_parser); __pyx_r = __pyx_v_parser; @@ -5739,7 +5519,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers__parse_ini_file(CYTHO __Pyx_XDECREF(__pyx_v_parser); __Pyx_XDECREF(__pyx_v_config_file); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -5771,7 +5550,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_2_parse_ini_file(CYTH PyObject *__pyx_v_config_file = NULL; PyObject *__pyx_v_config_string = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -5788,9 +5566,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_2_parse_ini_file(CYTH int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__4) __Pyx_RefNannySetupContext("_parse_ini_file", 0); - __Pyx_TraceCall("_parse_ini_file", __pyx_f[1], 73, 0, __PYX_ERR(1, 73, __pyx_L1_error)); /* "dependency_injector/providers.pyx":74 * @@ -5799,7 +5575,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_2_parse_ini_file(CYTH * with open(filepath) as config_file: * config_string = os.path.expandvars(config_file.read()) */ - __Pyx_TraceLine(74,0,__PYX_ERR(1, 74, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_iniconfigparser); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 74, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_ConfigParser); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 74, __pyx_L1_error) @@ -5830,7 +5605,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_2_parse_ini_file(CYTH * config_string = os.path.expandvars(config_file.read()) * parser.readfp(StringIO.StringIO(config_string)) */ - __Pyx_TraceLine(75,0,__PYX_ERR(1, 75, __pyx_L1_error)) /*with:*/ { __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_builtin_open, __pyx_v_filepath); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 75, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -5875,7 +5649,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_2_parse_ini_file(CYTH * parser.readfp(StringIO.StringIO(config_string)) * return parser */ - __Pyx_TraceLine(76,0,__PYX_ERR(1, 76, __pyx_L7_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_os); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 76, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_path); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 76, __pyx_L7_error) @@ -5985,7 +5758,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_2_parse_ini_file(CYTH /*finally:*/ { /*normal exit:*/{ if (__pyx_t_4) { - __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_tuple__3, NULL); + __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_tuple_, NULL); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 75, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); @@ -6009,7 +5782,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_2_parse_ini_file(CYTH * return parser * */ - __Pyx_TraceLine(77,0,__PYX_ERR(1, 77, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_parser, __pyx_n_s_readfp); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 77, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_StringIO); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 77, __pyx_L1_error) @@ -6058,7 +5830,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_2_parse_ini_file(CYTH * * */ - __Pyx_TraceLine(78,0,__PYX_ERR(1, 78, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_parser); __pyx_r = __pyx_v_parser; @@ -6086,7 +5857,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_2_parse_ini_file(CYTH __Pyx_XDECREF(__pyx_v_config_file); __Pyx_XDECREF(__pyx_v_config_string); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6113,7 +5883,7 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_5yaml_env_marker_cons __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("yaml_env_marker_constructor (wrapper)", 0); { - static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__5,&__pyx_n_s_node,0}; + static PyObject **__pyx_pyargnames[] = {&__pyx_n_s__2,&__pyx_n_s_node,0}; PyObject* values[2] = {0,0}; if (unlikely(__pyx_kwds)) { Py_ssize_t kw_args; @@ -6129,7 +5899,7 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_5yaml_env_marker_cons kw_args = PyDict_Size(__pyx_kwds); switch (pos_args) { case 0: - if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s__5)) != 0)) kw_args--; + if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s__2)) != 0)) kw_args--; else goto __pyx_L5_argtuple_error; CYTHON_FALLTHROUGH; case 1: @@ -6167,7 +5937,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_5yaml_env_marker_cons static PyObject *__pyx_pf_19dependency_injector_9providers_4yaml_env_marker_constructor(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v__, PyObject *__pyx_v_node) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -6176,9 +5945,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4yaml_env_marker_cons int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__6) __Pyx_RefNannySetupContext("yaml_env_marker_constructor", 0); - __Pyx_TraceCall("yaml_env_marker_constructor", __pyx_f[1], 84, 0, __PYX_ERR(1, 84, __pyx_L1_error)); /* "dependency_injector/providers.pyx":86 * def yaml_env_marker_constructor(_, node): @@ -6187,7 +5954,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4yaml_env_marker_cons * * yaml.add_implicit_resolver('!path', yaml_env_marker_pattern) */ - __Pyx_TraceLine(86,0,__PYX_ERR(1, 86, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_os); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 86, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -6237,7 +6003,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4yaml_env_marker_cons __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6272,7 +6037,6 @@ static int __pyx_pw_19dependency_injector_9providers_8Provider_1__init__(PyObjec static int __pyx_pf_19dependency_injector_9providers_8Provider___init__(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -6281,7 +6045,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Provider___init__(struct _ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 170, 0, __PYX_ERR(1, 170, __pyx_L1_error)); /* "dependency_injector/providers.pyx":172 * def __init__(self): @@ -6290,7 +6053,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Provider___init__(struct _ * self.__last_overriding = None * self.__async_mode = ASYNC_MODE_UNDEFINED */ - __Pyx_TraceLine(172,0,__PYX_ERR(1, 172, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_CallNoArg(((PyObject *)(&PyTuple_Type))); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 172, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -6306,7 +6068,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Provider___init__(struct _ * self.__async_mode = ASYNC_MODE_UNDEFINED * super(Provider, self).__init__() */ - __Pyx_TraceLine(173,0,__PYX_ERR(1, 173, __pyx_L1_error)) __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->__pyx___last_overriding); @@ -6320,7 +6081,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Provider___init__(struct _ * super(Provider, self).__init__() * */ - __Pyx_TraceLine(174,0,__PYX_ERR(1, 174, __pyx_L1_error)) __pyx_v_self->__pyx___async_mode = __pyx_v_19dependency_injector_9providers_ASYNC_MODE_UNDEFINED; /* "dependency_injector/providers.pyx":175 @@ -6330,7 +6090,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Provider___init__(struct _ * * def __call__(self, *args, **kwargs): */ - __Pyx_TraceLine(175,0,__PYX_ERR(1, 175, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 175, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Provider)); @@ -6380,7 +6139,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Provider___init__(struct _ __Pyx_AddTraceback("dependency_injector.providers.Provider.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6423,7 +6181,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_2__call__(s PyObject *__pyx_v_result = NULL; PyObject *__pyx_v_future_result = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -6434,7 +6191,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_2__call__(s const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__call__", 0); - __Pyx_TraceCall("__call__", __pyx_f[1], 177, 0, __PYX_ERR(1, 177, __pyx_L1_error)); /* "dependency_injector/providers.pyx":182 * Callable interface implementation. @@ -6443,7 +6199,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_2__call__(s * result = self.__last_overriding(*args, **kwargs) * else: */ - __Pyx_TraceLine(182,0,__PYX_ERR(1, 182, __pyx_L1_error)) __pyx_t_1 = (((PyObject *)__pyx_v_self->__pyx___last_overriding) != Py_None); __pyx_t_2 = (__pyx_t_1 != 0); if (__pyx_t_2) { @@ -6455,7 +6210,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_2__call__(s * else: * result = self._provide(args, kwargs) */ - __Pyx_TraceLine(183,0,__PYX_ERR(1, 183, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_Call(((PyObject *)__pyx_v_self->__pyx___last_overriding), __pyx_v_args, __pyx_v_kwargs); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 183, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_v_result = __pyx_t_3; @@ -6478,7 +6232,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_2__call__(s * * if self.is_async_mode_disabled(): */ - __Pyx_TraceLine(185,0,__PYX_ERR(1, 185, __pyx_L1_error)) /*else*/ { __pyx_t_3 = ((struct __pyx_vtabstruct_19dependency_injector_9providers_Provider *)__pyx_v_self->__pyx_vtab)->_provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 185, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -6494,7 +6247,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_2__call__(s * return result * elif self.is_async_mode_enabled(): */ - __Pyx_TraceLine(187,0,__PYX_ERR(1, 187, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_async_mode_disabled); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 187, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; @@ -6523,7 +6275,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_2__call__(s * elif self.is_async_mode_enabled(): * if not __isawaitable(result): */ - __Pyx_TraceLine(188,0,__PYX_ERR(1, 188, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_result); __pyx_r = __pyx_v_result; @@ -6545,7 +6296,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_2__call__(s * if not __isawaitable(result): * future_result = asyncio.Future() */ - __Pyx_TraceLine(189,0,__PYX_ERR(1, 189, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_async_mode_enabled); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 189, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; @@ -6574,7 +6324,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_2__call__(s * future_result = asyncio.Future() * future_result.set_result(result) */ - __Pyx_TraceLine(190,0,__PYX_ERR(1, 190, __pyx_L1_error)) __pyx_t_2 = ((!(__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_result) != 0)) != 0); if (__pyx_t_2) { @@ -6585,7 +6334,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_2__call__(s * future_result.set_result(result) * return future_result */ - __Pyx_TraceLine(191,0,__PYX_ERR(1, 191, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 191, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_Future); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 191, __pyx_L1_error) @@ -6616,7 +6364,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_2__call__(s * return future_result * return result */ - __Pyx_TraceLine(192,0,__PYX_ERR(1, 192, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_future_result, __pyx_n_s_set_result); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 192, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_4 = NULL; @@ -6643,7 +6390,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_2__call__(s * return result * elif self.is_async_mode_undefined(): */ - __Pyx_TraceLine(193,0,__PYX_ERR(1, 193, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_future_result); __pyx_r = __pyx_v_future_result; @@ -6665,7 +6411,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_2__call__(s * elif self.is_async_mode_undefined(): * if __isawaitable(result): */ - __Pyx_TraceLine(194,0,__PYX_ERR(1, 194, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_result); __pyx_r = __pyx_v_result; @@ -6687,7 +6432,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_2__call__(s * if __isawaitable(result): * self.enable_async_mode() */ - __Pyx_TraceLine(195,0,__PYX_ERR(1, 195, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_async_mode_undefined); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 195, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_4 = NULL; @@ -6716,7 +6460,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_2__call__(s * self.enable_async_mode() * else: */ - __Pyx_TraceLine(196,0,__PYX_ERR(1, 196, __pyx_L1_error)) __pyx_t_2 = (__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_result) != 0); if (__pyx_t_2) { @@ -6727,7 +6470,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_2__call__(s * else: * self.disable_async_mode() */ - __Pyx_TraceLine(197,0,__PYX_ERR(1, 197, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_enable_async_mode); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 197, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_4 = NULL; @@ -6764,7 +6506,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_2__call__(s * return result * */ - __Pyx_TraceLine(199,0,__PYX_ERR(1, 199, __pyx_L1_error)) /*else*/ { __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_disable_async_mode); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 199, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); @@ -6794,7 +6535,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_2__call__(s * * def __deepcopy__(self, memo): */ - __Pyx_TraceLine(200,0,__PYX_ERR(1, 200, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_result); __pyx_r = __pyx_v_result; @@ -6830,7 +6570,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_2__call__(s __Pyx_XDECREF(__pyx_v_result); __Pyx_XDECREF(__pyx_v_future_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6860,7 +6599,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_5__deepcopy static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_4__deepcopy__(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self, PyObject *__pyx_v_memo) { PyObject *__pyx_v_copied = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -6872,7 +6610,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_4__deepcopy const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[1], 202, 0, __PYX_ERR(1, 202, __pyx_L1_error)); /* "dependency_injector/providers.pyx":204 * def __deepcopy__(self, memo): @@ -6881,7 +6618,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_4__deepcopy * if copied is not None: * return copied */ - __Pyx_TraceLine(204,0,__PYX_ERR(1, 204, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 204, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 204, __pyx_L1_error) @@ -6912,7 +6648,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_4__deepcopy * return copied * */ - __Pyx_TraceLine(205,0,__PYX_ERR(1, 205, __pyx_L1_error)) __pyx_t_5 = (__pyx_v_copied != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -6924,7 +6659,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_4__deepcopy * * copied = self.__class__() */ - __Pyx_TraceLine(206,0,__PYX_ERR(1, 206, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -6946,7 +6680,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_4__deepcopy * * self._copy_overridings(copied, memo) */ - __Pyx_TraceLine(208,0,__PYX_ERR(1, 208, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 208, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -6974,7 +6707,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_4__deepcopy * * return copied */ - __Pyx_TraceLine(210,0,__PYX_ERR(1, 210, __pyx_L1_error)) if (!(likely(((__pyx_v_copied) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_copied, __pyx_ptype_19dependency_injector_9providers_Provider))))) __PYX_ERR(1, 210, __pyx_L1_error) if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 210, __pyx_L1_error) ((struct __pyx_vtabstruct_19dependency_injector_9providers_Provider *)__pyx_v_self->__pyx_vtab)->_copy_overridings(__pyx_v_self, ((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_copied), ((PyObject*)__pyx_v_memo), 0); @@ -6986,7 +6718,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_4__deepcopy * * @classmethod */ - __Pyx_TraceLine(212,0,__PYX_ERR(1, 212, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -7011,7 +6742,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_4__deepcopy __pyx_L0:; __Pyx_XDECREF(__pyx_v_copied); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7039,13 +6769,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_7__class_ge static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_6__class_getitem__(PyTypeObject *__pyx_v_cls, CYTHON_UNUSED PyObject *__pyx_v_item) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__class_getitem__", 0); - __Pyx_TraceCall("__class_getitem__", __pyx_f[1], 215, 0, __PYX_ERR(1, 215, __pyx_L1_error)); /* "dependency_injector/providers.pyx":216 * @classmethod @@ -7054,7 +6779,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_6__class_ge * * def __str__(self): */ - __Pyx_TraceLine(216,0,__PYX_ERR(1, 216, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_cls)); __pyx_r = ((PyObject *)__pyx_v_cls); @@ -7069,12 +6793,8 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_6__class_ge */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.Provider.__class_getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7106,14 +6826,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_9__str__(Py static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_8__str__(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__str__", 0); - __Pyx_TraceCall("__str__", __pyx_f[1], 218, 0, __PYX_ERR(1, 218, __pyx_L1_error)); /* "dependency_injector/providers.pyx":223 * :rtype: str @@ -7122,7 +6840,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_8__str__(st * * def __repr__(self): */ - __Pyx_TraceLine(223,0,__PYX_ERR(1, 223, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_represent_provider(((PyObject *)__pyx_v_self), Py_None, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 223, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -7145,7 +6862,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_8__str__(st __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7177,7 +6893,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_11__repr__( static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_10__repr__(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -7186,7 +6901,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_10__repr__( const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__repr__", 0); - __Pyx_TraceCall("__repr__", __pyx_f[1], 225, 0, __PYX_ERR(1, 225, __pyx_L1_error)); /* "dependency_injector/providers.pyx":230 * :rtype: str @@ -7195,7 +6909,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_10__repr__( * * @property */ - __Pyx_TraceLine(230,0,__PYX_ERR(1, 230, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_str); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 230, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -7235,7 +6948,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_10__repr__( __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7263,7 +6975,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_10overridde static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_10overridden___get__(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -7273,14 +6984,10 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_10overridde PyObject *__pyx_t_6 = NULL; PyObject *__pyx_t_7 = NULL; PyObject *__pyx_t_8 = NULL; - PyObject *__pyx_t_9 = NULL; - int __pyx_t_10; - int __pyx_t_11; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 233, 0, __PYX_ERR(1, 233, __pyx_L1_error)); /* "dependency_injector/providers.pyx":235 * def overridden(self): @@ -7289,7 +6996,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_10overridde * return self.__overridden * */ - __Pyx_TraceLine(235,0,__PYX_ERR(1, 235, __pyx_L1_error)) /*with:*/ { __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_overriding_lock); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 235, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -7316,12 +7022,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_10overridde __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; /*try:*/ { { - __Pyx_PyThreadState_declare - __Pyx_PyThreadState_assign - __Pyx_ExceptionSave(&__pyx_t_6, &__pyx_t_7, &__pyx_t_8); - __Pyx_XGOTREF(__pyx_t_6); - __Pyx_XGOTREF(__pyx_t_7); - __Pyx_XGOTREF(__pyx_t_8); + (void)__pyx_t_6; (void)__pyx_t_7; (void)__pyx_t_8; /* mark used */ /*try:*/ { /* "dependency_injector/providers.pyx":236 @@ -7331,7 +7032,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_10overridde * * @property */ - __Pyx_TraceLine(236,0,__PYX_ERR(1, 236, __pyx_L7_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___overridden); __pyx_r = __pyx_v_self->__pyx___overridden; @@ -7345,64 +7045,14 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_10overridde * */ } - __pyx_L7_error:; - __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - /*except:*/ { - __Pyx_AddTraceback("dependency_injector.providers.Provider.overridden.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_3, &__pyx_t_4) < 0) __PYX_ERR(1, 235, __pyx_L9_except_error) - __Pyx_GOTREF(__pyx_t_1); - __Pyx_GOTREF(__pyx_t_3); - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = PyTuple_Pack(3, __pyx_t_1, __pyx_t_3, __pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 235, __pyx_L9_except_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_9 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 235, __pyx_L9_except_error) - __Pyx_GOTREF(__pyx_t_9); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_9); - __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - if (__pyx_t_10 < 0) __PYX_ERR(1, 235, __pyx_L9_except_error) - __pyx_t_11 = ((!(__pyx_t_10 != 0)) != 0); - if (__pyx_t_11) { - __Pyx_GIVEREF(__pyx_t_1); - __Pyx_GIVEREF(__pyx_t_3); - __Pyx_XGIVEREF(__pyx_t_4); - __Pyx_ErrRestoreWithState(__pyx_t_1, __pyx_t_3, __pyx_t_4); - __pyx_t_1 = 0; __pyx_t_3 = 0; __pyx_t_4 = 0; - __PYX_ERR(1, 235, __pyx_L9_except_error) - } - __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - goto __pyx_L8_exception_handled; - } - __pyx_L9_except_error:; - __Pyx_XGIVEREF(__pyx_t_6); - __Pyx_XGIVEREF(__pyx_t_7); - __Pyx_XGIVEREF(__pyx_t_8); - __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8); - goto __pyx_L1_error; __pyx_L11_try_return:; - __Pyx_XGIVEREF(__pyx_t_6); - __Pyx_XGIVEREF(__pyx_t_7); - __Pyx_XGIVEREF(__pyx_t_8); - __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8); goto __pyx_L4_return; - __pyx_L8_exception_handled:; - __Pyx_XGIVEREF(__pyx_t_6); - __Pyx_XGIVEREF(__pyx_t_7); - __Pyx_XGIVEREF(__pyx_t_8); - __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8); } } /*finally:*/ { /*normal exit:*/{ if (__pyx_t_2) { - __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_tuple__3, NULL); + __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_tuple_, NULL); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 235, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); @@ -7414,7 +7064,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_10overridde __pyx_t_8 = __pyx_r; __pyx_r = 0; if (__pyx_t_2) { - __pyx_t_7 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_tuple__3, NULL); + __pyx_t_7 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_tuple_, NULL); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 235, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); @@ -7426,11 +7076,11 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_10overridde } __pyx_L6:; } - goto __pyx_L16; + goto __pyx_L13; __pyx_L3_error:; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; goto __pyx_L1_error; - __pyx_L16:; + __pyx_L13:; } /* "dependency_injector/providers.pyx":233 @@ -7453,7 +7103,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_10overridde __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7481,13 +7130,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_15last_over static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_15last_overriding___get__(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 239, 0, __PYX_ERR(1, 239, __pyx_L1_error)); /* "dependency_injector/providers.pyx":244 * If provider is not overridden, then None is returned. @@ -7496,7 +7140,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_15last_over * * def override(self, provider): */ - __Pyx_TraceLine(244,0,__PYX_ERR(1, 244, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self->__pyx___last_overriding)); __pyx_r = ((PyObject *)__pyx_v_self->__pyx___last_overriding); @@ -7511,12 +7154,8 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_15last_over */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.Provider.last_overriding.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7545,7 +7184,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_13override( static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_12override(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self, PyObject *__pyx_v_provider) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -7563,7 +7201,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_12override( const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("override", 0); - __Pyx_TraceCall("override", __pyx_f[1], 246, 0, __PYX_ERR(1, 246, __pyx_L1_error)); __Pyx_INCREF(__pyx_v_provider); /* "dependency_injector/providers.pyx":257 @@ -7573,7 +7210,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_12override( * raise Error('Provider {0} could not be overridden ' * 'with itself'.format(self)) */ - __Pyx_TraceLine(257,0,__PYX_ERR(1, 257, __pyx_L1_error)) __pyx_t_1 = (__pyx_v_provider == ((PyObject *)__pyx_v_self)); __pyx_t_2 = (__pyx_t_1 != 0); if (unlikely(__pyx_t_2)) { @@ -7585,7 +7221,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_12override( * 'with itself'.format(self)) * */ - __Pyx_TraceLine(258,0,__PYX_ERR(1, 258, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 258, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); @@ -7596,7 +7231,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_12override( * * if not is_provider(provider): */ - __Pyx_TraceLine(259,0,__PYX_ERR(1, 259, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Provider_0_could_not_be_overridd, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 259, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_7 = NULL; @@ -7650,7 +7284,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_12override( * provider = Object(provider) * */ - __Pyx_TraceLine(261,0,__PYX_ERR(1, 261, __pyx_L1_error)) __pyx_t_2 = ((!(__pyx_f_19dependency_injector_9providers_is_provider(__pyx_v_provider, 0) != 0)) != 0); if (__pyx_t_2) { @@ -7661,7 +7294,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_12override( * * with self.overriding_lock: */ - __Pyx_TraceLine(262,0,__PYX_ERR(1, 262, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Object), __pyx_v_provider); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 262, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF_SET(__pyx_v_provider, __pyx_t_3); @@ -7683,7 +7315,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_12override( * self.__overridden += (provider,) * self.__last_overriding = provider */ - __Pyx_TraceLine(264,0,__PYX_ERR(1, 264, __pyx_L1_error)) /*with:*/ { __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_overriding_lock); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 264, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -7725,7 +7356,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_12override( * self.__last_overriding = provider * */ - __Pyx_TraceLine(265,0,__PYX_ERR(1, 265, __pyx_L9_error)) __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 265, __pyx_L9_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(__pyx_v_provider); @@ -7747,7 +7377,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_12override( * * return OverridingContext(self, provider) */ - __Pyx_TraceLine(266,0,__PYX_ERR(1, 266, __pyx_L9_error)) if (!(likely(((__pyx_v_provider) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_provider, __pyx_ptype_19dependency_injector_9providers_Provider))))) __PYX_ERR(1, 266, __pyx_L9_error) __pyx_t_4 = __pyx_v_provider; __Pyx_INCREF(__pyx_t_4); @@ -7822,7 +7451,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_12override( /*finally:*/ { /*normal exit:*/{ if (__pyx_t_8) { - __pyx_t_11 = __Pyx_PyObject_Call(__pyx_t_8, __pyx_tuple__3, NULL); + __pyx_t_11 = __Pyx_PyObject_Call(__pyx_t_8, __pyx_tuple_, NULL); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 264, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_11); @@ -7846,7 +7475,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_12override( * * def reset_last_overriding(self): */ - __Pyx_TraceLine(268,0,__PYX_ERR(1, 268, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 268, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); @@ -7883,7 +7511,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_12override( __pyx_L0:; __Pyx_XDECREF(__pyx_v_provider); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7912,7 +7539,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_15reset_las static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_14reset_last_overriding(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -7935,7 +7561,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_14reset_las const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("reset_last_overriding", 0); - __Pyx_TraceCall("reset_last_overriding", __pyx_f[1], 270, 0, __PYX_ERR(1, 270, __pyx_L1_error)); /* "dependency_injector/providers.pyx":278 * :rtype: None @@ -7944,7 +7569,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_14reset_las * if len(self.__overridden) == 0: * raise Error('Provider {0} is not overridden'.format(str(self))) */ - __Pyx_TraceLine(278,0,__PYX_ERR(1, 278, __pyx_L1_error)) /*with:*/ { __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_overriding_lock); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 278, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -7986,7 +7610,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_14reset_las * raise Error('Provider {0} is not overridden'.format(str(self))) * */ - __Pyx_TraceLine(279,0,__PYX_ERR(1, 279, __pyx_L7_error)) __pyx_t_1 = __pyx_v_self->__pyx___overridden; __Pyx_INCREF(__pyx_t_1); if (unlikely(__pyx_t_1 == Py_None)) { @@ -8005,7 +7628,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_14reset_las * * self.__overridden = self.__overridden[:-1] */ - __Pyx_TraceLine(280,0,__PYX_ERR(1, 280, __pyx_L7_error)) __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_Error); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 280, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Provider_0_is_not_overridden, __pyx_n_s_format); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 280, __pyx_L7_error) @@ -8064,7 +7686,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_14reset_las * try: * self.__last_overriding = self.__overridden[-1] */ - __Pyx_TraceLine(282,0,__PYX_ERR(1, 282, __pyx_L7_error)) if (unlikely(__pyx_v_self->__pyx___overridden == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 282, __pyx_L7_error) @@ -8084,7 +7705,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_14reset_las * self.__last_overriding = self.__overridden[-1] * except IndexError: */ - __Pyx_TraceLine(283,0,__PYX_ERR(1, 283, __pyx_L7_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -8101,7 +7721,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_14reset_las * except IndexError: * self.__last_overriding = None */ - __Pyx_TraceLine(284,0,__PYX_ERR(1, 284, __pyx_L14_error)) if (unlikely(__pyx_v_self->__pyx___overridden == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 284, __pyx_L14_error) @@ -8142,7 +7761,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_14reset_las * self.__last_overriding = None * */ - __Pyx_TraceLine(285,0,__PYX_ERR(1, 285, __pyx_L16_except_error)) __pyx_t_16 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_IndexError); if (__pyx_t_16) { __Pyx_AddTraceback("dependency_injector.providers.Provider.reset_last_overriding", __pyx_clineno, __pyx_lineno, __pyx_filename); @@ -8158,7 +7776,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_14reset_las * * def reset_override(self): */ - __Pyx_TraceLine(286,0,__PYX_ERR(1, 286, __pyx_L16_except_error)) __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->__pyx___last_overriding); @@ -8258,7 +7875,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_14reset_las /*finally:*/ { /*normal exit:*/{ if (__pyx_t_2) { - __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_tuple__3, NULL); + __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_tuple_, NULL); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 278, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); @@ -8297,7 +7914,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_14reset_las __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -8326,7 +7942,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_17reset_ove static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_16reset_override(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -8343,7 +7958,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_16reset_ove const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("reset_override", 0); - __Pyx_TraceCall("reset_override", __pyx_f[1], 288, 0, __PYX_ERR(1, 288, __pyx_L1_error)); /* "dependency_injector/providers.pyx":293 * :rtype: None @@ -8352,7 +7966,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_16reset_ove * self.__overridden = tuple() * self.__last_overriding = None */ - __Pyx_TraceLine(293,0,__PYX_ERR(1, 293, __pyx_L1_error)) /*with:*/ { __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_overriding_lock); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 293, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -8394,7 +8007,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_16reset_ove * self.__last_overriding = None * */ - __Pyx_TraceLine(294,0,__PYX_ERR(1, 294, __pyx_L7_error)) __pyx_t_1 = __Pyx_PyObject_CallNoArg(((PyObject *)(&PyTuple_Type))); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 294, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -8410,7 +8022,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_16reset_ove * * def async_(self, *args, **kwargs): */ - __Pyx_TraceLine(295,0,__PYX_ERR(1, 295, __pyx_L7_error)) __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->__pyx___last_overriding); @@ -8481,7 +8092,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_16reset_ove /*finally:*/ { /*normal exit:*/{ if (__pyx_t_2) { - __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_tuple__3, NULL); + __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_tuple_, NULL); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 293, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); @@ -8518,7 +8129,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_16reset_ove __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -8560,7 +8170,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_19async_(Py static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_18async_(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -8568,7 +8177,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_18async_(st const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("async_", 0); - __Pyx_TraceCall("async_", __pyx_f[1], 297, 0, __PYX_ERR(1, 297, __pyx_L1_error)); /* "dependency_injector/providers.pyx":312 * ... @@ -8577,7 +8185,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_18async_(st * * def delegate(self): */ - __Pyx_TraceLine(312,0,__PYX_ERR(1, 312, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_call); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 312, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -8604,7 +8211,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_18async_(st __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -8633,7 +8239,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_21delegate( static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_20delegate(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -8642,7 +8247,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_20delegate( const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("delegate", 0); - __Pyx_TraceCall("delegate", __pyx_f[1], 314, 0, __PYX_ERR(1, 314, __pyx_L1_error)); /* "dependency_injector/providers.pyx":319 * :rtype: :py:class:`Delegate` @@ -8651,7 +8255,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_20delegate( * 'Method ".delegate()" is deprecated since version 4.0.0. ' * 'Use ".provider" attribute instead.', */ - __Pyx_TraceLine(319,0,__PYX_ERR(1, 319, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_warnings); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 319, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_warn); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 319, __pyx_L1_error) @@ -8665,7 +8268,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_20delegate( * ) * return Delegate(self) */ - __Pyx_TraceLine(322,0,__PYX_ERR(1, 322, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 322, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_category, __pyx_builtin_DeprecationWarning) < 0) __PYX_ERR(1, 322, __pyx_L1_error) @@ -8677,8 +8279,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_20delegate( * 'Method ".delegate()" is deprecated since version 4.0.0. ' * 'Use ".provider" attribute instead.', */ - __Pyx_TraceLine(319,0,__PYX_ERR(1, 319, __pyx_L1_error)) - __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_tuple__7, __pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 319, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_tuple__3, __pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 319, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -8691,7 +8292,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_20delegate( * * @property */ - __Pyx_TraceLine(324,0,__PYX_ERR(1, 324, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_3 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Delegate), ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 324, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -8716,7 +8316,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_20delegate( __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -8744,14 +8343,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_8provider_1 static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_8provider___get__(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 327, 0, __PYX_ERR(1, 327, __pyx_L1_error)); /* "dependency_injector/providers.pyx":332 * :rtype: :py:class:`Delegate` @@ -8760,7 +8357,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_8provider__ * * @property */ - __Pyx_TraceLine(332,0,__PYX_ERR(1, 332, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Delegate), ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 332, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -8783,7 +8379,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_8provider__ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -8811,14 +8406,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_8provided_1 static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_8provided___get__(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 335, 0, __PYX_ERR(1, 335, __pyx_L1_error)); /* "dependency_injector/providers.pyx":337 * def provided(self): @@ -8827,7 +8420,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_8provided__ * * def enable_async_mode(self): */ - __Pyx_TraceLine(337,0,__PYX_ERR(1, 337, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_19dependency_injector_9providers_ProvidedInstance), ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 337, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -8850,7 +8442,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_8provided__ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -8879,13 +8470,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_23enable_as static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_22enable_async_mode(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("enable_async_mode", 0); - __Pyx_TraceCall("enable_async_mode", __pyx_f[1], 339, 0, __PYX_ERR(1, 339, __pyx_L1_error)); /* "dependency_injector/providers.pyx":341 * def enable_async_mode(self): @@ -8894,7 +8480,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_22enable_as * * def disable_async_mode(self): */ - __Pyx_TraceLine(341,0,__PYX_ERR(1, 341, __pyx_L1_error)) __pyx_v_self->__pyx___async_mode = __pyx_v_19dependency_injector_9providers_ASYNC_MODE_ENABLED; /* "dependency_injector/providers.pyx":339 @@ -8907,13 +8492,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_22enable_as /* function exit code */ __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.Provider.enable_async_mode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -8942,13 +8521,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_25disable_a static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_24disable_async_mode(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("disable_async_mode", 0); - __Pyx_TraceCall("disable_async_mode", __pyx_f[1], 343, 0, __PYX_ERR(1, 343, __pyx_L1_error)); /* "dependency_injector/providers.pyx":345 * def disable_async_mode(self): @@ -8957,7 +8531,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_24disable_a * * def reset_async_mode(self): */ - __Pyx_TraceLine(345,0,__PYX_ERR(1, 345, __pyx_L1_error)) __pyx_v_self->__pyx___async_mode = __pyx_v_19dependency_injector_9providers_ASYNC_MODE_DISABLED; /* "dependency_injector/providers.pyx":343 @@ -8970,13 +8543,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_24disable_a /* function exit code */ __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.Provider.disable_async_mode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -9005,13 +8572,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_27reset_asy static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_26reset_async_mode(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("reset_async_mode", 0); - __Pyx_TraceCall("reset_async_mode", __pyx_f[1], 347, 0, __PYX_ERR(1, 347, __pyx_L1_error)); /* "dependency_injector/providers.pyx":352 * Provider will automatically set the mode on the next call. @@ -9020,7 +8582,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_26reset_asy * * def is_async_mode_enabled(self): */ - __Pyx_TraceLine(352,0,__PYX_ERR(1, 352, __pyx_L1_error)) __pyx_v_self->__pyx___async_mode = __pyx_v_19dependency_injector_9providers_ASYNC_MODE_UNDEFINED; /* "dependency_injector/providers.pyx":347 @@ -9033,13 +8594,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_26reset_asy /* function exit code */ __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.Provider.reset_async_mode", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; - __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -9068,14 +8623,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_29is_async_ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_28is_async_mode_enabled(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("is_async_mode_enabled", 0); - __Pyx_TraceCall("is_async_mode_enabled", __pyx_f[1], 354, 0, __PYX_ERR(1, 354, __pyx_L1_error)); /* "dependency_injector/providers.pyx":356 * def is_async_mode_enabled(self): @@ -9084,7 +8637,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_28is_async_ * * def is_async_mode_disabled(self): */ - __Pyx_TraceLine(356,0,__PYX_ERR(1, 356, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyBool_FromLong((__pyx_v_self->__pyx___async_mode == __pyx_v_19dependency_injector_9providers_ASYNC_MODE_ENABLED)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 356, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -9107,7 +8659,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_28is_async_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -9136,14 +8687,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_31is_async_ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_30is_async_mode_disabled(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("is_async_mode_disabled", 0); - __Pyx_TraceCall("is_async_mode_disabled", __pyx_f[1], 358, 0, __PYX_ERR(1, 358, __pyx_L1_error)); /* "dependency_injector/providers.pyx":360 * def is_async_mode_disabled(self): @@ -9152,7 +8701,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_30is_async_ * * def is_async_mode_undefined(self): */ - __Pyx_TraceLine(360,0,__PYX_ERR(1, 360, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyBool_FromLong((__pyx_v_self->__pyx___async_mode == __pyx_v_19dependency_injector_9providers_ASYNC_MODE_DISABLED)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 360, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -9175,7 +8723,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_30is_async_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -9204,14 +8751,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_33is_async_ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_32is_async_mode_undefined(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("is_async_mode_undefined", 0); - __Pyx_TraceCall("is_async_mode_undefined", __pyx_f[1], 362, 0, __PYX_ERR(1, 362, __pyx_L1_error)); /* "dependency_injector/providers.pyx":364 * def is_async_mode_undefined(self): @@ -9220,7 +8765,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_32is_async_ * * cpdef object _provide(self, tuple args, dict kwargs): */ - __Pyx_TraceLine(364,0,__PYX_ERR(1, 364, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyBool_FromLong((__pyx_v_self->__pyx___async_mode == __pyx_v_19dependency_injector_9providers_ASYNC_MODE_UNDEFINED)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 364, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -9243,7 +8787,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_32is_async_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -9259,7 +8802,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_32is_async_ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_35_provide(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ static PyObject *__pyx_f_19dependency_injector_9providers_8Provider__provide(CYTHON_UNUSED struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_args, CYTHON_UNUSED PyObject *__pyx_v_kwargs, int __pyx_skip_dispatch) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -9271,7 +8813,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Provider__provide(CYT const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide", __pyx_f[1], 366, 0, __PYX_ERR(1, 366, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -9356,7 +8897,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Provider__provide(CYT * * cpdef void _copy_overridings(self, Provider copied, dict memo): */ - __Pyx_TraceLine(373,0,__PYX_ERR(1, 373, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_CallNoArg(__pyx_builtin_NotImplementedError); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 373, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); @@ -9382,7 +8922,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Provider__provide(CYT __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -9460,14 +8999,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_35_provide( static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_34_provide(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide (wrapper)", __pyx_f[1], 366, 0, __PYX_ERR(1, 366, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_8Provider__provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 366, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -9482,7 +9019,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_34_provide( __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -9497,7 +9033,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_34_provide( static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_37_copy_overridings(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ static void __pyx_f_19dependency_injector_9providers_8Provider__copy_overridings(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self, struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_copied, PyObject *__pyx_v_memo, int __pyx_skip_dispatch) { - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -9510,7 +9045,6 @@ static void __pyx_f_19dependency_injector_9providers_8Provider__copy_overridings const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_copy_overridings", 0); - __Pyx_TraceCall("_copy_overridings", __pyx_f[1], 375, 0, __PYX_ERR(1, 375, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -9593,7 +9127,6 @@ static void __pyx_f_19dependency_injector_9providers_8Provider__copy_overridings * copied.__last_overriding = deepcopy(self.__last_overriding, memo) * */ - __Pyx_TraceLine(377,0,__PYX_ERR(1, 377, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___overridden; __Pyx_INCREF(__pyx_t_1); __pyx_t_7.__pyx_n = 1; @@ -9615,7 +9148,6 @@ static void __pyx_f_19dependency_injector_9providers_8Provider__copy_overridings * * */ - __Pyx_TraceLine(378,0,__PYX_ERR(1, 378, __pyx_L1_error)) __pyx_t_2 = ((PyObject *)__pyx_v_self->__pyx___last_overriding); __Pyx_INCREF(__pyx_t_2); __pyx_t_7.__pyx_n = 1; @@ -9648,7 +9180,6 @@ static void __pyx_f_19dependency_injector_9providers_8Provider__copy_overridings __Pyx_XDECREF(__pyx_t_6); __Pyx_WriteUnraisable("dependency_injector.providers.Provider._copy_overridings", __pyx_clineno, __pyx_lineno, __pyx_filename, 1, 0); __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); } @@ -9725,14 +9256,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_37_copy_ove static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_36_copy_overridings(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self, struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_copied, PyObject *__pyx_v_memo) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_copy_overridings", 0); - __Pyx_TraceCall("_copy_overridings (wrapper)", __pyx_f[1], 375, 0, __PYX_ERR(1, 375, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_void_to_None(__pyx_f_19dependency_injector_9providers_8Provider__copy_overridings(__pyx_v_self, __pyx_v_copied, __pyx_v_memo, 1)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 375, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -9747,7 +9276,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_36_copy_ove __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -9776,7 +9304,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_38__reduce_ PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -9788,7 +9315,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_38__reduce_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -9797,7 +9323,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_38__reduce_ * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(3); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -9821,7 +9346,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_38__reduce_ * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -9834,7 +9358,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_38__reduce_ * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -9846,7 +9369,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_38__reduce_ * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -9865,7 +9387,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_38__reduce_ * else: * use_setstate = self.__last_overriding is not None or self.__overridden is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -9885,7 +9406,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_38__reduce_ * if use_setstate: * return __pyx_unpickle_Provider, (type(self), 0xfeb8198, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (((PyObject *)__pyx_v_self->__pyx___last_overriding) != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -9909,7 +9429,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_38__reduce_ * return __pyx_unpickle_Provider, (type(self), 0xfeb8198, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -9920,7 +9439,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_38__reduce_ * else: * return __pyx_unpickle_Provider, (type(self), 0xfeb8198, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_Provider); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -9966,7 +9484,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_38__reduce_ * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Provider__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_Provider); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -10012,7 +9529,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_38__reduce_ __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -10039,21 +9555,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Provider_41__setstat static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_40__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_Provider, (type(self), 0xfeb8198, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Provider__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Provider__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -10075,7 +9588,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Provider_40__setstat __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -10147,7 +9659,6 @@ static int __pyx_pw_19dependency_injector_9providers_6Object_1__init__(PyObject static int __pyx_pf_19dependency_injector_9providers_6Object___init__(struct __pyx_obj_19dependency_injector_9providers_Object *__pyx_v_self, PyObject *__pyx_v_provides) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -10156,7 +9667,6 @@ static int __pyx_pf_19dependency_injector_9providers_6Object___init__(struct __p const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 391, 0, __PYX_ERR(1, 391, __pyx_L1_error)); /* "dependency_injector/providers.pyx":397 * :type provides: object @@ -10165,7 +9675,6 @@ static int __pyx_pf_19dependency_injector_9providers_6Object___init__(struct __p * super(Object, self).__init__() * */ - __Pyx_TraceLine(397,0,__PYX_ERR(1, 397, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_provides); __Pyx_GIVEREF(__pyx_v_provides); __Pyx_GOTREF(__pyx_v_self->__pyx___provides); @@ -10179,7 +9688,6 @@ static int __pyx_pf_19dependency_injector_9providers_6Object___init__(struct __p * * def __deepcopy__(self, memo): */ - __Pyx_TraceLine(398,0,__PYX_ERR(1, 398, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 398, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Object)); @@ -10229,7 +9737,6 @@ static int __pyx_pf_19dependency_injector_9providers_6Object___init__(struct __p __Pyx_AddTraceback("dependency_injector.providers.Object.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -10259,7 +9766,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_6Object_3__deepcopy__ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_2__deepcopy__(struct __pyx_obj_19dependency_injector_9providers_Object *__pyx_v_self, PyObject *__pyx_v_memo) { PyObject *__pyx_v_copied = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -10271,7 +9777,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_2__deepcopy__ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[1], 400, 0, __PYX_ERR(1, 400, __pyx_L1_error)); /* "dependency_injector/providers.pyx":402 * def __deepcopy__(self, memo): @@ -10280,7 +9785,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_2__deepcopy__ * if copied is not None: * return copied */ - __Pyx_TraceLine(402,0,__PYX_ERR(1, 402, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 402, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 402, __pyx_L1_error) @@ -10311,7 +9815,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_2__deepcopy__ * return copied * */ - __Pyx_TraceLine(403,0,__PYX_ERR(1, 403, __pyx_L1_error)) __pyx_t_5 = (__pyx_v_copied != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -10323,7 +9826,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_2__deepcopy__ * * copied = self.__class__(self.__provides) */ - __Pyx_TraceLine(404,0,__PYX_ERR(1, 404, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -10345,7 +9847,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_2__deepcopy__ * * self._copy_overridings(copied, memo) */ - __Pyx_TraceLine(406,0,__PYX_ERR(1, 406, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 406, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -10373,7 +9874,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_2__deepcopy__ * * return copied */ - __Pyx_TraceLine(408,0,__PYX_ERR(1, 408, __pyx_L1_error)) if (!(likely(((__pyx_v_copied) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_copied, __pyx_ptype_19dependency_injector_9providers_Provider))))) __PYX_ERR(1, 408, __pyx_L1_error) if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 408, __pyx_L1_error) ((struct __pyx_vtabstruct_19dependency_injector_9providers_Object *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._copy_overridings(((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_self), ((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_copied), ((PyObject*)__pyx_v_memo), 0); @@ -10385,7 +9885,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_2__deepcopy__ * * def __str__(self): */ - __Pyx_TraceLine(410,0,__PYX_ERR(1, 410, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -10410,7 +9909,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_2__deepcopy__ __pyx_L0:; __Pyx_XDECREF(__pyx_v_copied); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -10442,7 +9940,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_6Object_5__str__(PyOb static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_4__str__(struct __pyx_obj_19dependency_injector_9providers_Object *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -10450,7 +9947,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_4__str__(stru const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__str__", 0); - __Pyx_TraceCall("__str__", __pyx_f[1], 412, 0, __PYX_ERR(1, 412, __pyx_L1_error)); /* "dependency_injector/providers.pyx":417 * :rtype: str @@ -10459,7 +9955,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_4__str__(stru * * def __repr__(self): */ - __Pyx_TraceLine(417,0,__PYX_ERR(1, 417, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_v_self->__pyx___provides; __Pyx_INCREF(__pyx_t_1); @@ -10486,7 +9981,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_4__str__(stru __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -10518,7 +10012,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_6Object_7__repr__(PyO static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_6__repr__(struct __pyx_obj_19dependency_injector_9providers_Object *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -10527,7 +10020,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_6__repr__(str const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__repr__", 0); - __Pyx_TraceCall("__repr__", __pyx_f[1], 419, 0, __PYX_ERR(1, 419, __pyx_L1_error)); /* "dependency_injector/providers.pyx":424 * :rtype: str @@ -10536,7 +10028,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_6__repr__(str * * cpdef object _provide(self, tuple args, dict kwargs): */ - __Pyx_TraceLine(424,0,__PYX_ERR(1, 424, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_str); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 424, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -10576,7 +10067,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_6__repr__(str __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -10592,7 +10082,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_6__repr__(str static PyObject *__pyx_pw_19dependency_injector_9providers_6Object_9_provide(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ static PyObject *__pyx_f_19dependency_injector_9providers_6Object__provide(struct __pyx_obj_19dependency_injector_9providers_Object *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_args, CYTHON_UNUSED PyObject *__pyx_v_kwargs, int __pyx_skip_dispatch) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -10604,7 +10093,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_6Object__provide(struc const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide", __pyx_f[1], 426, 0, __PYX_ERR(1, 426, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -10689,7 +10177,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_6Object__provide(struc * * */ - __Pyx_TraceLine(437,0,__PYX_ERR(1, 437, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___provides); __pyx_r = __pyx_v_self->__pyx___provides; @@ -10714,7 +10201,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_6Object__provide(struc __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -10792,14 +10278,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_6Object_9_provide(PyO static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_8_provide(struct __pyx_obj_19dependency_injector_9providers_Object *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide (wrapper)", __pyx_f[1], 426, 0, __PYX_ERR(1, 426, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_6Object__provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 426, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -10814,7 +10298,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_8_provide(str __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -10843,7 +10326,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_10__reduce_cy PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -10855,7 +10337,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_10__reduce_cy const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -10864,7 +10345,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_10__reduce_cy * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -10891,7 +10371,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_10__reduce_cy * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -10904,7 +10383,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_10__reduce_cy * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -10916,7 +10394,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_10__reduce_cy * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -10935,7 +10412,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_10__reduce_cy * else: * use_setstate = self.__last_overriding is not None or self.__overridden is not None or self.__provides is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -10955,7 +10431,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_10__reduce_cy * if use_setstate: * return __pyx_unpickle_Object, (type(self), 0x328787b, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (((PyObject *)__pyx_v_self->__pyx_base.__pyx___last_overriding) != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -10986,7 +10461,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_10__reduce_cy * return __pyx_unpickle_Object, (type(self), 0x328787b, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -10997,7 +10471,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_10__reduce_cy * else: * return __pyx_unpickle_Object, (type(self), 0x328787b, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_Object); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -11043,7 +10516,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_10__reduce_cy * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Object__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_Object); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -11089,7 +10561,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_10__reduce_cy __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -11116,21 +10587,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_6Object_13__setstate_ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_12__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_Object *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_Object, (type(self), 0x328787b, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Object__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Object__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -11152,7 +10620,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6Object_12__setstate_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -11224,7 +10691,6 @@ static int __pyx_pw_19dependency_injector_9providers_8Delegate_1__init__(PyObjec static int __pyx_pf_19dependency_injector_9providers_8Delegate___init__(struct __pyx_obj_19dependency_injector_9providers_Delegate *__pyx_v_self, PyObject *__pyx_v_provides) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -11233,7 +10699,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Delegate___init__(struct _ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 450, 0, __PYX_ERR(1, 450, __pyx_L1_error)); /* "dependency_injector/providers.pyx":456 * :type provides: :py:class:`Provider` @@ -11242,7 +10707,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Delegate___init__(struct _ * super(Delegate, self).__init__() * */ - __Pyx_TraceLine(456,0,__PYX_ERR(1, 456, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers_ensure_is_provider(__pyx_v_provides, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 456, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -11258,7 +10722,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Delegate___init__(struct _ * * def __deepcopy__(self, memo): */ - __Pyx_TraceLine(457,0,__PYX_ERR(1, 457, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 457, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Delegate)); @@ -11308,7 +10771,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Delegate___init__(struct _ __Pyx_AddTraceback("dependency_injector.providers.Delegate.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -11338,7 +10800,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Delegate_3__deepcopy static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_2__deepcopy__(struct __pyx_obj_19dependency_injector_9providers_Delegate *__pyx_v_self, PyObject *__pyx_v_memo) { PyObject *__pyx_v_copied = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -11351,7 +10812,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_2__deepcopy const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[1], 459, 0, __PYX_ERR(1, 459, __pyx_L1_error)); /* "dependency_injector/providers.pyx":461 * def __deepcopy__(self, memo): @@ -11360,7 +10820,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_2__deepcopy * if copied is not None: * return copied */ - __Pyx_TraceLine(461,0,__PYX_ERR(1, 461, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 461, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 461, __pyx_L1_error) @@ -11391,7 +10850,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_2__deepcopy * return copied * */ - __Pyx_TraceLine(462,0,__PYX_ERR(1, 462, __pyx_L1_error)) __pyx_t_5 = (__pyx_v_copied != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -11403,7 +10861,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_2__deepcopy * * copied = self.__class__(deepcopy(self.__provides, memo)) */ - __Pyx_TraceLine(463,0,__PYX_ERR(1, 463, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -11425,7 +10882,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_2__deepcopy * * self._copy_overridings(copied, memo) */ - __Pyx_TraceLine(465,0,__PYX_ERR(1, 465, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 465, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __pyx_v_self->__pyx___provides; @@ -11462,7 +10918,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_2__deepcopy * * return copied */ - __Pyx_TraceLine(467,0,__PYX_ERR(1, 467, __pyx_L1_error)) if (!(likely(((__pyx_v_copied) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_copied, __pyx_ptype_19dependency_injector_9providers_Provider))))) __PYX_ERR(1, 467, __pyx_L1_error) if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 467, __pyx_L1_error) ((struct __pyx_vtabstruct_19dependency_injector_9providers_Delegate *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._copy_overridings(((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_self), ((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_copied), ((PyObject*)__pyx_v_memo), 0); @@ -11474,7 +10929,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_2__deepcopy * * def __str__(self): */ - __Pyx_TraceLine(469,0,__PYX_ERR(1, 469, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -11499,7 +10953,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_2__deepcopy __pyx_L0:; __Pyx_XDECREF(__pyx_v_copied); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -11531,7 +10984,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Delegate_5__str__(Py static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_4__str__(struct __pyx_obj_19dependency_injector_9providers_Delegate *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -11539,7 +10991,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_4__str__(st const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__str__", 0); - __Pyx_TraceCall("__str__", __pyx_f[1], 471, 0, __PYX_ERR(1, 471, __pyx_L1_error)); /* "dependency_injector/providers.pyx":476 * :rtype: str @@ -11548,7 +10999,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_4__str__(st * * def __repr__(self): */ - __Pyx_TraceLine(476,0,__PYX_ERR(1, 476, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_v_self->__pyx___provides; __Pyx_INCREF(__pyx_t_1); @@ -11575,7 +11025,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_4__str__(st __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -11607,7 +11056,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Delegate_7__repr__(P static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_6__repr__(struct __pyx_obj_19dependency_injector_9providers_Delegate *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -11616,7 +11064,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_6__repr__(s const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__repr__", 0); - __Pyx_TraceCall("__repr__", __pyx_f[1], 478, 0, __PYX_ERR(1, 478, __pyx_L1_error)); /* "dependency_injector/providers.pyx":483 * :rtype: str @@ -11625,7 +11072,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_6__repr__(s * * @property */ - __Pyx_TraceLine(483,0,__PYX_ERR(1, 483, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_str); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 483, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -11665,7 +11111,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_6__repr__(s __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -11693,13 +11138,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Delegate_8provides_1 static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_8provides___get__(struct __pyx_obj_19dependency_injector_9providers_Delegate *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 486, 0, __PYX_ERR(1, 486, __pyx_L1_error)); /* "dependency_injector/providers.pyx":488 * def provides(self): @@ -11708,7 +11148,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_8provides__ * * cpdef object _provide(self, tuple args, dict kwargs): */ - __Pyx_TraceLine(488,0,__PYX_ERR(1, 488, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___provides); __pyx_r = __pyx_v_self->__pyx___provides; @@ -11723,12 +11162,8 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_8provides__ */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.Delegate.provides.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -11744,7 +11179,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_8provides__ static PyObject *__pyx_pw_19dependency_injector_9providers_8Delegate_9_provide(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ static PyObject *__pyx_f_19dependency_injector_9providers_8Delegate__provide(struct __pyx_obj_19dependency_injector_9providers_Delegate *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_args, CYTHON_UNUSED PyObject *__pyx_v_kwargs, int __pyx_skip_dispatch) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -11756,7 +11190,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Delegate__provide(str const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide", __pyx_f[1], 490, 0, __PYX_ERR(1, 490, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -11841,7 +11274,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Delegate__provide(str * * */ - __Pyx_TraceLine(501,0,__PYX_ERR(1, 501, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___provides); __pyx_r = __pyx_v_self->__pyx___provides; @@ -11866,7 +11298,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Delegate__provide(str __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -11944,14 +11375,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Delegate_9_provide(P static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_8_provide(struct __pyx_obj_19dependency_injector_9providers_Delegate *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide (wrapper)", __pyx_f[1], 490, 0, __PYX_ERR(1, 490, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_8Delegate__provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 490, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -11966,7 +11395,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_8_provide(s __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -11995,7 +11423,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_10__reduce_ PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -12007,7 +11434,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_10__reduce_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -12016,7 +11442,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_10__reduce_ * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -12043,7 +11468,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_10__reduce_ * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -12056,7 +11480,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_10__reduce_ * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -12068,7 +11491,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_10__reduce_ * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -12087,7 +11509,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_10__reduce_ * else: * use_setstate = self.__last_overriding is not None or self.__overridden is not None or self.__provides is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -12107,7 +11528,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_10__reduce_ * if use_setstate: * return __pyx_unpickle_Delegate, (type(self), 0x328787b, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (((PyObject *)__pyx_v_self->__pyx_base.__pyx___last_overriding) != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -12138,7 +11558,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_10__reduce_ * return __pyx_unpickle_Delegate, (type(self), 0x328787b, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -12149,7 +11568,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_10__reduce_ * else: * return __pyx_unpickle_Delegate, (type(self), 0x328787b, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_Delegate); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -12195,7 +11613,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_10__reduce_ * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Delegate__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_Delegate); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -12241,7 +11658,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_10__reduce_ __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -12268,21 +11684,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Delegate_13__setstat static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_12__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_Delegate *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_Delegate, (type(self), 0x328787b, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Delegate__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegate__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -12304,7 +11717,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Delegate_12__setstat __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -12336,7 +11748,7 @@ static int __pyx_pw_19dependency_injector_9providers_10Dependency_1__init__(PyOb static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_instance_of,&__pyx_n_s_default,0}; PyObject* values[2] = {0,0}; values[0] = ((PyObject *)__pyx_builtin_object); - values[1] = __pyx_k__8; + values[1] = __pyx_k__4; if (unlikely(__pyx_kwds)) { Py_ssize_t kw_args; const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args); @@ -12395,7 +11807,6 @@ static int __pyx_pw_19dependency_injector_9providers_10Dependency_1__init__(PyOb static int __pyx_pf_19dependency_injector_9providers_10Dependency___init__(struct __pyx_obj_19dependency_injector_9providers_Dependency *__pyx_v_self, PyObject *__pyx_v_instance_of, PyObject *__pyx_v_default) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -12409,7 +11820,6 @@ static int __pyx_pf_19dependency_injector_9providers_10Dependency___init__(struc const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 527, 0, __PYX_ERR(1, 527, __pyx_L1_error)); __Pyx_INCREF(__pyx_v_default); /* "dependency_injector/providers.pyx":529 @@ -12419,7 +11829,6 @@ static int __pyx_pf_19dependency_injector_9providers_10Dependency___init__(struc * raise TypeError( * 'Argument \'instance_of\' has incorrect type (expected {0}, got {1}))'.format( */ - __Pyx_TraceLine(529,0,__PYX_ERR(1, 529, __pyx_L1_error)) __pyx_t_1 = __pyx_v_19dependency_injector_9providers_CLASS_TYPES; __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = PyObject_IsInstance(__pyx_v_instance_of, __pyx_t_1); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(1, 529, __pyx_L1_error) @@ -12434,7 +11843,6 @@ static int __pyx_pf_19dependency_injector_9providers_10Dependency___init__(struc * CLASS_TYPES, * instance_of, */ - __Pyx_TraceLine(531,0,__PYX_ERR(1, 531, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Argument_instance_of_has_incorre, __pyx_n_s_format); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 531, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); @@ -12445,7 +11853,6 @@ static int __pyx_pf_19dependency_injector_9providers_10Dependency___init__(struc * ) * ) */ - __Pyx_TraceLine(533,0,__PYX_ERR(1, 533, __pyx_L1_error)) __pyx_t_5 = NULL; __pyx_t_6 = 0; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) { @@ -12499,7 +11906,6 @@ static int __pyx_pf_19dependency_injector_9providers_10Dependency___init__(struc * 'Argument \'instance_of\' has incorrect type (expected {0}, got {1}))'.format( * CLASS_TYPES, */ - __Pyx_TraceLine(530,0,__PYX_ERR(1, 530, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 530, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -12523,7 +11929,6 @@ static int __pyx_pf_19dependency_injector_9providers_10Dependency___init__(struc * * if default is not UNDEFINED and not isinstance(default, Provider): */ - __Pyx_TraceLine(536,0,__PYX_ERR(1, 536, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_instance_of); __Pyx_GIVEREF(__pyx_v_instance_of); __Pyx_GOTREF(__pyx_v_self->__pyx___instance_of); @@ -12537,7 +11942,6 @@ static int __pyx_pf_19dependency_injector_9providers_10Dependency___init__(struc * default = Object(default) * self.__default = default */ - __Pyx_TraceLine(538,0,__PYX_ERR(1, 538, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_UNDEFINED); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 538, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_2 = (__pyx_v_default != __pyx_t_4); @@ -12561,7 +11965,6 @@ static int __pyx_pf_19dependency_injector_9providers_10Dependency___init__(struc * self.__default = default * */ - __Pyx_TraceLine(539,0,__PYX_ERR(1, 539, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Object), __pyx_v_default); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 539, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF_SET(__pyx_v_default, __pyx_t_4); @@ -12583,7 +11986,6 @@ static int __pyx_pf_19dependency_injector_9providers_10Dependency___init__(struc * * super(Dependency, self).__init__() */ - __Pyx_TraceLine(540,0,__PYX_ERR(1, 540, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_default); __Pyx_GIVEREF(__pyx_v_default); __Pyx_GOTREF(__pyx_v_self->__pyx___default); @@ -12597,7 +11999,6 @@ static int __pyx_pf_19dependency_injector_9providers_10Dependency___init__(struc * * def __deepcopy__(self, memo): */ - __Pyx_TraceLine(542,0,__PYX_ERR(1, 542, __pyx_L1_error)) __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 542, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Dependency)); @@ -12649,7 +12050,6 @@ static int __pyx_pf_19dependency_injector_9providers_10Dependency___init__(struc __pyx_r = -1; __pyx_L0:; __Pyx_XDECREF(__pyx_v_default); - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -12680,7 +12080,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_2__deepc PyObject *__pyx_v_copied = NULL; PyObject *__pyx_v_copied_default = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -12694,7 +12093,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_2__deepc const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[1], 544, 0, __PYX_ERR(1, 544, __pyx_L1_error)); /* "dependency_injector/providers.pyx":546 * def __deepcopy__(self, memo): @@ -12703,7 +12101,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_2__deepc * if copied is not None: * return copied */ - __Pyx_TraceLine(546,0,__PYX_ERR(1, 546, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 546, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 546, __pyx_L1_error) @@ -12734,7 +12131,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_2__deepc * return copied * */ - __Pyx_TraceLine(547,0,__PYX_ERR(1, 547, __pyx_L1_error)) __pyx_t_5 = (__pyx_v_copied != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -12746,7 +12142,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_2__deepc * * copied_default = deepcopy(self.__default, memo) if self.__default is not UNDEFINED else UNDEFINED */ - __Pyx_TraceLine(548,0,__PYX_ERR(1, 548, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -12768,7 +12163,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_2__deepc * copied = self.__class__(self.__instance_of, copied_default) * */ - __Pyx_TraceLine(550,0,__PYX_ERR(1, 550, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_UNDEFINED); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 550, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_6 = (__pyx_v_self->__pyx___default != __pyx_t_2); @@ -12800,7 +12194,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_2__deepc * * self._copy_overridings(copied, memo) */ - __Pyx_TraceLine(551,0,__PYX_ERR(1, 551, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 551, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_2 = NULL; @@ -12858,7 +12251,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_2__deepc * * return copied */ - __Pyx_TraceLine(553,0,__PYX_ERR(1, 553, __pyx_L1_error)) if (!(likely(((__pyx_v_copied) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_copied, __pyx_ptype_19dependency_injector_9providers_Provider))))) __PYX_ERR(1, 553, __pyx_L1_error) if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 553, __pyx_L1_error) ((struct __pyx_vtabstruct_19dependency_injector_9providers_Dependency *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._copy_overridings(((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_self), ((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_copied), ((PyObject*)__pyx_v_memo), 0); @@ -12870,7 +12262,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_2__deepc * * def __call__(self, *args, **kwargs): */ - __Pyx_TraceLine(555,0,__PYX_ERR(1, 555, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -12896,7 +12287,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_2__deepc __Pyx_XDECREF(__pyx_v_copied); __Pyx_XDECREF(__pyx_v_copied_default); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -12943,7 +12333,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ PyObject *__pyx_v_result = NULL; PyObject *__pyx_v_future_result = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -12960,7 +12349,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__call__", 0); - __Pyx_TraceCall("__call__", __pyx_f[1], 557, 0, __PYX_ERR(1, 557, __pyx_L1_error)); /* "dependency_injector/providers.pyx":564 * :rtype: object @@ -12969,7 +12357,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * result = self.__last_overriding(*args, **kwargs) * elif not self.__last_overriding and self.__default is not UNDEFINED: */ - __Pyx_TraceLine(564,0,__PYX_ERR(1, 564, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_v_self->__pyx_base.__pyx___last_overriding)); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(1, 564, __pyx_L1_error) if (__pyx_t_1) { @@ -12980,7 +12367,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * elif not self.__last_overriding and self.__default is not UNDEFINED: * result = self.__default(*args, **kwargs) */ - __Pyx_TraceLine(565,0,__PYX_ERR(1, 565, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)__pyx_v_self->__pyx_base.__pyx___last_overriding), __pyx_v_args, __pyx_v_kwargs); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 565, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v_result = __pyx_t_2; @@ -13003,7 +12389,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * result = self.__default(*args, **kwargs) * else: */ - __Pyx_TraceLine(566,0,__PYX_ERR(1, 566, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_v_self->__pyx_base.__pyx___last_overriding)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(1, 566, __pyx_L1_error) __pyx_t_4 = ((!__pyx_t_3) != 0); if (__pyx_t_4) { @@ -13027,7 +12412,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * else: * raise Error('Dependency is not defined') */ - __Pyx_TraceLine(567,0,__PYX_ERR(1, 567, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_Call(__pyx_v_self->__pyx___default, __pyx_v_args, __pyx_v_kwargs); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 567, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v_result = __pyx_t_2; @@ -13050,7 +12434,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * * if self.is_async_mode_disabled(): */ - __Pyx_TraceLine(569,0,__PYX_ERR(1, 569, __pyx_L1_error)) /*else*/ { __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_Error); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 569, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); @@ -13082,7 +12465,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * self._check_instance_type(result) * return result */ - __Pyx_TraceLine(571,0,__PYX_ERR(1, 571, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_async_mode_disabled); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 571, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; @@ -13111,7 +12493,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * return result * elif self.is_async_mode_enabled(): */ - __Pyx_TraceLine(572,0,__PYX_ERR(1, 572, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_check_instance_type); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 572, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; @@ -13138,7 +12519,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * elif self.is_async_mode_enabled(): * if __isawaitable(result): */ - __Pyx_TraceLine(573,0,__PYX_ERR(1, 573, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_result); __pyx_r = __pyx_v_result; @@ -13160,7 +12540,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * if __isawaitable(result): * future_result = asyncio.Future() */ - __Pyx_TraceLine(574,0,__PYX_ERR(1, 574, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_async_mode_enabled); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 574, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; @@ -13189,7 +12568,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * future_result = asyncio.Future() * result = asyncio.ensure_future(result) */ - __Pyx_TraceLine(575,0,__PYX_ERR(1, 575, __pyx_L1_error)) __pyx_t_1 = (__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_result) != 0); if (__pyx_t_1) { @@ -13200,7 +12578,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * result = asyncio.ensure_future(result) * result.add_done_callback(functools.partial(self._async_provide, future_result)) */ - __Pyx_TraceLine(576,0,__PYX_ERR(1, 576, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 576, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_Future); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 576, __pyx_L1_error) @@ -13231,7 +12608,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * result.add_done_callback(functools.partial(self._async_provide, future_result)) * return future_result */ - __Pyx_TraceLine(577,0,__PYX_ERR(1, 577, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 577, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_ensure_future); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 577, __pyx_L1_error) @@ -13262,7 +12638,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * return future_result * else: */ - __Pyx_TraceLine(578,0,__PYX_ERR(1, 578, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_result, __pyx_n_s_add_done_callback); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 578, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_functools); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 578, __pyx_L1_error) @@ -13344,7 +12719,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * else: * self._check_instance_type(result) */ - __Pyx_TraceLine(579,0,__PYX_ERR(1, 579, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_future_result); __pyx_r = __pyx_v_future_result; @@ -13366,7 +12740,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * future_result = asyncio.Future() * future_result.set_result(result) */ - __Pyx_TraceLine(581,0,__PYX_ERR(1, 581, __pyx_L1_error)) /*else*/ { __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_check_instance_type); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 581, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); @@ -13394,7 +12767,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * future_result.set_result(result) * return future_result */ - __Pyx_TraceLine(582,0,__PYX_ERR(1, 582, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 582, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_Future); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 582, __pyx_L1_error) @@ -13425,7 +12797,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * return future_result * elif self.is_async_mode_undefined(): */ - __Pyx_TraceLine(583,0,__PYX_ERR(1, 583, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_future_result, __pyx_n_s_set_result); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 583, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = NULL; @@ -13452,7 +12823,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * elif self.is_async_mode_undefined(): * if __isawaitable(result): */ - __Pyx_TraceLine(584,0,__PYX_ERR(1, 584, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_future_result); __pyx_r = __pyx_v_future_result; @@ -13475,7 +12845,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * if __isawaitable(result): * self.enable_async_mode() */ - __Pyx_TraceLine(585,0,__PYX_ERR(1, 585, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_async_mode_undefined); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 585, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = NULL; @@ -13504,7 +12873,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * self.enable_async_mode() * */ - __Pyx_TraceLine(586,0,__PYX_ERR(1, 586, __pyx_L1_error)) __pyx_t_1 = (__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_result) != 0); if (__pyx_t_1) { @@ -13515,7 +12883,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * * future_result = asyncio.Future() */ - __Pyx_TraceLine(587,0,__PYX_ERR(1, 587, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_enable_async_mode); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 587, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = NULL; @@ -13542,7 +12909,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * result = asyncio.ensure_future(result) * result.add_done_callback(functools.partial(self._async_provide, future_result)) */ - __Pyx_TraceLine(589,0,__PYX_ERR(1, 589, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 589, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_Future); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 589, __pyx_L1_error) @@ -13573,7 +12939,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * result.add_done_callback(functools.partial(self._async_provide, future_result)) * return future_result */ - __Pyx_TraceLine(590,0,__PYX_ERR(1, 590, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 590, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_ensure_future); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 590, __pyx_L1_error) @@ -13604,7 +12969,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * return future_result * else: */ - __Pyx_TraceLine(591,0,__PYX_ERR(1, 591, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_result, __pyx_n_s_add_done_callback); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 591, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_functools); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 591, __pyx_L1_error) @@ -13686,7 +13050,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * else: * self.disable_async_mode() */ - __Pyx_TraceLine(592,0,__PYX_ERR(1, 592, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_future_result); __pyx_r = __pyx_v_future_result; @@ -13708,7 +13071,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * self._check_instance_type(result) * return result */ - __Pyx_TraceLine(594,0,__PYX_ERR(1, 594, __pyx_L1_error)) /*else*/ { __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_disable_async_mode); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 594, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); @@ -13736,7 +13098,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * return result * */ - __Pyx_TraceLine(595,0,__PYX_ERR(1, 595, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_check_instance_type); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 595, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = NULL; @@ -13763,7 +13124,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ * * def __str__(self): */ - __Pyx_TraceLine(596,0,__PYX_ERR(1, 596, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_result); __pyx_r = __pyx_v_result; @@ -13804,7 +13164,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_4__call_ __Pyx_XDECREF(__pyx_v_result); __Pyx_XDECREF(__pyx_v_future_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -13836,7 +13195,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_10Dependency_7__str__ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_6__str__(struct __pyx_obj_19dependency_injector_9providers_Dependency *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -13844,7 +13202,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_6__str__ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__str__", 0); - __Pyx_TraceCall("__str__", __pyx_f[1], 598, 0, __PYX_ERR(1, 598, __pyx_L1_error)); /* "dependency_injector/providers.pyx":603 * :rtype: str @@ -13853,7 +13210,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_6__str__ * * def __repr__(self): */ - __Pyx_TraceLine(603,0,__PYX_ERR(1, 603, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_v_self->__pyx___instance_of; __Pyx_INCREF(__pyx_t_1); @@ -13880,7 +13236,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_6__str__ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -13912,7 +13267,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_10Dependency_9__repr_ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_8__repr__(struct __pyx_obj_19dependency_injector_9providers_Dependency *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -13921,7 +13275,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_8__repr_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__repr__", 0); - __Pyx_TraceCall("__repr__", __pyx_f[1], 605, 0, __PYX_ERR(1, 605, __pyx_L1_error)); /* "dependency_injector/providers.pyx":610 * :rtype: str @@ -13930,7 +13283,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_8__repr_ * * @property */ - __Pyx_TraceLine(610,0,__PYX_ERR(1, 610, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_str); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 610, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -13970,7 +13322,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_8__repr_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -13998,13 +13349,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_10Dependency_11instan static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_11instance_of___get__(struct __pyx_obj_19dependency_injector_9providers_Dependency *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 613, 0, __PYX_ERR(1, 613, __pyx_L1_error)); /* "dependency_injector/providers.pyx":615 * def instance_of(self): @@ -14013,7 +13359,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_11instan * * @property */ - __Pyx_TraceLine(615,0,__PYX_ERR(1, 615, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___instance_of); __pyx_r = __pyx_v_self->__pyx___instance_of; @@ -14028,12 +13373,8 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_11instan */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.Dependency.instance_of.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -14061,13 +13402,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_10Dependency_7default static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_7default___get__(struct __pyx_obj_19dependency_injector_9providers_Dependency *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 618, 0, __PYX_ERR(1, 618, __pyx_L1_error)); /* "dependency_injector/providers.pyx":620 * def default(self): @@ -14076,7 +13412,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_7default * * def provided_by(self, provider): */ - __Pyx_TraceLine(620,0,__PYX_ERR(1, 620, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___default); __pyx_r = __pyx_v_self->__pyx___default; @@ -14091,12 +13426,8 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_7default */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.Dependency.default.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -14125,7 +13456,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_10Dependency_11provid static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_10provided_by(struct __pyx_obj_19dependency_injector_9providers_Dependency *__pyx_v_self, PyObject *__pyx_v_provider) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -14134,7 +13464,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_10provid const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("provided_by", 0); - __Pyx_TraceCall("provided_by", __pyx_f[1], 622, 0, __PYX_ERR(1, 622, __pyx_L1_error)); /* "dependency_injector/providers.pyx":630 * :rtype: None @@ -14143,7 +13472,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_10provid * * def _async_provide(self, future_result, future): */ - __Pyx_TraceLine(630,0,__PYX_ERR(1, 630, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_override); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 630, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -14183,7 +13511,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_10provid __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -14264,7 +13591,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_12_async PyObject *__pyx_v_instance = NULL; PyObject *__pyx_v_exception = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -14280,7 +13606,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_12_async const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_async_provide", 0); - __Pyx_TraceCall("_async_provide", __pyx_f[1], 632, 0, __PYX_ERR(1, 632, __pyx_L1_error)); /* "dependency_injector/providers.pyx":633 * @@ -14289,7 +13614,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_12_async * try: * self._check_instance_type(instance) */ - __Pyx_TraceLine(633,0,__PYX_ERR(1, 633, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_future, __pyx_n_s_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 633, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -14317,7 +13641,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_12_async * self._check_instance_type(instance) * except Error as exception: */ - __Pyx_TraceLine(634,0,__PYX_ERR(1, 634, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -14334,7 +13657,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_12_async * except Error as exception: * future_result.set_exception(exception) */ - __Pyx_TraceLine(635,0,__PYX_ERR(1, 635, __pyx_L3_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_check_instance_type); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 635, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -14370,7 +13692,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_12_async * * def _check_instance_type(self, instance): */ - __Pyx_TraceLine(639,0,__PYX_ERR(1, 639, __pyx_L5_except_error)) /*else:*/ { __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_future_result, __pyx_n_s_set_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 639, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_2); @@ -14407,7 +13728,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_12_async * future_result.set_exception(exception) * else: */ - __Pyx_TraceLine(636,0,__PYX_ERR(1, 636, __pyx_L5_except_error)) __Pyx_ErrFetch(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3); __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_Error); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 636, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); @@ -14431,7 +13751,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_12_async * else: * future_result.set_result(instance) */ - __Pyx_TraceLine(637,0,__PYX_ERR(1, 637, __pyx_L5_except_error)) __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_future_result, __pyx_n_s_set_exception); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 637, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_9); __pyx_t_10 = NULL; @@ -14502,7 +13821,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_12_async __Pyx_XDECREF(__pyx_v_instance); __Pyx_XDECREF(__pyx_v_exception); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -14530,7 +13848,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_10Dependency_15_check static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_14_check_instance_type(struct __pyx_obj_19dependency_injector_9providers_Dependency *__pyx_v_self, PyObject *__pyx_v_instance) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -14546,7 +13863,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_14_check const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_check_instance_type", 0); - __Pyx_TraceCall("_check_instance_type", __pyx_f[1], 641, 0, __PYX_ERR(1, 641, __pyx_L1_error)); /* "dependency_injector/providers.pyx":642 * @@ -14555,7 +13871,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_14_check * raise Error('{0} is not an instance of {1}'.format(instance, self.instance_of)) * */ - __Pyx_TraceLine(642,0,__PYX_ERR(1, 642, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_instance_of); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 642, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyObject_IsInstance(__pyx_v_instance, __pyx_t_1); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(1, 642, __pyx_L1_error) @@ -14570,7 +13885,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_14_check * * */ - __Pyx_TraceLine(643,0,__PYX_ERR(1, 643, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 643, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_0_is_not_an_instance_of_1, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 643, __pyx_L1_error) @@ -14676,7 +13990,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_14_check __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -14705,7 +14018,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_16__redu PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -14717,7 +14029,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_16__redu const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -14726,7 +14037,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_16__redu * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -14756,7 +14066,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_16__redu * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -14769,7 +14078,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_16__redu * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -14781,7 +14089,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_16__redu * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -14800,7 +14107,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_16__redu * else: * use_setstate = self.__default is not None or self.__instance_of is not None or self.__last_overriding is not None or self.__overridden is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -14820,7 +14126,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_16__redu * if use_setstate: * return __pyx_unpickle_Dependency, (type(self), 0x5e35d71, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (__pyx_v_self->__pyx___default != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -14858,7 +14163,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_16__redu * return __pyx_unpickle_Dependency, (type(self), 0x5e35d71, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -14869,7 +14173,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_16__redu * else: * return __pyx_unpickle_Dependency, (type(self), 0x5e35d71, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_Dependency); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -14915,7 +14218,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_16__redu * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Dependency__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_Dependency); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -14961,7 +14263,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_16__redu __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -14988,21 +14289,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_10Dependency_19__sets static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_18__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_Dependency *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_Dependency, (type(self), 0x5e35d71, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Dependency__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Dependency__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -15024,7 +14322,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10Dependency_18__sets __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -15053,7 +14350,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18ExternalDependency_ PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -15065,7 +14361,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18ExternalDependency_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -15074,7 +14369,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18ExternalDependency_ * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -15104,7 +14398,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18ExternalDependency_ * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -15117,7 +14410,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18ExternalDependency_ * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -15129,7 +14421,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18ExternalDependency_ * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -15148,7 +14439,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18ExternalDependency_ * else: * use_setstate = self.__default is not None or self.__instance_of is not None or self.__last_overriding is not None or self.__overridden is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -15168,7 +14458,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18ExternalDependency_ * if use_setstate: * return __pyx_unpickle_ExternalDependency, (type(self), 0x5e35d71, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (__pyx_v_self->__pyx_base.__pyx___default != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -15206,7 +14495,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18ExternalDependency_ * return __pyx_unpickle_ExternalDependency, (type(self), 0x5e35d71, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -15217,7 +14505,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18ExternalDependency_ * else: * return __pyx_unpickle_ExternalDependency, (type(self), 0x5e35d71, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_ExternalDependenc); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -15263,7 +14550,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18ExternalDependency_ * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_ExternalDependency__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_ExternalDependenc); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -15309,7 +14595,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18ExternalDependency_ __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -15336,21 +14621,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_18ExternalDependency_ static PyObject *__pyx_pf_19dependency_injector_9providers_18ExternalDependency_2__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_ExternalDependency *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_ExternalDependency, (type(self), 0x5e35d71, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_ExternalDependency__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_ExternalDependency__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -15372,7 +14654,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18ExternalDependency_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -15411,7 +14692,6 @@ static int __pyx_pw_19dependency_injector_9providers_21DependenciesContainer_1__ static int __pyx_pf_19dependency_injector_9providers_21DependenciesContainer___init__(struct __pyx_obj_19dependency_injector_9providers_DependenciesContainer *__pyx_v_self, PyObject *__pyx_v_dependencies) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -15420,7 +14700,6 @@ static int __pyx_pf_19dependency_injector_9providers_21DependenciesContainer___i const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 708, 0, __PYX_ERR(1, 708, __pyx_L1_error)); /* "dependency_injector/providers.pyx":710 * def __init__(self, **dependencies): @@ -15429,7 +14708,6 @@ static int __pyx_pf_19dependency_injector_9providers_21DependenciesContainer___i * super(DependenciesContainer, self).__init__(None) * */ - __Pyx_TraceLine(710,0,__PYX_ERR(1, 710, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_dependencies); __Pyx_GIVEREF(__pyx_v_dependencies); __Pyx_GOTREF(__pyx_v_self->__pyx___providers); @@ -15443,7 +14721,6 @@ static int __pyx_pf_19dependency_injector_9providers_21DependenciesContainer___i * * def __deepcopy__(self, memo): */ - __Pyx_TraceLine(711,0,__PYX_ERR(1, 711, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 711, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_DependenciesContainer)); @@ -15493,7 +14770,6 @@ static int __pyx_pf_19dependency_injector_9providers_21DependenciesContainer___i __Pyx_AddTraceback("dependency_injector.providers.DependenciesContainer.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -15523,7 +14799,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_21DependenciesContain static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContainer_2__deepcopy__(struct __pyx_obj_19dependency_injector_9providers_DependenciesContainer *__pyx_v_self, PyObject *__pyx_v_memo) { struct __pyx_obj_19dependency_injector_9providers_DependenciesContainer *__pyx_v_copied = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -15536,7 +14811,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[1], 713, 0, __PYX_ERR(1, 713, __pyx_L1_error)); /* "dependency_injector/providers.pyx":717 * cdef DependenciesContainer copied @@ -15545,7 +14819,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * if copied is not None: * return copied */ - __Pyx_TraceLine(717,0,__PYX_ERR(1, 717, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 717, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 717, __pyx_L1_error) @@ -15577,7 +14850,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * return copied * */ - __Pyx_TraceLine(718,0,__PYX_ERR(1, 718, __pyx_L1_error)) __pyx_t_5 = (((PyObject *)__pyx_v_copied) != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -15589,7 +14861,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * * copied = self.__class__() */ - __Pyx_TraceLine(719,0,__PYX_ERR(1, 719, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_copied)); __pyx_r = ((PyObject *)__pyx_v_copied); @@ -15611,7 +14882,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * copied.__provides = deepcopy(self.__provides, memo) * copied.__providers = deepcopy(self.__providers, memo) */ - __Pyx_TraceLine(721,0,__PYX_ERR(1, 721, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 721, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -15640,7 +14910,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * copied.__providers = deepcopy(self.__providers, memo) * */ - __Pyx_TraceLine(722,0,__PYX_ERR(1, 722, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx_base.__pyx___provides; __Pyx_INCREF(__pyx_t_1); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 722, __pyx_L1_error) @@ -15662,7 +14931,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * * self._copy_overridings(copied, memo) */ - __Pyx_TraceLine(723,0,__PYX_ERR(1, 723, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___providers; __Pyx_INCREF(__pyx_t_2); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 723, __pyx_L1_error) @@ -15685,7 +14953,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * * return copied */ - __Pyx_TraceLine(725,0,__PYX_ERR(1, 725, __pyx_L1_error)) if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 725, __pyx_L1_error) ((struct __pyx_vtabstruct_19dependency_injector_9providers_DependenciesContainer *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._copy_overridings(((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_self), ((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_copied), ((PyObject*)__pyx_v_memo), 0); @@ -15696,7 +14963,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * * def __getattr__(self, name): */ - __Pyx_TraceLine(727,0,__PYX_ERR(1, 727, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_copied)); __pyx_r = ((PyObject *)__pyx_v_copied); @@ -15721,7 +14987,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain __pyx_L0:; __Pyx_XDECREF((PyObject *)__pyx_v_copied); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -15756,7 +15021,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain PyObject *__pyx_v_container = NULL; PyObject *__pyx_v_dependency_provider = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -15768,7 +15032,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__getattr__", 0); - __Pyx_TraceCall("__getattr__", __pyx_f[1], 729, 0, __PYX_ERR(1, 729, __pyx_L1_error)); /* "dependency_injector/providers.pyx":731 * def __getattr__(self, name): @@ -15777,7 +15040,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * raise AttributeError( * '\'{cls}\' object has no attribute ' */ - __Pyx_TraceLine(731,0,__PYX_ERR(1, 731, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_name, __pyx_n_s_startswith); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 731, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = NULL; @@ -15790,7 +15052,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain __Pyx_DECREF_SET(__pyx_t_3, function); } } - __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_n_s__9) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_n_s__9); + __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_n_s__5) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_n_s__5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 731, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -15814,7 +15076,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain __Pyx_DECREF_SET(__pyx_t_3, function); } } - __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_n_s__9) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_n_s__9); + __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_n_s__5) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_n_s__5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 731, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -15832,7 +15094,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * attribute_name=name)) * */ - __Pyx_TraceLine(734,0,__PYX_ERR(1, 734, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_cls_object_has_no_attribute_att, __pyx_n_s_format); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 734, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 734, __pyx_L1_error) @@ -15852,7 +15113,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * * provider = self.__providers.get(name) */ - __Pyx_TraceLine(735,0,__PYX_ERR(1, 735, __pyx_L1_error)) if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_attribute_name, __pyx_v_name) < 0) __PYX_ERR(1, 734, __pyx_L1_error) /* "dependency_injector/providers.pyx":734 @@ -15862,7 +15122,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * attribute_name=name)) * */ - __Pyx_TraceLine(734,0,__PYX_ERR(1, 734, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_empty_tuple, __pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 734, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -15875,7 +15134,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * '\'{cls}\' object has no attribute ' * '\'{attribute_name}\''.format(cls=self.__class__.__name__, */ - __Pyx_TraceLine(732,0,__PYX_ERR(1, 732, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_AttributeError, __pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 732, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; @@ -15899,7 +15157,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * if not provider: * provider = Dependency() */ - __Pyx_TraceLine(737,0,__PYX_ERR(1, 737, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___providers == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "get"); __PYX_ERR(1, 737, __pyx_L1_error) @@ -15916,7 +15173,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * provider = Dependency() * self.__providers[name] = provider */ - __Pyx_TraceLine(738,0,__PYX_ERR(1, 738, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_provider); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(1, 738, __pyx_L1_error) __pyx_t_5 = ((!__pyx_t_1) != 0); if (__pyx_t_5) { @@ -15928,7 +15184,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * self.__providers[name] = provider * */ - __Pyx_TraceLine(739,0,__PYX_ERR(1, 739, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_CallNoArg(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Dependency)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 739, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF_SET(__pyx_v_provider, __pyx_t_3); @@ -15941,7 +15196,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * * container = self.__call__() */ - __Pyx_TraceLine(740,0,__PYX_ERR(1, 740, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___providers == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 740, __pyx_L1_error) @@ -15955,7 +15209,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * if container: * dependency_provider = container.providers.get(name) */ - __Pyx_TraceLine(742,0,__PYX_ERR(1, 742, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_call); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 742, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_2 = NULL; @@ -15983,7 +15236,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * dependency_provider = container.providers.get(name) * if dependency_provider: */ - __Pyx_TraceLine(743,0,__PYX_ERR(1, 743, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_v_container); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(1, 743, __pyx_L1_error) if (__pyx_t_5) { @@ -15994,7 +15246,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * if dependency_provider: * provider.override(dependency_provider) */ - __Pyx_TraceLine(744,0,__PYX_ERR(1, 744, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_container, __pyx_n_s_providers); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 744, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 744, __pyx_L1_error) @@ -16025,7 +15276,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * provider.override(dependency_provider) * */ - __Pyx_TraceLine(745,0,__PYX_ERR(1, 745, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_v_dependency_provider); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(1, 745, __pyx_L1_error) if (__pyx_t_5) { @@ -16036,7 +15286,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * * return provider */ - __Pyx_TraceLine(746,0,__PYX_ERR(1, 746, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_provider, __pyx_n_s_override); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 746, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_6 = NULL; @@ -16090,7 +15339,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * * @property */ - __Pyx_TraceLine(748,0,__PYX_ERR(1, 748, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_provider); __pyx_r = __pyx_v_provider; @@ -16117,7 +15365,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain __Pyx_XDECREF(__pyx_v_container); __Pyx_XDECREF(__pyx_v_dependency_provider); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -16145,13 +15392,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_21DependenciesContain static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContainer_9providers___get__(struct __pyx_obj_19dependency_injector_9providers_DependenciesContainer *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 751, 0, __PYX_ERR(1, 751, __pyx_L1_error)); /* "dependency_injector/providers.pyx":753 * def providers(self): @@ -16160,7 +15402,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * * def override(self, provider): */ - __Pyx_TraceLine(753,0,__PYX_ERR(1, 753, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___providers); __pyx_r = __pyx_v_self->__pyx___providers; @@ -16175,12 +15416,8 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.DependenciesContainer.providers.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -16209,7 +15446,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_21DependenciesContain static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContainer_6override(struct __pyx_obj_19dependency_injector_9providers_DependenciesContainer *__pyx_v_self, PyObject *__pyx_v_provider) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -16218,7 +15454,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("override", 0); - __Pyx_TraceCall("override", __pyx_f[1], 755, 0, __PYX_ERR(1, 755, __pyx_L1_error)); /* "dependency_injector/providers.pyx":766 * :rtype: :py:class:`OverridingContext` @@ -16227,7 +15462,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * return super(DependenciesContainer, self).override(provider) * */ - __Pyx_TraceLine(766,0,__PYX_ERR(1, 766, __pyx_L1_error)) __pyx_t_1 = ((struct __pyx_vtabstruct_19dependency_injector_9providers_DependenciesContainer *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->_override_providers(__pyx_v_self, __pyx_v_provider, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 766, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -16239,7 +15473,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * * def reset_last_overriding(self): */ - __Pyx_TraceLine(767,0,__PYX_ERR(1, 767, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 767, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -16291,7 +15524,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -16321,7 +15553,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_21DependenciesContain static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContainer_8reset_last_overriding(struct __pyx_obj_19dependency_injector_9providers_DependenciesContainer *__pyx_v_self) { PyObject *__pyx_v_child = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -16338,7 +15569,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("reset_last_overriding", 0); - __Pyx_TraceCall("reset_last_overriding", __pyx_f[1], 769, 0, __PYX_ERR(1, 769, __pyx_L1_error)); /* "dependency_injector/providers.pyx":777 * :rtype: None @@ -16347,7 +15577,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * try: * child.reset_last_overriding() */ - __Pyx_TraceLine(777,0,__PYX_ERR(1, 777, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___providers == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "values"); __PYX_ERR(1, 777, __pyx_L1_error) @@ -16404,7 +15633,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * child.reset_last_overriding() * except Error: */ - __Pyx_TraceLine(778,0,__PYX_ERR(1, 778, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -16421,7 +15649,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * except Error: * pass */ - __Pyx_TraceLine(779,0,__PYX_ERR(1, 779, __pyx_L5_error)) __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_child, __pyx_n_s_reset_last_overriding); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 779, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_9 = NULL; @@ -16465,7 +15692,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * pass * super(DependenciesContainer, self).reset_last_overriding() */ - __Pyx_TraceLine(780,0,__PYX_ERR(1, 780, __pyx_L7_except_error)) __Pyx_ErrFetch(&__pyx_t_1, &__pyx_t_8, &__pyx_t_9); __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_Error); if (unlikely(!__pyx_t_10)) __PYX_ERR(1, 780, __pyx_L7_except_error) __Pyx_GOTREF(__pyx_t_10); @@ -16507,7 +15733,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * try: * child.reset_last_overriding() */ - __Pyx_TraceLine(777,0,__PYX_ERR(1, 777, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -16518,7 +15743,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * * def reset_override(self): */ - __Pyx_TraceLine(782,0,__PYX_ERR(1, 782, __pyx_L1_error)) __pyx_t_9 = PyTuple_New(2); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 782, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_DependenciesContainer)); @@ -16572,7 +15796,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain __pyx_L0:; __Pyx_XDECREF(__pyx_v_child); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -16602,7 +15825,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_21DependenciesContain static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContainer_10reset_override(struct __pyx_obj_19dependency_injector_9providers_DependenciesContainer *__pyx_v_self) { PyObject *__pyx_v_child = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -16614,7 +15836,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("reset_override", 0); - __Pyx_TraceCall("reset_override", __pyx_f[1], 784, 0, __PYX_ERR(1, 784, __pyx_L1_error)); /* "dependency_injector/providers.pyx":789 * :rtype: None @@ -16623,7 +15844,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * child.reset_override() * super(DependenciesContainer, self).reset_override() */ - __Pyx_TraceLine(789,0,__PYX_ERR(1, 789, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___providers == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "values"); __PYX_ERR(1, 789, __pyx_L1_error) @@ -16680,7 +15900,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * super(DependenciesContainer, self).reset_override() * */ - __Pyx_TraceLine(790,0,__PYX_ERR(1, 790, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_child, __pyx_n_s_reset_override); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 790, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; @@ -16707,7 +15926,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * child.reset_override() * super(DependenciesContainer, self).reset_override() */ - __Pyx_TraceLine(789,0,__PYX_ERR(1, 789, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -16718,7 +15936,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * * cpdef object _override_providers(self, object container): */ - __Pyx_TraceLine(791,0,__PYX_ERR(1, 791, __pyx_L1_error)) __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 791, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_DependenciesContainer)); @@ -16771,7 +15988,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain __pyx_L0:; __Pyx_XDECREF(__pyx_v_child); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -16790,7 +16006,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_21DependenciesContaine PyObject *__pyx_v_dependency_provider = NULL; PyObject *__pyx_v_provider = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -16806,7 +16021,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_21DependenciesContaine const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_override_providers", 0); - __Pyx_TraceCall("_override_providers", __pyx_f[1], 793, 0, __PYX_ERR(1, 793, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -16861,7 +16075,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_21DependenciesContaine * provider = getattr(self, name) * */ - __Pyx_TraceLine(795,0,__PYX_ERR(1, 795, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_container, __pyx_n_s_providers); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 795, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_items); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 795, __pyx_L1_error) @@ -16980,7 +16193,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_21DependenciesContaine * * if provider.last_overriding is dependency_provider: */ - __Pyx_TraceLine(796,0,__PYX_ERR(1, 796, __pyx_L1_error)) __pyx_t_1 = __Pyx_GetAttr(((PyObject *)__pyx_v_self), __pyx_v_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 796, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_XDECREF_SET(__pyx_v_provider, __pyx_t_1); @@ -16993,7 +16205,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_21DependenciesContaine * continue * */ - __Pyx_TraceLine(798,0,__PYX_ERR(1, 798, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_provider, __pyx_n_s_last_overriding); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 798, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_9 = (__pyx_t_1 == __pyx_v_dependency_provider); @@ -17008,7 +16219,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_21DependenciesContaine * * provider.override(dependency_provider) */ - __Pyx_TraceLine(799,0,__PYX_ERR(1, 799, __pyx_L1_error)) goto __pyx_L3_continue; /* "dependency_injector/providers.pyx":798 @@ -17027,7 +16237,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_21DependenciesContaine * * */ - __Pyx_TraceLine(801,0,__PYX_ERR(1, 801, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_provider, __pyx_n_s_override); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 801, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_2 = NULL; @@ -17054,7 +16263,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_21DependenciesContaine * provider = getattr(self, name) * */ - __Pyx_TraceLine(795,0,__PYX_ERR(1, 795, __pyx_L1_error)) __pyx_L3_continue:; } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -17083,7 +16291,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_21DependenciesContaine __Pyx_XDECREF(__pyx_v_dependency_provider); __Pyx_XDECREF(__pyx_v_provider); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -17104,14 +16311,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_21DependenciesContain static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContainer_12_override_providers(struct __pyx_obj_19dependency_injector_9providers_DependenciesContainer *__pyx_v_self, PyObject *__pyx_v_container) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_override_providers", 0); - __Pyx_TraceCall("_override_providers (wrapper)", __pyx_f[1], 793, 0, __PYX_ERR(1, 793, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_21DependenciesContainer__override_providers(__pyx_v_self, __pyx_v_container, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 793, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -17126,7 +16331,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -17155,7 +16359,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -17167,7 +16370,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -17176,7 +16378,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -17206,7 +16407,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -17219,7 +16419,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -17231,7 +16430,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -17250,7 +16448,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * else: * use_setstate = self.__last_overriding is not None or self.__overridden is not None or self.__providers is not None or self.__provides is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -17270,7 +16467,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * if use_setstate: * return __pyx_unpickle_DependenciesContainer, (type(self), 0x1cf9f6d, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (((PyObject *)__pyx_v_self->__pyx_base.__pyx_base.__pyx___last_overriding) != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -17308,7 +16504,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * return __pyx_unpickle_DependenciesContainer, (type(self), 0x1cf9f6d, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -17319,7 +16514,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * else: * return __pyx_unpickle_DependenciesContainer, (type(self), 0x1cf9f6d, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_DependenciesConta); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -17365,7 +16559,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_DependenciesContainer__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_DependenciesConta); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -17411,7 +16604,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -17438,21 +16630,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_21DependenciesContain static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContainer_16__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_DependenciesContainer *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_DependenciesContainer, (type(self), 0x1cf9f6d, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_DependenciesContainer__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_DependenciesContainer__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -17474,7 +16663,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_21DependenciesContain __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -17563,7 +16751,6 @@ static int __pyx_pw_19dependency_injector_9providers_17OverridingContext_1__init static int __pyx_pf_19dependency_injector_9providers_17OverridingContext___init__(struct __pyx_obj_19dependency_injector_9providers_OverridingContext *__pyx_v_self, struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_overridden, struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_overriding) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -17572,7 +16759,6 @@ static int __pyx_pf_19dependency_injector_9providers_17OverridingContext___init_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 818, 0, __PYX_ERR(1, 818, __pyx_L1_error)); /* "dependency_injector/providers.pyx":827 * :type overriding: :py:class:`Provider` @@ -17581,7 +16767,6 @@ static int __pyx_pf_19dependency_injector_9providers_17OverridingContext___init_ * self.__overriding = overriding * super(OverridingContext, self).__init__() */ - __Pyx_TraceLine(827,0,__PYX_ERR(1, 827, __pyx_L1_error)) __Pyx_INCREF(((PyObject *)__pyx_v_overridden)); __Pyx_GIVEREF(((PyObject *)__pyx_v_overridden)); __Pyx_GOTREF(__pyx_v_self->__pyx___overridden); @@ -17595,7 +16780,6 @@ static int __pyx_pf_19dependency_injector_9providers_17OverridingContext___init_ * super(OverridingContext, self).__init__() * */ - __Pyx_TraceLine(828,0,__PYX_ERR(1, 828, __pyx_L1_error)) __Pyx_INCREF(((PyObject *)__pyx_v_overriding)); __Pyx_GIVEREF(((PyObject *)__pyx_v_overriding)); __Pyx_GOTREF(__pyx_v_self->__pyx___overriding); @@ -17609,7 +16793,6 @@ static int __pyx_pf_19dependency_injector_9providers_17OverridingContext___init_ * * def __enter__(self): */ - __Pyx_TraceLine(829,0,__PYX_ERR(1, 829, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 829, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_OverridingContext)); @@ -17659,7 +16842,6 @@ static int __pyx_pf_19dependency_injector_9providers_17OverridingContext___init_ __Pyx_AddTraceback("dependency_injector.providers.OverridingContext.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -17688,13 +16870,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_17OverridingContext_3 static PyObject *__pyx_pf_19dependency_injector_9providers_17OverridingContext_2__enter__(struct __pyx_obj_19dependency_injector_9providers_OverridingContext *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__enter__", 0); - __Pyx_TraceCall("__enter__", __pyx_f[1], 831, 0, __PYX_ERR(1, 831, __pyx_L1_error)); /* "dependency_injector/providers.pyx":833 * def __enter__(self): @@ -17703,7 +16880,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17OverridingContext_2 * * def __exit__(self, *_): */ - __Pyx_TraceLine(833,0,__PYX_ERR(1, 833, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self->__pyx___overriding)); __pyx_r = ((PyObject *)__pyx_v_self->__pyx___overriding); @@ -17718,12 +16894,8 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17OverridingContext_2 */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.OverridingContext.__enter__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -17757,7 +16929,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_17OverridingContext_5 static PyObject *__pyx_pf_19dependency_injector_9providers_17OverridingContext_4__exit__(struct __pyx_obj_19dependency_injector_9providers_OverridingContext *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v__) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -17766,7 +16937,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17OverridingContext_4 const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__exit__", 0); - __Pyx_TraceCall("__exit__", __pyx_f[1], 835, 0, __PYX_ERR(1, 835, __pyx_L1_error)); /* "dependency_injector/providers.pyx":837 * def __exit__(self, *_): @@ -17775,7 +16945,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17OverridingContext_4 * * */ - __Pyx_TraceLine(837,0,__PYX_ERR(1, 837, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___overridden), __pyx_n_s_reset_last_overriding); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 837, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -17814,7 +16983,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17OverridingContext_4 __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -17843,7 +17011,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17OverridingContext_6 PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -17855,7 +17022,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17OverridingContext_6 const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -17864,7 +17030,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17OverridingContext_6 * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)__pyx_v_self->__pyx___overridden)); @@ -17883,7 +17048,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17OverridingContext_6 * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_1 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v__dict = __pyx_t_1; @@ -17896,7 +17060,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17OverridingContext_6 * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = (__pyx_v__dict != Py_None); __pyx_t_3 = (__pyx_t_2 != 0); if (__pyx_t_3) { @@ -17908,7 +17071,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17OverridingContext_6 * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v__dict); @@ -17927,7 +17089,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17OverridingContext_6 * else: * use_setstate = self.__overridden is not None or self.__overriding is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -17947,7 +17108,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17OverridingContext_6 * if use_setstate: * return __pyx_unpickle_OverridingContext, (type(self), 0x2071b6b, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_2 = (((PyObject *)__pyx_v_self->__pyx___overridden) != Py_None); __pyx_t_5 = (__pyx_t_2 != 0); @@ -17971,7 +17131,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17OverridingContext_6 * return __pyx_unpickle_OverridingContext, (type(self), 0x2071b6b, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_3 = (__pyx_v_use_setstate != 0); if (__pyx_t_3) { @@ -17982,7 +17141,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17OverridingContext_6 * else: * return __pyx_unpickle_OverridingContext, (type(self), 0x2071b6b, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_pyx_unpickle_OverridingContext); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); @@ -18028,7 +17186,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17OverridingContext_6 * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_OverridingContext__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_OverridingContext); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -18074,7 +17231,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17OverridingContext_6 __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -18101,21 +17257,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_17OverridingContext_9 static PyObject *__pyx_pf_19dependency_injector_9providers_17OverridingContext_8__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_OverridingContext *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_OverridingContext, (type(self), 0x2071b6b, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_OverridingContext__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_OverridingContext__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -18137,7 +17290,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17OverridingContext_8 __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -18229,7 +17381,6 @@ static int __pyx_pw_19dependency_injector_9providers_8Callable_1__init__(PyObjec static int __pyx_pf_19dependency_injector_9providers_8Callable___init__(struct __pyx_obj_19dependency_injector_9providers_Callable *__pyx_v_self, PyObject *__pyx_v_provides, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -18245,7 +17396,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Callable___init__(struct _ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 864, 0, __PYX_ERR(1, 864, __pyx_L1_error)); /* "dependency_injector/providers.pyx":870 * :type provides: callable @@ -18254,7 +17404,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Callable___init__(struct _ * raise Error('Provider {0} expected to get callable, ' * 'got {0}'.format('.'.join((self.__class__.__module__, */ - __Pyx_TraceLine(870,0,__PYX_ERR(1, 870, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyCallable_Check(__pyx_v_provides); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(1, 870, __pyx_L1_error) __pyx_t_2 = ((!(__pyx_t_1 != 0)) != 0); if (unlikely(__pyx_t_2)) { @@ -18266,7 +17415,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Callable___init__(struct _ * 'got {0}'.format('.'.join((self.__class__.__module__, * self.__class__.__name__)), */ - __Pyx_TraceLine(871,0,__PYX_ERR(1, 871, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 871, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); @@ -18277,7 +17425,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Callable___init__(struct _ * self.__class__.__name__)), * provides)) */ - __Pyx_TraceLine(872,0,__PYX_ERR(1, 872, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Provider_0_expected_to_get_calla, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 872, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 872, __pyx_L1_error) @@ -18293,7 +17440,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Callable___init__(struct _ * provides)) * self.__provides = provides */ - __Pyx_TraceLine(873,0,__PYX_ERR(1, 873, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 873, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_name); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 873, __pyx_L1_error) @@ -18307,7 +17453,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Callable___init__(struct _ * self.__class__.__name__)), * provides)) */ - __Pyx_TraceLine(872,0,__PYX_ERR(1, 872, __pyx_L1_error)) __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 872, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_GIVEREF(__pyx_t_8); @@ -18316,7 +17461,7 @@ static int __pyx_pf_19dependency_injector_9providers_8Callable___init__(struct _ PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_9); __pyx_t_8 = 0; __pyx_t_9 = 0; - __pyx_t_9 = __Pyx_PyString_Join(__pyx_kp_s__10, __pyx_t_7); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 872, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyString_Join(__pyx_kp_s__6, __pyx_t_7); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 872, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; @@ -18327,7 +17472,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Callable___init__(struct _ * self.__provides = provides * */ - __Pyx_TraceLine(874,0,__PYX_ERR(1, 874, __pyx_L1_error)) __pyx_t_7 = NULL; __pyx_t_10 = 0; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_6))) { @@ -18411,7 +17555,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Callable___init__(struct _ * * self.__args = tuple() */ - __Pyx_TraceLine(875,0,__PYX_ERR(1, 875, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_provides); __Pyx_GIVEREF(__pyx_v_provides); __Pyx_GOTREF(__pyx_v_self->__pyx___provides); @@ -18425,7 +17568,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Callable___init__(struct _ * self.__args_len = 0 * self.set_args(*args) */ - __Pyx_TraceLine(877,0,__PYX_ERR(1, 877, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_CallNoArg(((PyObject *)(&PyTuple_Type))); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 877, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); @@ -18441,7 +17583,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Callable___init__(struct _ * self.set_args(*args) * */ - __Pyx_TraceLine(878,0,__PYX_ERR(1, 878, __pyx_L1_error)) __pyx_v_self->__pyx___args_len = 0; /* "dependency_injector/providers.pyx":879 @@ -18451,7 +17592,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Callable___init__(struct _ * * self.__kwargs = tuple() */ - __Pyx_TraceLine(879,0,__PYX_ERR(1, 879, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_set_args); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 879, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_v_args, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 879, __pyx_L1_error) @@ -18466,7 +17606,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Callable___init__(struct _ * self.__kwargs_len = 0 * self.set_kwargs(**kwargs) */ - __Pyx_TraceLine(881,0,__PYX_ERR(1, 881, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_CallNoArg(((PyObject *)(&PyTuple_Type))); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 881, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_GIVEREF(__pyx_t_4); @@ -18482,7 +17621,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Callable___init__(struct _ * self.set_kwargs(**kwargs) * */ - __Pyx_TraceLine(882,0,__PYX_ERR(1, 882, __pyx_L1_error)) __pyx_v_self->__pyx___kwargs_len = 0; /* "dependency_injector/providers.pyx":883 @@ -18492,7 +17630,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Callable___init__(struct _ * * super(Callable, self).__init__() */ - __Pyx_TraceLine(883,0,__PYX_ERR(1, 883, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_set_kwargs); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 883, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_empty_tuple, __pyx_v_kwargs); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 883, __pyx_L1_error) @@ -18507,7 +17644,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Callable___init__(struct _ * * def __deepcopy__(self, memo): */ - __Pyx_TraceLine(885,0,__PYX_ERR(1, 885, __pyx_L1_error)) __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 885, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Callable)); @@ -18561,7 +17697,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Callable___init__(struct _ __Pyx_AddTraceback("dependency_injector.providers.Callable.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -18592,7 +17727,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_2__deepcopy PyObject *__pyx_v_copied = NULL; PyObject *__pyx_v_provides = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -18606,7 +17740,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_2__deepcopy const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[1], 887, 0, __PYX_ERR(1, 887, __pyx_L1_error)); /* "dependency_injector/providers.pyx":889 * def __deepcopy__(self, memo): @@ -18615,7 +17748,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_2__deepcopy * if copied is not None: * return copied */ - __Pyx_TraceLine(889,0,__PYX_ERR(1, 889, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 889, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 889, __pyx_L1_error) @@ -18646,7 +17778,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_2__deepcopy * return copied * */ - __Pyx_TraceLine(890,0,__PYX_ERR(1, 890, __pyx_L1_error)) __pyx_t_5 = (__pyx_v_copied != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -18658,7 +17789,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_2__deepcopy * * provides = self.provides */ - __Pyx_TraceLine(891,0,__PYX_ERR(1, 891, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -18680,7 +17810,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_2__deepcopy * if isinstance(provides, Provider): * provides = deepcopy(provides, memo) */ - __Pyx_TraceLine(893,0,__PYX_ERR(1, 893, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_provides); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 893, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_provides = __pyx_t_1; @@ -18693,7 +17822,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_2__deepcopy * provides = deepcopy(provides, memo) * */ - __Pyx_TraceLine(894,0,__PYX_ERR(1, 894, __pyx_L1_error)) __pyx_t_6 = __Pyx_TypeCheck(__pyx_v_provides, __pyx_ptype_19dependency_injector_9providers_Provider); __pyx_t_5 = (__pyx_t_6 != 0); if (__pyx_t_5) { @@ -18705,7 +17833,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_2__deepcopy * * copied = self.__class__(provides, */ - __Pyx_TraceLine(895,0,__PYX_ERR(1, 895, __pyx_L1_error)) if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 895, __pyx_L1_error) __pyx_t_7.__pyx_n = 1; __pyx_t_7.memo = ((PyObject*)__pyx_v_memo); @@ -18730,7 +17857,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_2__deepcopy * *deepcopy(self.args, memo), * **deepcopy(self.kwargs, memo)) */ - __Pyx_TraceLine(897,0,__PYX_ERR(1, 897, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 897, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 897, __pyx_L1_error) @@ -18746,7 +17872,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_2__deepcopy * **deepcopy(self.kwargs, memo)) * */ - __Pyx_TraceLine(898,0,__PYX_ERR(1, 898, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_args); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 898, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 898, __pyx_L1_error) @@ -18763,7 +17888,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_2__deepcopy * *deepcopy(self.args, memo), * **deepcopy(self.kwargs, memo)) */ - __Pyx_TraceLine(897,0,__PYX_ERR(1, 897, __pyx_L1_error)) __pyx_t_3 = __Pyx_PySequence_Tuple(__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 897, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; @@ -18779,7 +17903,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_2__deepcopy * * self._copy_overridings(copied, memo) */ - __Pyx_TraceLine(899,0,__PYX_ERR(1, 899, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_kwargs); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 899, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 899, __pyx_L1_error) @@ -18809,7 +17932,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_2__deepcopy * *deepcopy(self.args, memo), * **deepcopy(self.kwargs, memo)) */ - __Pyx_TraceLine(897,0,__PYX_ERR(1, 897, __pyx_L1_error)) __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 897, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -18825,7 +17947,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_2__deepcopy * * return copied */ - __Pyx_TraceLine(901,0,__PYX_ERR(1, 901, __pyx_L1_error)) if (!(likely(((__pyx_v_copied) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_copied, __pyx_ptype_19dependency_injector_9providers_Provider))))) __PYX_ERR(1, 901, __pyx_L1_error) if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 901, __pyx_L1_error) ((struct __pyx_vtabstruct_19dependency_injector_9providers_Callable *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._copy_overridings(((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_self), ((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_copied), ((PyObject*)__pyx_v_memo), 0); @@ -18837,7 +17958,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_2__deepcopy * * def __str__(self): */ - __Pyx_TraceLine(903,0,__PYX_ERR(1, 903, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -18864,7 +17984,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_2__deepcopy __Pyx_XDECREF(__pyx_v_copied); __Pyx_XDECREF(__pyx_v_provides); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -18896,7 +18015,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Callable_5__str__(Py static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_4__str__(struct __pyx_obj_19dependency_injector_9providers_Callable *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -18904,7 +18022,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_4__str__(st const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__str__", 0); - __Pyx_TraceCall("__str__", __pyx_f[1], 905, 0, __PYX_ERR(1, 905, __pyx_L1_error)); /* "dependency_injector/providers.pyx":910 * :rtype: str @@ -18913,7 +18030,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_4__str__(st * * @property */ - __Pyx_TraceLine(910,0,__PYX_ERR(1, 910, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_v_self->__pyx___provides; __Pyx_INCREF(__pyx_t_1); @@ -18940,7 +18056,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_4__str__(st __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -18968,13 +18083,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Callable_8provides_1 static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_8provides___get__(struct __pyx_obj_19dependency_injector_9providers_Callable *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 913, 0, __PYX_ERR(1, 913, __pyx_L1_error)); /* "dependency_injector/providers.pyx":915 * def provides(self): @@ -18983,7 +18093,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_8provides__ * * @property */ - __Pyx_TraceLine(915,0,__PYX_ERR(1, 915, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___provides); __pyx_r = __pyx_v_self->__pyx___provides; @@ -18998,12 +18107,8 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_8provides__ */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.Callable.provides.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -19034,7 +18139,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_4args___get struct __pyx_obj_19dependency_injector_9providers_PositionalInjection *__pyx_v_arg = 0; PyObject *__pyx_v_args = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -19045,7 +18149,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_4args___get const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 918, 0, __PYX_ERR(1, 918, __pyx_L1_error)); /* "dependency_injector/providers.pyx":924 * cdef list args @@ -19054,7 +18157,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_4args___get * for index in range(self.__args_len): * arg = self.__args[index] */ - __Pyx_TraceLine(924,0,__PYX_ERR(1, 924, __pyx_L1_error)) __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 924, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_args = ((PyObject*)__pyx_t_1); @@ -19067,7 +18169,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_4args___get * arg = self.__args[index] * args.append(arg.__value) */ - __Pyx_TraceLine(925,0,__PYX_ERR(1, 925, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___args_len; __pyx_t_3 = __pyx_t_2; for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { @@ -19080,7 +18181,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_4args___get * args.append(arg.__value) * return tuple(args) */ - __Pyx_TraceLine(926,0,__PYX_ERR(1, 926, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___args == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 926, __pyx_L1_error) @@ -19098,7 +18198,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_4args___get * return tuple(args) * */ - __Pyx_TraceLine(927,0,__PYX_ERR(1, 927, __pyx_L1_error)) __pyx_t_1 = __pyx_v_arg->__pyx_base.__pyx___value; __Pyx_INCREF(__pyx_t_1); __pyx_t_5 = __Pyx_PyList_Append(__pyx_v_args, __pyx_t_1); if (unlikely(__pyx_t_5 == ((int)-1))) __PYX_ERR(1, 927, __pyx_L1_error) @@ -19112,7 +18211,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_4args___get * * def add_args(self, *args): */ - __Pyx_TraceLine(928,0,__PYX_ERR(1, 928, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyList_AsTuple(__pyx_v_args); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 928, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -19137,7 +18235,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_4args___get __Pyx_XDECREF((PyObject *)__pyx_v_arg); __Pyx_XDECREF(__pyx_v_args); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -19171,7 +18268,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Callable_7add_args(P static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_6add_args(struct __pyx_obj_19dependency_injector_9providers_Callable *__pyx_v_self, PyObject *__pyx_v_args) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -19180,7 +18276,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_6add_args(s const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("add_args", 0); - __Pyx_TraceCall("add_args", __pyx_f[1], 930, 0, __PYX_ERR(1, 930, __pyx_L1_error)); /* "dependency_injector/providers.pyx":935 * :return: Reference ``self`` @@ -19189,7 +18284,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_6add_args(s * self.__args_len = len(self.__args) * return self */ - __Pyx_TraceLine(935,0,__PYX_ERR(1, 935, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers_parse_positional_injections(__pyx_v_args, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 935, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyNumber_InPlaceAdd(__pyx_v_self->__pyx___args, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 935, __pyx_L1_error) @@ -19208,7 +18302,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_6add_args(s * return self * */ - __Pyx_TraceLine(936,0,__PYX_ERR(1, 936, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___args; __Pyx_INCREF(__pyx_t_2); if (unlikely(__pyx_t_2 == Py_None)) { @@ -19226,7 +18319,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_6add_args(s * * def set_args(self, *args): */ - __Pyx_TraceLine(937,0,__PYX_ERR(1, 937, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -19248,7 +18340,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_6add_args(s __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -19282,7 +18373,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Callable_9set_args(P static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_8set_args(struct __pyx_obj_19dependency_injector_9providers_Callable *__pyx_v_self, PyObject *__pyx_v_args) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; @@ -19290,7 +18380,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_8set_args(s const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("set_args", 0); - __Pyx_TraceCall("set_args", __pyx_f[1], 939, 0, __PYX_ERR(1, 939, __pyx_L1_error)); /* "dependency_injector/providers.pyx":946 * :return: Reference ``self`` @@ -19299,7 +18388,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_8set_args(s * self.__args_len = len(self.__args) * return self */ - __Pyx_TraceLine(946,0,__PYX_ERR(1, 946, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers_parse_positional_injections(__pyx_v_args, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 946, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -19315,7 +18403,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_8set_args(s * return self * */ - __Pyx_TraceLine(947,0,__PYX_ERR(1, 947, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___args; __Pyx_INCREF(__pyx_t_1); if (unlikely(__pyx_t_1 == Py_None)) { @@ -19333,7 +18420,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_8set_args(s * * def clear_args(self): */ - __Pyx_TraceLine(948,0,__PYX_ERR(1, 948, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -19354,7 +18440,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_8set_args(s __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -19383,7 +18468,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Callable_11clear_arg static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_10clear_args(struct __pyx_obj_19dependency_injector_9providers_Callable *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; @@ -19391,7 +18475,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_10clear_arg const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("clear_args", 0); - __Pyx_TraceCall("clear_args", __pyx_f[1], 950, 0, __PYX_ERR(1, 950, __pyx_L1_error)); /* "dependency_injector/providers.pyx":955 * :return: Reference ``self`` @@ -19400,7 +18483,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_10clear_arg * self.__args_len = len(self.__args) * return self */ - __Pyx_TraceLine(955,0,__PYX_ERR(1, 955, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_CallNoArg(((PyObject *)(&PyTuple_Type))); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 955, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -19416,7 +18498,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_10clear_arg * return self * */ - __Pyx_TraceLine(956,0,__PYX_ERR(1, 956, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___args; __Pyx_INCREF(__pyx_t_1); if (unlikely(__pyx_t_1 == Py_None)) { @@ -19434,7 +18515,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_10clear_arg * * @property */ - __Pyx_TraceLine(957,0,__PYX_ERR(1, 957, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -19455,7 +18535,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_10clear_arg __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -19486,7 +18565,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_6kwargs___g struct __pyx_obj_19dependency_injector_9providers_NamedInjection *__pyx_v_kwarg = 0; PyObject *__pyx_v_kwargs = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -19496,7 +18574,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_6kwargs___g const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 960, 0, __PYX_ERR(1, 960, __pyx_L1_error)); /* "dependency_injector/providers.pyx":966 * cdef dict kwargs @@ -19505,7 +18582,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_6kwargs___g * for index in range(self.__kwargs_len): * kwarg = self.__kwargs[index] */ - __Pyx_TraceLine(966,0,__PYX_ERR(1, 966, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 966, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_kwargs = ((PyObject*)__pyx_t_1); @@ -19518,7 +18594,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_6kwargs___g * kwarg = self.__kwargs[index] * kwargs[kwarg.__name] = kwarg.__value */ - __Pyx_TraceLine(967,0,__PYX_ERR(1, 967, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___kwargs_len; __pyx_t_3 = __pyx_t_2; for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { @@ -19531,7 +18606,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_6kwargs___g * kwargs[kwarg.__name] = kwarg.__value * return kwargs */ - __Pyx_TraceLine(968,0,__PYX_ERR(1, 968, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___kwargs == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 968, __pyx_L1_error) @@ -19549,7 +18623,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_6kwargs___g * return kwargs * */ - __Pyx_TraceLine(969,0,__PYX_ERR(1, 969, __pyx_L1_error)) __pyx_t_1 = __pyx_v_kwarg->__pyx_base.__pyx___value; __Pyx_INCREF(__pyx_t_1); if (unlikely(PyDict_SetItem(__pyx_v_kwargs, __pyx_v_kwarg->__pyx___name, __pyx_t_1) < 0)) __PYX_ERR(1, 969, __pyx_L1_error) @@ -19563,7 +18636,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_6kwargs___g * * def add_kwargs(self, **kwargs): */ - __Pyx_TraceLine(970,0,__PYX_ERR(1, 970, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_kwargs); __pyx_r = __pyx_v_kwargs; @@ -19586,7 +18658,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_6kwargs___g __Pyx_XDECREF((PyObject *)__pyx_v_kwarg); __Pyx_XDECREF(__pyx_v_kwargs); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -19622,7 +18693,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Callable_13add_kwarg static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_12add_kwargs(struct __pyx_obj_19dependency_injector_9providers_Callable *__pyx_v_self, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -19631,7 +18701,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_12add_kwarg const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("add_kwargs", 0); - __Pyx_TraceCall("add_kwargs", __pyx_f[1], 972, 0, __PYX_ERR(1, 972, __pyx_L1_error)); /* "dependency_injector/providers.pyx":977 * :return: Reference ``self`` @@ -19640,7 +18709,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_12add_kwarg * self.__kwargs_len = len(self.__kwargs) * return self */ - __Pyx_TraceLine(977,0,__PYX_ERR(1, 977, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers_parse_named_injections(__pyx_v_kwargs, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 977, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyNumber_InPlaceAdd(__pyx_v_self->__pyx___kwargs, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 977, __pyx_L1_error) @@ -19659,7 +18727,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_12add_kwarg * return self * */ - __Pyx_TraceLine(978,0,__PYX_ERR(1, 978, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___kwargs; __Pyx_INCREF(__pyx_t_2); if (unlikely(__pyx_t_2 == Py_None)) { @@ -19677,7 +18744,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_12add_kwarg * * def set_kwargs(self, **kwargs): */ - __Pyx_TraceLine(979,0,__PYX_ERR(1, 979, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -19699,7 +18765,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_12add_kwarg __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -19735,7 +18800,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Callable_15set_kwarg static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_14set_kwargs(struct __pyx_obj_19dependency_injector_9providers_Callable *__pyx_v_self, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; @@ -19743,7 +18807,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_14set_kwarg const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("set_kwargs", 0); - __Pyx_TraceCall("set_kwargs", __pyx_f[1], 981, 0, __PYX_ERR(1, 981, __pyx_L1_error)); /* "dependency_injector/providers.pyx":988 * :return: Reference ``self`` @@ -19752,7 +18815,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_14set_kwarg * self.__kwargs_len = len(self.__kwargs) * return self */ - __Pyx_TraceLine(988,0,__PYX_ERR(1, 988, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers_parse_named_injections(__pyx_v_kwargs, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 988, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -19768,7 +18830,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_14set_kwarg * return self * */ - __Pyx_TraceLine(989,0,__PYX_ERR(1, 989, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___kwargs; __Pyx_INCREF(__pyx_t_1); if (unlikely(__pyx_t_1 == Py_None)) { @@ -19786,7 +18847,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_14set_kwarg * * def clear_kwargs(self): */ - __Pyx_TraceLine(990,0,__PYX_ERR(1, 990, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -19807,7 +18867,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_14set_kwarg __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -19836,7 +18895,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Callable_17clear_kwa static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_16clear_kwargs(struct __pyx_obj_19dependency_injector_9providers_Callable *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; @@ -19844,7 +18902,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_16clear_kwa const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("clear_kwargs", 0); - __Pyx_TraceCall("clear_kwargs", __pyx_f[1], 992, 0, __PYX_ERR(1, 992, __pyx_L1_error)); /* "dependency_injector/providers.pyx":997 * :return: Reference ``self`` @@ -19853,7 +18910,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_16clear_kwa * self.__kwargs_len = len(self.__kwargs) * return self */ - __Pyx_TraceLine(997,0,__PYX_ERR(1, 997, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_CallNoArg(((PyObject *)(&PyTuple_Type))); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 997, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -19869,7 +18925,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_16clear_kwa * return self * */ - __Pyx_TraceLine(998,0,__PYX_ERR(1, 998, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___kwargs; __Pyx_INCREF(__pyx_t_1); if (unlikely(__pyx_t_1 == Py_None)) { @@ -19887,7 +18942,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_16clear_kwa * * cpdef object _provide(self, tuple args, dict kwargs): */ - __Pyx_TraceLine(999,0,__PYX_ERR(1, 999, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -19908,7 +18962,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_16clear_kwa __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -19924,7 +18977,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_16clear_kwa static PyObject *__pyx_pw_19dependency_injector_9providers_8Callable_19_provide(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ static PyObject *__pyx_f_19dependency_injector_9providers_8Callable__provide(struct __pyx_obj_19dependency_injector_9providers_Callable *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs, int __pyx_skip_dispatch) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -19936,7 +18988,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Callable__provide(str const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide", __pyx_f[1], 1001, 0, __PYX_ERR(1, 1001, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -20021,7 +19072,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Callable__provide(str * * */ - __Pyx_TraceLine(1003,0,__PYX_ERR(1, 1003, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers___callable_call(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1003, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -20048,7 +19098,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Callable__provide(str __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -20126,14 +19175,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Callable_19_provide( static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_18_provide(struct __pyx_obj_19dependency_injector_9providers_Callable *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide (wrapper)", __pyx_f[1], 1001, 0, __PYX_ERR(1, 1001, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_8Callable__provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1001, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -20148,7 +19195,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_18_provide( __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -20177,7 +19223,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_20__reduce_ PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -20190,7 +19235,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_20__reduce_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -20199,7 +19243,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_20__reduce_ * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx___args_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -20242,7 +19285,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_20__reduce_ * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_4 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v__dict = __pyx_t_4; @@ -20255,7 +19297,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_20__reduce_ * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_5 = (__pyx_v__dict != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -20267,7 +19308,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_20__reduce_ * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(__pyx_v__dict); @@ -20286,7 +19326,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_20__reduce_ * else: * use_setstate = self.__args is not None or self.__kwargs is not None or self.__last_overriding is not None or self.__overridden is not None or self.__provides is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -20306,7 +19345,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_20__reduce_ * if use_setstate: * return __pyx_unpickle_Callable, (type(self), 0x3e02ba6, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_5 = (__pyx_v_self->__pyx___args != ((PyObject*)Py_None)); __pyx_t_7 = (__pyx_t_5 != 0); @@ -20351,7 +19389,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_20__reduce_ * return __pyx_unpickle_Callable, (type(self), 0x3e02ba6, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_6 = (__pyx_v_use_setstate != 0); if (__pyx_t_6) { @@ -20362,7 +19399,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_20__reduce_ * else: * return __pyx_unpickle_Callable, (type(self), 0x3e02ba6, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_pyx_unpickle_Callable); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -20408,7 +19444,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_20__reduce_ * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Callable__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pyx_unpickle_Callable); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -20455,7 +19490,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_20__reduce_ __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -20482,21 +19516,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Callable_23__setstat static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_22__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_Callable *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_Callable, (type(self), 0x3e02ba6, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Callable__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Callable__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -20518,7 +19549,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Callable_22__setstat __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -20547,7 +19577,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17DelegatedCallable__ PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -20560,7 +19589,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17DelegatedCallable__ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -20569,7 +19597,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17DelegatedCallable__ * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___args_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -20612,7 +19639,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17DelegatedCallable__ * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_4 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v__dict = __pyx_t_4; @@ -20625,7 +19651,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17DelegatedCallable__ * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_5 = (__pyx_v__dict != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -20637,7 +19662,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17DelegatedCallable__ * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(__pyx_v__dict); @@ -20656,7 +19680,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17DelegatedCallable__ * else: * use_setstate = self.__args is not None or self.__kwargs is not None or self.__last_overriding is not None or self.__overridden is not None or self.__provides is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -20676,7 +19699,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17DelegatedCallable__ * if use_setstate: * return __pyx_unpickle_DelegatedCallable, (type(self), 0x3e02ba6, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_5 = (__pyx_v_self->__pyx_base.__pyx___args != ((PyObject*)Py_None)); __pyx_t_7 = (__pyx_t_5 != 0); @@ -20721,7 +19743,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17DelegatedCallable__ * return __pyx_unpickle_DelegatedCallable, (type(self), 0x3e02ba6, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_6 = (__pyx_v_use_setstate != 0); if (__pyx_t_6) { @@ -20732,7 +19753,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17DelegatedCallable__ * else: * return __pyx_unpickle_DelegatedCallable, (type(self), 0x3e02ba6, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_pyx_unpickle_DelegatedCallable); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -20778,7 +19798,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17DelegatedCallable__ * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_DelegatedCallable__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pyx_unpickle_DelegatedCallable); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -20825,7 +19844,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17DelegatedCallable__ __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -20852,21 +19870,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_17DelegatedCallable_3 static PyObject *__pyx_pf_19dependency_injector_9providers_17DelegatedCallable_2__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_DelegatedCallable *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_DelegatedCallable, (type(self), 0x3e02ba6, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_DelegatedCallable__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_DelegatedCallable__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -20888,7 +19903,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17DelegatedCallable_2 __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -20933,7 +19947,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16AbstractCallable_1_ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable___call__(struct __pyx_obj_19dependency_injector_9providers_AbstractCallable *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -20946,7 +19959,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable___ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__call__", 0); - __Pyx_TraceCall("__call__", __pyx_f[1], 1025, 0, __PYX_ERR(1, 1025, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1030 * Callable interface implementation. @@ -20955,7 +19967,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable___ * raise Error('{0} must be overridden before calling'.format(self)) * return super().__call__(*args, **kwargs) */ - __Pyx_TraceLine(1030,0,__PYX_ERR(1, 1030, __pyx_L1_error)) __pyx_t_1 = (((PyObject *)__pyx_v_self->__pyx_base.__pyx_base.__pyx___last_overriding) == Py_None); __pyx_t_2 = (__pyx_t_1 != 0); if (unlikely(__pyx_t_2)) { @@ -20967,7 +19978,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable___ * return super().__call__(*args, **kwargs) * */ - __Pyx_TraceLine(1031,0,__PYX_ERR(1, 1031, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1031, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_0_must_be_overridden_before_cal, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 1031, __pyx_L1_error) @@ -21023,7 +20033,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable___ * * def override(self, provider): */ - __Pyx_TraceLine(1032,0,__PYX_ERR(1, 1032, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1032, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -21065,7 +20074,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable___ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -21094,7 +20102,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16AbstractCallable_3o static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_2override(struct __pyx_obj_19dependency_injector_9providers_AbstractCallable *__pyx_v_self, PyObject *__pyx_v_provider) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -21109,7 +20116,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_2o const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("override", 0); - __Pyx_TraceCall("override", __pyx_f[1], 1034, 0, __PYX_ERR(1, 1034, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1045 * :rtype: :py:class:`OverridingContext` @@ -21118,7 +20124,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_2o * raise Error('{0} must be overridden only by ' * '{1} providers'.format(self, Callable)) */ - __Pyx_TraceLine(1045,0,__PYX_ERR(1, 1045, __pyx_L1_error)) __pyx_t_1 = __Pyx_TypeCheck(__pyx_v_provider, __pyx_ptype_19dependency_injector_9providers_Callable); __pyx_t_2 = ((!(__pyx_t_1 != 0)) != 0); if (unlikely(__pyx_t_2)) { @@ -21130,7 +20135,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_2o * '{1} providers'.format(self, Callable)) * return super(AbstractCallable, self).override(provider) */ - __Pyx_TraceLine(1046,0,__PYX_ERR(1, 1046, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1046, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); @@ -21141,7 +20145,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_2o * return super(AbstractCallable, self).override(provider) * */ - __Pyx_TraceLine(1047,0,__PYX_ERR(1, 1047, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_0_must_be_overridden_only_by_1, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 1047, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_7 = NULL; @@ -21225,7 +20228,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_2o * * cpdef object _provide(self, tuple args, dict kwargs): */ - __Pyx_TraceLine(1048,0,__PYX_ERR(1, 1048, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1048, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); @@ -21280,7 +20282,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_2o __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -21296,7 +20297,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_2o static PyObject *__pyx_pw_19dependency_injector_9providers_16AbstractCallable_5_provide(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ static PyObject *__pyx_f_19dependency_injector_9providers_16AbstractCallable__provide(CYTHON_UNUSED struct __pyx_obj_19dependency_injector_9providers_AbstractCallable *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_args, CYTHON_UNUSED PyObject *__pyx_v_kwargs, int __pyx_skip_dispatch) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -21308,7 +20308,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_16AbstractCallable__pr const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide", __pyx_f[1], 1050, 0, __PYX_ERR(1, 1050, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -21393,8 +20392,7 @@ static PyObject *__pyx_f_19dependency_injector_9providers_16AbstractCallable__pr * 'to overriding provider') * */ - __Pyx_TraceLine(1052,0,__PYX_ERR(1, 1052, __pyx_L1_error)) - __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_NotImplementedError, __pyx_tuple__11, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1052, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_NotImplementedError, __pyx_tuple__7, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1052, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -21419,7 +20417,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_16AbstractCallable__pr __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -21497,14 +20494,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16AbstractCallable_5_ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_4_provide(struct __pyx_obj_19dependency_injector_9providers_AbstractCallable *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide (wrapper)", __pyx_f[1], 1050, 0, __PYX_ERR(1, 1050, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_16AbstractCallable__provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1050, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -21519,7 +20514,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_4_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -21548,7 +20542,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_6_ PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -21561,7 +20554,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_6_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -21570,7 +20562,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_6_ * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___args_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -21613,7 +20604,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_6_ * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_4 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v__dict = __pyx_t_4; @@ -21626,7 +20616,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_6_ * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_5 = (__pyx_v__dict != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -21638,7 +20627,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_6_ * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(__pyx_v__dict); @@ -21657,7 +20645,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_6_ * else: * use_setstate = self.__args is not None or self.__kwargs is not None or self.__last_overriding is not None or self.__overridden is not None or self.__provides is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -21677,7 +20664,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_6_ * if use_setstate: * return __pyx_unpickle_AbstractCallable, (type(self), 0x3e02ba6, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_5 = (__pyx_v_self->__pyx_base.__pyx___args != ((PyObject*)Py_None)); __pyx_t_7 = (__pyx_t_5 != 0); @@ -21722,7 +20708,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_6_ * return __pyx_unpickle_AbstractCallable, (type(self), 0x3e02ba6, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_6 = (__pyx_v_use_setstate != 0); if (__pyx_t_6) { @@ -21733,7 +20718,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_6_ * else: * return __pyx_unpickle_AbstractCallable, (type(self), 0x3e02ba6, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_pyx_unpickle_AbstractCallable); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -21779,7 +20763,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_6_ * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_AbstractCallable__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pyx_unpickle_AbstractCallable); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -21826,7 +20809,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_6_ __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -21853,21 +20835,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16AbstractCallable_9_ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_8__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_AbstractCallable *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_AbstractCallable, (type(self), 0x3e02ba6, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_AbstractCallable__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_AbstractCallable__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -21889,7 +20868,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16AbstractCallable_8_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -21961,7 +20939,6 @@ static int __pyx_pw_19dependency_injector_9providers_16CallableDelegate_1__init_ static int __pyx_pf_19dependency_injector_9providers_16CallableDelegate___init__(struct __pyx_obj_19dependency_injector_9providers_CallableDelegate *__pyx_v_self, PyObject *__pyx_v_callable) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -21977,7 +20954,6 @@ static int __pyx_pf_19dependency_injector_9providers_16CallableDelegate___init__ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 1066, 0, __PYX_ERR(1, 1066, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1072 * :type callable: object @@ -21986,7 +20962,6 @@ static int __pyx_pf_19dependency_injector_9providers_16CallableDelegate___init__ * raise Error('{0} can wrap only {1} providers'.format( * self.__class__, Callable)) */ - __Pyx_TraceLine(1072,0,__PYX_ERR(1, 1072, __pyx_L1_error)) __pyx_t_1 = __Pyx_TypeCheck(__pyx_v_callable, __pyx_ptype_19dependency_injector_9providers_Callable); __pyx_t_2 = ((__pyx_t_1 == 0) != 0); if (unlikely(__pyx_t_2)) { @@ -21998,7 +20973,6 @@ static int __pyx_pf_19dependency_injector_9providers_16CallableDelegate___init__ * self.__class__, Callable)) * super(CallableDelegate, self).__init__(callable) */ - __Pyx_TraceLine(1073,0,__PYX_ERR(1, 1073, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1073, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_0_can_wrap_only_1_providers, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 1073, __pyx_L1_error) @@ -22011,7 +20985,6 @@ static int __pyx_pf_19dependency_injector_9providers_16CallableDelegate___init__ * super(CallableDelegate, self).__init__(callable) * */ - __Pyx_TraceLine(1074,0,__PYX_ERR(1, 1074, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 1074, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = NULL; @@ -22097,7 +21070,6 @@ static int __pyx_pf_19dependency_injector_9providers_16CallableDelegate___init__ * * */ - __Pyx_TraceLine(1075,0,__PYX_ERR(1, 1075, __pyx_L1_error)) __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1075, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_CallableDelegate)); @@ -22151,7 +21123,6 @@ static int __pyx_pf_19dependency_injector_9providers_16CallableDelegate___init__ __Pyx_AddTraceback("dependency_injector.providers.CallableDelegate.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -22180,7 +21151,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16CallableDelegate_2_ PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -22192,7 +21162,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16CallableDelegate_2_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -22201,7 +21170,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16CallableDelegate_2_ * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -22228,7 +21196,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16CallableDelegate_2_ * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -22241,7 +21208,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16CallableDelegate_2_ * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -22253,7 +21219,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16CallableDelegate_2_ * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -22272,7 +21237,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16CallableDelegate_2_ * else: * use_setstate = self.__last_overriding is not None or self.__overridden is not None or self.__provides is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -22292,7 +21256,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16CallableDelegate_2_ * if use_setstate: * return __pyx_unpickle_CallableDelegate, (type(self), 0x328787b, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (((PyObject *)__pyx_v_self->__pyx_base.__pyx_base.__pyx___last_overriding) != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -22323,7 +21286,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16CallableDelegate_2_ * return __pyx_unpickle_CallableDelegate, (type(self), 0x328787b, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -22334,7 +21296,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16CallableDelegate_2_ * else: * return __pyx_unpickle_CallableDelegate, (type(self), 0x328787b, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_CallableDelegate); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -22380,7 +21341,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16CallableDelegate_2_ * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_CallableDelegate__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_CallableDelegate); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -22426,7 +21386,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16CallableDelegate_2_ __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -22453,21 +21412,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16CallableDelegate_5_ static PyObject *__pyx_pf_19dependency_injector_9providers_16CallableDelegate_4__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_CallableDelegate *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_CallableDelegate, (type(self), 0x328787b, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_CallableDelegate__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_CallableDelegate__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -22489,7 +21445,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16CallableDelegate_4_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -22581,7 +21536,6 @@ static int __pyx_pw_19dependency_injector_9providers_9Coroutine_1__init__(PyObje static int __pyx_pf_19dependency_injector_9providers_9Coroutine___init__(struct __pyx_obj_19dependency_injector_9providers_Coroutine *__pyx_v_self, PyObject *__pyx_v_provides, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -22597,7 +21551,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Coroutine___init__(struct const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 1104, 0, __PYX_ERR(1, 1104, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1110 * :type provides: callable @@ -22606,7 +21559,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Coroutine___init__(struct * raise Error('Package asyncio is not available') * */ - __Pyx_TraceLine(1110,0,__PYX_ERR(1, 1110, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1110, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(1, 1110, __pyx_L1_error) @@ -22621,7 +21573,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Coroutine___init__(struct * * if not asyncio.iscoroutinefunction(provides): */ - __Pyx_TraceLine(1111,0,__PYX_ERR(1, 1111, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1111, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; @@ -22659,7 +21610,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Coroutine___init__(struct * raise Error('Provider {0} expected to get coroutine function, ' * 'got {1}'.format('.'.join((self.__class__.__module__, */ - __Pyx_TraceLine(1113,0,__PYX_ERR(1, 1113, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1113, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_iscoroutinefunction); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1113, __pyx_L1_error) @@ -22692,7 +21642,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Coroutine___init__(struct * 'got {1}'.format('.'.join((self.__class__.__module__, * self.__class__.__name__)), */ - __Pyx_TraceLine(1114,0,__PYX_ERR(1, 1114, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_Error); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1114, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); @@ -22703,7 +21652,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Coroutine___init__(struct * self.__class__.__name__)), * provides)) */ - __Pyx_TraceLine(1115,0,__PYX_ERR(1, 1115, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Provider_0_expected_to_get_corou, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 1115, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 1115, __pyx_L1_error) @@ -22719,7 +21667,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Coroutine___init__(struct * provides)) * */ - __Pyx_TraceLine(1116,0,__PYX_ERR(1, 1116, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 1116, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_name); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 1116, __pyx_L1_error) @@ -22733,7 +21680,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Coroutine___init__(struct * self.__class__.__name__)), * provides)) */ - __Pyx_TraceLine(1115,0,__PYX_ERR(1, 1115, __pyx_L1_error)) __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 1115, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_GIVEREF(__pyx_t_8); @@ -22742,7 +21688,7 @@ static int __pyx_pf_19dependency_injector_9providers_9Coroutine___init__(struct PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_9); __pyx_t_8 = 0; __pyx_t_9 = 0; - __pyx_t_9 = __Pyx_PyString_Join(__pyx_kp_s__10, __pyx_t_7); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 1115, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyString_Join(__pyx_kp_s__6, __pyx_t_7); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 1115, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; @@ -22753,7 +21699,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Coroutine___init__(struct * * super(Coroutine, self).__init__(provides, *args, **kwargs) */ - __Pyx_TraceLine(1117,0,__PYX_ERR(1, 1117, __pyx_L1_error)) __pyx_t_7 = NULL; __pyx_t_10 = 0; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_6))) { @@ -22837,7 +21782,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Coroutine___init__(struct * * */ - __Pyx_TraceLine(1119,0,__PYX_ERR(1, 1119, __pyx_L1_error)) __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1119, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Coroutine)); @@ -22888,7 +21832,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Coroutine___init__(struct __Pyx_AddTraceback("dependency_injector.providers.Coroutine.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -22917,7 +21860,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Coroutine_2__reduce_ PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -22930,7 +21872,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Coroutine_2__reduce_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -22939,7 +21880,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Coroutine_2__reduce_ * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___args_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -22982,7 +21922,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Coroutine_2__reduce_ * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_4 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v__dict = __pyx_t_4; @@ -22995,7 +21934,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Coroutine_2__reduce_ * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_5 = (__pyx_v__dict != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -23007,7 +21945,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Coroutine_2__reduce_ * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(__pyx_v__dict); @@ -23026,7 +21963,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Coroutine_2__reduce_ * else: * use_setstate = self.__args is not None or self.__kwargs is not None or self.__last_overriding is not None or self.__overridden is not None or self.__provides is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -23046,7 +21982,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Coroutine_2__reduce_ * if use_setstate: * return __pyx_unpickle_Coroutine, (type(self), 0x3e02ba6, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_5 = (__pyx_v_self->__pyx_base.__pyx___args != ((PyObject*)Py_None)); __pyx_t_7 = (__pyx_t_5 != 0); @@ -23091,7 +22026,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Coroutine_2__reduce_ * return __pyx_unpickle_Coroutine, (type(self), 0x3e02ba6, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_6 = (__pyx_v_use_setstate != 0); if (__pyx_t_6) { @@ -23102,7 +22036,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Coroutine_2__reduce_ * else: * return __pyx_unpickle_Coroutine, (type(self), 0x3e02ba6, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_pyx_unpickle_Coroutine); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -23148,7 +22081,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Coroutine_2__reduce_ * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Coroutine__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pyx_unpickle_Coroutine); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -23195,7 +22127,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Coroutine_2__reduce_ __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -23222,21 +22153,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_9Coroutine_5__setstat static PyObject *__pyx_pf_19dependency_injector_9providers_9Coroutine_4__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_Coroutine *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_Coroutine, (type(self), 0x3e02ba6, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Coroutine__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Coroutine__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -23258,7 +22186,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Coroutine_4__setstat __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -23287,7 +22214,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedCoroutine_ PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -23300,7 +22226,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedCoroutine_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -23309,7 +22234,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedCoroutine_ * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx___args_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -23352,7 +22276,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedCoroutine_ * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_4 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v__dict = __pyx_t_4; @@ -23365,7 +22288,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedCoroutine_ * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_5 = (__pyx_v__dict != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -23377,7 +22299,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedCoroutine_ * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(__pyx_v__dict); @@ -23396,7 +22317,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedCoroutine_ * else: * use_setstate = self.__args is not None or self.__kwargs is not None or self.__last_overriding is not None or self.__overridden is not None or self.__provides is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -23416,7 +22336,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedCoroutine_ * if use_setstate: * return __pyx_unpickle_DelegatedCoroutine, (type(self), 0x3e02ba6, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_5 = (__pyx_v_self->__pyx_base.__pyx_base.__pyx___args != ((PyObject*)Py_None)); __pyx_t_7 = (__pyx_t_5 != 0); @@ -23461,7 +22380,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedCoroutine_ * return __pyx_unpickle_DelegatedCoroutine, (type(self), 0x3e02ba6, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_6 = (__pyx_v_use_setstate != 0); if (__pyx_t_6) { @@ -23472,7 +22390,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedCoroutine_ * else: * return __pyx_unpickle_DelegatedCoroutine, (type(self), 0x3e02ba6, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_pyx_unpickle_DelegatedCoroutin); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -23518,7 +22435,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedCoroutine_ * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_DelegatedCoroutine__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pyx_unpickle_DelegatedCoroutin); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -23565,7 +22481,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedCoroutine_ __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -23592,21 +22507,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_18DelegatedCoroutine_ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedCoroutine_2__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_DelegatedCoroutine *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_DelegatedCoroutine, (type(self), 0x3e02ba6, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_DelegatedCoroutine__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_DelegatedCoroutine__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -23628,7 +22540,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedCoroutine_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -23673,7 +22584,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_17AbstractCoroutine_1 static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine___call__(struct __pyx_obj_19dependency_injector_9providers_AbstractCoroutine *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -23686,7 +22596,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine__ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__call__", 0); - __Pyx_TraceCall("__call__", __pyx_f[1], 1141, 0, __PYX_ERR(1, 1141, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1146 * Callable interface implementation. @@ -23695,7 +22604,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine__ * raise Error('{0} must be overridden before calling'.format(self)) * return super().__call__(*args, **kwargs) */ - __Pyx_TraceLine(1146,0,__PYX_ERR(1, 1146, __pyx_L1_error)) __pyx_t_1 = (((PyObject *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx___last_overriding) == Py_None); __pyx_t_2 = (__pyx_t_1 != 0); if (unlikely(__pyx_t_2)) { @@ -23707,7 +22615,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine__ * return super().__call__(*args, **kwargs) * */ - __Pyx_TraceLine(1147,0,__PYX_ERR(1, 1147, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1147, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_0_must_be_overridden_before_cal, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 1147, __pyx_L1_error) @@ -23763,7 +22670,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine__ * * def override(self, provider): */ - __Pyx_TraceLine(1148,0,__PYX_ERR(1, 1148, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1148, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -23805,7 +22711,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine__ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -23834,7 +22739,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_17AbstractCoroutine_3 static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_2override(struct __pyx_obj_19dependency_injector_9providers_AbstractCoroutine *__pyx_v_self, PyObject *__pyx_v_provider) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -23849,7 +22753,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_2 const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("override", 0); - __Pyx_TraceCall("override", __pyx_f[1], 1150, 0, __PYX_ERR(1, 1150, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1161 * :rtype: :py:class:`OverridingContext` @@ -23858,7 +22761,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_2 * raise Error('{0} must be overridden only by ' * '{1} providers'.format(self, Coroutine)) */ - __Pyx_TraceLine(1161,0,__PYX_ERR(1, 1161, __pyx_L1_error)) __pyx_t_1 = __Pyx_TypeCheck(__pyx_v_provider, __pyx_ptype_19dependency_injector_9providers_Coroutine); __pyx_t_2 = ((!(__pyx_t_1 != 0)) != 0); if (unlikely(__pyx_t_2)) { @@ -23870,7 +22772,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_2 * '{1} providers'.format(self, Coroutine)) * return super(AbstractCoroutine, self).override(provider) */ - __Pyx_TraceLine(1162,0,__PYX_ERR(1, 1162, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1162, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); @@ -23881,7 +22782,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_2 * return super(AbstractCoroutine, self).override(provider) * */ - __Pyx_TraceLine(1163,0,__PYX_ERR(1, 1163, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_0_must_be_overridden_only_by_1, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 1163, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_7 = NULL; @@ -23965,7 +22865,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_2 * * cpdef object _provide(self, tuple args, dict kwargs): */ - __Pyx_TraceLine(1164,0,__PYX_ERR(1, 1164, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1164, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); @@ -24020,7 +22919,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_2 __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -24036,7 +22934,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_2 static PyObject *__pyx_pw_19dependency_injector_9providers_17AbstractCoroutine_5_provide(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ static PyObject *__pyx_f_19dependency_injector_9providers_17AbstractCoroutine__provide(CYTHON_UNUSED struct __pyx_obj_19dependency_injector_9providers_AbstractCoroutine *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_args, CYTHON_UNUSED PyObject *__pyx_v_kwargs, int __pyx_skip_dispatch) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -24048,7 +22945,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_17AbstractCoroutine__p const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide", __pyx_f[1], 1166, 0, __PYX_ERR(1, 1166, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -24133,8 +23029,7 @@ static PyObject *__pyx_f_19dependency_injector_9providers_17AbstractCoroutine__p * 'to overriding provider') * */ - __Pyx_TraceLine(1168,0,__PYX_ERR(1, 1168, __pyx_L1_error)) - __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_NotImplementedError, __pyx_tuple__11, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1168, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_NotImplementedError, __pyx_tuple__7, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1168, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -24159,7 +23054,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_17AbstractCoroutine__p __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -24237,14 +23131,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_17AbstractCoroutine_5 static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_4_provide(struct __pyx_obj_19dependency_injector_9providers_AbstractCoroutine *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide (wrapper)", __pyx_f[1], 1166, 0, __PYX_ERR(1, 1166, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_17AbstractCoroutine__provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1166, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -24259,7 +23151,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_4 __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -24288,7 +23179,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_6 PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -24301,7 +23191,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_6 const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -24310,7 +23199,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_6 * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx___args_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -24353,7 +23241,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_6 * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_4 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v__dict = __pyx_t_4; @@ -24366,7 +23253,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_6 * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_5 = (__pyx_v__dict != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -24378,7 +23264,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_6 * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(__pyx_v__dict); @@ -24397,7 +23282,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_6 * else: * use_setstate = self.__args is not None or self.__kwargs is not None or self.__last_overriding is not None or self.__overridden is not None or self.__provides is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -24417,7 +23301,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_6 * if use_setstate: * return __pyx_unpickle_AbstractCoroutine, (type(self), 0x3e02ba6, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_5 = (__pyx_v_self->__pyx_base.__pyx_base.__pyx___args != ((PyObject*)Py_None)); __pyx_t_7 = (__pyx_t_5 != 0); @@ -24462,7 +23345,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_6 * return __pyx_unpickle_AbstractCoroutine, (type(self), 0x3e02ba6, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_6 = (__pyx_v_use_setstate != 0); if (__pyx_t_6) { @@ -24473,7 +23355,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_6 * else: * return __pyx_unpickle_AbstractCoroutine, (type(self), 0x3e02ba6, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_pyx_unpickle_AbstractCoroutine); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -24519,7 +23400,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_6 * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_AbstractCoroutine__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pyx_unpickle_AbstractCoroutine); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -24566,7 +23446,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_6 __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -24593,21 +23472,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_17AbstractCoroutine_9 static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_8__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_AbstractCoroutine *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_AbstractCoroutine, (type(self), 0x3e02ba6, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_AbstractCoroutine__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_AbstractCoroutine__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -24629,7 +23505,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractCoroutine_8 __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -24701,7 +23576,6 @@ static int __pyx_pw_19dependency_injector_9providers_17CoroutineDelegate_1__init static int __pyx_pf_19dependency_injector_9providers_17CoroutineDelegate___init__(struct __pyx_obj_19dependency_injector_9providers_CoroutineDelegate *__pyx_v_self, PyObject *__pyx_v_coroutine) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -24717,7 +23591,6 @@ static int __pyx_pf_19dependency_injector_9providers_17CoroutineDelegate___init_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 1182, 0, __PYX_ERR(1, 1182, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1188 * :type coroutine: object @@ -24726,7 +23599,6 @@ static int __pyx_pf_19dependency_injector_9providers_17CoroutineDelegate___init_ * raise Error('{0} can wrap only {1} providers'.format( * self.__class__, Callable)) */ - __Pyx_TraceLine(1188,0,__PYX_ERR(1, 1188, __pyx_L1_error)) __pyx_t_1 = __Pyx_TypeCheck(__pyx_v_coroutine, __pyx_ptype_19dependency_injector_9providers_Coroutine); __pyx_t_2 = ((__pyx_t_1 == 0) != 0); if (unlikely(__pyx_t_2)) { @@ -24738,7 +23610,6 @@ static int __pyx_pf_19dependency_injector_9providers_17CoroutineDelegate___init_ * self.__class__, Callable)) * super(CoroutineDelegate, self).__init__(coroutine) */ - __Pyx_TraceLine(1189,0,__PYX_ERR(1, 1189, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1189, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_0_can_wrap_only_1_providers, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 1189, __pyx_L1_error) @@ -24751,7 +23622,6 @@ static int __pyx_pf_19dependency_injector_9providers_17CoroutineDelegate___init_ * super(CoroutineDelegate, self).__init__(coroutine) * */ - __Pyx_TraceLine(1190,0,__PYX_ERR(1, 1190, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 1190, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = NULL; @@ -24837,7 +23707,6 @@ static int __pyx_pf_19dependency_injector_9providers_17CoroutineDelegate___init_ * * */ - __Pyx_TraceLine(1191,0,__PYX_ERR(1, 1191, __pyx_L1_error)) __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1191, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_CoroutineDelegate)); @@ -24891,7 +23760,6 @@ static int __pyx_pf_19dependency_injector_9providers_17CoroutineDelegate___init_ __Pyx_AddTraceback("dependency_injector.providers.CoroutineDelegate.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -24920,7 +23788,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17CoroutineDelegate_2 PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -24932,7 +23799,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17CoroutineDelegate_2 const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -24941,7 +23807,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17CoroutineDelegate_2 * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -24968,7 +23833,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17CoroutineDelegate_2 * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -24981,7 +23845,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17CoroutineDelegate_2 * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -24993,7 +23856,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17CoroutineDelegate_2 * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -25012,7 +23874,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17CoroutineDelegate_2 * else: * use_setstate = self.__last_overriding is not None or self.__overridden is not None or self.__provides is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -25032,7 +23893,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17CoroutineDelegate_2 * if use_setstate: * return __pyx_unpickle_CoroutineDelegate, (type(self), 0x328787b, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (((PyObject *)__pyx_v_self->__pyx_base.__pyx_base.__pyx___last_overriding) != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -25063,7 +23923,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17CoroutineDelegate_2 * return __pyx_unpickle_CoroutineDelegate, (type(self), 0x328787b, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -25074,7 +23933,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17CoroutineDelegate_2 * else: * return __pyx_unpickle_CoroutineDelegate, (type(self), 0x328787b, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_CoroutineDelegate); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -25120,7 +23978,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17CoroutineDelegate_2 * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_CoroutineDelegate__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_CoroutineDelegate); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -25166,7 +24023,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17CoroutineDelegate_2 __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -25193,21 +24049,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_17CoroutineDelegate_5 static PyObject *__pyx_pf_19dependency_injector_9providers_17CoroutineDelegate_4__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_CoroutineDelegate *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_CoroutineDelegate, (type(self), 0x328787b, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_CoroutineDelegate__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_CoroutineDelegate__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -25229,7 +24082,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17CoroutineDelegate_4 __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -25328,7 +24180,6 @@ static int __pyx_pw_19dependency_injector_9providers_19ConfigurationOption_1__in static int __pyx_pf_19dependency_injector_9providers_19ConfigurationOption___init__(struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v_self, PyObject *__pyx_v_name, struct __pyx_obj_19dependency_injector_9providers_Configuration *__pyx_v_root, PyObject *__pyx_v_required) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -25338,7 +24189,6 @@ static int __pyx_pf_19dependency_injector_9providers_19ConfigurationOption___ini const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 1201, 0, __PYX_ERR(1, 1201, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1202 * @@ -25347,7 +24197,6 @@ static int __pyx_pf_19dependency_injector_9providers_19ConfigurationOption___ini * self.__root = root * self.__children = {} */ - __Pyx_TraceLine(1202,0,__PYX_ERR(1, 1202, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v_name))||((__pyx_v_name) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v_name)->tp_name), 0))) __PYX_ERR(1, 1202, __pyx_L1_error) __pyx_t_1 = __pyx_v_name; __Pyx_INCREF(__pyx_t_1); @@ -25364,7 +24213,6 @@ static int __pyx_pf_19dependency_injector_9providers_19ConfigurationOption___ini * self.__children = {} * self.__required = required */ - __Pyx_TraceLine(1203,0,__PYX_ERR(1, 1203, __pyx_L1_error)) __Pyx_INCREF(((PyObject *)__pyx_v_root)); __Pyx_GIVEREF(((PyObject *)__pyx_v_root)); __Pyx_GOTREF(__pyx_v_self->__pyx___root); @@ -25378,7 +24226,6 @@ static int __pyx_pf_19dependency_injector_9providers_19ConfigurationOption___ini * self.__required = required * self.__cache = UNDEFINED */ - __Pyx_TraceLine(1204,0,__PYX_ERR(1, 1204, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1204, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -25394,7 +24241,6 @@ static int __pyx_pf_19dependency_injector_9providers_19ConfigurationOption___ini * self.__cache = UNDEFINED * super().__init__() */ - __Pyx_TraceLine(1205,0,__PYX_ERR(1, 1205, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_required); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 1205, __pyx_L1_error) __pyx_v_self->__pyx___required = __pyx_t_2; @@ -25405,7 +24251,6 @@ static int __pyx_pf_19dependency_injector_9providers_19ConfigurationOption___ini * super().__init__() * */ - __Pyx_TraceLine(1206,0,__PYX_ERR(1, 1206, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_UNDEFINED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1206, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -25421,7 +24266,6 @@ static int __pyx_pf_19dependency_injector_9providers_19ConfigurationOption___ini * * def __deepcopy__(self, memo): */ - __Pyx_TraceLine(1207,0,__PYX_ERR(1, 1207, __pyx_L1_error)) __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1207, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_ConfigurationOption)); @@ -25471,7 +24315,6 @@ static int __pyx_pf_19dependency_injector_9providers_19ConfigurationOption___ini __Pyx_AddTraceback("dependency_injector.providers.ConfigurationOption.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -25502,7 +24345,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption PyObject *__pyx_v_copied_name = NULL; PyObject *__pyx_v_copied_root = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -25517,7 +24359,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[1], 1209, 0, __PYX_ERR(1, 1209, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1212 * cdef ConfigurationOption copied @@ -25526,7 +24367,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * if copied is not None: * return copied */ - __Pyx_TraceLine(1212,0,__PYX_ERR(1, 1212, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1212, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1212, __pyx_L1_error) @@ -25558,7 +24398,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * return copied * */ - __Pyx_TraceLine(1213,0,__PYX_ERR(1, 1213, __pyx_L1_error)) __pyx_t_5 = (((PyObject *)__pyx_v_copied) != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -25570,7 +24409,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * copied_name = deepcopy(self.__name, memo) */ - __Pyx_TraceLine(1214,0,__PYX_ERR(1, 1214, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_copied)); __pyx_r = ((PyObject *)__pyx_v_copied); @@ -25592,7 +24430,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * copied_root = deepcopy(self.__root, memo) * */ - __Pyx_TraceLine(1216,0,__PYX_ERR(1, 1216, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___name; __Pyx_INCREF(__pyx_t_1); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 1216, __pyx_L1_error) @@ -25611,7 +24448,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * copied = self.__class__(copied_name, copied_root, self.__required) */ - __Pyx_TraceLine(1217,0,__PYX_ERR(1, 1217, __pyx_L1_error)) __pyx_t_2 = ((PyObject *)__pyx_v_self->__pyx___root); __Pyx_INCREF(__pyx_t_2); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 1217, __pyx_L1_error) @@ -25630,7 +24466,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * copied.__children = deepcopy(self.__children, memo) * */ - __Pyx_TraceLine(1219,0,__PYX_ERR(1, 1219, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1219, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyBool_FromLong(__pyx_v_self->__pyx___required); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1219, __pyx_L1_error) @@ -25696,7 +24531,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * return copied */ - __Pyx_TraceLine(1220,0,__PYX_ERR(1, 1220, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___children; __Pyx_INCREF(__pyx_t_1); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 1220, __pyx_L1_error) @@ -25719,7 +24553,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * def __str__(self): */ - __Pyx_TraceLine(1222,0,__PYX_ERR(1, 1222, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_copied)); __pyx_r = ((PyObject *)__pyx_v_copied); @@ -25747,7 +24580,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __Pyx_XDECREF(__pyx_v_copied_name); __Pyx_XDECREF(__pyx_v_copied_root); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -25775,7 +24607,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption_4__str__(struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -25784,7 +24615,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__str__", 0); - __Pyx_TraceCall("__str__", __pyx_f[1], 1224, 0, __PYX_ERR(1, 1224, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1225 * @@ -25793,7 +24623,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * def __getattr__(self, item): */ - __Pyx_TraceLine(1225,0,__PYX_ERR(1, 1225, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_get_name); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1225, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -25836,7 +24665,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -25866,7 +24694,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption PyObject *__pyx_v_child = NULL; PyObject *__pyx_v_child_name = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -25878,7 +24705,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__getattr__", 0); - __Pyx_TraceCall("__getattr__", __pyx_f[1], 1227, 0, __PYX_ERR(1, 1227, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1228 * @@ -25887,7 +24713,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * raise AttributeError( * '\'{cls}\' object has no attribute ' */ - __Pyx_TraceLine(1228,0,__PYX_ERR(1, 1228, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_item, __pyx_n_s_startswith); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1228, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = NULL; @@ -25900,7 +24725,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __Pyx_DECREF_SET(__pyx_t_3, function); } } - __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_n_s__9) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_n_s__9); + __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_n_s__5) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_n_s__5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1228, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -25924,7 +24749,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __Pyx_DECREF_SET(__pyx_t_3, function); } } - __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_n_s__9) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_n_s__9); + __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_n_s__5) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_n_s__5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1228, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -25942,7 +24767,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * attribute_name=item)) * */ - __Pyx_TraceLine(1231,0,__PYX_ERR(1, 1231, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_cls_object_has_no_attribute_att, __pyx_n_s_format); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1231, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1231, __pyx_L1_error) @@ -25962,7 +24786,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * child = self.__children.get(item) */ - __Pyx_TraceLine(1232,0,__PYX_ERR(1, 1232, __pyx_L1_error)) if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_attribute_name, __pyx_v_item) < 0) __PYX_ERR(1, 1231, __pyx_L1_error) /* "dependency_injector/providers.pyx":1231 @@ -25972,7 +24795,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * attribute_name=item)) * */ - __Pyx_TraceLine(1231,0,__PYX_ERR(1, 1231, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_empty_tuple, __pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 1231, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -25985,7 +24807,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * '\'{cls}\' object has no attribute ' * '\'{attribute_name}\''.format(cls=self.__class__.__name__, */ - __Pyx_TraceLine(1229,0,__PYX_ERR(1, 1229, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_AttributeError, __pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1229, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; @@ -26009,7 +24830,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * if child is None: * child_name = self.__name + (item,) */ - __Pyx_TraceLine(1234,0,__PYX_ERR(1, 1234, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___children == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "get"); __PYX_ERR(1, 1234, __pyx_L1_error) @@ -26026,7 +24846,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * child_name = self.__name + (item,) * child = ConfigurationOption(child_name, self.__root) */ - __Pyx_TraceLine(1235,0,__PYX_ERR(1, 1235, __pyx_L1_error)) __pyx_t_1 = (__pyx_v_child == Py_None); __pyx_t_5 = (__pyx_t_1 != 0); if (__pyx_t_5) { @@ -26038,7 +24857,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * child = ConfigurationOption(child_name, self.__root) * self.__children[item] = child */ - __Pyx_TraceLine(1236,0,__PYX_ERR(1, 1236, __pyx_L1_error)) __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1236, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(__pyx_v_item); @@ -26057,7 +24875,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * self.__children[item] = child * return child */ - __Pyx_TraceLine(1237,0,__PYX_ERR(1, 1237, __pyx_L1_error)) __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 1237, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_INCREF(__pyx_v_child_name); @@ -26079,7 +24896,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * return child * */ - __Pyx_TraceLine(1238,0,__PYX_ERR(1, 1238, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___children == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 1238, __pyx_L1_error) @@ -26102,7 +24918,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * def __getitem__(self, item): */ - __Pyx_TraceLine(1239,0,__PYX_ERR(1, 1239, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_child); __pyx_r = __pyx_v_child; @@ -26128,7 +24943,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __Pyx_XDECREF(__pyx_v_child); __Pyx_XDECREF(__pyx_v_child_name); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -26158,7 +24972,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption PyObject *__pyx_v_child = NULL; PyObject *__pyx_v_child_name = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -26168,7 +24981,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_TraceCall("__getitem__", __pyx_f[1], 1241, 0, __PYX_ERR(1, 1241, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1242 * @@ -26177,7 +24989,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * if child is None: * child_name = self.__name + (item,) */ - __Pyx_TraceLine(1242,0,__PYX_ERR(1, 1242, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___children == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "get"); __PYX_ERR(1, 1242, __pyx_L1_error) @@ -26194,7 +25005,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * child_name = self.__name + (item,) * child = ConfigurationOption(child_name, self.__root) */ - __Pyx_TraceLine(1243,0,__PYX_ERR(1, 1243, __pyx_L1_error)) __pyx_t_2 = (__pyx_v_child == Py_None); __pyx_t_3 = (__pyx_t_2 != 0); if (__pyx_t_3) { @@ -26206,7 +25016,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * child = ConfigurationOption(child_name, self.__root) * self.__children[item] = child */ - __Pyx_TraceLine(1244,0,__PYX_ERR(1, 1244, __pyx_L1_error)) __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1244, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v_item); @@ -26225,7 +25034,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * self.__children[item] = child * return child */ - __Pyx_TraceLine(1245,0,__PYX_ERR(1, 1245, __pyx_L1_error)) __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1245, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(__pyx_v_child_name); @@ -26247,7 +25055,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * return child * */ - __Pyx_TraceLine(1246,0,__PYX_ERR(1, 1246, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___children == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 1246, __pyx_L1_error) @@ -26270,7 +25077,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * cpdef object _provide(self, tuple args, dict kwargs): */ - __Pyx_TraceLine(1247,0,__PYX_ERR(1, 1247, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_child); __pyx_r = __pyx_v_child; @@ -26294,7 +25100,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __Pyx_XDECREF(__pyx_v_child); __Pyx_XDECREF(__pyx_v_child_name); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -26311,7 +25116,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption static PyObject *__pyx_f_19dependency_injector_9providers_19ConfigurationOption__provide(struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_args, CYTHON_UNUSED PyObject *__pyx_v_kwargs, int __pyx_skip_dispatch) { PyObject *__pyx_v_value = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -26326,7 +25130,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ConfigurationOption_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide", __pyx_f[1], 1249, 0, __PYX_ERR(1, 1249, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -26411,7 +25214,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ConfigurationOption_ * return self.__cache * */ - __Pyx_TraceLine(1251,0,__PYX_ERR(1, 1251, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_UNDEFINED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1251, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_7 = (__pyx_v_self->__pyx___cache != __pyx_t_1); @@ -26426,7 +25228,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ConfigurationOption_ * * value = self.__root.get(self._get_self_name(), self.__required) */ - __Pyx_TraceLine(1252,0,__PYX_ERR(1, 1252, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___cache); __pyx_r = __pyx_v_self->__pyx___cache; @@ -26448,7 +25249,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ConfigurationOption_ * self.__cache = value * return value */ - __Pyx_TraceLine(1254,0,__PYX_ERR(1, 1254, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___root), __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1254, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_get_self_name); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 1254, __pyx_L1_error) @@ -26529,7 +25329,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ConfigurationOption_ * return value * */ - __Pyx_TraceLine(1255,0,__PYX_ERR(1, 1255, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_value); __Pyx_GIVEREF(__pyx_v_value); __Pyx_GOTREF(__pyx_v_self->__pyx___cache); @@ -26543,7 +25342,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ConfigurationOption_ * * def _get_self_name(self): */ - __Pyx_TraceLine(1256,0,__PYX_ERR(1, 1256, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_value); __pyx_r = __pyx_v_value; @@ -26570,7 +25368,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ConfigurationOption_ __pyx_L0:; __Pyx_XDECREF(__pyx_v_value); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -26648,14 +25445,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption_10_provide(struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide (wrapper)", __pyx_f[1], 1249, 0, __PYX_ERR(1, 1249, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_19ConfigurationOption__provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1249, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -26670,7 +25465,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -26745,7 +25539,6 @@ static PyObject *__pyx_gb_19dependency_injector_9providers_19ConfigurationOption { struct __pyx_obj_19dependency_injector_9providers___pyx_scope_struct_1_genexpr *__pyx_cur_scope = ((struct __pyx_obj_19dependency_injector_9providers___pyx_scope_struct_1_genexpr *)__pyx_generator->closure); PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; PyObject *__pyx_t_3 = NULL; @@ -26757,12 +25550,10 @@ static PyObject *__pyx_gb_19dependency_injector_9providers_19ConfigurationOption int __pyx_clineno = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("genexpr", 0); - __Pyx_TraceCall("genexpr", __pyx_f[1], 1260, 0, __PYX_ERR(1, 1260, __pyx_L1_error)); switch (__pyx_generator->resume_label) { case 0: goto __pyx_L3_first_run; case 1: goto __pyx_L6_resume_from_yield; default: /* CPython raises the right error here */ - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return NULL; } @@ -26815,7 +25606,6 @@ static PyObject *__pyx_gb_19dependency_injector_9providers_19ConfigurationOption __pyx_cur_scope->__pyx_t_0 = __pyx_t_1; __pyx_cur_scope->__pyx_t_1 = __pyx_t_2; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); __Pyx_Coroutine_ResetAndClearException(__pyx_generator); /* return from generator, yielding value */ @@ -26848,7 +25638,6 @@ static PyObject *__pyx_gb_19dependency_injector_9providers_19ConfigurationOption #endif __pyx_generator->resume_label = -1; __Pyx_Coroutine_clear((PyObject*)__pyx_generator); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -26864,7 +25653,6 @@ static PyObject *__pyx_gb_19dependency_injector_9providers_19ConfigurationOption static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption_12_get_self_name(struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v_self) { struct __pyx_obj_19dependency_injector_9providers___pyx_scope_struct___get_self_name *__pyx_cur_scope; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -26880,7 +25668,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption } else { __Pyx_GOTREF(__pyx_cur_scope); } - __Pyx_TraceCall("_get_self_name", __pyx_f[1], 1258, 0, __PYX_ERR(1, 1258, __pyx_L1_error)); __pyx_cur_scope->__pyx_v_self = __pyx_v_self; __Pyx_INCREF((PyObject *)__pyx_cur_scope->__pyx_v_self); __Pyx_GIVEREF((PyObject *)__pyx_cur_scope->__pyx_v_self); @@ -26892,7 +25679,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * segment() if is_provider(segment) else segment for segment in self.__name * ) */ - __Pyx_TraceLine(1259,0,__PYX_ERR(1, 1259, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); /* "dependency_injector/providers.pyx":1260 @@ -26902,7 +25688,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * ) * */ - __Pyx_TraceLine(1260,0,__PYX_ERR(1, 1260, __pyx_L1_error)) __pyx_t_1 = __pyx_pf_19dependency_injector_9providers_19ConfigurationOption_14_get_self_name_genexpr(((PyObject*)__pyx_cur_scope)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1260, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -26913,8 +25698,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * segment() if is_provider(segment) else segment for segment in self.__name * ) */ - __Pyx_TraceLine(1259,0,__PYX_ERR(1, 1259, __pyx_L1_error)) - __pyx_t_2 = __Pyx_PyString_Join(__pyx_kp_s__10, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1259, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyString_Join(__pyx_kp_s__6, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1259, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_r = __pyx_t_2; @@ -26938,7 +25722,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __pyx_L0:; __Pyx_DECREF(((PyObject *)__pyx_cur_scope)); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -26966,13 +25749,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption_4root___get__(struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 1264, 0, __PYX_ERR(1, 1264, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1265 * @property @@ -26981,7 +25759,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * def get_name(self): */ - __Pyx_TraceLine(1265,0,__PYX_ERR(1, 1265, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self->__pyx___root)); __pyx_r = ((PyObject *)__pyx_v_self->__pyx___root); @@ -26996,12 +25773,8 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.ConfigurationOption.root.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -27029,7 +25802,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption_14get_name(struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -27039,7 +25811,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("get_name", 0); - __Pyx_TraceCall("get_name", __pyx_f[1], 1267, 0, __PYX_ERR(1, 1267, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1268 * @@ -27048,7 +25819,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * def get_name_segments(self): */ - __Pyx_TraceLine(1268,0,__PYX_ERR(1, 1268, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___root), __pyx_n_s_get_name); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1268, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -27092,7 +25862,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2); __pyx_t_1 = 0; __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyString_Join(__pyx_kp_s__10, __pyx_t_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1268, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyString_Join(__pyx_kp_s__6, __pyx_t_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1268, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_r = __pyx_t_2; @@ -27117,7 +25887,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -27145,13 +25914,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption_16get_name_segments(struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("get_name_segments", 0); - __Pyx_TraceCall("get_name_segments", __pyx_f[1], 1270, 0, __PYX_ERR(1, 1270, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1271 * @@ -27160,7 +25924,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * def as_int(self): */ - __Pyx_TraceLine(1271,0,__PYX_ERR(1, 1271, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___name); __pyx_r = __pyx_v_self->__pyx___name; @@ -27175,12 +25938,8 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.ConfigurationOption.get_name_segments", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -27208,7 +25967,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption_18as_int(struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -27216,7 +25974,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("as_int", 0); - __Pyx_TraceCall("as_int", __pyx_f[1], 1273, 0, __PYX_ERR(1, 1273, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1274 * @@ -27225,7 +25982,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * def as_float(self): */ - __Pyx_TraceLine(1274,0,__PYX_ERR(1, 1274, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1274, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -27258,7 +26014,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -27286,7 +26041,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption_20as_float(struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -27294,7 +26048,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("as_float", 0); - __Pyx_TraceCall("as_float", __pyx_f[1], 1276, 0, __PYX_ERR(1, 1276, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1277 * @@ -27303,7 +26056,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * def as_(self, callback, *args, **kwargs): */ - __Pyx_TraceLine(1277,0,__PYX_ERR(1, 1277, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1277, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -27336,7 +26088,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -27424,7 +26175,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption_22as_(struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v_self, PyObject *__pyx_v_callback, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -27432,7 +26182,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("as_", 0); - __Pyx_TraceCall("as_", __pyx_f[1], 1279, 0, __PYX_ERR(1, 1279, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1280 * @@ -27441,7 +26190,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * def required(self): */ - __Pyx_TraceLine(1280,0,__PYX_ERR(1, 1280, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1280, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -27477,7 +26225,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -27505,7 +26252,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption_24required(struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -27515,7 +26261,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("required", 0); - __Pyx_TraceCall("required", __pyx_f[1], 1282, 0, __PYX_ERR(1, 1282, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1283 * @@ -27524,7 +26269,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * def is_required(self): */ - __Pyx_TraceLine(1283,0,__PYX_ERR(1, 1283, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1283, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -27566,7 +26310,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -27594,14 +26337,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption_26is_required(struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("is_required", 0); - __Pyx_TraceCall("is_required", __pyx_f[1], 1285, 0, __PYX_ERR(1, 1285, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1286 * @@ -27610,7 +26351,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * def override(self, value): */ - __Pyx_TraceLine(1286,0,__PYX_ERR(1, 1286, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->__pyx___required); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1286, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -27633,7 +26373,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -27661,7 +26400,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption_28override(struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v_self, PyObject *__pyx_v_value) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -27675,7 +26413,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("override", 0); - __Pyx_TraceCall("override", __pyx_f[1], 1288, 0, __PYX_ERR(1, 1288, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1289 * @@ -27684,7 +26421,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * raise Error('Configuration option can only be overridden by a value') * return self.__root.set(self._get_self_name(), value) */ - __Pyx_TraceLine(1289,0,__PYX_ERR(1, 1289, __pyx_L1_error)) __pyx_t_1 = __Pyx_TypeCheck(__pyx_v_value, __pyx_ptype_19dependency_injector_9providers_Provider); __pyx_t_2 = (__pyx_t_1 != 0); if (unlikely(__pyx_t_2)) { @@ -27696,7 +26432,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * return self.__root.set(self._get_self_name(), value) * */ - __Pyx_TraceLine(1290,0,__PYX_ERR(1, 1290, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1290, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; @@ -27734,7 +26469,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * def reset_last_overriding(self): */ - __Pyx_TraceLine(1291,0,__PYX_ERR(1, 1291, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___root), __pyx_n_s_set); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1291, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); @@ -27825,7 +26559,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -27853,7 +26586,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption_30reset_last_overriding(CYTHON_UNUSED struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -27862,7 +26594,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("reset_last_overriding", 0); - __Pyx_TraceCall("reset_last_overriding", __pyx_f[1], 1293, 0, __PYX_ERR(1, 1293, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1294 * @@ -27871,7 +26602,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * def reset_override(self): */ - __Pyx_TraceLine(1294,0,__PYX_ERR(1, 1294, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_Error); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1294, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -27909,7 +26639,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __Pyx_AddTraceback("dependency_injector.providers.ConfigurationOption.reset_last_overriding", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -27937,7 +26666,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption_32reset_override(CYTHON_UNUSED struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -27946,7 +26674,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("reset_override", 0); - __Pyx_TraceCall("reset_override", __pyx_f[1], 1296, 0, __PYX_ERR(1, 1296, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1297 * @@ -27955,7 +26682,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * def reset_cache(self): */ - __Pyx_TraceLine(1297,0,__PYX_ERR(1, 1297, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_Error); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1297, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -27993,7 +26719,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __Pyx_AddTraceback("dependency_injector.providers.ConfigurationOption.reset_override", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -28022,7 +26747,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption_34reset_cache(struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v_self) { PyObject *__pyx_v_child = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -28034,7 +26758,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("reset_cache", 0); - __Pyx_TraceCall("reset_cache", __pyx_f[1], 1299, 0, __PYX_ERR(1, 1299, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1300 * @@ -28043,7 +26766,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * for child in self.__children.values(): * child.reset_cache() */ - __Pyx_TraceLine(1300,0,__PYX_ERR(1, 1300, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_UNDEFINED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1300, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -28059,7 +26781,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * child.reset_cache() * */ - __Pyx_TraceLine(1301,0,__PYX_ERR(1, 1301, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___children == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "values"); __PYX_ERR(1, 1301, __pyx_L1_error) @@ -28116,7 +26837,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * def update(self, value): */ - __Pyx_TraceLine(1302,0,__PYX_ERR(1, 1302, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_child, __pyx_n_s_reset_cache); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1302, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; @@ -28143,7 +26863,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * child.reset_cache() * */ - __Pyx_TraceLine(1301,0,__PYX_ERR(1, 1301, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -28168,7 +26887,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __pyx_L0:; __Pyx_XDECREF(__pyx_v_child); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -28197,7 +26915,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption_36update(struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v_self, PyObject *__pyx_v_value) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -28206,7 +26923,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("update", 0); - __Pyx_TraceCall("update", __pyx_f[1], 1304, 0, __PYX_ERR(1, 1304, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1316 * :rtype: None @@ -28215,7 +26931,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * def from_ini(self, filepath, required=UNDEFINED): */ - __Pyx_TraceLine(1316,0,__PYX_ERR(1, 1316, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_override); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1316, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -28254,7 +26969,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -28282,7 +26996,7 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption { static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_filepath,&__pyx_n_s_required,0}; PyObject* values[2] = {0,0}; - values[1] = __pyx_k__12; + values[1] = __pyx_k__8; if (unlikely(__pyx_kwds)) { Py_ssize_t kw_args; const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args); @@ -28343,7 +27057,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption PyObject *__pyx_v_section = NULL; PyObject *__pyx_v_current_config = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -28365,7 +27078,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("from_ini", 0); - __Pyx_TraceCall("from_ini", __pyx_f[1], 1318, 0, __PYX_ERR(1, 1318, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1331 * :rtype: None @@ -28374,7 +27086,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * parser = _parse_ini_file(filepath) * except IOError as exception: */ - __Pyx_TraceLine(1331,0,__PYX_ERR(1, 1331, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -28391,7 +27102,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * except IOError as exception: * if required is not False \ */ - __Pyx_TraceLine(1332,0,__PYX_ERR(1, 1332, __pyx_L3_error)) __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_parse_ini_file); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1332, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; @@ -28436,7 +27146,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * if required is not False \ * and (self._is_strict_mode_enabled() or required is True) \ */ - __Pyx_TraceLine(1333,0,__PYX_ERR(1, 1333, __pyx_L5_except_error)) __pyx_t_7 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_IOError); if (__pyx_t_7) { __Pyx_AddTraceback("dependency_injector.providers.ConfigurationOption.from_ini", __pyx_clineno, __pyx_lineno, __pyx_filename); @@ -28454,7 +27163,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * and (self._is_strict_mode_enabled() or required is True) \ * and exception.errno in (errno.ENOENT, errno.EISDIR): */ - __Pyx_TraceLine(1334,0,__PYX_ERR(1, 1334, __pyx_L5_except_error)) __pyx_t_9 = (__pyx_v_required != Py_False); __pyx_t_10 = (__pyx_t_9 != 0); if (__pyx_t_10) { @@ -28470,7 +27178,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * and exception.errno in (errno.ENOENT, errno.EISDIR): * exception.strerror = 'Unable to load configuration file {0}'.format(exception.strerror) */ - __Pyx_TraceLine(1335,0,__PYX_ERR(1, 1335, __pyx_L5_except_error)) __pyx_t_12 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_strict_mode_enabled); if (unlikely(!__pyx_t_12)) __PYX_ERR(1, 1335, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_12); __pyx_t_13 = NULL; @@ -28510,7 +27217,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * exception.strerror = 'Unable to load configuration file {0}'.format(exception.strerror) * raise */ - __Pyx_TraceLine(1336,0,__PYX_ERR(1, 1336, __pyx_L5_except_error)) __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_errno); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 1336, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_n_s_errno); if (unlikely(!__pyx_t_12)) __PYX_ERR(1, 1336, __pyx_L5_except_error) @@ -28550,7 +27256,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * and (self._is_strict_mode_enabled() or required is True) \ * and exception.errno in (errno.ENOENT, errno.EISDIR): */ - __Pyx_TraceLine(1334,0,__PYX_ERR(1, 1334, __pyx_L5_except_error)) if (unlikely(__pyx_t_8)) { /* "dependency_injector/providers.pyx":1337 @@ -28560,7 +27265,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * raise * return */ - __Pyx_TraceLine(1337,0,__PYX_ERR(1, 1337, __pyx_L5_except_error)) __pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Unable_to_load_configuration_fil, __pyx_n_s_format); if (unlikely(!__pyx_t_12)) __PYX_ERR(1, 1337, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_12); __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_strerror); if (unlikely(!__pyx_t_13)) __PYX_ERR(1, 1337, __pyx_L5_except_error) @@ -28591,7 +27295,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * return * */ - __Pyx_TraceLine(1338,0,__PYX_ERR(1, 1338, __pyx_L5_except_error)) __Pyx_GIVEREF(__pyx_t_4); __Pyx_GIVEREF(__pyx_t_5); __Pyx_XGIVEREF(__pyx_t_6); @@ -28615,7 +27318,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * config = {} */ - __Pyx_TraceLine(1339,0,__PYX_ERR(1, 1339, __pyx_L5_except_error)) __Pyx_XDECREF(__pyx_r); __pyx_r = Py_None; __Pyx_INCREF(Py_None); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; @@ -28654,7 +27356,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * for section in parser.sections(): * config[section] = dict(parser.items(section)) */ - __Pyx_TraceLine(1341,0,__PYX_ERR(1, 1341, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 1341, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_v_config = ((PyObject*)__pyx_t_6); @@ -28667,7 +27368,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * config[section] = dict(parser.items(section)) * */ - __Pyx_TraceLine(1342,0,__PYX_ERR(1, 1342, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_parser, __pyx_n_s_sections); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1342, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_4 = NULL; @@ -28735,7 +27435,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * current_config = self.__call__() */ - __Pyx_TraceLine(1343,0,__PYX_ERR(1, 1343, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_parser, __pyx_n_s_items); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1343, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_11 = NULL; @@ -28766,7 +27465,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * config[section] = dict(parser.items(section)) * */ - __Pyx_TraceLine(1342,0,__PYX_ERR(1, 1342, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; @@ -28777,7 +27475,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * if not current_config: * current_config = {} */ - __Pyx_TraceLine(1345,0,__PYX_ERR(1, 1345, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_call); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1345, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_6 = NULL; @@ -28805,7 +27502,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * current_config = {} * self.override(merge_dicts(current_config, config)) */ - __Pyx_TraceLine(1346,0,__PYX_ERR(1, 1346, __pyx_L1_error)) __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_current_config); if (unlikely(__pyx_t_8 < 0)) __PYX_ERR(1, 1346, __pyx_L1_error) __pyx_t_10 = ((!__pyx_t_8) != 0); if (__pyx_t_10) { @@ -28817,7 +27513,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * self.override(merge_dicts(current_config, config)) * */ - __Pyx_TraceLine(1347,0,__PYX_ERR(1, 1347, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1347, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF_SET(__pyx_v_current_config, __pyx_t_5); @@ -28839,7 +27534,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * def from_yaml(self, filepath, required=UNDEFINED, loader=None): */ - __Pyx_TraceLine(1348,0,__PYX_ERR(1, 1348, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_override); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1348, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_n_s_merge_dicts); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 1348, __pyx_L1_error) @@ -28935,7 +27629,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __Pyx_XDECREF(__pyx_v_section); __Pyx_XDECREF(__pyx_v_current_config); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -28964,7 +27657,7 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption { static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_filepath,&__pyx_n_s_required,&__pyx_n_s_loader,0}; PyObject* values[3] = {0,0,0}; - values[1] = __pyx_k__13; + values[1] = __pyx_k__9; values[2] = ((PyObject *)Py_None); if (unlikely(__pyx_kwds)) { Py_ssize_t kw_args; @@ -29036,7 +27729,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption PyObject *__pyx_v_exception = NULL; PyObject *__pyx_v_current_config = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -29061,7 +27753,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("from_yaml", 0); - __Pyx_TraceCall("from_yaml", __pyx_f[1], 1350, 0, __PYX_ERR(1, 1350, __pyx_L1_error)); __Pyx_INCREF(__pyx_v_loader); /* "dependency_injector/providers.pyx":1366 @@ -29071,7 +27762,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * raise Error( * 'Unable to load yaml configuration - PyYAML is not installed. ' */ - __Pyx_TraceLine(1366,0,__PYX_ERR(1, 1366, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_yaml); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1366, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = (__pyx_t_1 == Py_None); @@ -29086,7 +27776,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * 'Unable to load yaml configuration - PyYAML is not installed. ' * 'Install PyYAML or install Dependency Injector with yaml extras: ' */ - __Pyx_TraceLine(1367,0,__PYX_ERR(1, 1367, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1367, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; @@ -29124,7 +27813,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * loader = YamlLoader * */ - __Pyx_TraceLine(1374,0,__PYX_ERR(1, 1374, __pyx_L1_error)) __pyx_t_3 = (__pyx_v_loader == Py_None); __pyx_t_2 = (__pyx_t_3 != 0); if (__pyx_t_2) { @@ -29136,7 +27824,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * try: */ - __Pyx_TraceLine(1375,0,__PYX_ERR(1, 1375, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_YamlLoader); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1375, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF_SET(__pyx_v_loader, __pyx_t_1); @@ -29158,7 +27845,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * with open(filepath) as opened_file: * config = yaml.load(opened_file, loader) */ - __Pyx_TraceLine(1377,0,__PYX_ERR(1, 1377, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -29175,7 +27861,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * config = yaml.load(opened_file, loader) * except IOError as exception: */ - __Pyx_TraceLine(1378,0,__PYX_ERR(1, 1378, __pyx_L5_error)) /*with:*/ { __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_builtin_open, __pyx_v_filepath); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1378, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_1); @@ -29220,7 +27905,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * except IOError as exception: * if required is not False \ */ - __Pyx_TraceLine(1379,0,__PYX_ERR(1, 1379, __pyx_L15_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_yaml); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1379, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_load); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1379, __pyx_L15_error) @@ -29338,7 +28022,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption /*finally:*/ { /*normal exit:*/{ if (__pyx_t_9) { - __pyx_t_13 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_tuple__3, NULL); + __pyx_t_13 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_tuple_, NULL); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; if (unlikely(!__pyx_t_13)) __PYX_ERR(1, 1378, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_13); @@ -29380,7 +28064,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * if required is not False \ * and (self._is_strict_mode_enabled() or required is True) \ */ - __Pyx_TraceLine(1380,0,__PYX_ERR(1, 1380, __pyx_L7_except_error)) __pyx_t_14 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_IOError); if (__pyx_t_14) { __Pyx_AddTraceback("dependency_injector.providers.ConfigurationOption.from_yaml", __pyx_clineno, __pyx_lineno, __pyx_filename); @@ -29398,7 +28081,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * and (self._is_strict_mode_enabled() or required is True) \ * and exception.errno in (errno.ENOENT, errno.EISDIR): */ - __Pyx_TraceLine(1381,0,__PYX_ERR(1, 1381, __pyx_L7_except_error)) __pyx_t_2 = (__pyx_v_required != Py_False); __pyx_t_16 = (__pyx_t_2 != 0); if (__pyx_t_16) { @@ -29414,7 +28096,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * and exception.errno in (errno.ENOENT, errno.EISDIR): * exception.strerror = 'Unable to load configuration file {0}'.format(exception.strerror) */ - __Pyx_TraceLine(1382,0,__PYX_ERR(1, 1382, __pyx_L7_except_error)) __pyx_t_17 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_strict_mode_enabled); if (unlikely(!__pyx_t_17)) __PYX_ERR(1, 1382, __pyx_L7_except_error) __Pyx_GOTREF(__pyx_t_17); __pyx_t_18 = NULL; @@ -29454,7 +28135,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * exception.strerror = 'Unable to load configuration file {0}'.format(exception.strerror) * raise */ - __Pyx_TraceLine(1383,0,__PYX_ERR(1, 1383, __pyx_L7_except_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_errno); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1383, __pyx_L7_except_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GetModuleGlobalName(__pyx_t_17, __pyx_n_s_errno); if (unlikely(!__pyx_t_17)) __PYX_ERR(1, 1383, __pyx_L7_except_error) @@ -29494,7 +28174,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * and (self._is_strict_mode_enabled() or required is True) \ * and exception.errno in (errno.ENOENT, errno.EISDIR): */ - __Pyx_TraceLine(1381,0,__PYX_ERR(1, 1381, __pyx_L7_except_error)) if (unlikely(__pyx_t_3)) { /* "dependency_injector/providers.pyx":1384 @@ -29504,7 +28183,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * raise * return */ - __Pyx_TraceLine(1384,0,__PYX_ERR(1, 1384, __pyx_L7_except_error)) __pyx_t_17 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Unable_to_load_configuration_fil, __pyx_n_s_format); if (unlikely(!__pyx_t_17)) __PYX_ERR(1, 1384, __pyx_L7_except_error) __Pyx_GOTREF(__pyx_t_17); __pyx_t_18 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_strerror); if (unlikely(!__pyx_t_18)) __PYX_ERR(1, 1384, __pyx_L7_except_error) @@ -29535,7 +28213,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * return * */ - __Pyx_TraceLine(1385,0,__PYX_ERR(1, 1385, __pyx_L7_except_error)) __Pyx_GIVEREF(__pyx_t_10); __Pyx_GIVEREF(__pyx_t_4); __Pyx_XGIVEREF(__pyx_t_5); @@ -29559,7 +28236,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * current_config = self.__call__() */ - __Pyx_TraceLine(1386,0,__PYX_ERR(1, 1386, __pyx_L7_except_error)) __Pyx_XDECREF(__pyx_r); __pyx_r = Py_None; __Pyx_INCREF(Py_None); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; @@ -29598,7 +28274,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * if not current_config: * current_config = {} */ - __Pyx_TraceLine(1388,0,__PYX_ERR(1, 1388, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_call); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1388, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_10 = NULL; @@ -29626,7 +28301,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * current_config = {} * self.override(merge_dicts(current_config, config)) */ - __Pyx_TraceLine(1389,0,__PYX_ERR(1, 1389, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_v_current_config); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(1, 1389, __pyx_L1_error) __pyx_t_16 = ((!__pyx_t_3) != 0); if (__pyx_t_16) { @@ -29638,7 +28312,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * self.override(merge_dicts(current_config, config)) * */ - __Pyx_TraceLine(1390,0,__PYX_ERR(1, 1390, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1390, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF_SET(__pyx_v_current_config, __pyx_t_5); @@ -29660,7 +28333,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * def from_dict(self, options, required=UNDEFINED): */ - __Pyx_TraceLine(1391,0,__PYX_ERR(1, 1391, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_override); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1391, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_merge_dicts); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1391, __pyx_L1_error) @@ -29757,7 +28429,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __Pyx_XDECREF(__pyx_v_current_config); __Pyx_XDECREF(__pyx_v_loader); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -29785,7 +28456,7 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption { static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_options,&__pyx_n_s_required,0}; PyObject* values[2] = {0,0}; - values[1] = __pyx_k__14; + values[1] = __pyx_k__10; if (unlikely(__pyx_kwds)) { Py_ssize_t kw_args; const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args); @@ -29842,7 +28513,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption_42from_dict(struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v_self, PyObject *__pyx_v_options, PyObject *__pyx_v_required) { PyObject *__pyx_v_current_config = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -29861,7 +28531,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("from_dict", 0); - __Pyx_TraceCall("from_dict", __pyx_f[1], 1393, 0, __PYX_ERR(1, 1393, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1406 * :rtype: None @@ -29870,7 +28539,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * and (self._is_strict_mode_enabled() or required is True) \ * and not options: */ - __Pyx_TraceLine(1406,0,__PYX_ERR(1, 1406, __pyx_L1_error)) __pyx_t_2 = (__pyx_v_required != Py_False); __pyx_t_3 = (__pyx_t_2 != 0); if (__pyx_t_3) { @@ -29886,7 +28554,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * and not options: * raise ValueError('Can not use empty dictionary') */ - __Pyx_TraceLine(1407,0,__PYX_ERR(1, 1407, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_strict_mode_enabled); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1407, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; @@ -29926,7 +28593,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * raise ValueError('Can not use empty dictionary') * */ - __Pyx_TraceLine(1408,0,__PYX_ERR(1, 1408, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_options); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(1, 1408, __pyx_L1_error) __pyx_t_3 = ((!__pyx_t_2) != 0); __pyx_t_1 = __pyx_t_3; @@ -29939,7 +28605,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * and (self._is_strict_mode_enabled() or required is True) \ * and not options: */ - __Pyx_TraceLine(1406,0,__PYX_ERR(1, 1406, __pyx_L1_error)) if (unlikely(__pyx_t_1)) { /* "dependency_injector/providers.pyx":1409 @@ -29949,8 +28614,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * try: */ - __Pyx_TraceLine(1409,0,__PYX_ERR(1, 1409, __pyx_L1_error)) - __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__15, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1409, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__11, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1409, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; @@ -29972,7 +28636,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * current_config = self.__call__() * except Error: */ - __Pyx_TraceLine(1411,0,__PYX_ERR(1, 1411, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -29989,7 +28652,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * except Error: * current_config = {} */ - __Pyx_TraceLine(1412,0,__PYX_ERR(1, 1412, __pyx_L8_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_call); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1412, __pyx_L8_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; @@ -30026,7 +28688,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * current_config = {} * */ - __Pyx_TraceLine(1416,0,__PYX_ERR(1, 1416, __pyx_L10_except_error)) /*else:*/ { __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_current_config); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(1, 1416, __pyx_L10_except_error) __pyx_t_3 = ((!__pyx_t_1) != 0); @@ -30039,7 +28700,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * self.override(merge_dicts(current_config, options)) */ - __Pyx_TraceLine(1417,0,__PYX_ERR(1, 1417, __pyx_L10_except_error)) __pyx_t_4 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1417, __pyx_L10_except_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF_SET(__pyx_v_current_config, __pyx_t_4); @@ -30070,7 +28730,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * current_config = {} * else: */ - __Pyx_TraceLine(1413,0,__PYX_ERR(1, 1413, __pyx_L10_except_error)) __Pyx_ErrFetch(&__pyx_t_4, &__pyx_t_5, &__pyx_t_6); __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_Error); if (unlikely(!__pyx_t_10)) __PYX_ERR(1, 1413, __pyx_L10_except_error) __Pyx_GOTREF(__pyx_t_10); @@ -30092,7 +28751,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * else: * if not current_config: */ - __Pyx_TraceLine(1414,0,__PYX_ERR(1, 1414, __pyx_L10_except_error)) __pyx_t_10 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_10)) __PYX_ERR(1, 1414, __pyx_L10_except_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_XDECREF_SET(__pyx_v_current_config, __pyx_t_10); @@ -30132,7 +28790,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * def from_env(self, name, default=UNDEFINED, required=UNDEFINED): */ - __Pyx_TraceLine(1419,0,__PYX_ERR(1, 1419, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_override); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1419, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_merge_dicts); if (unlikely(!__pyx_t_10)) __PYX_ERR(1, 1419, __pyx_L1_error) @@ -30223,7 +28880,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __pyx_L0:; __Pyx_XDECREF(__pyx_v_current_config); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -30252,8 +28908,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption { static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_name_2,&__pyx_n_s_default,&__pyx_n_s_required,0}; PyObject* values[3] = {0,0,0}; - values[1] = __pyx_k__16; - values[2] = __pyx_k__17; + values[1] = __pyx_k__12; + values[2] = __pyx_k__13; if (unlikely(__pyx_kwds)) { Py_ssize_t kw_args; const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args); @@ -30321,7 +28977,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption_44from_env(struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v_self, PyObject *__pyx_v_name, PyObject *__pyx_v_default, PyObject *__pyx_v_required) { PyObject *__pyx_v_value = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -30335,7 +28990,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("from_env", 0); - __Pyx_TraceCall("from_env", __pyx_f[1], 1421, 0, __PYX_ERR(1, 1421, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1435 * :rtype: None @@ -30344,7 +28998,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * if value is UNDEFINED: */ - __Pyx_TraceLine(1435,0,__PYX_ERR(1, 1435, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_os); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1435, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_environ); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1435, __pyx_L1_error) @@ -30408,7 +29061,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * if required is not False \ * and (self._is_strict_mode_enabled() or required is True): */ - __Pyx_TraceLine(1437,0,__PYX_ERR(1, 1437, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_UNDEFINED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1437, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_6 = (__pyx_v_value == __pyx_t_1); @@ -30423,7 +29075,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * and (self._is_strict_mode_enabled() or required is True): * raise ValueError('Environment variable "{0}" is undefined'.format(name)) */ - __Pyx_TraceLine(1438,0,__PYX_ERR(1, 1438, __pyx_L1_error)) __pyx_t_6 = (__pyx_v_required != Py_False); __pyx_t_8 = (__pyx_t_6 != 0); if (__pyx_t_8) { @@ -30439,7 +29090,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * raise ValueError('Environment variable "{0}" is undefined'.format(name)) * value = None */ - __Pyx_TraceLine(1439,0,__PYX_ERR(1, 1439, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_strict_mode_enabled); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1439, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_5 = NULL; @@ -30476,7 +29126,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * and (self._is_strict_mode_enabled() or required is True): * raise ValueError('Environment variable "{0}" is undefined'.format(name)) */ - __Pyx_TraceLine(1438,0,__PYX_ERR(1, 1438, __pyx_L1_error)) if (unlikely(__pyx_t_7)) { /* "dependency_injector/providers.pyx":1440 @@ -30486,7 +29135,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * value = None * */ - __Pyx_TraceLine(1440,0,__PYX_ERR(1, 1440, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Environment_variable_0_is_undefi, __pyx_n_s_format); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1440, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_5 = NULL; @@ -30527,7 +29175,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * self.override(value) */ - __Pyx_TraceLine(1441,0,__PYX_ERR(1, 1441, __pyx_L1_error)) __Pyx_INCREF(Py_None); __Pyx_DECREF_SET(__pyx_v_value, Py_None); @@ -30547,7 +29194,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * def _is_strict_mode_enabled(self): */ - __Pyx_TraceLine(1443,0,__PYX_ERR(1, 1443, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_override); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1443, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_5 = NULL; @@ -30588,7 +29234,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __pyx_L0:; __Pyx_XDECREF(__pyx_v_value); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -30616,14 +29261,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption_46_is_strict_mode_enabled(struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_is_strict_mode_enabled", 0); - __Pyx_TraceCall("_is_strict_mode_enabled", __pyx_f[1], 1445, 0, __PYX_ERR(1, 1445, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1446 * @@ -30632,7 +29275,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * * */ - __Pyx_TraceLine(1446,0,__PYX_ERR(1, 1446, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->__pyx___root->__pyx___strict); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1446, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -30655,7 +29297,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -30684,7 +29325,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -30696,7 +29336,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -30705,7 +29344,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_self->__pyx___required); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -30746,7 +29384,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_3 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_v__dict = __pyx_t_3; @@ -30759,7 +29396,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_4 = (__pyx_v__dict != Py_None); __pyx_t_5 = (__pyx_t_4 != 0); if (__pyx_t_5) { @@ -30771,7 +29407,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(__pyx_v__dict); @@ -30790,7 +29425,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * else: * use_setstate = self.__cache is not None or self.__children is not None or self.__last_overriding is not None or self.__name is not None or self.__overridden is not None or self.__root is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -30810,7 +29444,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * if use_setstate: * return __pyx_unpickle_ConfigurationOption, (type(self), 0x91e5fbc, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_4 = (__pyx_v_self->__pyx___cache != Py_None); __pyx_t_6 = (__pyx_t_4 != 0); @@ -30862,7 +29495,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * return __pyx_unpickle_ConfigurationOption, (type(self), 0x91e5fbc, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_5 = (__pyx_v_use_setstate != 0); if (__pyx_t_5) { @@ -30873,7 +29505,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * else: * return __pyx_unpickle_ConfigurationOption, (type(self), 0x91e5fbc, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pyx_unpickle_ConfigurationOpti); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -30919,7 +29550,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_ConfigurationOption__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_ConfigurationOpti); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -30965,7 +29595,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -30992,21 +29621,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ConfigurationOption static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption_50__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_ConfigurationOption, (type(self), 0x91e5fbc, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_ConfigurationOption__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_ConfigurationOption__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -31028,7 +29654,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ConfigurationOption __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -31056,7 +29681,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_24TypedConfigurationO static PyObject *__pyx_pf_19dependency_injector_9providers_24TypedConfigurationOption_6option___get__(struct __pyx_obj_19dependency_injector_9providers_TypedConfigurationOption *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -31064,7 +29688,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_24TypedConfigurationO const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 1452, 0, __PYX_ERR(1, 1452, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1453 * @property @@ -31073,7 +29696,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_24TypedConfigurationO * * */ - __Pyx_TraceLine(1453,0,__PYX_ERR(1, 1453, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_args); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1453, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -31100,7 +29722,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_24TypedConfigurationO __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -31129,7 +29750,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_24TypedConfigurationO PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -31142,7 +29762,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_24TypedConfigurationO const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -31151,7 +29770,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_24TypedConfigurationO * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___args_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -31194,7 +29812,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_24TypedConfigurationO * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_4 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v__dict = __pyx_t_4; @@ -31207,7 +29824,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_24TypedConfigurationO * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_5 = (__pyx_v__dict != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -31219,7 +29835,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_24TypedConfigurationO * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(__pyx_v__dict); @@ -31238,7 +29853,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_24TypedConfigurationO * else: * use_setstate = self.__args is not None or self.__kwargs is not None or self.__last_overriding is not None or self.__overridden is not None or self.__provides is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -31258,7 +29872,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_24TypedConfigurationO * if use_setstate: * return __pyx_unpickle_TypedConfigurationOption, (type(self), 0x3e02ba6, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_5 = (__pyx_v_self->__pyx_base.__pyx___args != ((PyObject*)Py_None)); __pyx_t_7 = (__pyx_t_5 != 0); @@ -31303,7 +29916,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_24TypedConfigurationO * return __pyx_unpickle_TypedConfigurationOption, (type(self), 0x3e02ba6, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_6 = (__pyx_v_use_setstate != 0); if (__pyx_t_6) { @@ -31314,7 +29926,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_24TypedConfigurationO * else: * return __pyx_unpickle_TypedConfigurationOption, (type(self), 0x3e02ba6, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_pyx_unpickle_TypedConfiguratio); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -31360,7 +29971,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_24TypedConfigurationO * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_TypedConfigurationOption__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pyx_unpickle_TypedConfiguratio); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -31407,7 +30017,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_24TypedConfigurationO __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -31434,21 +30043,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_24TypedConfigurationO static PyObject *__pyx_pf_19dependency_injector_9providers_24TypedConfigurationOption_2__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_TypedConfigurationOption *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_TypedConfigurationOption, (type(self), 0x3e02ba6, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_TypedConfigurationOption__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_TypedConfigurationOption__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -31470,7 +30076,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_24TypedConfigurationO __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -31498,7 +30103,7 @@ static int __pyx_pw_19dependency_injector_9providers_13Configuration_1__init__(P { static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_name_2,&__pyx_n_s_default,&__pyx_n_s_strict,0}; PyObject* values[3] = {0,0,0}; - values[0] = __pyx_k__18; + values[0] = __pyx_k__14; values[1] = ((PyObject *)Py_None); values[2] = ((PyObject *)Py_False); if (unlikely(__pyx_kwds)) { @@ -31571,7 +30176,6 @@ static int __pyx_pw_19dependency_injector_9providers_13Configuration_1__init__(P static int __pyx_pf_19dependency_injector_9providers_13Configuration___init__(struct __pyx_obj_19dependency_injector_9providers_Configuration *__pyx_v_self, PyObject *__pyx_v_name, PyObject *__pyx_v_default, PyObject *__pyx_v_strict) { PyObject *__pyx_v_value = NULL; int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -31582,7 +30186,6 @@ static int __pyx_pf_19dependency_injector_9providers_13Configuration___init__(st const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 1478, 0, __PYX_ERR(1, 1478, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1479 * @@ -31591,7 +30194,6 @@ static int __pyx_pf_19dependency_injector_9providers_13Configuration___init__(st * self.__strict = strict * */ - __Pyx_TraceLine(1479,0,__PYX_ERR(1, 1479, __pyx_L1_error)) if (!(likely(PyString_CheckExact(__pyx_v_name))||((__pyx_v_name) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "str", Py_TYPE(__pyx_v_name)->tp_name), 0))) __PYX_ERR(1, 1479, __pyx_L1_error) __pyx_t_1 = __pyx_v_name; __Pyx_INCREF(__pyx_t_1); @@ -31608,7 +30210,6 @@ static int __pyx_pf_19dependency_injector_9providers_13Configuration___init__(st * * value = {} */ - __Pyx_TraceLine(1480,0,__PYX_ERR(1, 1480, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_strict); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 1480, __pyx_L1_error) __pyx_v_self->__pyx___strict = __pyx_t_2; @@ -31619,7 +30220,6 @@ static int __pyx_pf_19dependency_injector_9providers_13Configuration___init__(st * if default is not None: * assert isinstance(default, dict), default */ - __Pyx_TraceLine(1482,0,__PYX_ERR(1, 1482, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1482, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_value = __pyx_t_1; @@ -31632,7 +30232,6 @@ static int __pyx_pf_19dependency_injector_9providers_13Configuration___init__(st * assert isinstance(default, dict), default * value = default.copy() */ - __Pyx_TraceLine(1483,0,__PYX_ERR(1, 1483, __pyx_L1_error)) __pyx_t_2 = (__pyx_v_default != Py_None); __pyx_t_3 = (__pyx_t_2 != 0); if (__pyx_t_3) { @@ -31644,7 +30243,6 @@ static int __pyx_pf_19dependency_injector_9providers_13Configuration___init__(st * value = default.copy() * */ - __Pyx_TraceLine(1484,0,__PYX_ERR(1, 1484, __pyx_L1_error)) #ifndef CYTHON_WITHOUT_ASSERTIONS if (unlikely(!Py_OptimizeFlag)) { __pyx_t_3 = PyDict_Check(__pyx_v_default); @@ -31665,7 +30263,6 @@ static int __pyx_pf_19dependency_injector_9providers_13Configuration___init__(st * * self.__children = {} */ - __Pyx_TraceLine(1485,0,__PYX_ERR(1, 1485, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_default, __pyx_n_s_copy); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1485, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; @@ -31702,7 +30299,6 @@ static int __pyx_pf_19dependency_injector_9providers_13Configuration___init__(st * * super().__init__(value) */ - __Pyx_TraceLine(1487,0,__PYX_ERR(1, 1487, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1487, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -31718,7 +30314,6 @@ static int __pyx_pf_19dependency_injector_9providers_13Configuration___init__(st * * def __deepcopy__(self, memo): */ - __Pyx_TraceLine(1489,0,__PYX_ERR(1, 1489, __pyx_L1_error)) __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1489, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Configuration)); @@ -31769,7 +30364,6 @@ static int __pyx_pf_19dependency_injector_9providers_13Configuration___init__(st __pyx_r = -1; __pyx_L0:; __Pyx_XDECREF(__pyx_v_value); - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -31798,7 +30392,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13Configuration_3__de static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_2__deepcopy__(struct __pyx_obj_19dependency_injector_9providers_Configuration *__pyx_v_self, PyObject *__pyx_v_memo) { struct __pyx_obj_19dependency_injector_9providers_Configuration *__pyx_v_copied = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -31813,7 +30406,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_2__de const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[1], 1491, 0, __PYX_ERR(1, 1491, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1494 * cdef Configuration copied @@ -31822,7 +30414,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_2__de * if copied is not None: * return copied */ - __Pyx_TraceLine(1494,0,__PYX_ERR(1, 1494, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1494, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1494, __pyx_L1_error) @@ -31854,7 +30445,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_2__de * return copied * */ - __Pyx_TraceLine(1495,0,__PYX_ERR(1, 1495, __pyx_L1_error)) __pyx_t_5 = (((PyObject *)__pyx_v_copied) != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -31866,7 +30456,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_2__de * * copied = self.__class__(self.__name, self.__provides, self.__strict) */ - __Pyx_TraceLine(1496,0,__PYX_ERR(1, 1496, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_copied)); __pyx_r = ((PyObject *)__pyx_v_copied); @@ -31888,7 +30477,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_2__de * memo[id(self)] = copied * */ - __Pyx_TraceLine(1498,0,__PYX_ERR(1, 1498, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1498, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyBool_FromLong(__pyx_v_self->__pyx___strict); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1498, __pyx_L1_error) @@ -31954,7 +30542,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_2__de * * copied.__children = deepcopy(self.__children, memo) */ - __Pyx_TraceLine(1499,0,__PYX_ERR(1, 1499, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1499, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (unlikely(PyObject_SetItem(__pyx_v_memo, __pyx_t_1, ((PyObject *)__pyx_v_copied)) < 0)) __PYX_ERR(1, 1499, __pyx_L1_error) @@ -31967,7 +30554,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_2__de * self._copy_overridings(copied, memo) * */ - __Pyx_TraceLine(1501,0,__PYX_ERR(1, 1501, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___children; __Pyx_INCREF(__pyx_t_1); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 1501, __pyx_L1_error) @@ -31990,7 +30576,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_2__de * * return copied */ - __Pyx_TraceLine(1502,0,__PYX_ERR(1, 1502, __pyx_L1_error)) if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 1502, __pyx_L1_error) ((struct __pyx_vtabstruct_19dependency_injector_9providers_Configuration *)__pyx_v_self->__pyx_base.__pyx_base.__pyx_vtab)->__pyx_base.__pyx_base._copy_overridings(((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_self), ((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_copied), ((PyObject*)__pyx_v_memo), 0); @@ -32001,7 +30586,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_2__de * * def __str__(self): */ - __Pyx_TraceLine(1504,0,__PYX_ERR(1, 1504, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_copied)); __pyx_r = ((PyObject *)__pyx_v_copied); @@ -32027,7 +30611,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_2__de __pyx_L0:; __Pyx_XDECREF((PyObject *)__pyx_v_copied); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -32055,7 +30638,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13Configuration_5__st static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_4__str__(struct __pyx_obj_19dependency_injector_9providers_Configuration *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -32063,7 +30645,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_4__st const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__str__", 0); - __Pyx_TraceCall("__str__", __pyx_f[1], 1506, 0, __PYX_ERR(1, 1506, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1507 * @@ -32072,7 +30653,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_4__st * * def __getattr__(self, item): */ - __Pyx_TraceLine(1507,0,__PYX_ERR(1, 1507, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_v_self->__pyx___name; __Pyx_INCREF(__pyx_t_1); @@ -32099,7 +30679,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_4__st __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -32128,7 +30707,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13Configuration_7__ge static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_6__getattr__(struct __pyx_obj_19dependency_injector_9providers_Configuration *__pyx_v_self, PyObject *__pyx_v_item) { PyObject *__pyx_v_child = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -32140,7 +30718,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_6__ge const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__getattr__", 0); - __Pyx_TraceCall("__getattr__", __pyx_f[1], 1509, 0, __PYX_ERR(1, 1509, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1510 * @@ -32149,7 +30726,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_6__ge * raise AttributeError( * '\'{cls}\' object has no attribute ' */ - __Pyx_TraceLine(1510,0,__PYX_ERR(1, 1510, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_item, __pyx_n_s_startswith); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1510, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = NULL; @@ -32162,7 +30738,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_6__ge __Pyx_DECREF_SET(__pyx_t_3, function); } } - __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_n_s__9) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_n_s__9); + __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_n_s__5) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_n_s__5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1510, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -32186,7 +30762,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_6__ge __Pyx_DECREF_SET(__pyx_t_3, function); } } - __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_n_s__9) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_n_s__9); + __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_n_s__5) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_n_s__5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1510, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -32204,7 +30780,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_6__ge * attribute_name=item)) * */ - __Pyx_TraceLine(1513,0,__PYX_ERR(1, 1513, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_cls_object_has_no_attribute_att, __pyx_n_s_format); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1513, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1513, __pyx_L1_error) @@ -32224,7 +30799,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_6__ge * * child = self.__children.get(item) */ - __Pyx_TraceLine(1514,0,__PYX_ERR(1, 1514, __pyx_L1_error)) if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_attribute_name, __pyx_v_item) < 0) __PYX_ERR(1, 1513, __pyx_L1_error) /* "dependency_injector/providers.pyx":1513 @@ -32234,7 +30808,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_6__ge * attribute_name=item)) * */ - __Pyx_TraceLine(1513,0,__PYX_ERR(1, 1513, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_empty_tuple, __pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 1513, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -32247,7 +30820,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_6__ge * '\'{cls}\' object has no attribute ' * '\'{attribute_name}\''.format(cls=self.__class__.__name__, */ - __Pyx_TraceLine(1511,0,__PYX_ERR(1, 1511, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_AttributeError, __pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1511, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; @@ -32271,7 +30843,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_6__ge * if child is None: * child = ConfigurationOption((item,), self) */ - __Pyx_TraceLine(1516,0,__PYX_ERR(1, 1516, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___children == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "get"); __PYX_ERR(1, 1516, __pyx_L1_error) @@ -32288,7 +30859,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_6__ge * child = ConfigurationOption((item,), self) * self.__children[item] = child */ - __Pyx_TraceLine(1517,0,__PYX_ERR(1, 1517, __pyx_L1_error)) __pyx_t_1 = (__pyx_v_child == Py_None); __pyx_t_5 = (__pyx_t_1 != 0); if (__pyx_t_5) { @@ -32300,7 +30870,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_6__ge * self.__children[item] = child * return child */ - __Pyx_TraceLine(1518,0,__PYX_ERR(1, 1518, __pyx_L1_error)) __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1518, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(__pyx_v_item); @@ -32327,7 +30896,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_6__ge * return child * */ - __Pyx_TraceLine(1519,0,__PYX_ERR(1, 1519, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___children == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 1519, __pyx_L1_error) @@ -32350,7 +30918,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_6__ge * * def __getitem__(self, item): */ - __Pyx_TraceLine(1520,0,__PYX_ERR(1, 1520, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_child); __pyx_r = __pyx_v_child; @@ -32375,7 +30942,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_6__ge __pyx_L0:; __Pyx_XDECREF(__pyx_v_child); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -32404,7 +30970,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13Configuration_9__ge static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_8__getitem__(struct __pyx_obj_19dependency_injector_9providers_Configuration *__pyx_v_self, PyObject *__pyx_v_item) { PyObject *__pyx_v_child = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -32414,7 +30979,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_8__ge const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_TraceCall("__getitem__", __pyx_f[1], 1522, 0, __PYX_ERR(1, 1522, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1523 * @@ -32423,7 +30987,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_8__ge * if child is None: * child = ConfigurationOption(item, self) */ - __Pyx_TraceLine(1523,0,__PYX_ERR(1, 1523, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___children == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "get"); __PYX_ERR(1, 1523, __pyx_L1_error) @@ -32440,7 +31003,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_8__ge * child = ConfigurationOption(item, self) * self.__children[item] = child */ - __Pyx_TraceLine(1524,0,__PYX_ERR(1, 1524, __pyx_L1_error)) __pyx_t_2 = (__pyx_v_child == Py_None); __pyx_t_3 = (__pyx_t_2 != 0); if (__pyx_t_3) { @@ -32452,7 +31014,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_8__ge * self.__children[item] = child * return child */ - __Pyx_TraceLine(1525,0,__PYX_ERR(1, 1525, __pyx_L1_error)) __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1525, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v_item); @@ -32474,7 +31035,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_8__ge * return child * */ - __Pyx_TraceLine(1526,0,__PYX_ERR(1, 1526, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___children == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 1526, __pyx_L1_error) @@ -32497,7 +31057,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_8__ge * * def get_name(self): */ - __Pyx_TraceLine(1527,0,__PYX_ERR(1, 1527, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_child); __pyx_r = __pyx_v_child; @@ -32520,7 +31079,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_8__ge __pyx_L0:; __Pyx_XDECREF(__pyx_v_child); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -32548,13 +31106,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13Configuration_11get static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_10get_name(struct __pyx_obj_19dependency_injector_9providers_Configuration *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("get_name", 0); - __Pyx_TraceCall("get_name", __pyx_f[1], 1529, 0, __PYX_ERR(1, 1529, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1530 * @@ -32563,7 +31116,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_10get * * def get(self, selector, required=False): */ - __Pyx_TraceLine(1530,0,__PYX_ERR(1, 1530, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___name); __pyx_r = __pyx_v_self->__pyx___name; @@ -32578,12 +31130,8 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_10get */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.Configuration.get_name", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -32670,7 +31218,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_12get PyObject *__pyx_v_keys = NULL; PyObject *__pyx_v_key = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -32686,7 +31233,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_12get const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("get", 0); - __Pyx_TraceCall("get", __pyx_f[1], 1532, 0, __PYX_ERR(1, 1532, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1544 * :rtype: Any @@ -32695,7 +31241,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_12get * * if value is None: */ - __Pyx_TraceLine(1544,0,__PYX_ERR(1, 1544, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_call); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1544, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -32723,7 +31268,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_12get * if self._is_strict_mode_enabled() or required: * raise Error('Undefined configuration option "{0}.{1}"'.format(self.__name, selector)) */ - __Pyx_TraceLine(1546,0,__PYX_ERR(1, 1546, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_value == Py_None); __pyx_t_5 = (__pyx_t_4 != 0); if (__pyx_t_5) { @@ -32735,7 +31279,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_12get * raise Error('Undefined configuration option "{0}.{1}"'.format(self.__name, selector)) * return None */ - __Pyx_TraceLine(1547,0,__PYX_ERR(1, 1547, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_strict_mode_enabled); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1547, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -32772,7 +31315,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_12get * return None * */ - __Pyx_TraceLine(1548,0,__PYX_ERR(1, 1548, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_Error); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1548, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Undefined_configuration_option_0, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 1548, __pyx_L1_error) @@ -32858,7 +31400,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_12get * * keys = selector.split('.') */ - __Pyx_TraceLine(1549,0,__PYX_ERR(1, 1549, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; @@ -32879,7 +31420,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_12get * while len(keys) > 0: * key = keys.pop(0) */ - __Pyx_TraceLine(1551,0,__PYX_ERR(1, 1551, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_selector, __pyx_n_s_split); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1551, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -32892,7 +31432,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_12get __Pyx_DECREF_SET(__pyx_t_2, function); } } - __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_2, __pyx_t_3, __pyx_kp_s__10) : __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_kp_s__10); + __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_2, __pyx_t_3, __pyx_kp_s__6) : __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_kp_s__6); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1551, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -32907,7 +31447,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_12get * key = keys.pop(0) * value = value.get(key, UNDEFINED) */ - __Pyx_TraceLine(1552,0,__PYX_ERR(1, 1552, __pyx_L1_error)) while (1) { __pyx_t_10 = PyObject_Length(__pyx_v_keys); if (unlikely(__pyx_t_10 == ((Py_ssize_t)-1))) __PYX_ERR(1, 1552, __pyx_L1_error) __pyx_t_5 = ((__pyx_t_10 > 0) != 0); @@ -32920,7 +31459,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_12get * value = value.get(key, UNDEFINED) * */ - __Pyx_TraceLine(1553,0,__PYX_ERR(1, 1553, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_PopIndex(__pyx_v_keys, __pyx_int_0, 0, 1, Py_ssize_t, PyInt_FromSsize_t); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1553, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_XDECREF_SET(__pyx_v_key, __pyx_t_1); @@ -32933,7 +31471,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_12get * * if value is UNDEFINED: */ - __Pyx_TraceLine(1554,0,__PYX_ERR(1, 1554, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_value, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1554, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_UNDEFINED); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1554, __pyx_L1_error) @@ -32995,7 +31532,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_12get * if self._is_strict_mode_enabled() or required: * raise Error('Undefined configuration option "{0}.{1}"'.format(self.__name, selector)) */ - __Pyx_TraceLine(1556,0,__PYX_ERR(1, 1556, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_UNDEFINED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1556, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_5 = (__pyx_v_value == __pyx_t_1); @@ -33010,7 +31546,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_12get * raise Error('Undefined configuration option "{0}.{1}"'.format(self.__name, selector)) * return None */ - __Pyx_TraceLine(1557,0,__PYX_ERR(1, 1557, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_strict_mode_enabled); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1557, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_9 = NULL; @@ -33047,7 +31582,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_12get * return None * */ - __Pyx_TraceLine(1558,0,__PYX_ERR(1, 1558, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_Error); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1558, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Undefined_configuration_option_0, __pyx_n_s_format); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1558, __pyx_L1_error) @@ -33133,7 +31667,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_12get * * return value */ - __Pyx_TraceLine(1559,0,__PYX_ERR(1, 1559, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; @@ -33155,7 +31688,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_12get * * def set(self, selector, value): */ - __Pyx_TraceLine(1561,0,__PYX_ERR(1, 1561, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_value); __pyx_r = __pyx_v_value; @@ -33184,7 +31716,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_12get __Pyx_XDECREF(__pyx_v_keys); __Pyx_XDECREF(__pyx_v_key); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -33269,7 +31800,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_14set PyObject *__pyx_v_key = NULL; PyObject *__pyx_v_temp_value = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -33283,7 +31813,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_14set const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("set", 0); - __Pyx_TraceCall("set", __pyx_f[1], 1563, 0, __PYX_ERR(1, 1563, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1575 * :rtype: :py:class:`OverridingContext` @@ -33292,7 +31821,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_14set * * keys = selector.split('.') */ - __Pyx_TraceLine(1575,0,__PYX_ERR(1, 1575, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_call); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1575, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -33326,7 +31854,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_14set * while len(keys) > 0: * key = keys.pop(0) */ - __Pyx_TraceLine(1577,0,__PYX_ERR(1, 1577, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_selector, __pyx_n_s_split); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1577, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = NULL; @@ -33339,7 +31866,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_14set __Pyx_DECREF_SET(__pyx_t_1, function); } } - __pyx_t_2 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_1, __pyx_t_3, __pyx_kp_s__10) : __Pyx_PyObject_CallOneArg(__pyx_t_1, __pyx_kp_s__10); + __pyx_t_2 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_1, __pyx_t_3, __pyx_kp_s__6) : __Pyx_PyObject_CallOneArg(__pyx_t_1, __pyx_kp_s__6); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1577, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -33354,7 +31881,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_14set * key = keys.pop(0) * if len(keys) == 0: */ - __Pyx_TraceLine(1578,0,__PYX_ERR(1, 1578, __pyx_L1_error)) while (1) { __pyx_t_4 = PyObject_Length(__pyx_v_keys); if (unlikely(__pyx_t_4 == ((Py_ssize_t)-1))) __PYX_ERR(1, 1578, __pyx_L1_error) __pyx_t_5 = ((__pyx_t_4 > 0) != 0); @@ -33367,7 +31893,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_14set * if len(keys) == 0: * current_value[key] = value */ - __Pyx_TraceLine(1579,0,__PYX_ERR(1, 1579, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_PopIndex(__pyx_v_keys, __pyx_int_0, 0, 1, Py_ssize_t, PyInt_FromSsize_t); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1579, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_XDECREF_SET(__pyx_v_key, __pyx_t_2); @@ -33380,7 +31905,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_14set * current_value[key] = value * break */ - __Pyx_TraceLine(1580,0,__PYX_ERR(1, 1580, __pyx_L1_error)) __pyx_t_4 = PyObject_Length(__pyx_v_keys); if (unlikely(__pyx_t_4 == ((Py_ssize_t)-1))) __PYX_ERR(1, 1580, __pyx_L1_error) __pyx_t_5 = ((__pyx_t_4 == 0) != 0); if (__pyx_t_5) { @@ -33392,7 +31916,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_14set * break * temp_value = current_value.get(key, {}) */ - __Pyx_TraceLine(1581,0,__PYX_ERR(1, 1581, __pyx_L1_error)) if (unlikely(PyObject_SetItem(__pyx_v_current_value, __pyx_v_key, __pyx_v_value) < 0)) __PYX_ERR(1, 1581, __pyx_L1_error) /* "dependency_injector/providers.pyx":1582 @@ -33402,7 +31925,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_14set * temp_value = current_value.get(key, {}) * current_value[key] = temp_value */ - __Pyx_TraceLine(1582,0,__PYX_ERR(1, 1582, __pyx_L1_error)) goto __pyx_L4_break; /* "dependency_injector/providers.pyx":1580 @@ -33421,7 +31943,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_14set * current_value[key] = temp_value * current_value = temp_value */ - __Pyx_TraceLine(1583,0,__PYX_ERR(1, 1583, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_current_value, __pyx_n_s_get); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1583, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1583, __pyx_L1_error) @@ -33483,7 +32004,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_14set * current_value = temp_value * */ - __Pyx_TraceLine(1584,0,__PYX_ERR(1, 1584, __pyx_L1_error)) if (unlikely(PyObject_SetItem(__pyx_v_current_value, __pyx_v_key, __pyx_v_temp_value) < 0)) __PYX_ERR(1, 1584, __pyx_L1_error) /* "dependency_injector/providers.pyx":1585 @@ -33493,7 +32013,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_14set * * return self.override(original_value) */ - __Pyx_TraceLine(1585,0,__PYX_ERR(1, 1585, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_temp_value); __Pyx_DECREF_SET(__pyx_v_current_value, __pyx_v_temp_value); } @@ -33506,7 +32025,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_14set * * def override(self, provider): */ - __Pyx_TraceLine(1587,0,__PYX_ERR(1, 1587, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_override); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1587, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -33553,7 +32071,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_14set __Pyx_XDECREF(__pyx_v_key); __Pyx_XDECREF(__pyx_v_temp_value); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -33583,7 +32100,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13Configuration_17ove static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_16override(struct __pyx_obj_19dependency_injector_9providers_Configuration *__pyx_v_self, PyObject *__pyx_v_provider) { PyObject *__pyx_v_context = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -33592,7 +32108,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_16ove const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("override", 0); - __Pyx_TraceCall("override", __pyx_f[1], 1589, 0, __PYX_ERR(1, 1589, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1600 * :rtype: :py:class:`OverridingContext` @@ -33601,7 +32116,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_16ove * self.reset_cache() * return context */ - __Pyx_TraceLine(1600,0,__PYX_ERR(1, 1600, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1600, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Configuration)); @@ -33641,7 +32155,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_16ove * return context * */ - __Pyx_TraceLine(1601,0,__PYX_ERR(1, 1601, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_reset_cache); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1601, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -33668,7 +32181,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_16ove * * def reset_last_overriding(self): */ - __Pyx_TraceLine(1602,0,__PYX_ERR(1, 1602, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_context); __pyx_r = __pyx_v_context; @@ -33692,7 +32204,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_16ove __pyx_L0:; __Pyx_XDECREF(__pyx_v_context); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -33721,7 +32232,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13Configuration_19res static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_18reset_last_overriding(struct __pyx_obj_19dependency_injector_9providers_Configuration *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -33730,7 +32240,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_18res const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("reset_last_overriding", 0); - __Pyx_TraceCall("reset_last_overriding", __pyx_f[1], 1604, 0, __PYX_ERR(1, 1604, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1612 * :rtype: None @@ -33739,7 +32248,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_18res * self.reset_cache() * */ - __Pyx_TraceLine(1612,0,__PYX_ERR(1, 1612, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1612, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Configuration)); @@ -33778,7 +32286,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_18res * * def reset_override(self): */ - __Pyx_TraceLine(1613,0,__PYX_ERR(1, 1613, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_reset_cache); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1613, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -33817,7 +32324,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_18res __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -33846,7 +32352,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13Configuration_21res static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_20reset_override(struct __pyx_obj_19dependency_injector_9providers_Configuration *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -33855,7 +32360,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_20res const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("reset_override", 0); - __Pyx_TraceCall("reset_override", __pyx_f[1], 1615, 0, __PYX_ERR(1, 1615, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1620 * :rtype: None @@ -33864,7 +32368,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_20res * self.reset_cache() * */ - __Pyx_TraceLine(1620,0,__PYX_ERR(1, 1620, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1620, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Configuration)); @@ -33903,7 +32406,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_20res * * def reset_cache(self): */ - __Pyx_TraceLine(1621,0,__PYX_ERR(1, 1621, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_reset_cache); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1621, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -33942,7 +32444,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_20res __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -33972,7 +32473,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13Configuration_23res static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_22reset_cache(struct __pyx_obj_19dependency_injector_9providers_Configuration *__pyx_v_self) { PyObject *__pyx_v_child = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -33984,7 +32484,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_22res const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("reset_cache", 0); - __Pyx_TraceCall("reset_cache", __pyx_f[1], 1623, 0, __PYX_ERR(1, 1623, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1628 * :rtype: None @@ -33993,7 +32492,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_22res * child.reset_cache() * */ - __Pyx_TraceLine(1628,0,__PYX_ERR(1, 1628, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___children == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "values"); __PYX_ERR(1, 1628, __pyx_L1_error) @@ -34050,7 +32548,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_22res * * def update(self, value): */ - __Pyx_TraceLine(1629,0,__PYX_ERR(1, 1629, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_child, __pyx_n_s_reset_cache); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1629, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; @@ -34077,7 +32574,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_22res * child.reset_cache() * */ - __Pyx_TraceLine(1628,0,__PYX_ERR(1, 1628, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -34102,7 +32598,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_22res __pyx_L0:; __Pyx_XDECREF(__pyx_v_child); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -34131,7 +32626,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13Configuration_25upd static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_24update(struct __pyx_obj_19dependency_injector_9providers_Configuration *__pyx_v_self, PyObject *__pyx_v_value) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -34140,7 +32634,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_24upd const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("update", 0); - __Pyx_TraceCall("update", __pyx_f[1], 1631, 0, __PYX_ERR(1, 1631, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1643 * :rtype: None @@ -34149,7 +32642,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_24upd * * def from_ini(self, filepath, required=UNDEFINED): */ - __Pyx_TraceLine(1643,0,__PYX_ERR(1, 1643, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_override); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1643, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -34188,7 +32680,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_24upd __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -34216,7 +32707,7 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13Configuration_27fro { static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_filepath,&__pyx_n_s_required,0}; PyObject* values[2] = {0,0}; - values[1] = __pyx_k__19; + values[1] = __pyx_k__15; if (unlikely(__pyx_kwds)) { Py_ssize_t kw_args; const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args); @@ -34277,7 +32768,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_26fro PyObject *__pyx_v_section = NULL; PyObject *__pyx_v_current_config = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -34299,7 +32789,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_26fro const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("from_ini", 0); - __Pyx_TraceCall("from_ini", __pyx_f[1], 1645, 0, __PYX_ERR(1, 1645, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1658 * :rtype: None @@ -34308,7 +32797,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_26fro * parser = _parse_ini_file(filepath) * except IOError as exception: */ - __Pyx_TraceLine(1658,0,__PYX_ERR(1, 1658, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -34325,7 +32813,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_26fro * except IOError as exception: * if required is not False \ */ - __Pyx_TraceLine(1659,0,__PYX_ERR(1, 1659, __pyx_L3_error)) __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_parse_ini_file); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1659, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; @@ -34370,7 +32857,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_26fro * if required is not False \ * and (self._is_strict_mode_enabled() or required is True) \ */ - __Pyx_TraceLine(1660,0,__PYX_ERR(1, 1660, __pyx_L5_except_error)) __pyx_t_7 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_IOError); if (__pyx_t_7) { __Pyx_AddTraceback("dependency_injector.providers.Configuration.from_ini", __pyx_clineno, __pyx_lineno, __pyx_filename); @@ -34388,7 +32874,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_26fro * and (self._is_strict_mode_enabled() or required is True) \ * and exception.errno in (errno.ENOENT, errno.EISDIR): */ - __Pyx_TraceLine(1661,0,__PYX_ERR(1, 1661, __pyx_L5_except_error)) __pyx_t_9 = (__pyx_v_required != Py_False); __pyx_t_10 = (__pyx_t_9 != 0); if (__pyx_t_10) { @@ -34404,7 +32889,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_26fro * and exception.errno in (errno.ENOENT, errno.EISDIR): * exception.strerror = 'Unable to load configuration file {0}'.format(exception.strerror) */ - __Pyx_TraceLine(1662,0,__PYX_ERR(1, 1662, __pyx_L5_except_error)) __pyx_t_12 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_strict_mode_enabled); if (unlikely(!__pyx_t_12)) __PYX_ERR(1, 1662, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_12); __pyx_t_13 = NULL; @@ -34444,7 +32928,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_26fro * exception.strerror = 'Unable to load configuration file {0}'.format(exception.strerror) * raise */ - __Pyx_TraceLine(1663,0,__PYX_ERR(1, 1663, __pyx_L5_except_error)) __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_errno); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 1663, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_n_s_errno); if (unlikely(!__pyx_t_12)) __PYX_ERR(1, 1663, __pyx_L5_except_error) @@ -34484,7 +32967,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_26fro * and (self._is_strict_mode_enabled() or required is True) \ * and exception.errno in (errno.ENOENT, errno.EISDIR): */ - __Pyx_TraceLine(1661,0,__PYX_ERR(1, 1661, __pyx_L5_except_error)) if (unlikely(__pyx_t_8)) { /* "dependency_injector/providers.pyx":1664 @@ -34494,7 +32976,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_26fro * raise * return */ - __Pyx_TraceLine(1664,0,__PYX_ERR(1, 1664, __pyx_L5_except_error)) __pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Unable_to_load_configuration_fil, __pyx_n_s_format); if (unlikely(!__pyx_t_12)) __PYX_ERR(1, 1664, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_12); __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_strerror); if (unlikely(!__pyx_t_13)) __PYX_ERR(1, 1664, __pyx_L5_except_error) @@ -34525,7 +33006,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_26fro * return * */ - __Pyx_TraceLine(1665,0,__PYX_ERR(1, 1665, __pyx_L5_except_error)) __Pyx_GIVEREF(__pyx_t_4); __Pyx_GIVEREF(__pyx_t_5); __Pyx_XGIVEREF(__pyx_t_6); @@ -34549,7 +33029,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_26fro * * config = {} */ - __Pyx_TraceLine(1666,0,__PYX_ERR(1, 1666, __pyx_L5_except_error)) __Pyx_XDECREF(__pyx_r); __pyx_r = Py_None; __Pyx_INCREF(Py_None); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; @@ -34588,7 +33067,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_26fro * for section in parser.sections(): * config[section] = dict(parser.items(section)) */ - __Pyx_TraceLine(1668,0,__PYX_ERR(1, 1668, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 1668, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_v_config = ((PyObject*)__pyx_t_6); @@ -34601,7 +33079,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_26fro * config[section] = dict(parser.items(section)) * */ - __Pyx_TraceLine(1669,0,__PYX_ERR(1, 1669, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_parser, __pyx_n_s_sections); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1669, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_4 = NULL; @@ -34669,7 +33146,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_26fro * * current_config = self.__call__() */ - __Pyx_TraceLine(1670,0,__PYX_ERR(1, 1670, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_parser, __pyx_n_s_items); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1670, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_11 = NULL; @@ -34700,7 +33176,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_26fro * config[section] = dict(parser.items(section)) * */ - __Pyx_TraceLine(1669,0,__PYX_ERR(1, 1669, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; @@ -34711,7 +33186,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_26fro * if not current_config: * current_config = {} */ - __Pyx_TraceLine(1672,0,__PYX_ERR(1, 1672, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_call); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1672, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_6 = NULL; @@ -34739,7 +33213,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_26fro * current_config = {} * self.override(merge_dicts(current_config, config)) */ - __Pyx_TraceLine(1673,0,__PYX_ERR(1, 1673, __pyx_L1_error)) __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_current_config); if (unlikely(__pyx_t_8 < 0)) __PYX_ERR(1, 1673, __pyx_L1_error) __pyx_t_10 = ((!__pyx_t_8) != 0); if (__pyx_t_10) { @@ -34751,7 +33224,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_26fro * self.override(merge_dicts(current_config, config)) * */ - __Pyx_TraceLine(1674,0,__PYX_ERR(1, 1674, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1674, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF_SET(__pyx_v_current_config, __pyx_t_5); @@ -34773,7 +33245,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_26fro * * def from_yaml(self, filepath, required=UNDEFINED, loader=None): */ - __Pyx_TraceLine(1675,0,__PYX_ERR(1, 1675, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_override); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1675, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_n_s_merge_dicts); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 1675, __pyx_L1_error) @@ -34869,7 +33340,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_26fro __Pyx_XDECREF(__pyx_v_section); __Pyx_XDECREF(__pyx_v_current_config); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -34898,7 +33368,7 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13Configuration_29fro { static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_filepath,&__pyx_n_s_required,&__pyx_n_s_loader,0}; PyObject* values[3] = {0,0,0}; - values[1] = __pyx_k__20; + values[1] = __pyx_k__16; values[2] = ((PyObject *)Py_None); if (unlikely(__pyx_kwds)) { Py_ssize_t kw_args; @@ -34970,7 +33440,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro PyObject *__pyx_v_exception = NULL; PyObject *__pyx_v_current_config = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -34995,7 +33464,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("from_yaml", 0); - __Pyx_TraceCall("from_yaml", __pyx_f[1], 1677, 0, __PYX_ERR(1, 1677, __pyx_L1_error)); __Pyx_INCREF(__pyx_v_loader); /* "dependency_injector/providers.pyx":1693 @@ -35005,7 +33473,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro * raise Error( * 'Unable to load yaml configuration - PyYAML is not installed. ' */ - __Pyx_TraceLine(1693,0,__PYX_ERR(1, 1693, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_yaml); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1693, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = (__pyx_t_1 == Py_None); @@ -35020,7 +33487,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro * 'Unable to load yaml configuration - PyYAML is not installed. ' * 'Install PyYAML or install Dependency Injector with yaml extras: ' */ - __Pyx_TraceLine(1694,0,__PYX_ERR(1, 1694, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1694, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; @@ -35058,7 +33524,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro * loader = YamlLoader * */ - __Pyx_TraceLine(1700,0,__PYX_ERR(1, 1700, __pyx_L1_error)) __pyx_t_3 = (__pyx_v_loader == Py_None); __pyx_t_2 = (__pyx_t_3 != 0); if (__pyx_t_2) { @@ -35070,7 +33535,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro * * try: */ - __Pyx_TraceLine(1701,0,__PYX_ERR(1, 1701, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_YamlLoader); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1701, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF_SET(__pyx_v_loader, __pyx_t_1); @@ -35092,7 +33556,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro * with open(filepath) as opened_file: * config = yaml.load(opened_file, loader) */ - __Pyx_TraceLine(1703,0,__PYX_ERR(1, 1703, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -35109,7 +33572,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro * config = yaml.load(opened_file, loader) * except IOError as exception: */ - __Pyx_TraceLine(1704,0,__PYX_ERR(1, 1704, __pyx_L5_error)) /*with:*/ { __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_builtin_open, __pyx_v_filepath); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1704, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_1); @@ -35154,7 +33616,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro * except IOError as exception: * if required is not False \ */ - __Pyx_TraceLine(1705,0,__PYX_ERR(1, 1705, __pyx_L15_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_yaml); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1705, __pyx_L15_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_load); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1705, __pyx_L15_error) @@ -35272,7 +33733,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro /*finally:*/ { /*normal exit:*/{ if (__pyx_t_9) { - __pyx_t_13 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_tuple__3, NULL); + __pyx_t_13 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_tuple_, NULL); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; if (unlikely(!__pyx_t_13)) __PYX_ERR(1, 1704, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_13); @@ -35314,7 +33775,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro * if required is not False \ * and (self._is_strict_mode_enabled() or required is True) \ */ - __Pyx_TraceLine(1706,0,__PYX_ERR(1, 1706, __pyx_L7_except_error)) __pyx_t_14 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_IOError); if (__pyx_t_14) { __Pyx_AddTraceback("dependency_injector.providers.Configuration.from_yaml", __pyx_clineno, __pyx_lineno, __pyx_filename); @@ -35332,7 +33792,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro * and (self._is_strict_mode_enabled() or required is True) \ * and exception.errno in (errno.ENOENT, errno.EISDIR): */ - __Pyx_TraceLine(1707,0,__PYX_ERR(1, 1707, __pyx_L7_except_error)) __pyx_t_2 = (__pyx_v_required != Py_False); __pyx_t_16 = (__pyx_t_2 != 0); if (__pyx_t_16) { @@ -35348,7 +33807,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro * and exception.errno in (errno.ENOENT, errno.EISDIR): * exception.strerror = 'Unable to load configuration file {0}'.format(exception.strerror) */ - __Pyx_TraceLine(1708,0,__PYX_ERR(1, 1708, __pyx_L7_except_error)) __pyx_t_17 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_strict_mode_enabled); if (unlikely(!__pyx_t_17)) __PYX_ERR(1, 1708, __pyx_L7_except_error) __Pyx_GOTREF(__pyx_t_17); __pyx_t_18 = NULL; @@ -35388,7 +33846,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro * exception.strerror = 'Unable to load configuration file {0}'.format(exception.strerror) * raise */ - __Pyx_TraceLine(1709,0,__PYX_ERR(1, 1709, __pyx_L7_except_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_errno); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1709, __pyx_L7_except_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GetModuleGlobalName(__pyx_t_17, __pyx_n_s_errno); if (unlikely(!__pyx_t_17)) __PYX_ERR(1, 1709, __pyx_L7_except_error) @@ -35428,7 +33885,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro * and (self._is_strict_mode_enabled() or required is True) \ * and exception.errno in (errno.ENOENT, errno.EISDIR): */ - __Pyx_TraceLine(1707,0,__PYX_ERR(1, 1707, __pyx_L7_except_error)) if (unlikely(__pyx_t_3)) { /* "dependency_injector/providers.pyx":1710 @@ -35438,7 +33894,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro * raise * return */ - __Pyx_TraceLine(1710,0,__PYX_ERR(1, 1710, __pyx_L7_except_error)) __pyx_t_17 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Unable_to_load_configuration_fil, __pyx_n_s_format); if (unlikely(!__pyx_t_17)) __PYX_ERR(1, 1710, __pyx_L7_except_error) __Pyx_GOTREF(__pyx_t_17); __pyx_t_18 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception, __pyx_n_s_strerror); if (unlikely(!__pyx_t_18)) __PYX_ERR(1, 1710, __pyx_L7_except_error) @@ -35469,7 +33924,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro * return * */ - __Pyx_TraceLine(1711,0,__PYX_ERR(1, 1711, __pyx_L7_except_error)) __Pyx_GIVEREF(__pyx_t_10); __Pyx_GIVEREF(__pyx_t_4); __Pyx_XGIVEREF(__pyx_t_5); @@ -35493,7 +33947,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro * * current_config = self.__call__() */ - __Pyx_TraceLine(1712,0,__PYX_ERR(1, 1712, __pyx_L7_except_error)) __Pyx_XDECREF(__pyx_r); __pyx_r = Py_None; __Pyx_INCREF(Py_None); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; @@ -35532,7 +33985,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro * if not current_config: * current_config = {} */ - __Pyx_TraceLine(1714,0,__PYX_ERR(1, 1714, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_call); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1714, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_10 = NULL; @@ -35560,7 +34012,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro * current_config = {} * self.override(merge_dicts(current_config, config)) */ - __Pyx_TraceLine(1715,0,__PYX_ERR(1, 1715, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_v_current_config); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(1, 1715, __pyx_L1_error) __pyx_t_16 = ((!__pyx_t_3) != 0); if (__pyx_t_16) { @@ -35572,7 +34023,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro * self.override(merge_dicts(current_config, config)) * */ - __Pyx_TraceLine(1716,0,__PYX_ERR(1, 1716, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1716, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF_SET(__pyx_v_current_config, __pyx_t_5); @@ -35594,7 +34044,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro * * def from_dict(self, options, required=UNDEFINED): */ - __Pyx_TraceLine(1717,0,__PYX_ERR(1, 1717, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_override); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1717, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_merge_dicts); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1717, __pyx_L1_error) @@ -35691,7 +34140,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_28fro __Pyx_XDECREF(__pyx_v_current_config); __Pyx_XDECREF(__pyx_v_loader); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -35719,7 +34167,7 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13Configuration_31fro { static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_options,&__pyx_n_s_required,0}; PyObject* values[2] = {0,0}; - values[1] = __pyx_k__21; + values[1] = __pyx_k__17; if (unlikely(__pyx_kwds)) { Py_ssize_t kw_args; const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args); @@ -35776,7 +34224,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13Configuration_31fro static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_30from_dict(struct __pyx_obj_19dependency_injector_9providers_Configuration *__pyx_v_self, PyObject *__pyx_v_options, PyObject *__pyx_v_required) { PyObject *__pyx_v_current_config = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -35792,7 +34239,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_30fro const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("from_dict", 0); - __Pyx_TraceCall("from_dict", __pyx_f[1], 1719, 0, __PYX_ERR(1, 1719, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1732 * :rtype: None @@ -35801,7 +34247,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_30fro * and (self._is_strict_mode_enabled() or required is True) \ * and not options: */ - __Pyx_TraceLine(1732,0,__PYX_ERR(1, 1732, __pyx_L1_error)) __pyx_t_2 = (__pyx_v_required != Py_False); __pyx_t_3 = (__pyx_t_2 != 0); if (__pyx_t_3) { @@ -35817,7 +34262,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_30fro * and not options: * raise ValueError('Can not use empty dictionary') */ - __Pyx_TraceLine(1733,0,__PYX_ERR(1, 1733, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_strict_mode_enabled); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1733, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; @@ -35857,7 +34301,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_30fro * raise ValueError('Can not use empty dictionary') * */ - __Pyx_TraceLine(1734,0,__PYX_ERR(1, 1734, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_options); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(1, 1734, __pyx_L1_error) __pyx_t_3 = ((!__pyx_t_2) != 0); __pyx_t_1 = __pyx_t_3; @@ -35870,7 +34313,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_30fro * and (self._is_strict_mode_enabled() or required is True) \ * and not options: */ - __Pyx_TraceLine(1732,0,__PYX_ERR(1, 1732, __pyx_L1_error)) if (unlikely(__pyx_t_1)) { /* "dependency_injector/providers.pyx":1735 @@ -35880,8 +34322,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_30fro * * current_config = self.__call__() */ - __Pyx_TraceLine(1735,0,__PYX_ERR(1, 1735, __pyx_L1_error)) - __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__15, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1735, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__11, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1735, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_Raise(__pyx_t_4, 0, 0, 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; @@ -35903,7 +34344,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_30fro * if not current_config: * current_config = {} */ - __Pyx_TraceLine(1737,0,__PYX_ERR(1, 1737, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_call); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1737, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; @@ -35931,7 +34371,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_30fro * current_config = {} * self.override(merge_dicts(current_config, options)) */ - __Pyx_TraceLine(1738,0,__PYX_ERR(1, 1738, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_current_config); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(1, 1738, __pyx_L1_error) __pyx_t_3 = ((!__pyx_t_1) != 0); if (__pyx_t_3) { @@ -35943,7 +34382,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_30fro * self.override(merge_dicts(current_config, options)) * */ - __Pyx_TraceLine(1739,0,__PYX_ERR(1, 1739, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1739, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF_SET(__pyx_v_current_config, __pyx_t_4); @@ -35965,7 +34403,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_30fro * * def from_env(self, name, default=UNDEFINED, required=UNDEFINED): */ - __Pyx_TraceLine(1740,0,__PYX_ERR(1, 1740, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_override); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1740, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_merge_dicts); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 1740, __pyx_L1_error) @@ -36056,7 +34493,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_30fro __pyx_L0:; __Pyx_XDECREF(__pyx_v_current_config); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -36085,8 +34521,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13Configuration_33fro { static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_name_2,&__pyx_n_s_default,&__pyx_n_s_required,0}; PyObject* values[3] = {0,0,0}; - values[1] = __pyx_k__22; - values[2] = __pyx_k__23; + values[1] = __pyx_k__18; + values[2] = __pyx_k__19; if (unlikely(__pyx_kwds)) { Py_ssize_t kw_args; const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args); @@ -36154,7 +34590,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13Configuration_33fro static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_32from_env(struct __pyx_obj_19dependency_injector_9providers_Configuration *__pyx_v_self, PyObject *__pyx_v_name, PyObject *__pyx_v_default, PyObject *__pyx_v_required) { PyObject *__pyx_v_value = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -36168,7 +34603,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_32fro const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("from_env", 0); - __Pyx_TraceCall("from_env", __pyx_f[1], 1742, 0, __PYX_ERR(1, 1742, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1756 * :rtype: None @@ -36177,7 +34611,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_32fro * * if value is UNDEFINED: */ - __Pyx_TraceLine(1756,0,__PYX_ERR(1, 1756, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_os); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1756, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_environ); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1756, __pyx_L1_error) @@ -36241,7 +34674,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_32fro * if required is not False \ * and (self._is_strict_mode_enabled() or required is True): */ - __Pyx_TraceLine(1758,0,__PYX_ERR(1, 1758, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_UNDEFINED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1758, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_6 = (__pyx_v_value == __pyx_t_1); @@ -36256,7 +34688,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_32fro * and (self._is_strict_mode_enabled() or required is True): * raise ValueError('Environment variable "{0}" is undefined'.format(name)) */ - __Pyx_TraceLine(1759,0,__PYX_ERR(1, 1759, __pyx_L1_error)) __pyx_t_6 = (__pyx_v_required != Py_False); __pyx_t_8 = (__pyx_t_6 != 0); if (__pyx_t_8) { @@ -36272,7 +34703,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_32fro * raise ValueError('Environment variable "{0}" is undefined'.format(name)) * value = None */ - __Pyx_TraceLine(1760,0,__PYX_ERR(1, 1760, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_strict_mode_enabled); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1760, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_5 = NULL; @@ -36309,7 +34739,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_32fro * and (self._is_strict_mode_enabled() or required is True): * raise ValueError('Environment variable "{0}" is undefined'.format(name)) */ - __Pyx_TraceLine(1759,0,__PYX_ERR(1, 1759, __pyx_L1_error)) if (unlikely(__pyx_t_7)) { /* "dependency_injector/providers.pyx":1761 @@ -36319,7 +34748,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_32fro * value = None * */ - __Pyx_TraceLine(1761,0,__PYX_ERR(1, 1761, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Environment_variable_0_is_undefi, __pyx_n_s_format); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1761, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_5 = NULL; @@ -36360,7 +34788,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_32fro * * self.override(value) */ - __Pyx_TraceLine(1762,0,__PYX_ERR(1, 1762, __pyx_L1_error)) __Pyx_INCREF(Py_None); __Pyx_DECREF_SET(__pyx_v_value, Py_None); @@ -36380,7 +34807,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_32fro * * def _is_strict_mode_enabled(self): */ - __Pyx_TraceLine(1764,0,__PYX_ERR(1, 1764, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_override); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1764, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_5 = NULL; @@ -36421,7 +34847,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_32fro __pyx_L0:; __Pyx_XDECREF(__pyx_v_value); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -36449,14 +34874,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13Configuration_35_is static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_34_is_strict_mode_enabled(struct __pyx_obj_19dependency_injector_9providers_Configuration *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_is_strict_mode_enabled", 0); - __Pyx_TraceCall("_is_strict_mode_enabled", __pyx_f[1], 1766, 0, __PYX_ERR(1, 1766, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1767 * @@ -36465,7 +34888,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_34_is * * */ - __Pyx_TraceLine(1767,0,__PYX_ERR(1, 1767, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->__pyx___strict); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1767, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -36488,7 +34910,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_34_is __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -36517,7 +34938,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_36__r PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -36529,7 +34949,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_36__r const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -36538,7 +34957,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_36__r * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_self->__pyx___strict); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -36576,7 +34994,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_36__r * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_3 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_v__dict = __pyx_t_3; @@ -36589,7 +35006,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_36__r * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_4 = (__pyx_v__dict != Py_None); __pyx_t_5 = (__pyx_t_4 != 0); if (__pyx_t_5) { @@ -36601,7 +35017,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_36__r * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(__pyx_v__dict); @@ -36620,7 +35035,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_36__r * else: * use_setstate = self.__children is not None or self.__last_overriding is not None or self.__name is not None or self.__overridden is not None or self.__provides is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -36640,7 +35054,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_36__r * if use_setstate: * return __pyx_unpickle_Configuration, (type(self), 0x42fe861, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_4 = (__pyx_v_self->__pyx___children != ((PyObject*)Py_None)); __pyx_t_6 = (__pyx_t_4 != 0); @@ -36685,7 +35098,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_36__r * return __pyx_unpickle_Configuration, (type(self), 0x42fe861, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_5 = (__pyx_v_use_setstate != 0); if (__pyx_t_5) { @@ -36696,7 +35108,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_36__r * else: * return __pyx_unpickle_Configuration, (type(self), 0x42fe861, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pyx_unpickle_Configuration); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -36742,7 +35153,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_36__r * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Configuration__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_Configuration); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -36788,7 +35198,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_36__r __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -36815,21 +35224,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13Configuration_39__s static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_38__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_Configuration *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_Configuration, (type(self), 0x42fe861, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Configuration__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Configuration__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -36851,7 +35257,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13Configuration_38__s __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -36943,7 +35348,6 @@ static int __pyx_pw_19dependency_injector_9providers_7Factory_1__init__(PyObject static int __pyx_pf_19dependency_injector_9providers_7Factory___init__(struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_v_self, PyObject *__pyx_v_provides, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -36961,7 +35365,6 @@ static int __pyx_pf_19dependency_injector_9providers_7Factory___init__(struct __ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 1823, 0, __PYX_ERR(1, 1823, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1829 * :type provides: type @@ -36970,7 +35373,6 @@ static int __pyx_pf_19dependency_injector_9providers_7Factory___init__(struct __ * not issubclass(provides, self.__class__.provided_type)): * raise Error('{0} can provide only {1} instances'.format( */ - __Pyx_TraceLine(1829,0,__PYX_ERR(1, 1829, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1829, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_provided_type); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1829, __pyx_L1_error) @@ -36991,7 +35393,6 @@ static int __pyx_pf_19dependency_injector_9providers_7Factory___init__(struct __ * raise Error('{0} can provide only {1} instances'.format( * self.__class__, self.__class__.provided_type)) */ - __Pyx_TraceLine(1830,0,__PYX_ERR(1, 1830, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1830, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_provided_type); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1830, __pyx_L1_error) @@ -37010,7 +35411,6 @@ static int __pyx_pf_19dependency_injector_9providers_7Factory___init__(struct __ * not issubclass(provides, self.__class__.provided_type)): * raise Error('{0} can provide only {1} instances'.format( */ - __Pyx_TraceLine(1829,0,__PYX_ERR(1, 1829, __pyx_L1_error)) if (unlikely(__pyx_t_1)) { /* "dependency_injector/providers.pyx":1831 @@ -37020,7 +35420,6 @@ static int __pyx_pf_19dependency_injector_9providers_7Factory___init__(struct __ * self.__class__, self.__class__.provided_type)) * */ - __Pyx_TraceLine(1831,0,__PYX_ERR(1, 1831, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_Error); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1831, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_0_can_provide_only_1_instances, __pyx_n_s_format); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 1831, __pyx_L1_error) @@ -37033,7 +35432,6 @@ static int __pyx_pf_19dependency_injector_9providers_7Factory___init__(struct __ * * self.__instantiator = Callable(provides, *args, **kwargs) */ - __Pyx_TraceLine(1832,0,__PYX_ERR(1, 1832, __pyx_L1_error)) __pyx_t_8 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 1832, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_9 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 1832, __pyx_L1_error) @@ -37126,7 +35524,6 @@ static int __pyx_pf_19dependency_injector_9providers_7Factory___init__(struct __ * * self.__attributes = tuple() */ - __Pyx_TraceLine(1834,0,__PYX_ERR(1, 1834, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1834, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v_provides); @@ -37151,7 +35548,6 @@ static int __pyx_pf_19dependency_injector_9providers_7Factory___init__(struct __ * self.__attributes_len = 0 * */ - __Pyx_TraceLine(1836,0,__PYX_ERR(1, 1836, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_CallNoArg(((PyObject *)(&PyTuple_Type))); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1836, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_GIVEREF(__pyx_t_2); @@ -37167,7 +35563,6 @@ static int __pyx_pf_19dependency_injector_9providers_7Factory___init__(struct __ * * super(Factory, self).__init__() */ - __Pyx_TraceLine(1837,0,__PYX_ERR(1, 1837, __pyx_L1_error)) __pyx_v_self->__pyx___attributes_len = 0; /* "dependency_injector/providers.pyx":1839 @@ -37177,7 +35572,6 @@ static int __pyx_pf_19dependency_injector_9providers_7Factory___init__(struct __ * * def __deepcopy__(self, memo): */ - __Pyx_TraceLine(1839,0,__PYX_ERR(1, 1839, __pyx_L1_error)) __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1839, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Factory)); @@ -37232,7 +35626,6 @@ static int __pyx_pf_19dependency_injector_9providers_7Factory___init__(struct __ __Pyx_AddTraceback("dependency_injector.providers.Factory.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -37263,7 +35656,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_2__deepcopy_ PyObject *__pyx_v_copied = NULL; PyObject *__pyx_v_cls = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -37277,7 +35669,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_2__deepcopy_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[1], 1841, 0, __PYX_ERR(1, 1841, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1843 * def __deepcopy__(self, memo): @@ -37286,7 +35677,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_2__deepcopy_ * if copied is not None: * return copied */ - __Pyx_TraceLine(1843,0,__PYX_ERR(1, 1843, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1843, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1843, __pyx_L1_error) @@ -37317,7 +35707,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_2__deepcopy_ * return copied * */ - __Pyx_TraceLine(1844,0,__PYX_ERR(1, 1844, __pyx_L1_error)) __pyx_t_5 = (__pyx_v_copied != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -37329,7 +35718,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_2__deepcopy_ * * cls = self.cls */ - __Pyx_TraceLine(1845,0,__PYX_ERR(1, 1845, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -37351,7 +35739,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_2__deepcopy_ * if isinstance(cls, Provider): * cls = deepcopy(cls, memo) */ - __Pyx_TraceLine(1847,0,__PYX_ERR(1, 1847, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_cls); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1847, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_cls = __pyx_t_1; @@ -37364,7 +35751,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_2__deepcopy_ * cls = deepcopy(cls, memo) * */ - __Pyx_TraceLine(1848,0,__PYX_ERR(1, 1848, __pyx_L1_error)) __pyx_t_6 = __Pyx_TypeCheck(__pyx_v_cls, __pyx_ptype_19dependency_injector_9providers_Provider); __pyx_t_5 = (__pyx_t_6 != 0); if (__pyx_t_5) { @@ -37376,7 +35762,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_2__deepcopy_ * * copied = self.__class__(cls, */ - __Pyx_TraceLine(1849,0,__PYX_ERR(1, 1849, __pyx_L1_error)) if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 1849, __pyx_L1_error) __pyx_t_7.__pyx_n = 1; __pyx_t_7.memo = ((PyObject*)__pyx_v_memo); @@ -37401,7 +35786,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_2__deepcopy_ * *deepcopy(self.args, memo), * **deepcopy(self.kwargs, memo)) */ - __Pyx_TraceLine(1851,0,__PYX_ERR(1, 1851, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1851, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1851, __pyx_L1_error) @@ -37417,7 +35801,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_2__deepcopy_ * **deepcopy(self.kwargs, memo)) * copied.set_attributes(**deepcopy(self.attributes, memo)) */ - __Pyx_TraceLine(1852,0,__PYX_ERR(1, 1852, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_args); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1852, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 1852, __pyx_L1_error) @@ -37434,7 +35817,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_2__deepcopy_ * *deepcopy(self.args, memo), * **deepcopy(self.kwargs, memo)) */ - __Pyx_TraceLine(1851,0,__PYX_ERR(1, 1851, __pyx_L1_error)) __pyx_t_3 = __Pyx_PySequence_Tuple(__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1851, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; @@ -37450,7 +35832,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_2__deepcopy_ * copied.set_attributes(**deepcopy(self.attributes, memo)) * */ - __Pyx_TraceLine(1853,0,__PYX_ERR(1, 1853, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_kwargs); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1853, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 1853, __pyx_L1_error) @@ -37480,7 +35861,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_2__deepcopy_ * *deepcopy(self.args, memo), * **deepcopy(self.kwargs, memo)) */ - __Pyx_TraceLine(1851,0,__PYX_ERR(1, 1851, __pyx_L1_error)) __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 1851, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -37496,7 +35876,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_2__deepcopy_ * * self._copy_overridings(copied, memo) */ - __Pyx_TraceLine(1854,0,__PYX_ERR(1, 1854, __pyx_L1_error)) __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_copied, __pyx_n_s_set_attributes); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 1854, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_attributes); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1854, __pyx_L1_error) @@ -37533,7 +35912,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_2__deepcopy_ * * return copied */ - __Pyx_TraceLine(1856,0,__PYX_ERR(1, 1856, __pyx_L1_error)) if (!(likely(((__pyx_v_copied) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_copied, __pyx_ptype_19dependency_injector_9providers_Provider))))) __PYX_ERR(1, 1856, __pyx_L1_error) if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 1856, __pyx_L1_error) ((struct __pyx_vtabstruct_19dependency_injector_9providers_Factory *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._copy_overridings(((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_self), ((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_copied), ((PyObject*)__pyx_v_memo), 0); @@ -37545,7 +35923,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_2__deepcopy_ * * def __str__(self): */ - __Pyx_TraceLine(1858,0,__PYX_ERR(1, 1858, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -37572,7 +35949,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_2__deepcopy_ __Pyx_XDECREF(__pyx_v_copied); __Pyx_XDECREF(__pyx_v_cls); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -37604,7 +35980,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_7Factory_5__str__(PyO static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_4__str__(struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -37612,7 +35987,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_4__str__(str const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__str__", 0); - __Pyx_TraceCall("__str__", __pyx_f[1], 1860, 0, __PYX_ERR(1, 1860, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1865 * :rtype: str @@ -37621,7 +35995,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_4__str__(str * provides=self.__instantiator.provides) * */ - __Pyx_TraceLine(1865,0,__PYX_ERR(1, 1865, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); /* "dependency_injector/providers.pyx":1866 @@ -37631,7 +36004,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_4__str__(str * * @property */ - __Pyx_TraceLine(1866,0,__PYX_ERR(1, 1866, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_provides); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1866, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -37642,7 +36014,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_4__str__(str * provides=self.__instantiator.provides) * */ - __Pyx_TraceLine(1865,0,__PYX_ERR(1, 1865, __pyx_L1_error)) __pyx_t_2 = __pyx_f_19dependency_injector_9providers_represent_provider(((PyObject *)__pyx_v_self), __pyx_t_1, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1865, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -37666,7 +36037,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_4__str__(str __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -37694,14 +36064,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_7Factory_3cls_1__get_ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_3cls___get__(struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 1869, 0, __PYX_ERR(1, 1869, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1871 * def cls(self): @@ -37710,7 +36078,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_3cls___get__ * * @property */ - __Pyx_TraceLine(1871,0,__PYX_ERR(1, 1871, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_provides); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1871, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -37733,7 +36100,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_3cls___get__ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -37761,14 +36127,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_7Factory_8provides_1_ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_8provides___get__(struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 1874, 0, __PYX_ERR(1, 1874, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1876 * def provides(self): @@ -37777,7 +36141,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_8provides___ * * @property */ - __Pyx_TraceLine(1876,0,__PYX_ERR(1, 1876, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_provides); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1876, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -37800,7 +36163,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_8provides___ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -37828,14 +36190,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_7Factory_4args_1__get static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_4args___get__(struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 1879, 0, __PYX_ERR(1, 1879, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1881 * def args(self): @@ -37844,7 +36204,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_4args___get_ * * def add_args(self, *args): */ - __Pyx_TraceLine(1881,0,__PYX_ERR(1, 1881, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_args); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1881, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -37867,7 +36226,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_4args___get_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -37901,7 +36259,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_7Factory_7add_args(Py static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_6add_args(struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_v_self, PyObject *__pyx_v_args) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -37909,7 +36266,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_6add_args(st const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("add_args", 0); - __Pyx_TraceCall("add_args", __pyx_f[1], 1883, 0, __PYX_ERR(1, 1883, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1888 * :return: Reference ``self`` @@ -37918,7 +36274,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_6add_args(st * return self * */ - __Pyx_TraceLine(1888,0,__PYX_ERR(1, 1888, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_add_args); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1888, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_v_args, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1888, __pyx_L1_error) @@ -37933,7 +36288,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_6add_args(st * * def set_args(self, *args): */ - __Pyx_TraceLine(1889,0,__PYX_ERR(1, 1889, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -37955,7 +36309,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_6add_args(st __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -37989,7 +36342,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_7Factory_9set_args(Py static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_8set_args(struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_v_self, PyObject *__pyx_v_args) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -37997,7 +36349,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_8set_args(st const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("set_args", 0); - __Pyx_TraceCall("set_args", __pyx_f[1], 1891, 0, __PYX_ERR(1, 1891, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1898 * :return: Reference ``self`` @@ -38006,7 +36357,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_8set_args(st * return self * */ - __Pyx_TraceLine(1898,0,__PYX_ERR(1, 1898, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_set_args); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1898, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_v_args, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1898, __pyx_L1_error) @@ -38021,7 +36371,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_8set_args(st * * def clear_args(self): */ - __Pyx_TraceLine(1899,0,__PYX_ERR(1, 1899, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -38043,7 +36392,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_8set_args(st __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -38072,7 +36420,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_7Factory_11clear_args static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_10clear_args(struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -38081,7 +36428,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_10clear_args const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("clear_args", 0); - __Pyx_TraceCall("clear_args", __pyx_f[1], 1901, 0, __PYX_ERR(1, 1901, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1906 * :return: Reference ``self`` @@ -38090,7 +36436,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_10clear_args * return self * */ - __Pyx_TraceLine(1906,0,__PYX_ERR(1, 1906, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_clear_args); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1906, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -38117,7 +36462,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_10clear_args * * @property */ - __Pyx_TraceLine(1907,0,__PYX_ERR(1, 1907, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -38140,7 +36484,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_10clear_args __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -38168,14 +36511,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_7Factory_6kwargs_1__g static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_6kwargs___get__(struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 1910, 0, __PYX_ERR(1, 1910, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1912 * def kwargs(self): @@ -38184,7 +36525,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_6kwargs___ge * * def add_kwargs(self, **kwargs): */ - __Pyx_TraceLine(1912,0,__PYX_ERR(1, 1912, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_kwargs); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1912, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -38207,7 +36547,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_6kwargs___ge __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -38247,7 +36586,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_7Factory_13add_kwargs static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_12add_kwargs(struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_v_self, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -38255,7 +36593,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_12add_kwargs const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("add_kwargs", 0); - __Pyx_TraceCall("add_kwargs", __pyx_f[1], 1914, 0, __PYX_ERR(1, 1914, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1919 * :return: Reference ``self`` @@ -38264,7 +36601,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_12add_kwargs * return self * */ - __Pyx_TraceLine(1919,0,__PYX_ERR(1, 1919, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_add_kwargs); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1919, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_empty_tuple, __pyx_v_kwargs); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1919, __pyx_L1_error) @@ -38279,7 +36615,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_12add_kwargs * * def set_kwargs(self, **kwargs): */ - __Pyx_TraceLine(1920,0,__PYX_ERR(1, 1920, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -38301,7 +36636,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_12add_kwargs __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -38341,7 +36675,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_7Factory_15set_kwargs static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_14set_kwargs(struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_v_self, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -38349,7 +36682,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_14set_kwargs const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("set_kwargs", 0); - __Pyx_TraceCall("set_kwargs", __pyx_f[1], 1922, 0, __PYX_ERR(1, 1922, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1929 * :return: Reference ``self`` @@ -38358,7 +36690,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_14set_kwargs * return self * */ - __Pyx_TraceLine(1929,0,__PYX_ERR(1, 1929, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_set_kwargs); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1929, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_empty_tuple, __pyx_v_kwargs); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1929, __pyx_L1_error) @@ -38373,7 +36704,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_14set_kwargs * * def clear_kwargs(self): */ - __Pyx_TraceLine(1930,0,__PYX_ERR(1, 1930, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -38395,7 +36725,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_14set_kwargs __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -38424,7 +36753,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_7Factory_17clear_kwar static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_16clear_kwargs(struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -38433,7 +36761,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_16clear_kwar const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("clear_kwargs", 0); - __Pyx_TraceCall("clear_kwargs", __pyx_f[1], 1932, 0, __PYX_ERR(1, 1932, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1937 * :return: Reference ``self`` @@ -38442,7 +36769,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_16clear_kwar * return self * */ - __Pyx_TraceLine(1937,0,__PYX_ERR(1, 1937, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_clear_kwargs); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1937, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -38469,7 +36795,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_16clear_kwar * * @property */ - __Pyx_TraceLine(1938,0,__PYX_ERR(1, 1938, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -38492,7 +36817,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_16clear_kwar __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -38523,7 +36847,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_10attributes struct __pyx_obj_19dependency_injector_9providers_NamedInjection *__pyx_v_attribute = 0; PyObject *__pyx_v_attributes = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -38533,7 +36856,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_10attributes const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 1941, 0, __PYX_ERR(1, 1941, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1947 * cdef dict attributes @@ -38542,7 +36864,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_10attributes * for index in range(self.__attributes_len): * attribute = self.__attributes[index] */ - __Pyx_TraceLine(1947,0,__PYX_ERR(1, 1947, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1947, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_attributes = ((PyObject*)__pyx_t_1); @@ -38555,7 +36876,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_10attributes * attribute = self.__attributes[index] * attributes[attribute.__name] = attribute.__value */ - __Pyx_TraceLine(1948,0,__PYX_ERR(1, 1948, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___attributes_len; __pyx_t_3 = __pyx_t_2; for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { @@ -38568,7 +36888,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_10attributes * attributes[attribute.__name] = attribute.__value * return attributes */ - __Pyx_TraceLine(1949,0,__PYX_ERR(1, 1949, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___attributes == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 1949, __pyx_L1_error) @@ -38586,7 +36905,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_10attributes * return attributes * */ - __Pyx_TraceLine(1950,0,__PYX_ERR(1, 1950, __pyx_L1_error)) __pyx_t_1 = __pyx_v_attribute->__pyx_base.__pyx___value; __Pyx_INCREF(__pyx_t_1); if (unlikely(PyDict_SetItem(__pyx_v_attributes, __pyx_v_attribute->__pyx___name, __pyx_t_1) < 0)) __PYX_ERR(1, 1950, __pyx_L1_error) @@ -38600,7 +36918,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_10attributes * * def add_attributes(self, **kwargs): */ - __Pyx_TraceLine(1951,0,__PYX_ERR(1, 1951, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_attributes); __pyx_r = __pyx_v_attributes; @@ -38623,7 +36940,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_10attributes __Pyx_XDECREF((PyObject *)__pyx_v_attribute); __Pyx_XDECREF(__pyx_v_attributes); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -38659,7 +36975,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_7Factory_19add_attrib static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_18add_attributes(struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_v_self, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -38668,7 +36983,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_18add_attrib const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("add_attributes", 0); - __Pyx_TraceCall("add_attributes", __pyx_f[1], 1953, 0, __PYX_ERR(1, 1953, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1958 * :return: Reference ``self`` @@ -38677,7 +36991,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_18add_attrib * self.__attributes_len = len(self.__attributes) * return self */ - __Pyx_TraceLine(1958,0,__PYX_ERR(1, 1958, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers_parse_named_injections(__pyx_v_kwargs, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1958, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyNumber_InPlaceAdd(__pyx_v_self->__pyx___attributes, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1958, __pyx_L1_error) @@ -38696,7 +37009,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_18add_attrib * return self * */ - __Pyx_TraceLine(1959,0,__PYX_ERR(1, 1959, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___attributes; __Pyx_INCREF(__pyx_t_2); if (unlikely(__pyx_t_2 == Py_None)) { @@ -38714,7 +37026,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_18add_attrib * * def set_attributes(self, **kwargs): */ - __Pyx_TraceLine(1960,0,__PYX_ERR(1, 1960, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -38736,7 +37047,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_18add_attrib __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -38772,7 +37082,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_7Factory_21set_attrib static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_20set_attributes(struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_v_self, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; @@ -38780,7 +37089,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_20set_attrib const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("set_attributes", 0); - __Pyx_TraceCall("set_attributes", __pyx_f[1], 1962, 0, __PYX_ERR(1, 1962, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1969 * :return: Reference ``self`` @@ -38789,7 +37097,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_20set_attrib * self.__attributes_len = len(self.__attributes) * return self */ - __Pyx_TraceLine(1969,0,__PYX_ERR(1, 1969, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers_parse_named_injections(__pyx_v_kwargs, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1969, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -38805,7 +37112,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_20set_attrib * return self * */ - __Pyx_TraceLine(1970,0,__PYX_ERR(1, 1970, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___attributes; __Pyx_INCREF(__pyx_t_1); if (unlikely(__pyx_t_1 == Py_None)) { @@ -38823,7 +37129,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_20set_attrib * * def clear_attributes(self): */ - __Pyx_TraceLine(1971,0,__PYX_ERR(1, 1971, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -38844,7 +37149,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_20set_attrib __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -38873,7 +37177,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_7Factory_23clear_attr static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_22clear_attributes(struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; @@ -38881,7 +37184,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_22clear_attr const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("clear_attributes", 0); - __Pyx_TraceCall("clear_attributes", __pyx_f[1], 1973, 0, __PYX_ERR(1, 1973, __pyx_L1_error)); /* "dependency_injector/providers.pyx":1978 * :return: Reference ``self`` @@ -38890,7 +37192,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_22clear_attr * self.__attributes_len = len(self.__attributes) * return self */ - __Pyx_TraceLine(1978,0,__PYX_ERR(1, 1978, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_CallNoArg(((PyObject *)(&PyTuple_Type))); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1978, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -38906,7 +37207,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_22clear_attr * return self * */ - __Pyx_TraceLine(1979,0,__PYX_ERR(1, 1979, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___attributes; __Pyx_INCREF(__pyx_t_1); if (unlikely(__pyx_t_1 == Py_None)) { @@ -38924,7 +37224,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_22clear_attr * * cpdef object _provide(self, tuple args, dict kwargs): */ - __Pyx_TraceLine(1980,0,__PYX_ERR(1, 1980, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -38945,7 +37244,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_22clear_attr __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -38961,7 +37259,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_22clear_attr static PyObject *__pyx_pw_19dependency_injector_9providers_7Factory_25_provide(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ static PyObject *__pyx_f_19dependency_injector_9providers_7Factory__provide(struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs, int __pyx_skip_dispatch) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -38973,7 +37270,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_7Factory__provide(stru const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide", __pyx_f[1], 1982, 0, __PYX_ERR(1, 1982, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -39058,7 +37354,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_7Factory__provide(stru * * */ - __Pyx_TraceLine(1984,0,__PYX_ERR(1, 1984, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers___factory_call(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1984, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -39085,7 +37380,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_7Factory__provide(stru __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -39163,14 +37457,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_7Factory_25_provide(P static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_24_provide(struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide (wrapper)", __pyx_f[1], 1982, 0, __PYX_ERR(1, 1982, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_7Factory__provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1982, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -39185,7 +37477,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_24_provide(s __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -39214,7 +37505,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_26__reduce_c PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -39226,7 +37516,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_26__reduce_c const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -39235,7 +37524,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_26__reduce_c * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx___attributes_len); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -39270,7 +37558,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_26__reduce_c * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_3 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_v__dict = __pyx_t_3; @@ -39283,7 +37570,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_26__reduce_c * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_4 = (__pyx_v__dict != Py_None); __pyx_t_5 = (__pyx_t_4 != 0); if (__pyx_t_5) { @@ -39295,7 +37581,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_26__reduce_c * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(__pyx_v__dict); @@ -39314,7 +37599,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_26__reduce_c * else: * use_setstate = self.__attributes is not None or self.__instantiator is not None or self.__last_overriding is not None or self.__overridden is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -39334,7 +37618,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_26__reduce_c * if use_setstate: * return __pyx_unpickle_Factory, (type(self), 0x7545337, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_4 = (__pyx_v_self->__pyx___attributes != ((PyObject*)Py_None)); __pyx_t_6 = (__pyx_t_4 != 0); @@ -39372,7 +37655,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_26__reduce_c * return __pyx_unpickle_Factory, (type(self), 0x7545337, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_5 = (__pyx_v_use_setstate != 0); if (__pyx_t_5) { @@ -39383,7 +37665,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_26__reduce_c * else: * return __pyx_unpickle_Factory, (type(self), 0x7545337, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pyx_unpickle_Factory); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -39429,7 +37710,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_26__reduce_c * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Factory__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_Factory); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -39475,7 +37755,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_26__reduce_c __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -39502,21 +37781,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_7Factory_29__setstate static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_28__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_Factory, (type(self), 0x7545337, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Factory__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Factory__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -39538,7 +37814,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_7Factory_28__setstate __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -39567,7 +37842,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16DelegatedFactory___ PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -39579,7 +37853,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16DelegatedFactory___ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -39588,7 +37861,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16DelegatedFactory___ * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___attributes_len); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -39623,7 +37895,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16DelegatedFactory___ * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_3 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_v__dict = __pyx_t_3; @@ -39636,7 +37907,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16DelegatedFactory___ * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_4 = (__pyx_v__dict != Py_None); __pyx_t_5 = (__pyx_t_4 != 0); if (__pyx_t_5) { @@ -39648,7 +37918,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16DelegatedFactory___ * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(__pyx_v__dict); @@ -39667,7 +37936,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16DelegatedFactory___ * else: * use_setstate = self.__attributes is not None or self.__instantiator is not None or self.__last_overriding is not None or self.__overridden is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -39687,7 +37955,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16DelegatedFactory___ * if use_setstate: * return __pyx_unpickle_DelegatedFactory, (type(self), 0x7545337, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_4 = (__pyx_v_self->__pyx_base.__pyx___attributes != ((PyObject*)Py_None)); __pyx_t_6 = (__pyx_t_4 != 0); @@ -39725,7 +37992,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16DelegatedFactory___ * return __pyx_unpickle_DelegatedFactory, (type(self), 0x7545337, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_5 = (__pyx_v_use_setstate != 0); if (__pyx_t_5) { @@ -39736,7 +38002,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16DelegatedFactory___ * else: * return __pyx_unpickle_DelegatedFactory, (type(self), 0x7545337, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pyx_unpickle_DelegatedFactory); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -39782,7 +38047,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16DelegatedFactory___ * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_DelegatedFactory__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_DelegatedFactory); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -39828,7 +38092,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16DelegatedFactory___ __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -39855,21 +38118,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16DelegatedFactory_3_ static PyObject *__pyx_pf_19dependency_injector_9providers_16DelegatedFactory_2__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_DelegatedFactory *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_DelegatedFactory, (type(self), 0x7545337, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_DelegatedFactory__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_DelegatedFactory__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -39891,7 +38151,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16DelegatedFactory_2_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -39936,7 +38195,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_15AbstractFactory_1__ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory___call__(struct __pyx_obj_19dependency_injector_9providers_AbstractFactory *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -39949,7 +38207,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory___c const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__call__", 0); - __Pyx_TraceCall("__call__", __pyx_f[1], 2019, 0, __PYX_ERR(1, 2019, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2024 * Callable interface implementation. @@ -39958,7 +38215,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory___c * raise Error('{0} must be overridden before calling'.format(self)) * return super().__call__(*args, **kwargs) */ - __Pyx_TraceLine(2024,0,__PYX_ERR(1, 2024, __pyx_L1_error)) __pyx_t_1 = (((PyObject *)__pyx_v_self->__pyx_base.__pyx_base.__pyx___last_overriding) == Py_None); __pyx_t_2 = (__pyx_t_1 != 0); if (unlikely(__pyx_t_2)) { @@ -39970,7 +38226,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory___c * return super().__call__(*args, **kwargs) * */ - __Pyx_TraceLine(2025,0,__PYX_ERR(1, 2025, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2025, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_0_must_be_overridden_before_cal, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 2025, __pyx_L1_error) @@ -40026,7 +38281,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory___c * * def override(self, provider): */ - __Pyx_TraceLine(2026,0,__PYX_ERR(1, 2026, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2026, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -40068,7 +38322,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory___c __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -40097,7 +38350,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_15AbstractFactory_3ov static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_2override(struct __pyx_obj_19dependency_injector_9providers_AbstractFactory *__pyx_v_self, PyObject *__pyx_v_provider) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -40112,7 +38364,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_2ov const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("override", 0); - __Pyx_TraceCall("override", __pyx_f[1], 2028, 0, __PYX_ERR(1, 2028, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2039 * :rtype: :py:class:`OverridingContext` @@ -40121,7 +38372,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_2ov * raise Error('{0} must be overridden only by ' * '{1} providers'.format(self, Factory)) */ - __Pyx_TraceLine(2039,0,__PYX_ERR(1, 2039, __pyx_L1_error)) __pyx_t_1 = __Pyx_TypeCheck(__pyx_v_provider, __pyx_ptype_19dependency_injector_9providers_Factory); __pyx_t_2 = ((!(__pyx_t_1 != 0)) != 0); if (unlikely(__pyx_t_2)) { @@ -40133,7 +38383,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_2ov * '{1} providers'.format(self, Factory)) * return super(AbstractFactory, self).override(provider) */ - __Pyx_TraceLine(2040,0,__PYX_ERR(1, 2040, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2040, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); @@ -40144,7 +38393,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_2ov * return super(AbstractFactory, self).override(provider) * */ - __Pyx_TraceLine(2041,0,__PYX_ERR(1, 2041, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_0_must_be_overridden_only_by_1, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 2041, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_7 = NULL; @@ -40228,7 +38476,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_2ov * * cpdef object _provide(self, tuple args, dict kwargs): */ - __Pyx_TraceLine(2042,0,__PYX_ERR(1, 2042, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2042, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); @@ -40283,7 +38530,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_2ov __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -40299,7 +38545,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_2ov static PyObject *__pyx_pw_19dependency_injector_9providers_15AbstractFactory_5_provide(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ static PyObject *__pyx_f_19dependency_injector_9providers_15AbstractFactory__provide(CYTHON_UNUSED struct __pyx_obj_19dependency_injector_9providers_AbstractFactory *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_args, CYTHON_UNUSED PyObject *__pyx_v_kwargs, int __pyx_skip_dispatch) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -40311,7 +38556,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_15AbstractFactory__pro const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide", __pyx_f[1], 2044, 0, __PYX_ERR(1, 2044, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -40396,8 +38640,7 @@ static PyObject *__pyx_f_19dependency_injector_9providers_15AbstractFactory__pro * 'to overriding provider') * */ - __Pyx_TraceLine(2046,0,__PYX_ERR(1, 2046, __pyx_L1_error)) - __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_NotImplementedError, __pyx_tuple__11, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2046, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_NotImplementedError, __pyx_tuple__7, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2046, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -40422,7 +38665,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_15AbstractFactory__pro __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -40500,14 +38742,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_15AbstractFactory_5_p static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_4_provide(struct __pyx_obj_19dependency_injector_9providers_AbstractFactory *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide (wrapper)", __pyx_f[1], 2044, 0, __PYX_ERR(1, 2044, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_15AbstractFactory__provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2044, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -40522,7 +38762,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_4_p __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -40551,7 +38790,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_6__ PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -40563,7 +38801,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_6__ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -40572,7 +38809,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_6__ * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___attributes_len); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -40607,7 +38843,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_6__ * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_3 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_v__dict = __pyx_t_3; @@ -40620,7 +38855,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_6__ * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_4 = (__pyx_v__dict != Py_None); __pyx_t_5 = (__pyx_t_4 != 0); if (__pyx_t_5) { @@ -40632,7 +38866,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_6__ * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(__pyx_v__dict); @@ -40651,7 +38884,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_6__ * else: * use_setstate = self.__attributes is not None or self.__instantiator is not None or self.__last_overriding is not None or self.__overridden is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -40671,7 +38903,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_6__ * if use_setstate: * return __pyx_unpickle_AbstractFactory, (type(self), 0x7545337, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_4 = (__pyx_v_self->__pyx_base.__pyx___attributes != ((PyObject*)Py_None)); __pyx_t_6 = (__pyx_t_4 != 0); @@ -40709,7 +38940,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_6__ * return __pyx_unpickle_AbstractFactory, (type(self), 0x7545337, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_5 = (__pyx_v_use_setstate != 0); if (__pyx_t_5) { @@ -40720,7 +38950,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_6__ * else: * return __pyx_unpickle_AbstractFactory, (type(self), 0x7545337, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pyx_unpickle_AbstractFactory); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -40766,7 +38995,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_6__ * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_AbstractFactory__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_AbstractFactory); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -40812,7 +39040,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_6__ __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -40839,21 +39066,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_15AbstractFactory_9__ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_8__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_AbstractFactory *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_AbstractFactory, (type(self), 0x7545337, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_AbstractFactory__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_AbstractFactory__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -40875,7 +39099,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AbstractFactory_8__ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -40947,7 +39170,6 @@ static int __pyx_pw_19dependency_injector_9providers_15FactoryDelegate_1__init__ static int __pyx_pf_19dependency_injector_9providers_15FactoryDelegate___init__(struct __pyx_obj_19dependency_injector_9providers_FactoryDelegate *__pyx_v_self, PyObject *__pyx_v_factory) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -40963,7 +39185,6 @@ static int __pyx_pf_19dependency_injector_9providers_15FactoryDelegate___init__( const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 2060, 0, __PYX_ERR(1, 2060, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2066 * :type factory: object @@ -40972,7 +39193,6 @@ static int __pyx_pf_19dependency_injector_9providers_15FactoryDelegate___init__( * raise Error('{0} can wrap only {1} providers'.format( * self.__class__, Factory)) */ - __Pyx_TraceLine(2066,0,__PYX_ERR(1, 2066, __pyx_L1_error)) __pyx_t_1 = __Pyx_TypeCheck(__pyx_v_factory, __pyx_ptype_19dependency_injector_9providers_Factory); __pyx_t_2 = ((__pyx_t_1 == 0) != 0); if (unlikely(__pyx_t_2)) { @@ -40984,7 +39204,6 @@ static int __pyx_pf_19dependency_injector_9providers_15FactoryDelegate___init__( * self.__class__, Factory)) * super(FactoryDelegate, self).__init__(factory) */ - __Pyx_TraceLine(2067,0,__PYX_ERR(1, 2067, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2067, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_0_can_wrap_only_1_providers, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 2067, __pyx_L1_error) @@ -40997,7 +39216,6 @@ static int __pyx_pf_19dependency_injector_9providers_15FactoryDelegate___init__( * super(FactoryDelegate, self).__init__(factory) * */ - __Pyx_TraceLine(2068,0,__PYX_ERR(1, 2068, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 2068, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = NULL; @@ -41083,7 +39301,6 @@ static int __pyx_pf_19dependency_injector_9providers_15FactoryDelegate___init__( * * */ - __Pyx_TraceLine(2069,0,__PYX_ERR(1, 2069, __pyx_L1_error)) __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2069, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_FactoryDelegate)); @@ -41137,7 +39354,6 @@ static int __pyx_pf_19dependency_injector_9providers_15FactoryDelegate___init__( __Pyx_AddTraceback("dependency_injector.providers.FactoryDelegate.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -41166,7 +39382,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15FactoryDelegate_2__ PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -41178,7 +39393,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15FactoryDelegate_2__ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -41187,7 +39401,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15FactoryDelegate_2__ * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -41214,7 +39427,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15FactoryDelegate_2__ * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -41227,7 +39439,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15FactoryDelegate_2__ * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -41239,7 +39450,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15FactoryDelegate_2__ * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -41258,7 +39468,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15FactoryDelegate_2__ * else: * use_setstate = self.__last_overriding is not None or self.__overridden is not None or self.__provides is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -41278,7 +39487,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15FactoryDelegate_2__ * if use_setstate: * return __pyx_unpickle_FactoryDelegate, (type(self), 0x328787b, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (((PyObject *)__pyx_v_self->__pyx_base.__pyx_base.__pyx___last_overriding) != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -41309,7 +39517,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15FactoryDelegate_2__ * return __pyx_unpickle_FactoryDelegate, (type(self), 0x328787b, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -41320,7 +39527,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15FactoryDelegate_2__ * else: * return __pyx_unpickle_FactoryDelegate, (type(self), 0x328787b, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_FactoryDelegate); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -41366,7 +39572,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15FactoryDelegate_2__ * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_FactoryDelegate__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_FactoryDelegate); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -41412,7 +39617,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15FactoryDelegate_2__ __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -41439,21 +39643,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_15FactoryDelegate_5__ static PyObject *__pyx_pf_19dependency_injector_9providers_15FactoryDelegate_4__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_FactoryDelegate *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_FactoryDelegate, (type(self), 0x328787b, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_FactoryDelegate__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_FactoryDelegate__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -41475,7 +39676,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15FactoryDelegate_4__ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -41515,7 +39715,6 @@ static int __pyx_pw_19dependency_injector_9providers_16FactoryAggregate_1__init_ static int __pyx_pf_19dependency_injector_9providers_16FactoryAggregate___init__(struct __pyx_obj_19dependency_injector_9providers_FactoryAggregate *__pyx_v_self, PyObject *__pyx_v_factories) { PyObject *__pyx_v_factory = NULL; int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -41534,7 +39733,6 @@ static int __pyx_pf_19dependency_injector_9providers_16FactoryAggregate___init__ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 2088, 0, __PYX_ERR(1, 2088, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2094 * :type factories: dict[str, :py:class:`Factory`] @@ -41543,7 +39741,6 @@ static int __pyx_pf_19dependency_injector_9providers_16FactoryAggregate___init__ * if isinstance(factory, Factory) is False: * raise Error( */ - __Pyx_TraceLine(2094,0,__PYX_ERR(1, 2094, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyDict_Values(__pyx_v_factories); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2094, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (likely(PyList_CheckExact(__pyx_t_1)) || PyTuple_CheckExact(__pyx_t_1)) { @@ -41596,7 +39793,6 @@ static int __pyx_pf_19dependency_injector_9providers_16FactoryAggregate___init__ * raise Error( * '{0} can aggregate only instances of {1}, given - {2}' */ - __Pyx_TraceLine(2095,0,__PYX_ERR(1, 2095, __pyx_L1_error)) __pyx_t_5 = __Pyx_TypeCheck(__pyx_v_factory, __pyx_ptype_19dependency_injector_9providers_Factory); __pyx_t_6 = ((__pyx_t_5 == 0) != 0); if (unlikely(__pyx_t_6)) { @@ -41608,7 +39804,6 @@ static int __pyx_pf_19dependency_injector_9providers_16FactoryAggregate___init__ * '{0} can aggregate only instances of {1}, given - {2}' * .format(self.__class__, Factory, factory)) */ - __Pyx_TraceLine(2096,0,__PYX_ERR(1, 2096, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_Error); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 2096, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); @@ -41619,7 +39814,6 @@ static int __pyx_pf_19dependency_injector_9providers_16FactoryAggregate___init__ * self.__factories = factories * super(FactoryAggregate, self).__init__() */ - __Pyx_TraceLine(2098,0,__PYX_ERR(1, 2098, __pyx_L1_error)) __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_0_can_aggregate_only_instances, __pyx_n_s_format); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 2098, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __pyx_t_10 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_10)) __PYX_ERR(1, 2098, __pyx_L1_error) @@ -41710,7 +39904,6 @@ static int __pyx_pf_19dependency_injector_9providers_16FactoryAggregate___init__ * if isinstance(factory, Factory) is False: * raise Error( */ - __Pyx_TraceLine(2094,0,__PYX_ERR(1, 2094, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -41721,7 +39914,6 @@ static int __pyx_pf_19dependency_injector_9providers_16FactoryAggregate___init__ * super(FactoryAggregate, self).__init__() * */ - __Pyx_TraceLine(2099,0,__PYX_ERR(1, 2099, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_factories); __Pyx_GIVEREF(__pyx_v_factories); __Pyx_GOTREF(__pyx_v_self->__pyx___factories); @@ -41735,7 +39927,6 @@ static int __pyx_pf_19dependency_injector_9providers_16FactoryAggregate___init__ * * def __deepcopy__(self, memo): */ - __Pyx_TraceLine(2100,0,__PYX_ERR(1, 2100, __pyx_L1_error)) __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2100, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_FactoryAggregate)); @@ -41791,7 +39982,6 @@ static int __pyx_pf_19dependency_injector_9providers_16FactoryAggregate___init__ __pyx_r = -1; __pyx_L0:; __Pyx_XDECREF(__pyx_v_factory); - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -41821,7 +40011,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16FactoryAggregate_3_ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_2__deepcopy__(struct __pyx_obj_19dependency_injector_9providers_FactoryAggregate *__pyx_v_self, PyObject *__pyx_v_memo) { struct __pyx_obj_19dependency_injector_9providers_FactoryAggregate *__pyx_v_copied = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -41834,7 +40023,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_2_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[1], 2102, 0, __PYX_ERR(1, 2102, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2106 * cdef FactoryAggregate copied @@ -41843,7 +40031,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_2_ * if copied is not None: * return copied */ - __Pyx_TraceLine(2106,0,__PYX_ERR(1, 2106, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2106, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2106, __pyx_L1_error) @@ -41875,7 +40062,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_2_ * return copied * */ - __Pyx_TraceLine(2107,0,__PYX_ERR(1, 2107, __pyx_L1_error)) __pyx_t_5 = (((PyObject *)__pyx_v_copied) != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -41887,7 +40073,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_2_ * * copied = self.__class__() */ - __Pyx_TraceLine(2108,0,__PYX_ERR(1, 2108, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_copied)); __pyx_r = ((PyObject *)__pyx_v_copied); @@ -41909,7 +40094,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_2_ * copied.__factories = deepcopy(self.__factories, memo) * */ - __Pyx_TraceLine(2110,0,__PYX_ERR(1, 2110, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2110, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -41938,7 +40122,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_2_ * * self._copy_overridings(copied, memo) */ - __Pyx_TraceLine(2111,0,__PYX_ERR(1, 2111, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___factories; __Pyx_INCREF(__pyx_t_1); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 2111, __pyx_L1_error) @@ -41961,7 +40144,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_2_ * * return copied */ - __Pyx_TraceLine(2113,0,__PYX_ERR(1, 2113, __pyx_L1_error)) if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 2113, __pyx_L1_error) ((struct __pyx_vtabstruct_19dependency_injector_9providers_FactoryAggregate *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._copy_overridings(((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_self), ((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_copied), ((PyObject*)__pyx_v_memo), 0); @@ -41972,7 +40154,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_2_ * * def __getattr__(self, factory_name): */ - __Pyx_TraceLine(2115,0,__PYX_ERR(1, 2115, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_copied)); __pyx_r = ((PyObject *)__pyx_v_copied); @@ -41997,7 +40178,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_2_ __pyx_L0:; __Pyx_XDECREF((PyObject *)__pyx_v_copied); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -42029,14 +40209,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16FactoryAggregate_5_ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_4__getattr__(struct __pyx_obj_19dependency_injector_9providers_FactoryAggregate *__pyx_v_self, PyObject *__pyx_v_factory_name) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__getattr__", 0); - __Pyx_TraceCall("__getattr__", __pyx_f[1], 2117, 0, __PYX_ERR(1, 2117, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2119 * def __getattr__(self, factory_name): @@ -42045,7 +40223,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_4_ * * def __str__(self): */ - __Pyx_TraceLine(2119,0,__PYX_ERR(1, 2119, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); if (!(likely(PyString_CheckExact(__pyx_v_factory_name))||((__pyx_v_factory_name) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "str", Py_TYPE(__pyx_v_factory_name)->tp_name), 0))) __PYX_ERR(1, 2119, __pyx_L1_error) __pyx_t_1 = ((PyObject *)((struct __pyx_vtabstruct_19dependency_injector_9providers_FactoryAggregate *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx___get_factory(__pyx_v_self, ((PyObject*)__pyx_v_factory_name))); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2119, __pyx_L1_error) @@ -42069,7 +40246,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_4_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -42101,7 +40277,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16FactoryAggregate_7_ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_6__str__(struct __pyx_obj_19dependency_injector_9providers_FactoryAggregate *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -42109,7 +40284,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_6_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__str__", 0); - __Pyx_TraceCall("__str__", __pyx_f[1], 2121, 0, __PYX_ERR(1, 2121, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2126 * :rtype: str @@ -42118,7 +40292,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_6_ * * @property */ - __Pyx_TraceLine(2126,0,__PYX_ERR(1, 2126, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_factories); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2126, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -42145,7 +40318,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_6_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -42173,13 +40345,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16FactoryAggregate_9f static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_9factories___get__(struct __pyx_obj_19dependency_injector_9providers_FactoryAggregate *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 2129, 0, __PYX_ERR(1, 2129, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2131 * def factories(self): @@ -42188,7 +40355,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_9f * * def override(self, _): */ - __Pyx_TraceLine(2131,0,__PYX_ERR(1, 2131, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___factories); __pyx_r = __pyx_v_self->__pyx___factories; @@ -42203,12 +40369,8 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_9f */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.FactoryAggregate.factories.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -42237,7 +40399,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16FactoryAggregate_9o static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_8override(struct __pyx_obj_19dependency_injector_9providers_FactoryAggregate *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v__) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -42249,7 +40410,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_8o const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("override", 0); - __Pyx_TraceCall("override", __pyx_f[1], 2133, 0, __PYX_ERR(1, 2133, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2141 * :rtype: :py:class:`OverridingContext` @@ -42258,7 +40418,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_8o * '{0} providers could not be overridden'.format(self.__class__)) * */ - __Pyx_TraceLine(2141,0,__PYX_ERR(1, 2141, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_Error); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2141, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -42269,7 +40428,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_8o * * cpdef object _provide(self, tuple args, dict kwargs): */ - __Pyx_TraceLine(2142,0,__PYX_ERR(1, 2142, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_0_providers_could_not_be_overri, __pyx_n_s_format); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2142, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 2142, __pyx_L1_error) @@ -42329,7 +40487,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_8o __Pyx_AddTraceback("dependency_injector.providers.FactoryAggregate.override", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -42346,7 +40503,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16FactoryAggregate_11 static PyObject *__pyx_f_19dependency_injector_9providers_16FactoryAggregate__provide(struct __pyx_obj_19dependency_injector_9providers_FactoryAggregate *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs, int __pyx_skip_dispatch) { PyObject *__pyx_v_factory_name = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -42366,7 +40522,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_16FactoryAggregate__pr const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide", __pyx_f[1], 2144, 0, __PYX_ERR(1, 2144, __pyx_L1_error)); __Pyx_INCREF(__pyx_v_args); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; @@ -42452,7 +40607,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_16FactoryAggregate__pr * factory_name = args[0] * except IndexError: */ - __Pyx_TraceLine(2145,0,__PYX_ERR(1, 2145, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -42469,7 +40623,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_16FactoryAggregate__pr * except IndexError: * try: */ - __Pyx_TraceLine(2146,0,__PYX_ERR(1, 2146, __pyx_L3_error)) if (unlikely(__pyx_v_args == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 2146, __pyx_L3_error) @@ -42495,7 +40648,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_16FactoryAggregate__pr * * return self.__get_factory(factory_name)(*args, **kwargs) */ - __Pyx_TraceLine(2153,0,__PYX_ERR(1, 2153, __pyx_L5_except_error)) /*else:*/ { if (unlikely(__pyx_v_args == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); @@ -42524,7 +40676,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_16FactoryAggregate__pr * try: * factory_name = kwargs.pop('factory_name') */ - __Pyx_TraceLine(2147,0,__PYX_ERR(1, 2147, __pyx_L5_except_error)) __pyx_t_5 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_IndexError); if (__pyx_t_5) { __Pyx_AddTraceback("dependency_injector.providers.FactoryAggregate._provide", __pyx_clineno, __pyx_lineno, __pyx_filename); @@ -42540,7 +40691,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_16FactoryAggregate__pr * factory_name = kwargs.pop('factory_name') * except KeyError: */ - __Pyx_TraceLine(2148,0,__PYX_ERR(1, 2148, __pyx_L5_except_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -42557,7 +40707,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_16FactoryAggregate__pr * except KeyError: * raise TypeError('Factory missing 1 required positional argument: \'factory_name\'') */ - __Pyx_TraceLine(2149,0,__PYX_ERR(1, 2149, __pyx_L11_error)) if (unlikely(__pyx_v_kwargs == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "pop"); __PYX_ERR(1, 2149, __pyx_L11_error) @@ -42590,7 +40739,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_16FactoryAggregate__pr * raise TypeError('Factory missing 1 required positional argument: \'factory_name\'') * else: */ - __Pyx_TraceLine(2150,0,__PYX_ERR(1, 2150, __pyx_L13_except_error)) __pyx_t_5 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_KeyError); if (__pyx_t_5) { __Pyx_AddTraceback("dependency_injector.providers.FactoryAggregate._provide", __pyx_clineno, __pyx_lineno, __pyx_filename); @@ -42606,8 +40754,7 @@ static PyObject *__pyx_f_19dependency_injector_9providers_16FactoryAggregate__pr * else: * args = args[1:] */ - __Pyx_TraceLine(2151,0,__PYX_ERR(1, 2151, __pyx_L13_except_error)) - __pyx_t_14 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__24, NULL); if (unlikely(!__pyx_t_14)) __PYX_ERR(1, 2151, __pyx_L13_except_error) + __pyx_t_14 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__20, NULL); if (unlikely(!__pyx_t_14)) __PYX_ERR(1, 2151, __pyx_L13_except_error) __Pyx_GOTREF(__pyx_t_14); __Pyx_Raise(__pyx_t_14, 0, 0, 0); __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; @@ -42665,7 +40812,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_16FactoryAggregate__pr * * cdef Factory __get_factory(self, str factory_name): */ - __Pyx_TraceLine(2155,0,__PYX_ERR(1, 2155, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); if (!(likely(PyString_CheckExact(__pyx_v_factory_name))||((__pyx_v_factory_name) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "str", Py_TYPE(__pyx_v_factory_name)->tp_name), 0))) __PYX_ERR(1, 2155, __pyx_L1_error) __pyx_t_3 = ((PyObject *)((struct __pyx_vtabstruct_19dependency_injector_9providers_FactoryAggregate *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx___get_factory(__pyx_v_self, ((PyObject*)__pyx_v_factory_name))); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2155, __pyx_L1_error) @@ -42708,7 +40854,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_16FactoryAggregate__pr __Pyx_XDECREF(__pyx_v_factory_name); __Pyx_XDECREF(__pyx_v_args); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -42785,14 +40930,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16FactoryAggregate_11 static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_10_provide(struct __pyx_obj_19dependency_injector_9providers_FactoryAggregate *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide (wrapper)", __pyx_f[1], 2144, 0, __PYX_ERR(1, 2144, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_16FactoryAggregate__provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2144, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -42807,7 +40950,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_10 __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -42822,7 +40964,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_10 static struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_f_19dependency_injector_9providers_16FactoryAggregate___get_factory(struct __pyx_obj_19dependency_injector_9providers_FactoryAggregate *__pyx_v_self, PyObject *__pyx_v_factory_name) { struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -42837,7 +40978,6 @@ static struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_f_19depe const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get_factory", 0); - __Pyx_TraceCall("__get_factory", __pyx_f[1], 2157, 0, __PYX_ERR(1, 2157, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2158 * @@ -42846,7 +40986,6 @@ static struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_f_19depe * raise NoSuchProviderError( * '{0} does not contain factory with name {1}'.format( */ - __Pyx_TraceLine(2158,0,__PYX_ERR(1, 2158, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___factories == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); __PYX_ERR(1, 2158, __pyx_L1_error) @@ -42862,7 +41001,6 @@ static struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_f_19depe * '{0} does not contain factory with name {1}'.format( * self, factory_name)) */ - __Pyx_TraceLine(2159,0,__PYX_ERR(1, 2159, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_NoSuchProviderError); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2159, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); @@ -42873,7 +41011,6 @@ static struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_f_19depe * self, factory_name)) * return self.__factories[factory_name] */ - __Pyx_TraceLine(2160,0,__PYX_ERR(1, 2160, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_0_does_not_contain_factory_with, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 2160, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); @@ -42884,7 +41021,6 @@ static struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_f_19depe * return self.__factories[factory_name] * */ - __Pyx_TraceLine(2161,0,__PYX_ERR(1, 2161, __pyx_L1_error)) __pyx_t_7 = NULL; __pyx_t_8 = 0; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_6))) { @@ -42966,7 +41102,6 @@ static struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_f_19depe * * */ - __Pyx_TraceLine(2162,0,__PYX_ERR(1, 2162, __pyx_L1_error)) __Pyx_XDECREF(((PyObject *)__pyx_r)); if (unlikely(__pyx_v_self->__pyx___factories == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); @@ -42999,7 +41134,6 @@ static struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_f_19depe __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF((PyObject *)__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -43028,7 +41162,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_12 PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -43040,7 +41173,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_12 const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -43049,7 +41181,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_12 * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -43076,7 +41207,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_12 * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -43089,7 +41219,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_12 * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -43101,7 +41230,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_12 * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -43120,7 +41248,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_12 * else: * use_setstate = self.__factories is not None or self.__last_overriding is not None or self.__overridden is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -43140,7 +41267,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_12 * if use_setstate: * return __pyx_unpickle_FactoryAggregate, (type(self), 0xa264cf2, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (__pyx_v_self->__pyx___factories != ((PyObject*)Py_None)); __pyx_t_5 = (__pyx_t_3 != 0); @@ -43171,7 +41297,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_12 * return __pyx_unpickle_FactoryAggregate, (type(self), 0xa264cf2, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -43182,7 +41307,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_12 * else: * return __pyx_unpickle_FactoryAggregate, (type(self), 0xa264cf2, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_FactoryAggregate); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -43228,7 +41352,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_12 * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_FactoryAggregate__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_FactoryAggregate); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -43274,7 +41397,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_12 __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -43301,21 +41423,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16FactoryAggregate_15 static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_14__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_FactoryAggregate *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_FactoryAggregate, (type(self), 0xa264cf2, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_FactoryAggregate__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_FactoryAggregate__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -43337,7 +41456,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16FactoryAggregate_14 __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -43429,7 +41547,6 @@ static int __pyx_pw_19dependency_injector_9providers_13BaseSingleton_1__init__(P static int __pyx_pf_19dependency_injector_9providers_13BaseSingleton___init__(struct __pyx_obj_19dependency_injector_9providers_BaseSingleton *__pyx_v_self, PyObject *__pyx_v_provides, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -43447,7 +41564,6 @@ static int __pyx_pf_19dependency_injector_9providers_13BaseSingleton___init__(st const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 2170, 0, __PYX_ERR(1, 2170, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2176 * :type provides: type @@ -43456,7 +41572,6 @@ static int __pyx_pf_19dependency_injector_9providers_13BaseSingleton___init__(st * not issubclass(provides, self.__class__.provided_type)): * raise Error('{0} can provide only {1} instances'.format( */ - __Pyx_TraceLine(2176,0,__PYX_ERR(1, 2176, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2176, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_provided_type); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2176, __pyx_L1_error) @@ -43477,7 +41592,6 @@ static int __pyx_pf_19dependency_injector_9providers_13BaseSingleton___init__(st * raise Error('{0} can provide only {1} instances'.format( * self.__class__, self.__class__.provided_type)) */ - __Pyx_TraceLine(2177,0,__PYX_ERR(1, 2177, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2177, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_provided_type); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2177, __pyx_L1_error) @@ -43496,7 +41610,6 @@ static int __pyx_pf_19dependency_injector_9providers_13BaseSingleton___init__(st * not issubclass(provides, self.__class__.provided_type)): * raise Error('{0} can provide only {1} instances'.format( */ - __Pyx_TraceLine(2176,0,__PYX_ERR(1, 2176, __pyx_L1_error)) if (unlikely(__pyx_t_1)) { /* "dependency_injector/providers.pyx":2178 @@ -43506,7 +41619,6 @@ static int __pyx_pf_19dependency_injector_9providers_13BaseSingleton___init__(st * self.__class__, self.__class__.provided_type)) * */ - __Pyx_TraceLine(2178,0,__PYX_ERR(1, 2178, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_Error); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2178, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_0_can_provide_only_1_instances, __pyx_n_s_format); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 2178, __pyx_L1_error) @@ -43519,7 +41631,6 @@ static int __pyx_pf_19dependency_injector_9providers_13BaseSingleton___init__(st * * self.__instantiator = Factory(provides, *args, **kwargs) */ - __Pyx_TraceLine(2179,0,__PYX_ERR(1, 2179, __pyx_L1_error)) __pyx_t_8 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 2179, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_9 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 2179, __pyx_L1_error) @@ -43612,7 +41723,6 @@ static int __pyx_pf_19dependency_injector_9providers_13BaseSingleton___init__(st * * super(BaseSingleton, self).__init__() */ - __Pyx_TraceLine(2181,0,__PYX_ERR(1, 2181, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2181, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v_provides); @@ -43637,7 +41747,6 @@ static int __pyx_pf_19dependency_injector_9providers_13BaseSingleton___init__(st * * def __str__(self): */ - __Pyx_TraceLine(2183,0,__PYX_ERR(1, 2183, __pyx_L1_error)) __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2183, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_BaseSingleton)); @@ -43692,7 +41801,6 @@ static int __pyx_pf_19dependency_injector_9providers_13BaseSingleton___init__(st __Pyx_AddTraceback("dependency_injector.providers.BaseSingleton.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -43724,7 +41832,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13BaseSingleton_3__st static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_2__str__(struct __pyx_obj_19dependency_injector_9providers_BaseSingleton *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -43732,7 +41839,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_2__st const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__str__", 0); - __Pyx_TraceCall("__str__", __pyx_f[1], 2185, 0, __PYX_ERR(1, 2185, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2190 * :rtype: str @@ -43741,7 +41847,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_2__st * provides=self.__instantiator.cls) * */ - __Pyx_TraceLine(2190,0,__PYX_ERR(1, 2190, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); /* "dependency_injector/providers.pyx":2191 @@ -43751,7 +41856,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_2__st * * def __deepcopy__(self, memo): */ - __Pyx_TraceLine(2191,0,__PYX_ERR(1, 2191, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_cls); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2191, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -43762,7 +41866,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_2__st * provides=self.__instantiator.cls) * */ - __Pyx_TraceLine(2190,0,__PYX_ERR(1, 2190, __pyx_L1_error)) __pyx_t_2 = __pyx_f_19dependency_injector_9providers_represent_provider(((PyObject *)__pyx_v_self), __pyx_t_1, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2190, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -43786,7 +41889,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_2__st __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -43817,7 +41919,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_4__de PyObject *__pyx_v_copied = NULL; PyObject *__pyx_v_cls = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -43831,7 +41932,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_4__de const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[1], 2193, 0, __PYX_ERR(1, 2193, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2195 * def __deepcopy__(self, memo): @@ -43840,7 +41940,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_4__de * if copied is not None: * return copied */ - __Pyx_TraceLine(2195,0,__PYX_ERR(1, 2195, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2195, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2195, __pyx_L1_error) @@ -43871,7 +41970,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_4__de * return copied * */ - __Pyx_TraceLine(2196,0,__PYX_ERR(1, 2196, __pyx_L1_error)) __pyx_t_5 = (__pyx_v_copied != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -43883,7 +41981,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_4__de * * cls = self.cls */ - __Pyx_TraceLine(2197,0,__PYX_ERR(1, 2197, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -43905,7 +42002,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_4__de * if isinstance(cls, Provider): * cls = deepcopy(cls, memo) */ - __Pyx_TraceLine(2199,0,__PYX_ERR(1, 2199, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_cls); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2199, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_cls = __pyx_t_1; @@ -43918,7 +42014,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_4__de * cls = deepcopy(cls, memo) * */ - __Pyx_TraceLine(2200,0,__PYX_ERR(1, 2200, __pyx_L1_error)) __pyx_t_6 = __Pyx_TypeCheck(__pyx_v_cls, __pyx_ptype_19dependency_injector_9providers_Provider); __pyx_t_5 = (__pyx_t_6 != 0); if (__pyx_t_5) { @@ -43930,7 +42025,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_4__de * * copied = self.__class__(cls, */ - __Pyx_TraceLine(2201,0,__PYX_ERR(1, 2201, __pyx_L1_error)) if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 2201, __pyx_L1_error) __pyx_t_7.__pyx_n = 1; __pyx_t_7.memo = ((PyObject*)__pyx_v_memo); @@ -43955,7 +42049,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_4__de * *deepcopy(self.args, memo), * **deepcopy(self.kwargs, memo)) */ - __Pyx_TraceLine(2203,0,__PYX_ERR(1, 2203, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2203, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2203, __pyx_L1_error) @@ -43971,7 +42064,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_4__de * **deepcopy(self.kwargs, memo)) * copied.set_attributes(**deepcopy(self.attributes, memo)) */ - __Pyx_TraceLine(2204,0,__PYX_ERR(1, 2204, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_args); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2204, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 2204, __pyx_L1_error) @@ -43988,7 +42080,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_4__de * *deepcopy(self.args, memo), * **deepcopy(self.kwargs, memo)) */ - __Pyx_TraceLine(2203,0,__PYX_ERR(1, 2203, __pyx_L1_error)) __pyx_t_3 = __Pyx_PySequence_Tuple(__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2203, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; @@ -44004,7 +42095,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_4__de * copied.set_attributes(**deepcopy(self.attributes, memo)) * */ - __Pyx_TraceLine(2205,0,__PYX_ERR(1, 2205, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_kwargs); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2205, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 2205, __pyx_L1_error) @@ -44034,7 +42124,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_4__de * *deepcopy(self.args, memo), * **deepcopy(self.kwargs, memo)) */ - __Pyx_TraceLine(2203,0,__PYX_ERR(1, 2203, __pyx_L1_error)) __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 2203, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -44050,7 +42139,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_4__de * * self._copy_overridings(copied, memo) */ - __Pyx_TraceLine(2206,0,__PYX_ERR(1, 2206, __pyx_L1_error)) __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_copied, __pyx_n_s_set_attributes); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 2206, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_attributes); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2206, __pyx_L1_error) @@ -44087,7 +42175,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_4__de * * return copied */ - __Pyx_TraceLine(2208,0,__PYX_ERR(1, 2208, __pyx_L1_error)) if (!(likely(((__pyx_v_copied) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_copied, __pyx_ptype_19dependency_injector_9providers_Provider))))) __PYX_ERR(1, 2208, __pyx_L1_error) if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 2208, __pyx_L1_error) ((struct __pyx_vtabstruct_19dependency_injector_9providers_BaseSingleton *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._copy_overridings(((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_self), ((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_copied), ((PyObject*)__pyx_v_memo), 0); @@ -44099,7 +42186,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_4__de * * @property */ - __Pyx_TraceLine(2210,0,__PYX_ERR(1, 2210, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -44126,7 +42212,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_4__de __Pyx_XDECREF(__pyx_v_copied); __Pyx_XDECREF(__pyx_v_cls); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -44154,14 +42239,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13BaseSingleton_3cls_ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_3cls___get__(struct __pyx_obj_19dependency_injector_9providers_BaseSingleton *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 2213, 0, __PYX_ERR(1, 2213, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2215 * def cls(self): @@ -44170,7 +42253,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_3cls_ * * @property */ - __Pyx_TraceLine(2215,0,__PYX_ERR(1, 2215, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_cls); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2215, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -44193,7 +42275,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_3cls_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -44221,14 +42302,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13BaseSingleton_4args static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_4args___get__(struct __pyx_obj_19dependency_injector_9providers_BaseSingleton *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 2218, 0, __PYX_ERR(1, 2218, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2220 * def args(self): @@ -44237,7 +42316,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_4args * * def add_args(self, *args): */ - __Pyx_TraceLine(2220,0,__PYX_ERR(1, 2220, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_args); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2220, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -44260,7 +42338,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_4args __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -44294,7 +42371,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13BaseSingleton_7add_ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_6add_args(struct __pyx_obj_19dependency_injector_9providers_BaseSingleton *__pyx_v_self, PyObject *__pyx_v_args) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -44302,7 +42378,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_6add_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("add_args", 0); - __Pyx_TraceCall("add_args", __pyx_f[1], 2222, 0, __PYX_ERR(1, 2222, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2227 * :return: Reference ``self`` @@ -44311,7 +42386,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_6add_ * return self * */ - __Pyx_TraceLine(2227,0,__PYX_ERR(1, 2227, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_add_args); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2227, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_v_args, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2227, __pyx_L1_error) @@ -44326,7 +42400,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_6add_ * * def set_args(self, *args): */ - __Pyx_TraceLine(2228,0,__PYX_ERR(1, 2228, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -44348,7 +42421,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_6add_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -44382,7 +42454,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13BaseSingleton_9set_ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_8set_args(struct __pyx_obj_19dependency_injector_9providers_BaseSingleton *__pyx_v_self, PyObject *__pyx_v_args) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -44390,7 +42461,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_8set_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("set_args", 0); - __Pyx_TraceCall("set_args", __pyx_f[1], 2230, 0, __PYX_ERR(1, 2230, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2237 * :return: Reference ``self`` @@ -44399,7 +42469,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_8set_ * return self * */ - __Pyx_TraceLine(2237,0,__PYX_ERR(1, 2237, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_set_args); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2237, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_v_args, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2237, __pyx_L1_error) @@ -44414,7 +42483,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_8set_ * * def clear_args(self): */ - __Pyx_TraceLine(2238,0,__PYX_ERR(1, 2238, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -44436,7 +42504,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_8set_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -44465,7 +42532,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13BaseSingleton_11cle static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_10clear_args(struct __pyx_obj_19dependency_injector_9providers_BaseSingleton *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -44474,7 +42540,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_10cle const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("clear_args", 0); - __Pyx_TraceCall("clear_args", __pyx_f[1], 2240, 0, __PYX_ERR(1, 2240, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2245 * :return: Reference ``self`` @@ -44483,7 +42548,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_10cle * return self * */ - __Pyx_TraceLine(2245,0,__PYX_ERR(1, 2245, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_clear_args); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2245, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -44510,7 +42574,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_10cle * * @property */ - __Pyx_TraceLine(2246,0,__PYX_ERR(1, 2246, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -44533,7 +42596,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_10cle __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -44561,14 +42623,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13BaseSingleton_6kwar static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_6kwargs___get__(struct __pyx_obj_19dependency_injector_9providers_BaseSingleton *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 2249, 0, __PYX_ERR(1, 2249, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2251 * def kwargs(self): @@ -44577,7 +42637,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_6kwar * * def add_kwargs(self, **kwargs): */ - __Pyx_TraceLine(2251,0,__PYX_ERR(1, 2251, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_kwargs); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2251, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -44600,7 +42659,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_6kwar __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -44640,7 +42698,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13BaseSingleton_13add static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_12add_kwargs(struct __pyx_obj_19dependency_injector_9providers_BaseSingleton *__pyx_v_self, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -44648,7 +42705,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_12add const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("add_kwargs", 0); - __Pyx_TraceCall("add_kwargs", __pyx_f[1], 2253, 0, __PYX_ERR(1, 2253, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2258 * :return: Reference ``self`` @@ -44657,7 +42713,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_12add * return self * */ - __Pyx_TraceLine(2258,0,__PYX_ERR(1, 2258, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_add_kwargs); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2258, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_empty_tuple, __pyx_v_kwargs); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2258, __pyx_L1_error) @@ -44672,7 +42727,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_12add * * def set_kwargs(self, **kwargs): */ - __Pyx_TraceLine(2259,0,__PYX_ERR(1, 2259, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -44694,7 +42748,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_12add __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -44734,7 +42787,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13BaseSingleton_15set static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_14set_kwargs(struct __pyx_obj_19dependency_injector_9providers_BaseSingleton *__pyx_v_self, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -44742,7 +42794,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_14set const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("set_kwargs", 0); - __Pyx_TraceCall("set_kwargs", __pyx_f[1], 2261, 0, __PYX_ERR(1, 2261, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2268 * :return: Reference ``self`` @@ -44751,7 +42802,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_14set * return self * */ - __Pyx_TraceLine(2268,0,__PYX_ERR(1, 2268, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_set_kwargs); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2268, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_empty_tuple, __pyx_v_kwargs); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2268, __pyx_L1_error) @@ -44766,7 +42816,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_14set * * def clear_kwargs(self): */ - __Pyx_TraceLine(2269,0,__PYX_ERR(1, 2269, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -44788,7 +42837,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_14set __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -44817,7 +42865,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13BaseSingleton_17cle static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_16clear_kwargs(struct __pyx_obj_19dependency_injector_9providers_BaseSingleton *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -44826,7 +42873,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_16cle const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("clear_kwargs", 0); - __Pyx_TraceCall("clear_kwargs", __pyx_f[1], 2271, 0, __PYX_ERR(1, 2271, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2276 * :return: Reference ``self`` @@ -44835,7 +42881,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_16cle * return self * */ - __Pyx_TraceLine(2276,0,__PYX_ERR(1, 2276, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_clear_kwargs); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2276, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -44862,7 +42907,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_16cle * * @property */ - __Pyx_TraceLine(2277,0,__PYX_ERR(1, 2277, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -44885,7 +42929,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_16cle __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -44913,14 +42956,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13BaseSingleton_10att static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_10attributes___get__(struct __pyx_obj_19dependency_injector_9providers_BaseSingleton *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 2280, 0, __PYX_ERR(1, 2280, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2282 * def attributes(self): @@ -44929,7 +42970,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_10att * * def add_attributes(self, **kwargs): */ - __Pyx_TraceLine(2282,0,__PYX_ERR(1, 2282, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_attributes); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2282, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -44952,7 +42992,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_10att __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -44992,7 +43031,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13BaseSingleton_19add static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_18add_attributes(struct __pyx_obj_19dependency_injector_9providers_BaseSingleton *__pyx_v_self, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -45000,7 +43038,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_18add const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("add_attributes", 0); - __Pyx_TraceCall("add_attributes", __pyx_f[1], 2284, 0, __PYX_ERR(1, 2284, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2289 * :return: Reference ``self`` @@ -45009,7 +43046,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_18add * return self * */ - __Pyx_TraceLine(2289,0,__PYX_ERR(1, 2289, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_add_attributes); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2289, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_empty_tuple, __pyx_v_kwargs); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2289, __pyx_L1_error) @@ -45024,7 +43060,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_18add * * def set_attributes(self, **kwargs): */ - __Pyx_TraceLine(2290,0,__PYX_ERR(1, 2290, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -45046,7 +43081,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_18add __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -45086,7 +43120,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13BaseSingleton_21set static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_20set_attributes(struct __pyx_obj_19dependency_injector_9providers_BaseSingleton *__pyx_v_self, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -45094,7 +43127,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_20set const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("set_attributes", 0); - __Pyx_TraceCall("set_attributes", __pyx_f[1], 2292, 0, __PYX_ERR(1, 2292, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2299 * :return: Reference ``self`` @@ -45103,7 +43135,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_20set * return self * */ - __Pyx_TraceLine(2299,0,__PYX_ERR(1, 2299, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_set_attributes); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2299, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_empty_tuple, __pyx_v_kwargs); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2299, __pyx_L1_error) @@ -45118,7 +43149,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_20set * * def clear_attributes(self): */ - __Pyx_TraceLine(2300,0,__PYX_ERR(1, 2300, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -45140,7 +43170,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_20set __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -45169,7 +43198,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13BaseSingleton_23cle static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_22clear_attributes(struct __pyx_obj_19dependency_injector_9providers_BaseSingleton *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -45178,7 +43206,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_22cle const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("clear_attributes", 0); - __Pyx_TraceCall("clear_attributes", __pyx_f[1], 2302, 0, __PYX_ERR(1, 2302, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2307 * :return: Reference ``self`` @@ -45187,7 +43214,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_22cle * return self * */ - __Pyx_TraceLine(2307,0,__PYX_ERR(1, 2307, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx___instantiator), __pyx_n_s_clear_attributes); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2307, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -45214,7 +43240,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_22cle * * def reset(self): */ - __Pyx_TraceLine(2308,0,__PYX_ERR(1, 2308, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -45237,7 +43262,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_22cle __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -45266,14 +43290,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13BaseSingleton_25res static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_24reset(CYTHON_UNUSED struct __pyx_obj_19dependency_injector_9providers_BaseSingleton *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("reset", 0); - __Pyx_TraceCall("reset", __pyx_f[1], 2310, 0, __PYX_ERR(1, 2310, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2315 * :rtype: None @@ -45282,7 +43304,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_24res * * def _async_init_instance(self, future_result, result): */ - __Pyx_TraceLine(2315,0,__PYX_ERR(1, 2315, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_CallNoArg(__pyx_builtin_NotImplementedError); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2315, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_Raise(__pyx_t_1, 0, 0, 0); @@ -45303,7 +43324,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_24res __Pyx_AddTraceback("dependency_injector.providers.BaseSingleton.reset", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -45384,7 +43404,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_26_as PyObject *__pyx_v_instance = NULL; PyObject *__pyx_v_exception = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -45400,7 +43419,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_26_as const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_async_init_instance", 0); - __Pyx_TraceCall("_async_init_instance", __pyx_f[1], 2317, 0, __PYX_ERR(1, 2317, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2318 * @@ -45409,7 +43427,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_26_as * instance = result.result() * except Exception as exception: */ - __Pyx_TraceLine(2318,0,__PYX_ERR(1, 2318, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -45426,7 +43443,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_26_as * except Exception as exception: * self.__storage = None */ - __Pyx_TraceLine(2319,0,__PYX_ERR(1, 2319, __pyx_L3_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_result, __pyx_n_s_result); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 2319, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; @@ -45463,7 +43479,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_26_as * future_result.set_result(instance) * */ - __Pyx_TraceLine(2324,0,__PYX_ERR(1, 2324, __pyx_L5_except_error)) /*else:*/ { __Pyx_INCREF(__pyx_v_instance); __Pyx_GIVEREF(__pyx_v_instance); @@ -45478,7 +43493,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_26_as * * */ - __Pyx_TraceLine(2325,0,__PYX_ERR(1, 2325, __pyx_L5_except_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_future_result, __pyx_n_s_set_result); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 2325, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; @@ -45514,7 +43528,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_26_as * self.__storage = None * future_result.set_exception(exception) */ - __Pyx_TraceLine(2320,0,__PYX_ERR(1, 2320, __pyx_L5_except_error)) __pyx_t_7 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0]))); if (__pyx_t_7) { __Pyx_AddTraceback("dependency_injector.providers.BaseSingleton._async_init_instance", __pyx_clineno, __pyx_lineno, __pyx_filename); @@ -45532,7 +43545,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_26_as * future_result.set_exception(exception) * else: */ - __Pyx_TraceLine(2321,0,__PYX_ERR(1, 2321, __pyx_L5_except_error)) __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->__pyx___storage); @@ -45546,7 +43558,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_26_as * else: * self.__storage = instance */ - __Pyx_TraceLine(2322,0,__PYX_ERR(1, 2322, __pyx_L5_except_error)) __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_future_result, __pyx_n_s_set_exception); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 2322, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_9); __pyx_t_10 = NULL; @@ -45617,7 +43628,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_26_as __Pyx_XDECREF(__pyx_v_instance); __Pyx_XDECREF(__pyx_v_exception); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -45646,7 +43656,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_28__r PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -45658,7 +43667,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_28__r const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -45667,7 +43675,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_28__r * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -45697,7 +43704,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_28__r * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -45710,7 +43716,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_28__r * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -45722,7 +43727,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_28__r * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -45741,7 +43745,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_28__r * else: * use_setstate = self.__instantiator is not None or self.__last_overriding is not None or self.__overridden is not None or self.__storage is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -45761,7 +43764,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_28__r * if use_setstate: * return __pyx_unpickle_BaseSingleton, (type(self), 0xce4d239, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (((PyObject *)__pyx_v_self->__pyx___instantiator) != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -45799,7 +43801,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_28__r * return __pyx_unpickle_BaseSingleton, (type(self), 0xce4d239, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -45810,7 +43811,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_28__r * else: * return __pyx_unpickle_BaseSingleton, (type(self), 0xce4d239, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_BaseSingleton); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -45856,7 +43856,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_28__r * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_BaseSingleton__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_BaseSingleton); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -45902,7 +43901,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_28__r __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -45929,21 +43927,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13BaseSingleton_31__s static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_30__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_BaseSingleton *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_BaseSingleton, (type(self), 0xce4d239, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_BaseSingleton__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_BaseSingleton__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -45965,7 +43960,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_13BaseSingleton_30__s __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -46057,7 +44051,6 @@ static int __pyx_pw_19dependency_injector_9providers_9Singleton_1__init__(PyObje static int __pyx_pf_19dependency_injector_9providers_9Singleton___init__(struct __pyx_obj_19dependency_injector_9providers_Singleton *__pyx_v_self, PyObject *__pyx_v_provides, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -46066,7 +44059,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Singleton___init__(struct const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 2360, 0, __PYX_ERR(1, 2360, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2366 * :type provides: type @@ -46075,7 +44067,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Singleton___init__(struct * super(Singleton, self).__init__(provides, *args, **kwargs) * */ - __Pyx_TraceLine(2366,0,__PYX_ERR(1, 2366, __pyx_L1_error)) __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->__pyx_base.__pyx___storage); @@ -46089,7 +44080,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Singleton___init__(struct * * def reset(self): */ - __Pyx_TraceLine(2367,0,__PYX_ERR(1, 2367, __pyx_L1_error)) __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2367, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Singleton)); @@ -46136,7 +44126,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Singleton___init__(struct __Pyx_AddTraceback("dependency_injector.providers.Singleton.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -46165,7 +44154,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_9Singleton_3reset(PyO static PyObject *__pyx_pf_19dependency_injector_9providers_9Singleton_2reset(struct __pyx_obj_19dependency_injector_9providers_Singleton *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -46176,7 +44164,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Singleton_2reset(str const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("reset", 0); - __Pyx_TraceCall("reset", __pyx_f[1], 2369, 0, __PYX_ERR(1, 2369, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2374 * :rtype: None @@ -46185,7 +44172,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Singleton_2reset(str * asyncio.ensure_future(self.__storage).cancel() * self.__storage = None */ - __Pyx_TraceLine(2374,0,__PYX_ERR(1, 2374, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx_base.__pyx___storage; __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = (__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_t_1) != 0); @@ -46199,7 +44185,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Singleton_2reset(str * self.__storage = None * */ - __Pyx_TraceLine(2375,0,__PYX_ERR(1, 2375, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2375, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_ensure_future); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 2375, __pyx_L1_error) @@ -46256,7 +44241,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Singleton_2reset(str * * cpdef object _provide(self, tuple args, dict kwargs): */ - __Pyx_TraceLine(2376,0,__PYX_ERR(1, 2376, __pyx_L1_error)) __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->__pyx_base.__pyx___storage); @@ -46283,7 +44267,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Singleton_2reset(str __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -46301,7 +44284,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_9Singleton__provide(st PyObject *__pyx_v_instance = NULL; PyObject *__pyx_v_future_result = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -46317,7 +44299,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_9Singleton__provide(st const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide", __pyx_f[1], 2378, 0, __PYX_ERR(1, 2378, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -46402,7 +44383,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_9Singleton__provide(st * instance = __factory_call(self.__instantiator, args, kwargs) * */ - __Pyx_TraceLine(2380,0,__PYX_ERR(1, 2380, __pyx_L1_error)) __pyx_t_7 = (__pyx_v_self->__pyx_base.__pyx___storage == Py_None); __pyx_t_8 = (__pyx_t_7 != 0); if (__pyx_t_8) { @@ -46414,7 +44394,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_9Singleton__provide(st * * if __isawaitable(instance): */ - __Pyx_TraceLine(2381,0,__PYX_ERR(1, 2381, __pyx_L1_error)) __pyx_t_1 = ((PyObject *)__pyx_v_self->__pyx_base.__pyx___instantiator); __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = __pyx_f_19dependency_injector_9providers___factory_call(((struct __pyx_obj_19dependency_injector_9providers_Factory *)__pyx_t_1), __pyx_v_args, __pyx_v_kwargs); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2381, __pyx_L1_error) @@ -46430,7 +44409,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_9Singleton__provide(st * future_result = asyncio.Future() * instance = asyncio.ensure_future(instance) */ - __Pyx_TraceLine(2383,0,__PYX_ERR(1, 2383, __pyx_L1_error)) __pyx_t_8 = (__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_instance) != 0); if (__pyx_t_8) { @@ -46441,7 +44419,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_9Singleton__provide(st * instance = asyncio.ensure_future(instance) * instance.add_done_callback(functools.partial(self._async_init_instance, future_result)) */ - __Pyx_TraceLine(2384,0,__PYX_ERR(1, 2384, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2384, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_Future); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2384, __pyx_L1_error) @@ -46472,7 +44449,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_9Singleton__provide(st * instance.add_done_callback(functools.partial(self._async_init_instance, future_result)) * self.__storage = future_result */ - __Pyx_TraceLine(2385,0,__PYX_ERR(1, 2385, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2385, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_ensure_future); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2385, __pyx_L1_error) @@ -46503,7 +44479,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_9Singleton__provide(st * self.__storage = future_result * return future_result */ - __Pyx_TraceLine(2386,0,__PYX_ERR(1, 2386, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_instance, __pyx_n_s_add_done_callback); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2386, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_functools); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 2386, __pyx_L1_error) @@ -46585,7 +44560,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_9Singleton__provide(st * return future_result * */ - __Pyx_TraceLine(2387,0,__PYX_ERR(1, 2387, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_future_result); __Pyx_GIVEREF(__pyx_v_future_result); __Pyx_GOTREF(__pyx_v_self->__pyx_base.__pyx___storage); @@ -46599,7 +44573,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_9Singleton__provide(st * * self.__storage = instance */ - __Pyx_TraceLine(2388,0,__PYX_ERR(1, 2388, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_future_result); __pyx_r = __pyx_v_future_result; @@ -46621,7 +44594,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_9Singleton__provide(st * * return self.__storage */ - __Pyx_TraceLine(2390,0,__PYX_ERR(1, 2390, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_instance); __Pyx_GIVEREF(__pyx_v_instance); __Pyx_GOTREF(__pyx_v_self->__pyx_base.__pyx___storage); @@ -46644,7 +44616,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_9Singleton__provide(st * * */ - __Pyx_TraceLine(2392,0,__PYX_ERR(1, 2392, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx_base.__pyx___storage); __pyx_r = __pyx_v_self->__pyx_base.__pyx___storage; @@ -46673,7 +44644,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_9Singleton__provide(st __Pyx_XDECREF(__pyx_v_instance); __Pyx_XDECREF(__pyx_v_future_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -46751,14 +44721,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_9Singleton_5_provide( static PyObject *__pyx_pf_19dependency_injector_9providers_9Singleton_4_provide(struct __pyx_obj_19dependency_injector_9providers_Singleton *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide (wrapper)", __pyx_f[1], 2378, 0, __PYX_ERR(1, 2378, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_9Singleton__provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2378, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -46773,7 +44741,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Singleton_4_provide( __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -46802,7 +44769,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Singleton_6__reduce_ PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -46814,7 +44780,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Singleton_6__reduce_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -46823,7 +44788,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Singleton_6__reduce_ * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -46853,7 +44817,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Singleton_6__reduce_ * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -46866,7 +44829,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Singleton_6__reduce_ * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -46878,7 +44840,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Singleton_6__reduce_ * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -46897,7 +44858,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Singleton_6__reduce_ * else: * use_setstate = self.__instantiator is not None or self.__last_overriding is not None or self.__overridden is not None or self.__storage is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -46917,7 +44877,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Singleton_6__reduce_ * if use_setstate: * return __pyx_unpickle_Singleton, (type(self), 0xce4d239, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (((PyObject *)__pyx_v_self->__pyx_base.__pyx___instantiator) != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -46955,7 +44914,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Singleton_6__reduce_ * return __pyx_unpickle_Singleton, (type(self), 0xce4d239, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -46966,7 +44924,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Singleton_6__reduce_ * else: * return __pyx_unpickle_Singleton, (type(self), 0xce4d239, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_Singleton); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -47012,7 +44969,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Singleton_6__reduce_ * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Singleton__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_Singleton); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -47058,7 +45014,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Singleton_6__reduce_ __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -47085,21 +45040,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_9Singleton_9__setstat static PyObject *__pyx_pf_19dependency_injector_9providers_9Singleton_8__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_Singleton *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_Singleton, (type(self), 0xce4d239, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Singleton__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Singleton__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -47121,7 +45073,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Singleton_8__setstat __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -47150,7 +45101,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedSingleton_ PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -47162,7 +45112,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedSingleton_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -47171,7 +45120,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedSingleton_ * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -47201,7 +45149,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedSingleton_ * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -47214,7 +45161,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedSingleton_ * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -47226,7 +45172,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedSingleton_ * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -47245,7 +45190,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedSingleton_ * else: * use_setstate = self.__instantiator is not None or self.__last_overriding is not None or self.__overridden is not None or self.__storage is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -47265,7 +45209,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedSingleton_ * if use_setstate: * return __pyx_unpickle_DelegatedSingleton, (type(self), 0xce4d239, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (((PyObject *)__pyx_v_self->__pyx_base.__pyx_base.__pyx___instantiator) != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -47303,7 +45246,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedSingleton_ * return __pyx_unpickle_DelegatedSingleton, (type(self), 0xce4d239, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -47314,7 +45256,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedSingleton_ * else: * return __pyx_unpickle_DelegatedSingleton, (type(self), 0xce4d239, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_DelegatedSingleto); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -47360,7 +45301,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedSingleton_ * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_DelegatedSingleton__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_DelegatedSingleto); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -47406,7 +45346,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedSingleton_ __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -47433,21 +45372,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_18DelegatedSingleton_ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedSingleton_2__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_DelegatedSingleton *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_DelegatedSingleton, (type(self), 0xce4d239, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_DelegatedSingleton__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_DelegatedSingleton__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -47469,7 +45405,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18DelegatedSingleton_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -47561,7 +45496,6 @@ static int __pyx_pw_19dependency_injector_9providers_19ThreadSafeSingleton_1__in static int __pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton___init__(struct __pyx_obj_19dependency_injector_9providers_ThreadSafeSingleton *__pyx_v_self, PyObject *__pyx_v_provides, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -47570,7 +45504,6 @@ static int __pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton___ini const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 2426, 0, __PYX_ERR(1, 2426, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2432 * :type provides: type @@ -47579,7 +45512,6 @@ static int __pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton___ini * self.__storage_lock = self.__class__.storage_lock * super(ThreadSafeSingleton, self).__init__(provides, *args, **kwargs) */ - __Pyx_TraceLine(2432,0,__PYX_ERR(1, 2432, __pyx_L1_error)) __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->__pyx_base.__pyx___storage); @@ -47593,7 +45525,6 @@ static int __pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton___ini * super(ThreadSafeSingleton, self).__init__(provides, *args, **kwargs) * */ - __Pyx_TraceLine(2433,0,__PYX_ERR(1, 2433, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2433, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_storage_lock); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2433, __pyx_L1_error) @@ -47612,7 +45543,6 @@ static int __pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton___ini * * def reset(self): */ - __Pyx_TraceLine(2434,0,__PYX_ERR(1, 2434, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2434, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_ThreadSafeSingleton)); @@ -47659,7 +45589,6 @@ static int __pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton___ini __Pyx_AddTraceback("dependency_injector.providers.ThreadSafeSingleton.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -47688,7 +45617,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ThreadSafeSingleton static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton_2reset(struct __pyx_obj_19dependency_injector_9providers_ThreadSafeSingleton *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -47705,7 +45633,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("reset", 0); - __Pyx_TraceCall("reset", __pyx_f[1], 2436, 0, __PYX_ERR(1, 2436, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2441 * :rtype: None @@ -47714,7 +45641,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton * if __isawaitable(self.__storage): * asyncio.ensure_future(self.__storage).cancel() */ - __Pyx_TraceLine(2441,0,__PYX_ERR(1, 2441, __pyx_L1_error)) /*with:*/ { __pyx_t_1 = __Pyx_PyObject_LookupSpecial(__pyx_v_self->__pyx___storage_lock, __pyx_n_s_exit); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2441, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -47753,7 +45679,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton * asyncio.ensure_future(self.__storage).cancel() * self.__storage = None */ - __Pyx_TraceLine(2442,0,__PYX_ERR(1, 2442, __pyx_L7_error)) __pyx_t_2 = __pyx_v_self->__pyx_base.__pyx___storage; __Pyx_INCREF(__pyx_t_2); __pyx_t_8 = (__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_t_2) != 0); @@ -47767,7 +45692,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton * self.__storage = None * */ - __Pyx_TraceLine(2443,0,__PYX_ERR(1, 2443, __pyx_L7_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2443, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_ensure_future); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 2443, __pyx_L7_error) @@ -47824,7 +45748,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton * * */ - __Pyx_TraceLine(2444,0,__PYX_ERR(1, 2444, __pyx_L7_error)) __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->__pyx_base.__pyx___storage); @@ -47895,7 +45818,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton /*finally:*/ { /*normal exit:*/{ if (__pyx_t_1) { - __pyx_t_7 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__3, NULL); + __pyx_t_7 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple_, NULL); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 2441, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); @@ -47932,7 +45855,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -47950,7 +45872,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ThreadSafeSingleton_ PyObject *__pyx_v_instance = NULL; PyObject *__pyx_v_future_result = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -47971,7 +45892,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ThreadSafeSingleton_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide", __pyx_f[1], 2447, 0, __PYX_ERR(1, 2447, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -48056,7 +45976,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ThreadSafeSingleton_ * * if instance is None: */ - __Pyx_TraceLine(2449,0,__PYX_ERR(1, 2449, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx_base.__pyx___storage; __Pyx_INCREF(__pyx_t_1); __pyx_v_instance = __pyx_t_1; @@ -48069,7 +45988,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ThreadSafeSingleton_ * with self.__storage_lock: * if self.__storage is None: */ - __Pyx_TraceLine(2451,0,__PYX_ERR(1, 2451, __pyx_L1_error)) __pyx_t_7 = (__pyx_v_instance == Py_None); __pyx_t_8 = (__pyx_t_7 != 0); if (__pyx_t_8) { @@ -48081,7 +45999,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ThreadSafeSingleton_ * if self.__storage is None: * instance = __factory_call(self.__instantiator, args, kwargs) */ - __Pyx_TraceLine(2452,0,__PYX_ERR(1, 2452, __pyx_L1_error)) /*with:*/ { __pyx_t_9 = __Pyx_PyObject_LookupSpecial(__pyx_v_self->__pyx___storage_lock, __pyx_n_s_exit); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 2452, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); @@ -48120,7 +46037,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ThreadSafeSingleton_ * instance = __factory_call(self.__instantiator, args, kwargs) * */ - __Pyx_TraceLine(2453,0,__PYX_ERR(1, 2453, __pyx_L8_error)) __pyx_t_8 = (__pyx_v_self->__pyx_base.__pyx___storage == Py_None); __pyx_t_7 = (__pyx_t_8 != 0); if (__pyx_t_7) { @@ -48132,7 +46048,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ThreadSafeSingleton_ * * if __isawaitable(instance): */ - __Pyx_TraceLine(2454,0,__PYX_ERR(1, 2454, __pyx_L8_error)) __pyx_t_1 = ((PyObject *)__pyx_v_self->__pyx_base.__pyx___instantiator); __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = __pyx_f_19dependency_injector_9providers___factory_call(((struct __pyx_obj_19dependency_injector_9providers_Factory *)__pyx_t_1), __pyx_v_args, __pyx_v_kwargs); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2454, __pyx_L8_error) @@ -48148,7 +46063,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ThreadSafeSingleton_ * future_result = asyncio.Future() * instance = asyncio.ensure_future(instance) */ - __Pyx_TraceLine(2456,0,__PYX_ERR(1, 2456, __pyx_L8_error)) __pyx_t_7 = (__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_instance) != 0); if (__pyx_t_7) { @@ -48159,7 +46073,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ThreadSafeSingleton_ * instance = asyncio.ensure_future(instance) * instance.add_done_callback(functools.partial(self._async_init_instance, future_result)) */ - __Pyx_TraceLine(2457,0,__PYX_ERR(1, 2457, __pyx_L8_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2457, __pyx_L8_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_Future); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2457, __pyx_L8_error) @@ -48190,7 +46103,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ThreadSafeSingleton_ * instance.add_done_callback(functools.partial(self._async_init_instance, future_result)) * self.__storage = future_result */ - __Pyx_TraceLine(2458,0,__PYX_ERR(1, 2458, __pyx_L8_error)) __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2458, __pyx_L8_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_ensure_future); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2458, __pyx_L8_error) @@ -48221,7 +46133,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ThreadSafeSingleton_ * self.__storage = future_result * return future_result */ - __Pyx_TraceLine(2459,0,__PYX_ERR(1, 2459, __pyx_L8_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_instance, __pyx_n_s_add_done_callback); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2459, __pyx_L8_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_functools); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 2459, __pyx_L8_error) @@ -48303,7 +46214,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ThreadSafeSingleton_ * return future_result * */ - __Pyx_TraceLine(2460,0,__PYX_ERR(1, 2460, __pyx_L8_error)) __Pyx_INCREF(__pyx_v_future_result); __Pyx_GIVEREF(__pyx_v_future_result); __Pyx_GOTREF(__pyx_v_self->__pyx_base.__pyx___storage); @@ -48317,7 +46227,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ThreadSafeSingleton_ * * self.__storage = instance */ - __Pyx_TraceLine(2461,0,__PYX_ERR(1, 2461, __pyx_L8_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_future_result); __pyx_r = __pyx_v_future_result; @@ -48339,7 +46248,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ThreadSafeSingleton_ * * return instance */ - __Pyx_TraceLine(2463,0,__PYX_ERR(1, 2463, __pyx_L8_error)) __Pyx_INCREF(__pyx_v_instance); __Pyx_GIVEREF(__pyx_v_instance); __Pyx_GOTREF(__pyx_v_self->__pyx_base.__pyx___storage); @@ -48428,7 +46336,7 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ThreadSafeSingleton_ /*finally:*/ { /*normal exit:*/{ if (__pyx_t_9) { - __pyx_t_12 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_tuple__3, NULL); + __pyx_t_12 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_tuple_, NULL); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; if (unlikely(!__pyx_t_12)) __PYX_ERR(1, 2452, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_12); @@ -48440,7 +46348,7 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ThreadSafeSingleton_ __pyx_t_12 = __pyx_r; __pyx_r = 0; if (__pyx_t_9) { - __pyx_t_11 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_tuple__3, NULL); + __pyx_t_11 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_tuple_, NULL); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 2452, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_11); @@ -48475,7 +46383,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ThreadSafeSingleton_ * * */ - __Pyx_TraceLine(2465,0,__PYX_ERR(1, 2465, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_instance); __pyx_r = __pyx_v_instance; @@ -48504,7 +46411,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_19ThreadSafeSingleton_ __Pyx_XDECREF(__pyx_v_instance); __Pyx_XDECREF(__pyx_v_future_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -48582,14 +46488,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ThreadSafeSingleton static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton_4_provide(struct __pyx_obj_19dependency_injector_9providers_ThreadSafeSingleton *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide (wrapper)", __pyx_f[1], 2447, 0, __PYX_ERR(1, 2447, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_19ThreadSafeSingleton__provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2447, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -48604,7 +46508,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -48633,7 +46536,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -48645,7 +46547,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -48654,7 +46555,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(6); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -48687,7 +46587,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -48700,7 +46599,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -48712,7 +46610,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -48731,7 +46628,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton * else: * use_setstate = self.__instantiator is not None or self.__last_overriding is not None or self.__overridden is not None or self.__storage is not None or self.__storage_lock is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -48751,7 +46647,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton * if use_setstate: * return __pyx_unpickle_ThreadSafeSingleton, (type(self), 0x2a56a3c, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (((PyObject *)__pyx_v_self->__pyx_base.__pyx___instantiator) != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -48796,7 +46691,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton * return __pyx_unpickle_ThreadSafeSingleton, (type(self), 0x2a56a3c, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -48807,7 +46701,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton * else: * return __pyx_unpickle_ThreadSafeSingleton, (type(self), 0x2a56a3c, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_ThreadSafeSinglet); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -48853,7 +46746,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_ThreadSafeSingleton__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_ThreadSafeSinglet); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -48899,7 +46791,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -48926,21 +46817,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19ThreadSafeSingleton static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton_8__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_ThreadSafeSingleton *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_ThreadSafeSingleton, (type(self), 0x2a56a3c, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_ThreadSafeSingleton__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_ThreadSafeSingleton__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -48962,7 +46850,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19ThreadSafeSingleton __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -48991,7 +46878,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_28DelegatedThreadSafe PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -49003,7 +46889,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_28DelegatedThreadSafe const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -49012,7 +46897,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_28DelegatedThreadSafe * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(6); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -49045,7 +46929,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_28DelegatedThreadSafe * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -49058,7 +46941,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_28DelegatedThreadSafe * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -49070,7 +46952,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_28DelegatedThreadSafe * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -49089,7 +46970,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_28DelegatedThreadSafe * else: * use_setstate = self.__instantiator is not None or self.__last_overriding is not None or self.__overridden is not None or self.__storage is not None or self.__storage_lock is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -49109,7 +46989,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_28DelegatedThreadSafe * if use_setstate: * return __pyx_unpickle_DelegatedThreadSafeSingleton, (type(self), 0x2a56a3c, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (((PyObject *)__pyx_v_self->__pyx_base.__pyx_base.__pyx___instantiator) != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -49154,7 +47033,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_28DelegatedThreadSafe * return __pyx_unpickle_DelegatedThreadSafeSingleton, (type(self), 0x2a56a3c, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -49165,7 +47043,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_28DelegatedThreadSafe * else: * return __pyx_unpickle_DelegatedThreadSafeSingleton, (type(self), 0x2a56a3c, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_DelegatedThreadSa); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -49211,7 +47088,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_28DelegatedThreadSafe * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_DelegatedThreadSafeSingleton__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_DelegatedThreadSa); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -49257,7 +47133,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_28DelegatedThreadSafe __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -49284,21 +47159,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_28DelegatedThreadSafe static PyObject *__pyx_pf_19dependency_injector_9providers_28DelegatedThreadSafeSingleton_2__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_DelegatedThreadSafeSingleton *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_DelegatedThreadSafeSingleton, (type(self), 0x2a56a3c, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_DelegatedThreadSafeSingleton__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_DelegatedThreadSafeSingleton__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -49320,7 +47192,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_28DelegatedThreadSafe __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -49412,7 +47283,6 @@ static int __pyx_pw_19dependency_injector_9providers_20ThreadLocalSingleton_1__i static int __pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleton___init__(struct __pyx_obj_19dependency_injector_9providers_ThreadLocalSingleton *__pyx_v_self, PyObject *__pyx_v_provides, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -49421,7 +47291,6 @@ static int __pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleton___in const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 2509, 0, __PYX_ERR(1, 2509, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2515 * :type provides: type @@ -49430,7 +47299,6 @@ static int __pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleton___in * super(ThreadLocalSingleton, self).__init__(provides, *args, **kwargs) * */ - __Pyx_TraceLine(2515,0,__PYX_ERR(1, 2515, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_threading); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2515, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_local); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2515, __pyx_L1_error) @@ -49464,7 +47332,6 @@ static int __pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleton___in * * def reset(self): */ - __Pyx_TraceLine(2516,0,__PYX_ERR(1, 2516, __pyx_L1_error)) __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2516, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_ThreadLocalSingleton)); @@ -49511,7 +47378,6 @@ static int __pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleton___in __Pyx_AddTraceback("dependency_injector.providers.ThreadLocalSingleton.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -49540,7 +47406,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_20ThreadLocalSingleto static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleton_2reset(struct __pyx_obj_19dependency_injector_9providers_ThreadLocalSingleton *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -49552,7 +47417,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("reset", 0); - __Pyx_TraceCall("reset", __pyx_f[1], 2518, 0, __PYX_ERR(1, 2518, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2523 * :rtype: None @@ -49561,7 +47425,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto * asyncio.ensure_future(self.__storage.instance).cancel() * del self.__storage.instance */ - __Pyx_TraceLine(2523,0,__PYX_ERR(1, 2523, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->__pyx_base.__pyx___storage, __pyx_n_s_instance); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2523, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = (__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_t_1) != 0); @@ -49575,7 +47438,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto * del self.__storage.instance * */ - __Pyx_TraceLine(2524,0,__PYX_ERR(1, 2524, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2524, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_ensure_future); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 2524, __pyx_L1_error) @@ -49635,7 +47497,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto * * cpdef object _provide(self, tuple args, dict kwargs): */ - __Pyx_TraceLine(2525,0,__PYX_ERR(1, 2525, __pyx_L1_error)) if (__Pyx_PyObject_DelAttrStr(__pyx_v_self->__pyx_base.__pyx___storage, __pyx_n_s_instance) < 0) __PYX_ERR(1, 2525, __pyx_L1_error) /* "dependency_injector/providers.pyx":2518 @@ -49659,7 +47520,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -49677,7 +47537,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_20ThreadLocalSingleton PyObject *__pyx_v_instance = 0; PyObject *__pyx_v_future_result = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -49701,7 +47560,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_20ThreadLocalSingleton const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide", __pyx_f[1], 2527, 0, __PYX_ERR(1, 2527, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -49786,7 +47644,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_20ThreadLocalSingleton * instance = self.__storage.instance * except AttributeError: */ - __Pyx_TraceLine(2531,0,__PYX_ERR(1, 2531, __pyx_L1_error)) /*try:*/ { { __Pyx_PyThreadState_declare @@ -49804,7 +47661,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_20ThreadLocalSingleton * except AttributeError: * instance = __factory_call(self.__instantiator, args, kwargs) */ - __Pyx_TraceLine(2532,0,__PYX_ERR(1, 2532, __pyx_L6_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->__pyx_base.__pyx___storage, __pyx_n_s_instance); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2532, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_instance = __pyx_t_1; @@ -49836,7 +47692,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_20ThreadLocalSingleton * instance = __factory_call(self.__instantiator, args, kwargs) * */ - __Pyx_TraceLine(2533,0,__PYX_ERR(1, 2533, __pyx_L8_except_error)) __pyx_t_5 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_AttributeError); if (__pyx_t_5) { __Pyx_AddTraceback("dependency_injector.providers.ThreadLocalSingleton._provide", __pyx_clineno, __pyx_lineno, __pyx_filename); @@ -49852,7 +47707,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_20ThreadLocalSingleton * * if __isawaitable(instance): */ - __Pyx_TraceLine(2534,0,__PYX_ERR(1, 2534, __pyx_L8_except_error)) __pyx_t_6 = ((PyObject *)__pyx_v_self->__pyx_base.__pyx___instantiator); __Pyx_INCREF(__pyx_t_6); __pyx_t_4 = __pyx_f_19dependency_injector_9providers___factory_call(((struct __pyx_obj_19dependency_injector_9providers_Factory *)__pyx_t_6), __pyx_v_args, __pyx_v_kwargs); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2534, __pyx_L8_except_error) @@ -49868,7 +47722,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_20ThreadLocalSingleton * future_result = asyncio.Future() * instance = asyncio.ensure_future(instance) */ - __Pyx_TraceLine(2536,0,__PYX_ERR(1, 2536, __pyx_L8_except_error)) __pyx_t_10 = (__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_instance) != 0); if (__pyx_t_10) { @@ -49879,7 +47732,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_20ThreadLocalSingleton * instance = asyncio.ensure_future(instance) * instance.add_done_callback(functools.partial(self._async_init_instance, future_result)) */ - __Pyx_TraceLine(2537,0,__PYX_ERR(1, 2537, __pyx_L8_except_error)) __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 2537, __pyx_L8_except_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_Future); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 2537, __pyx_L8_except_error) @@ -49910,7 +47762,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_20ThreadLocalSingleton * instance.add_done_callback(functools.partial(self._async_init_instance, future_result)) * self.__storage.instance = future_result */ - __Pyx_TraceLine(2538,0,__PYX_ERR(1, 2538, __pyx_L8_except_error)) __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 2538, __pyx_L8_except_error) __Pyx_GOTREF(__pyx_t_11); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_11, __pyx_n_s_ensure_future); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 2538, __pyx_L8_except_error) @@ -49941,7 +47792,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_20ThreadLocalSingleton * self.__storage.instance = future_result * return future_result */ - __Pyx_TraceLine(2539,0,__PYX_ERR(1, 2539, __pyx_L8_except_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_instance, __pyx_n_s_add_done_callback); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 2539, __pyx_L8_except_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_n_s_functools); if (unlikely(!__pyx_t_12)) __PYX_ERR(1, 2539, __pyx_L8_except_error) @@ -50023,7 +47873,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_20ThreadLocalSingleton * return future_result * */ - __Pyx_TraceLine(2540,0,__PYX_ERR(1, 2540, __pyx_L8_except_error)) if (__Pyx_PyObject_SetAttrStr(__pyx_v_self->__pyx_base.__pyx___storage, __pyx_n_s_instance, __pyx_v_future_result) < 0) __PYX_ERR(1, 2540, __pyx_L8_except_error) /* "dependency_injector/providers.pyx":2541 @@ -50033,7 +47882,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_20ThreadLocalSingleton * * self.__storage.instance = instance */ - __Pyx_TraceLine(2541,0,__PYX_ERR(1, 2541, __pyx_L8_except_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_future_result); __pyx_r = __pyx_v_future_result; @@ -50058,7 +47906,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_20ThreadLocalSingleton * finally: * return instance */ - __Pyx_TraceLine(2543,0,__PYX_ERR(1, 2543, __pyx_L8_except_error)) if (__Pyx_PyObject_SetAttrStr(__pyx_v_self->__pyx_base.__pyx___storage, __pyx_n_s_instance, __pyx_v_instance) < 0) __PYX_ERR(1, 2543, __pyx_L8_except_error) __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -50102,7 +47949,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_20ThreadLocalSingleton * * def _async_init_instance(self, future_result, result): */ - __Pyx_TraceLine(2545,0,__PYX_ERR(1, 2545, __pyx_L4_error)) /*finally:*/ { /*normal exit:*/{ __Pyx_XDECREF(__pyx_r); @@ -50199,7 +48045,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_20ThreadLocalSingleton __Pyx_XDECREF(__pyx_v_instance); __Pyx_XDECREF(__pyx_v_future_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -50277,14 +48122,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_20ThreadLocalSingleto static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleton_4_provide(struct __pyx_obj_19dependency_injector_9providers_ThreadLocalSingleton *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide (wrapper)", __pyx_f[1], 2527, 0, __PYX_ERR(1, 2527, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_20ThreadLocalSingleton__provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2527, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -50299,7 +48142,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -50380,7 +48222,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto PyObject *__pyx_v_instance = NULL; PyObject *__pyx_v_exception = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -50396,7 +48237,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_async_init_instance", 0); - __Pyx_TraceCall("_async_init_instance", __pyx_f[1], 2547, 0, __PYX_ERR(1, 2547, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2548 * @@ -50405,7 +48245,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto * instance = result.result() * except Exception as exception: */ - __Pyx_TraceLine(2548,0,__PYX_ERR(1, 2548, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -50422,7 +48261,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto * except Exception as exception: * del self.__storage.instance */ - __Pyx_TraceLine(2549,0,__PYX_ERR(1, 2549, __pyx_L3_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_result, __pyx_n_s_result); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 2549, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; @@ -50459,7 +48297,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto * future_result.set_result(instance) * */ - __Pyx_TraceLine(2554,0,__PYX_ERR(1, 2554, __pyx_L5_except_error)) /*else:*/ { if (__Pyx_PyObject_SetAttrStr(__pyx_v_self->__pyx_base.__pyx___storage, __pyx_n_s_instance, __pyx_v_instance) < 0) __PYX_ERR(1, 2554, __pyx_L5_except_error) @@ -50470,7 +48307,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto * * */ - __Pyx_TraceLine(2555,0,__PYX_ERR(1, 2555, __pyx_L5_except_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_future_result, __pyx_n_s_set_result); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 2555, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; @@ -50506,7 +48342,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto * del self.__storage.instance * future_result.set_exception(exception) */ - __Pyx_TraceLine(2550,0,__PYX_ERR(1, 2550, __pyx_L5_except_error)) __pyx_t_7 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0]))); if (__pyx_t_7) { __Pyx_AddTraceback("dependency_injector.providers.ThreadLocalSingleton._async_init_instance", __pyx_clineno, __pyx_lineno, __pyx_filename); @@ -50524,7 +48359,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto * future_result.set_exception(exception) * else: */ - __Pyx_TraceLine(2551,0,__PYX_ERR(1, 2551, __pyx_L5_except_error)) if (__Pyx_PyObject_DelAttrStr(__pyx_v_self->__pyx_base.__pyx___storage, __pyx_n_s_instance) < 0) __PYX_ERR(1, 2551, __pyx_L5_except_error) /* "dependency_injector/providers.pyx":2552 @@ -50534,7 +48368,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto * else: * self.__storage.instance = instance */ - __Pyx_TraceLine(2552,0,__PYX_ERR(1, 2552, __pyx_L5_except_error)) __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_future_result, __pyx_n_s_set_exception); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 2552, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_9); __pyx_t_10 = NULL; @@ -50605,7 +48438,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto __Pyx_XDECREF(__pyx_v_instance); __Pyx_XDECREF(__pyx_v_exception); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -50634,7 +48466,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -50646,7 +48477,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -50655,7 +48485,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -50685,7 +48514,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -50698,7 +48526,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -50710,7 +48537,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -50729,7 +48555,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto * else: * use_setstate = self.__instantiator is not None or self.__last_overriding is not None or self.__overridden is not None or self.__storage is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -50749,7 +48574,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto * if use_setstate: * return __pyx_unpickle_ThreadLocalSingleton, (type(self), 0xce4d239, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (((PyObject *)__pyx_v_self->__pyx_base.__pyx___instantiator) != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -50787,7 +48611,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto * return __pyx_unpickle_ThreadLocalSingleton, (type(self), 0xce4d239, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -50798,7 +48621,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto * else: * return __pyx_unpickle_ThreadLocalSingleton, (type(self), 0xce4d239, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_ThreadLocalSingle); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -50844,7 +48666,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_ThreadLocalSingleton__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_ThreadLocalSingle); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -50890,7 +48711,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -50917,21 +48737,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_20ThreadLocalSingleto static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleton_10__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_ThreadLocalSingleton *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_ThreadLocalSingleton, (type(self), 0xce4d239, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_ThreadLocalSingleton__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_ThreadLocalSingleton__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -50953,7 +48770,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20ThreadLocalSingleto __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -50982,7 +48798,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_29DelegatedThreadLoca PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -50994,7 +48809,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_29DelegatedThreadLoca const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -51003,7 +48817,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_29DelegatedThreadLoca * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -51033,7 +48846,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_29DelegatedThreadLoca * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -51046,7 +48858,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_29DelegatedThreadLoca * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -51058,7 +48869,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_29DelegatedThreadLoca * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -51077,7 +48887,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_29DelegatedThreadLoca * else: * use_setstate = self.__instantiator is not None or self.__last_overriding is not None or self.__overridden is not None or self.__storage is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -51097,7 +48906,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_29DelegatedThreadLoca * if use_setstate: * return __pyx_unpickle_DelegatedThreadLocalSingleton, (type(self), 0xce4d239, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (((PyObject *)__pyx_v_self->__pyx_base.__pyx_base.__pyx___instantiator) != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -51135,7 +48943,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_29DelegatedThreadLoca * return __pyx_unpickle_DelegatedThreadLocalSingleton, (type(self), 0xce4d239, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -51146,7 +48953,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_29DelegatedThreadLoca * else: * return __pyx_unpickle_DelegatedThreadLocalSingleton, (type(self), 0xce4d239, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_DelegatedThreadLo); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -51192,7 +48998,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_29DelegatedThreadLoca * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_DelegatedThreadLocalSingleton__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_DelegatedThreadLo); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -51238,7 +49043,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_29DelegatedThreadLoca __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -51265,21 +49069,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_29DelegatedThreadLoca static PyObject *__pyx_pf_19dependency_injector_9providers_29DelegatedThreadLocalSingleton_2__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_DelegatedThreadLocalSingleton *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_DelegatedThreadLocalSingleton, (type(self), 0xce4d239, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_DelegatedThreadLocalSingleton__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_DelegatedThreadLocalSingleton__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -51301,7 +49102,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_29DelegatedThreadLoca __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -51346,7 +49146,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_17AbstractSingleton_1 static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton___call__(struct __pyx_obj_19dependency_injector_9providers_AbstractSingleton *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -51359,7 +49158,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton__ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__call__", 0); - __Pyx_TraceCall("__call__", __pyx_f[1], 2590, 0, __PYX_ERR(1, 2590, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2595 * Callable interface implementation. @@ -51368,7 +49166,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton__ * raise Error('{0} must be overridden before calling'.format(self)) * return super().__call__(*args, **kwargs) */ - __Pyx_TraceLine(2595,0,__PYX_ERR(1, 2595, __pyx_L1_error)) __pyx_t_1 = (((PyObject *)__pyx_v_self->__pyx_base.__pyx_base.__pyx___last_overriding) == Py_None); __pyx_t_2 = (__pyx_t_1 != 0); if (unlikely(__pyx_t_2)) { @@ -51380,7 +49177,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton__ * return super().__call__(*args, **kwargs) * */ - __Pyx_TraceLine(2596,0,__PYX_ERR(1, 2596, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2596, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_0_must_be_overridden_before_cal, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 2596, __pyx_L1_error) @@ -51436,7 +49232,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton__ * * def override(self, provider): */ - __Pyx_TraceLine(2597,0,__PYX_ERR(1, 2597, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2597, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -51478,7 +49273,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton__ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -51507,7 +49301,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_17AbstractSingleton_3 static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_2override(struct __pyx_obj_19dependency_injector_9providers_AbstractSingleton *__pyx_v_self, PyObject *__pyx_v_provider) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -51522,7 +49315,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_2 const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("override", 0); - __Pyx_TraceCall("override", __pyx_f[1], 2599, 0, __PYX_ERR(1, 2599, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2610 * :rtype: :py:class:`OverridingContext` @@ -51531,7 +49323,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_2 * raise Error('{0} must be overridden only by ' * '{1} providers'.format(self, BaseSingleton)) */ - __Pyx_TraceLine(2610,0,__PYX_ERR(1, 2610, __pyx_L1_error)) __pyx_t_1 = __Pyx_TypeCheck(__pyx_v_provider, __pyx_ptype_19dependency_injector_9providers_BaseSingleton); __pyx_t_2 = ((!(__pyx_t_1 != 0)) != 0); if (unlikely(__pyx_t_2)) { @@ -51543,7 +49334,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_2 * '{1} providers'.format(self, BaseSingleton)) * return super(AbstractSingleton, self).override(provider) */ - __Pyx_TraceLine(2611,0,__PYX_ERR(1, 2611, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2611, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); @@ -51554,7 +49344,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_2 * return super(AbstractSingleton, self).override(provider) * */ - __Pyx_TraceLine(2612,0,__PYX_ERR(1, 2612, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_0_must_be_overridden_only_by_1, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 2612, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_7 = NULL; @@ -51638,7 +49427,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_2 * * def reset(self): */ - __Pyx_TraceLine(2613,0,__PYX_ERR(1, 2613, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2613, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); @@ -51693,7 +49481,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_2 __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -51722,7 +49509,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_17AbstractSingleton_5 static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_4reset(struct __pyx_obj_19dependency_injector_9providers_AbstractSingleton *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -51735,7 +49521,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_4 const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("reset", 0); - __Pyx_TraceCall("reset", __pyx_f[1], 2615, 0, __PYX_ERR(1, 2615, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2620 * :rtype: None @@ -51744,7 +49529,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_4 * raise Error('{0} must be overridden before calling'.format(self)) * return self.__last_overriding.reset() */ - __Pyx_TraceLine(2620,0,__PYX_ERR(1, 2620, __pyx_L1_error)) __pyx_t_1 = (((PyObject *)__pyx_v_self->__pyx_base.__pyx_base.__pyx___last_overriding) == Py_None); __pyx_t_2 = (__pyx_t_1 != 0); if (unlikely(__pyx_t_2)) { @@ -51756,7 +49540,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_4 * return self.__last_overriding.reset() * */ - __Pyx_TraceLine(2621,0,__PYX_ERR(1, 2621, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2621, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_0_must_be_overridden_before_cal, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 2621, __pyx_L1_error) @@ -51812,7 +49595,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_4 * * */ - __Pyx_TraceLine(2622,0,__PYX_ERR(1, 2622, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->__pyx_base.__pyx_base.__pyx___last_overriding), __pyx_n_s_reset); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2622, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); @@ -51854,7 +49636,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_4 __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -51883,7 +49664,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_6 PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -51895,7 +49675,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_6 const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -51904,7 +49683,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_6 * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -51934,7 +49712,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_6 * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -51947,7 +49724,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_6 * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -51959,7 +49735,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_6 * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -51978,7 +49753,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_6 * else: * use_setstate = self.__instantiator is not None or self.__last_overriding is not None or self.__overridden is not None or self.__storage is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -51998,7 +49772,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_6 * if use_setstate: * return __pyx_unpickle_AbstractSingleton, (type(self), 0xce4d239, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (((PyObject *)__pyx_v_self->__pyx_base.__pyx___instantiator) != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -52036,7 +49809,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_6 * return __pyx_unpickle_AbstractSingleton, (type(self), 0xce4d239, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -52047,7 +49819,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_6 * else: * return __pyx_unpickle_AbstractSingleton, (type(self), 0xce4d239, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_AbstractSingleton); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -52093,7 +49864,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_6 * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_AbstractSingleton__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_AbstractSingleton); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -52139,7 +49909,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_6 __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -52166,21 +49935,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_17AbstractSingleton_9 static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_8__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_AbstractSingleton *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_AbstractSingleton, (type(self), 0xce4d239, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_AbstractSingleton__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_AbstractSingleton__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -52202,7 +49968,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17AbstractSingleton_8 __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -52274,7 +50039,6 @@ static int __pyx_pw_19dependency_injector_9providers_17SingletonDelegate_1__init static int __pyx_pf_19dependency_injector_9providers_17SingletonDelegate___init__(struct __pyx_obj_19dependency_injector_9providers_SingletonDelegate *__pyx_v_self, PyObject *__pyx_v_singleton) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -52290,7 +50054,6 @@ static int __pyx_pf_19dependency_injector_9providers_17SingletonDelegate___init_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 2635, 0, __PYX_ERR(1, 2635, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2641 * :type singleton: py:class:`BaseSingleton` @@ -52299,7 +50062,6 @@ static int __pyx_pf_19dependency_injector_9providers_17SingletonDelegate___init_ * raise Error('{0} can wrap only {1} providers'.format( * self.__class__, BaseSingleton)) */ - __Pyx_TraceLine(2641,0,__PYX_ERR(1, 2641, __pyx_L1_error)) __pyx_t_1 = __Pyx_TypeCheck(__pyx_v_singleton, __pyx_ptype_19dependency_injector_9providers_BaseSingleton); __pyx_t_2 = ((__pyx_t_1 == 0) != 0); if (unlikely(__pyx_t_2)) { @@ -52311,7 +50073,6 @@ static int __pyx_pf_19dependency_injector_9providers_17SingletonDelegate___init_ * self.__class__, BaseSingleton)) * super(SingletonDelegate, self).__init__(singleton) */ - __Pyx_TraceLine(2642,0,__PYX_ERR(1, 2642, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2642, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_0_can_wrap_only_1_providers, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 2642, __pyx_L1_error) @@ -52324,7 +50085,6 @@ static int __pyx_pf_19dependency_injector_9providers_17SingletonDelegate___init_ * super(SingletonDelegate, self).__init__(singleton) * */ - __Pyx_TraceLine(2643,0,__PYX_ERR(1, 2643, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 2643, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = NULL; @@ -52410,7 +50170,6 @@ static int __pyx_pf_19dependency_injector_9providers_17SingletonDelegate___init_ * * */ - __Pyx_TraceLine(2644,0,__PYX_ERR(1, 2644, __pyx_L1_error)) __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2644, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_SingletonDelegate)); @@ -52464,7 +50223,6 @@ static int __pyx_pf_19dependency_injector_9providers_17SingletonDelegate___init_ __Pyx_AddTraceback("dependency_injector.providers.SingletonDelegate.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -52493,7 +50251,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17SingletonDelegate_2 PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -52505,7 +50262,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17SingletonDelegate_2 const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -52514,7 +50270,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17SingletonDelegate_2 * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -52541,7 +50296,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17SingletonDelegate_2 * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -52554,7 +50308,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17SingletonDelegate_2 * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -52566,7 +50319,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17SingletonDelegate_2 * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -52585,7 +50337,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17SingletonDelegate_2 * else: * use_setstate = self.__last_overriding is not None or self.__overridden is not None or self.__provides is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -52605,7 +50356,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17SingletonDelegate_2 * if use_setstate: * return __pyx_unpickle_SingletonDelegate, (type(self), 0x328787b, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (((PyObject *)__pyx_v_self->__pyx_base.__pyx_base.__pyx___last_overriding) != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -52636,7 +50386,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17SingletonDelegate_2 * return __pyx_unpickle_SingletonDelegate, (type(self), 0x328787b, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -52647,7 +50396,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17SingletonDelegate_2 * else: * return __pyx_unpickle_SingletonDelegate, (type(self), 0x328787b, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_SingletonDelegate); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -52693,7 +50441,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17SingletonDelegate_2 * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_SingletonDelegate__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_SingletonDelegate); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -52739,7 +50486,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17SingletonDelegate_2 __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -52766,21 +50512,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_17SingletonDelegate_5 static PyObject *__pyx_pf_19dependency_injector_9providers_17SingletonDelegate_4__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_SingletonDelegate *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_SingletonDelegate, (type(self), 0x328787b, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_SingletonDelegate__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_SingletonDelegate__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -52802,7 +50545,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_17SingletonDelegate_4 __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -52839,7 +50581,6 @@ static int __pyx_pw_19dependency_injector_9providers_4List_1__init__(PyObject *_ static int __pyx_pf_19dependency_injector_9providers_4List___init__(struct __pyx_obj_19dependency_injector_9providers_List *__pyx_v_self, PyObject *__pyx_v_args) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -52848,7 +50589,6 @@ static int __pyx_pf_19dependency_injector_9providers_4List___init__(struct __pyx const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 2677, 0, __PYX_ERR(1, 2677, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2679 * def __init__(self, *args): @@ -52857,7 +50597,6 @@ static int __pyx_pf_19dependency_injector_9providers_4List___init__(struct __pyx * self.__args_len = 0 * self.set_args(*args) */ - __Pyx_TraceLine(2679,0,__PYX_ERR(1, 2679, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_CallNoArg(((PyObject *)(&PyTuple_Type))); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2679, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -52873,7 +50612,6 @@ static int __pyx_pf_19dependency_injector_9providers_4List___init__(struct __pyx * self.set_args(*args) * super(List, self).__init__() */ - __Pyx_TraceLine(2680,0,__PYX_ERR(1, 2680, __pyx_L1_error)) __pyx_v_self->__pyx___args_len = 0; /* "dependency_injector/providers.pyx":2681 @@ -52883,7 +50621,6 @@ static int __pyx_pf_19dependency_injector_9providers_4List___init__(struct __pyx * super(List, self).__init__() * */ - __Pyx_TraceLine(2681,0,__PYX_ERR(1, 2681, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_set_args); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2681, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_v_args, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2681, __pyx_L1_error) @@ -52898,7 +50635,6 @@ static int __pyx_pf_19dependency_injector_9providers_4List___init__(struct __pyx * * def __deepcopy__(self, memo): */ - __Pyx_TraceLine(2682,0,__PYX_ERR(1, 2682, __pyx_L1_error)) __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2682, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_List)); @@ -52948,7 +50684,6 @@ static int __pyx_pf_19dependency_injector_9providers_4List___init__(struct __pyx __Pyx_AddTraceback("dependency_injector.providers.List.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -52978,7 +50713,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_4List_3__deepcopy__(P static PyObject *__pyx_pf_19dependency_injector_9providers_4List_2__deepcopy__(struct __pyx_obj_19dependency_injector_9providers_List *__pyx_v_self, PyObject *__pyx_v_memo) { PyObject *__pyx_v_copied = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -52991,7 +50725,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_2__deepcopy__(s const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[1], 2684, 0, __PYX_ERR(1, 2684, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2686 * def __deepcopy__(self, memo): @@ -53000,7 +50733,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_2__deepcopy__(s * if copied is not None: * return copied */ - __Pyx_TraceLine(2686,0,__PYX_ERR(1, 2686, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2686, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2686, __pyx_L1_error) @@ -53031,7 +50763,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_2__deepcopy__(s * return copied * */ - __Pyx_TraceLine(2687,0,__PYX_ERR(1, 2687, __pyx_L1_error)) __pyx_t_5 = (__pyx_v_copied != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -53043,7 +50774,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_2__deepcopy__(s * * copied = self.__class__(*deepcopy(self.args, memo)) */ - __Pyx_TraceLine(2688,0,__PYX_ERR(1, 2688, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -53065,7 +50795,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_2__deepcopy__(s * self._copy_overridings(copied, memo) * */ - __Pyx_TraceLine(2690,0,__PYX_ERR(1, 2690, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2690, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_args); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2690, __pyx_L1_error) @@ -53093,7 +50822,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_2__deepcopy__(s * * return copied */ - __Pyx_TraceLine(2691,0,__PYX_ERR(1, 2691, __pyx_L1_error)) if (!(likely(((__pyx_v_copied) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_copied, __pyx_ptype_19dependency_injector_9providers_Provider))))) __PYX_ERR(1, 2691, __pyx_L1_error) if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 2691, __pyx_L1_error) ((struct __pyx_vtabstruct_19dependency_injector_9providers_List *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._copy_overridings(((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_self), ((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_copied), ((PyObject*)__pyx_v_memo), 0); @@ -53105,7 +50833,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_2__deepcopy__(s * * def __str__(self): */ - __Pyx_TraceLine(2693,0,__PYX_ERR(1, 2693, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -53130,7 +50857,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_2__deepcopy__(s __pyx_L0:; __Pyx_XDECREF(__pyx_v_copied); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -53162,7 +50888,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_4List_5__str__(PyObje static PyObject *__pyx_pf_19dependency_injector_9providers_4List_4__str__(struct __pyx_obj_19dependency_injector_9providers_List *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -53170,7 +50895,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_4__str__(struct const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__str__", 0); - __Pyx_TraceCall("__str__", __pyx_f[1], 2695, 0, __PYX_ERR(1, 2695, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2700 * :rtype: str @@ -53179,7 +50903,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_4__str__(struct * * @property */ - __Pyx_TraceLine(2700,0,__PYX_ERR(1, 2700, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_args); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2700, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -53209,7 +50932,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_4__str__(struct __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -53240,7 +50962,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_4args___get__(s struct __pyx_obj_19dependency_injector_9providers_PositionalInjection *__pyx_v_arg = 0; PyObject *__pyx_v_args = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -53251,7 +50972,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_4args___get__(s const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 2703, 0, __PYX_ERR(1, 2703, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2709 * cdef list args @@ -53260,7 +50980,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_4args___get__(s * for index in range(self.__args_len): * arg = self.__args[index] */ - __Pyx_TraceLine(2709,0,__PYX_ERR(1, 2709, __pyx_L1_error)) __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2709, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_args = ((PyObject*)__pyx_t_1); @@ -53273,7 +50992,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_4args___get__(s * arg = self.__args[index] * args.append(arg.__value) */ - __Pyx_TraceLine(2710,0,__PYX_ERR(1, 2710, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___args_len; __pyx_t_3 = __pyx_t_2; for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { @@ -53286,7 +51004,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_4args___get__(s * args.append(arg.__value) * return tuple(args) */ - __Pyx_TraceLine(2711,0,__PYX_ERR(1, 2711, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___args == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 2711, __pyx_L1_error) @@ -53304,7 +51021,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_4args___get__(s * return tuple(args) * */ - __Pyx_TraceLine(2712,0,__PYX_ERR(1, 2712, __pyx_L1_error)) __pyx_t_1 = __pyx_v_arg->__pyx_base.__pyx___value; __Pyx_INCREF(__pyx_t_1); __pyx_t_5 = __Pyx_PyList_Append(__pyx_v_args, __pyx_t_1); if (unlikely(__pyx_t_5 == ((int)-1))) __PYX_ERR(1, 2712, __pyx_L1_error) @@ -53318,7 +51034,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_4args___get__(s * * def add_args(self, *args): */ - __Pyx_TraceLine(2713,0,__PYX_ERR(1, 2713, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyList_AsTuple(__pyx_v_args); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2713, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -53343,7 +51058,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_4args___get__(s __Pyx_XDECREF((PyObject *)__pyx_v_arg); __Pyx_XDECREF(__pyx_v_args); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -53377,7 +51091,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_4List_7add_args(PyObj static PyObject *__pyx_pf_19dependency_injector_9providers_4List_6add_args(struct __pyx_obj_19dependency_injector_9providers_List *__pyx_v_self, PyObject *__pyx_v_args) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -53386,7 +51099,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_6add_args(struc const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("add_args", 0); - __Pyx_TraceCall("add_args", __pyx_f[1], 2715, 0, __PYX_ERR(1, 2715, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2720 * :return: Reference ``self`` @@ -53395,7 +51107,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_6add_args(struc * self.__args_len = len(self.__args) * return self */ - __Pyx_TraceLine(2720,0,__PYX_ERR(1, 2720, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers_parse_positional_injections(__pyx_v_args, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2720, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyNumber_InPlaceAdd(__pyx_v_self->__pyx___args, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2720, __pyx_L1_error) @@ -53414,7 +51125,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_6add_args(struc * return self * */ - __Pyx_TraceLine(2721,0,__PYX_ERR(1, 2721, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___args; __Pyx_INCREF(__pyx_t_2); if (unlikely(__pyx_t_2 == Py_None)) { @@ -53432,7 +51142,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_6add_args(struc * * def set_args(self, *args): */ - __Pyx_TraceLine(2722,0,__PYX_ERR(1, 2722, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -53454,7 +51163,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_6add_args(struc __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -53488,7 +51196,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_4List_9set_args(PyObj static PyObject *__pyx_pf_19dependency_injector_9providers_4List_8set_args(struct __pyx_obj_19dependency_injector_9providers_List *__pyx_v_self, PyObject *__pyx_v_args) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; @@ -53496,7 +51203,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_8set_args(struc const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("set_args", 0); - __Pyx_TraceCall("set_args", __pyx_f[1], 2724, 0, __PYX_ERR(1, 2724, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2731 * :return: Reference ``self`` @@ -53505,7 +51211,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_8set_args(struc * self.__args_len = len(self.__args) * return self */ - __Pyx_TraceLine(2731,0,__PYX_ERR(1, 2731, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers_parse_positional_injections(__pyx_v_args, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2731, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -53521,7 +51226,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_8set_args(struc * return self * */ - __Pyx_TraceLine(2732,0,__PYX_ERR(1, 2732, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___args; __Pyx_INCREF(__pyx_t_1); if (unlikely(__pyx_t_1 == Py_None)) { @@ -53539,7 +51243,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_8set_args(struc * * def clear_args(self): */ - __Pyx_TraceLine(2733,0,__PYX_ERR(1, 2733, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -53560,7 +51263,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_8set_args(struc __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -53589,7 +51291,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_4List_11clear_args(Py static PyObject *__pyx_pf_19dependency_injector_9providers_4List_10clear_args(struct __pyx_obj_19dependency_injector_9providers_List *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; @@ -53597,7 +51298,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_10clear_args(st const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("clear_args", 0); - __Pyx_TraceCall("clear_args", __pyx_f[1], 2735, 0, __PYX_ERR(1, 2735, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2740 * :return: Reference ``self`` @@ -53606,7 +51306,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_10clear_args(st * self.__args_len = len(self.__args) * return self */ - __Pyx_TraceLine(2740,0,__PYX_ERR(1, 2740, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_CallNoArg(((PyObject *)(&PyTuple_Type))); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2740, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -53622,7 +51321,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_10clear_args(st * return self * */ - __Pyx_TraceLine(2741,0,__PYX_ERR(1, 2741, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___args; __Pyx_INCREF(__pyx_t_1); if (unlikely(__pyx_t_1 == Py_None)) { @@ -53640,7 +51338,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_10clear_args(st * * cpdef object _provide(self, tuple args, dict kwargs): */ - __Pyx_TraceLine(2742,0,__PYX_ERR(1, 2742, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -53661,7 +51358,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_10clear_args(st __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -53677,7 +51373,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_10clear_args(st static PyObject *__pyx_pw_19dependency_injector_9providers_4List_13_provide(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ static PyObject *__pyx_f_19dependency_injector_9providers_4List__provide(struct __pyx_obj_19dependency_injector_9providers_List *__pyx_v_self, PyObject *__pyx_v_args, CYTHON_UNUSED PyObject *__pyx_v_kwargs, int __pyx_skip_dispatch) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -53689,7 +51384,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_4List__provide(struct const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide", __pyx_f[1], 2744, 0, __PYX_ERR(1, 2744, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -53774,7 +51468,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_4List__provide(struct * * */ - __Pyx_TraceLine(2746,0,__PYX_ERR(1, 2746, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_v_self->__pyx___args; __Pyx_INCREF(__pyx_t_1); @@ -53807,7 +51500,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_4List__provide(struct __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -53885,14 +51577,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_4List_13_provide(PyOb static PyObject *__pyx_pf_19dependency_injector_9providers_4List_12_provide(struct __pyx_obj_19dependency_injector_9providers_List *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide (wrapper)", __pyx_f[1], 2744, 0, __PYX_ERR(1, 2744, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_4List__provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2744, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -53907,7 +51597,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_12_provide(stru __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -53936,7 +51625,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_14__reduce_cyth PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -53948,7 +51636,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_14__reduce_cyth const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -53957,7 +51644,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_14__reduce_cyth * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx___args_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -53989,7 +51675,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_14__reduce_cyth * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_3 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_v__dict = __pyx_t_3; @@ -54002,7 +51687,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_14__reduce_cyth * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_4 = (__pyx_v__dict != Py_None); __pyx_t_5 = (__pyx_t_4 != 0); if (__pyx_t_5) { @@ -54014,7 +51698,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_14__reduce_cyth * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(__pyx_v__dict); @@ -54033,7 +51716,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_14__reduce_cyth * else: * use_setstate = self.__args is not None or self.__last_overriding is not None or self.__overridden is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -54053,7 +51735,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_14__reduce_cyth * if use_setstate: * return __pyx_unpickle_List, (type(self), 0x42b6146, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_4 = (__pyx_v_self->__pyx___args != ((PyObject*)Py_None)); __pyx_t_6 = (__pyx_t_4 != 0); @@ -54084,7 +51765,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_14__reduce_cyth * return __pyx_unpickle_List, (type(self), 0x42b6146, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_5 = (__pyx_v_use_setstate != 0); if (__pyx_t_5) { @@ -54095,7 +51775,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_14__reduce_cyth * else: * return __pyx_unpickle_List, (type(self), 0x42b6146, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pyx_unpickle_List); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -54141,7 +51820,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_14__reduce_cyth * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_List__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_List); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -54187,7 +51865,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_14__reduce_cyth __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -54214,21 +51891,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_4List_17__setstate_cy static PyObject *__pyx_pf_19dependency_injector_9providers_4List_16__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_List *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_List, (type(self), 0x42b6146, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_List__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_List__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -54250,7 +51924,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4List_16__setstate_cy __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -54333,7 +52006,6 @@ static int __pyx_pw_19dependency_injector_9providers_4Dict_1__init__(PyObject *_ static int __pyx_pf_19dependency_injector_9providers_4Dict___init__(struct __pyx_obj_19dependency_injector_9providers_Dict *__pyx_v_self, PyObject *__pyx_v_dict_, PyObject *__pyx_v_kwargs) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -54342,7 +52014,6 @@ static int __pyx_pf_19dependency_injector_9providers_4Dict___init__(struct __pyx const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 2779, 0, __PYX_ERR(1, 2779, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2781 * def __init__(self, dict_=None, **kwargs): @@ -54351,7 +52022,6 @@ static int __pyx_pf_19dependency_injector_9providers_4Dict___init__(struct __pyx * self.__kwargs_len = 0 * self.add_kwargs(dict_, **kwargs) */ - __Pyx_TraceLine(2781,0,__PYX_ERR(1, 2781, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_CallNoArg(((PyObject *)(&PyTuple_Type))); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2781, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -54367,7 +52037,6 @@ static int __pyx_pf_19dependency_injector_9providers_4Dict___init__(struct __pyx * self.add_kwargs(dict_, **kwargs) * super(Dict, self).__init__() */ - __Pyx_TraceLine(2782,0,__PYX_ERR(1, 2782, __pyx_L1_error)) __pyx_v_self->__pyx___kwargs_len = 0; /* "dependency_injector/providers.pyx":2783 @@ -54377,7 +52046,6 @@ static int __pyx_pf_19dependency_injector_9providers_4Dict___init__(struct __pyx * super(Dict, self).__init__() * */ - __Pyx_TraceLine(2783,0,__PYX_ERR(1, 2783, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_add_kwargs); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2783, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2783, __pyx_L1_error) @@ -54398,7 +52066,6 @@ static int __pyx_pf_19dependency_injector_9providers_4Dict___init__(struct __pyx * * def __deepcopy__(self, memo): */ - __Pyx_TraceLine(2784,0,__PYX_ERR(1, 2784, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2784, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Dict)); @@ -54448,7 +52115,6 @@ static int __pyx_pf_19dependency_injector_9providers_4Dict___init__(struct __pyx __Pyx_AddTraceback("dependency_injector.providers.Dict.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -54478,7 +52144,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_4Dict_3__deepcopy__(P static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_2__deepcopy__(struct __pyx_obj_19dependency_injector_9providers_Dict *__pyx_v_self, PyObject *__pyx_v_memo) { PyObject *__pyx_v_copied = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -54491,7 +52156,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_2__deepcopy__(s const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[1], 2786, 0, __PYX_ERR(1, 2786, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2788 * def __deepcopy__(self, memo): @@ -54500,7 +52164,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_2__deepcopy__(s * if copied is not None: * return copied */ - __Pyx_TraceLine(2788,0,__PYX_ERR(1, 2788, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2788, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2788, __pyx_L1_error) @@ -54531,7 +52194,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_2__deepcopy__(s * return copied * */ - __Pyx_TraceLine(2789,0,__PYX_ERR(1, 2789, __pyx_L1_error)) __pyx_t_5 = (__pyx_v_copied != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -54543,7 +52205,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_2__deepcopy__(s * * copied = self.__class__(deepcopy(self.kwargs, memo)) */ - __Pyx_TraceLine(2790,0,__PYX_ERR(1, 2790, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -54565,7 +52226,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_2__deepcopy__(s * self._copy_overridings(copied, memo) * */ - __Pyx_TraceLine(2792,0,__PYX_ERR(1, 2792, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2792, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_kwargs); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2792, __pyx_L1_error) @@ -54602,7 +52262,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_2__deepcopy__(s * * return copied */ - __Pyx_TraceLine(2793,0,__PYX_ERR(1, 2793, __pyx_L1_error)) if (!(likely(((__pyx_v_copied) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_copied, __pyx_ptype_19dependency_injector_9providers_Provider))))) __PYX_ERR(1, 2793, __pyx_L1_error) if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 2793, __pyx_L1_error) ((struct __pyx_vtabstruct_19dependency_injector_9providers_Dict *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._copy_overridings(((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_self), ((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_copied), ((PyObject*)__pyx_v_memo), 0); @@ -54614,7 +52273,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_2__deepcopy__(s * * def __str__(self): */ - __Pyx_TraceLine(2795,0,__PYX_ERR(1, 2795, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -54639,7 +52297,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_2__deepcopy__(s __pyx_L0:; __Pyx_XDECREF(__pyx_v_copied); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -54671,7 +52328,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_4Dict_5__str__(PyObje static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_4__str__(struct __pyx_obj_19dependency_injector_9providers_Dict *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -54679,7 +52335,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_4__str__(struct const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__str__", 0); - __Pyx_TraceCall("__str__", __pyx_f[1], 2797, 0, __PYX_ERR(1, 2797, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2802 * :rtype: str @@ -54688,7 +52343,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_4__str__(struct * * @property */ - __Pyx_TraceLine(2802,0,__PYX_ERR(1, 2802, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_kwargs); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2802, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -54715,7 +52369,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_4__str__(struct __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -54746,7 +52399,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_6kwargs___get__ struct __pyx_obj_19dependency_injector_9providers_NamedInjection *__pyx_v_kwarg = 0; PyObject *__pyx_v_kwargs = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -54756,7 +52408,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_6kwargs___get__ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 2805, 0, __PYX_ERR(1, 2805, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2811 * cdef dict kwargs @@ -54765,7 +52416,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_6kwargs___get__ * for index in range(self.__kwargs_len): * kwarg = self.__kwargs[index] */ - __Pyx_TraceLine(2811,0,__PYX_ERR(1, 2811, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2811, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_kwargs = ((PyObject*)__pyx_t_1); @@ -54778,7 +52428,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_6kwargs___get__ * kwarg = self.__kwargs[index] * kwargs[kwarg.__name] = kwarg.__value */ - __Pyx_TraceLine(2812,0,__PYX_ERR(1, 2812, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___kwargs_len; __pyx_t_3 = __pyx_t_2; for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { @@ -54791,7 +52440,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_6kwargs___get__ * kwargs[kwarg.__name] = kwarg.__value * return kwargs */ - __Pyx_TraceLine(2813,0,__PYX_ERR(1, 2813, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___kwargs == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 2813, __pyx_L1_error) @@ -54809,7 +52457,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_6kwargs___get__ * return kwargs * */ - __Pyx_TraceLine(2814,0,__PYX_ERR(1, 2814, __pyx_L1_error)) __pyx_t_1 = __pyx_v_kwarg->__pyx_base.__pyx___value; __Pyx_INCREF(__pyx_t_1); if (unlikely(PyDict_SetItem(__pyx_v_kwargs, __pyx_v_kwarg->__pyx___name, __pyx_t_1) < 0)) __PYX_ERR(1, 2814, __pyx_L1_error) @@ -54823,7 +52470,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_6kwargs___get__ * * def add_kwargs(self, dict_=None, **kwargs): */ - __Pyx_TraceLine(2815,0,__PYX_ERR(1, 2815, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_kwargs); __pyx_r = __pyx_v_kwargs; @@ -54846,7 +52492,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_6kwargs___get__ __Pyx_XDECREF((PyObject *)__pyx_v_kwarg); __Pyx_XDECREF(__pyx_v_kwargs); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -54926,7 +52571,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_4Dict_7add_kwargs(PyO static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_6add_kwargs(struct __pyx_obj_19dependency_injector_9providers_Dict *__pyx_v_self, PyObject *__pyx_v_dict_, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -54937,7 +52581,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_6add_kwargs(str const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("add_kwargs", 0); - __Pyx_TraceCall("add_kwargs", __pyx_f[1], 2817, 0, __PYX_ERR(1, 2817, __pyx_L1_error)); __Pyx_INCREF(__pyx_v_dict_); /* "dependency_injector/providers.pyx":2822 @@ -54947,7 +52590,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_6add_kwargs(str * dict_ = {} * */ - __Pyx_TraceLine(2822,0,__PYX_ERR(1, 2822, __pyx_L1_error)) __pyx_t_1 = (__pyx_v_dict_ == Py_None); __pyx_t_2 = (__pyx_t_1 != 0); if (__pyx_t_2) { @@ -54959,7 +52601,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_6add_kwargs(str * * self.__kwargs += parse_named_injections(dict_) */ - __Pyx_TraceLine(2823,0,__PYX_ERR(1, 2823, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2823, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF_SET(__pyx_v_dict_, __pyx_t_3); @@ -54981,7 +52622,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_6add_kwargs(str * self.__kwargs += parse_named_injections(kwargs) * self.__kwargs_len = len(self.__kwargs) */ - __Pyx_TraceLine(2825,0,__PYX_ERR(1, 2825, __pyx_L1_error)) if (!(likely(PyDict_CheckExact(__pyx_v_dict_))||((__pyx_v_dict_) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_dict_)->tp_name), 0))) __PYX_ERR(1, 2825, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers_parse_named_injections(((PyObject*)__pyx_v_dict_), 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2825, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -55001,7 +52641,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_6add_kwargs(str * self.__kwargs_len = len(self.__kwargs) * */ - __Pyx_TraceLine(2826,0,__PYX_ERR(1, 2826, __pyx_L1_error)) __pyx_t_4 = __pyx_f_19dependency_injector_9providers_parse_named_injections(__pyx_v_kwargs, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2826, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_3 = PyNumber_InPlaceAdd(__pyx_v_self->__pyx___kwargs, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2826, __pyx_L1_error) @@ -55020,7 +52659,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_6add_kwargs(str * * return self */ - __Pyx_TraceLine(2827,0,__PYX_ERR(1, 2827, __pyx_L1_error)) __pyx_t_3 = __pyx_v_self->__pyx___kwargs; __Pyx_INCREF(__pyx_t_3); if (unlikely(__pyx_t_3 == Py_None)) { @@ -55038,7 +52676,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_6add_kwargs(str * * def set_kwargs(self, dict_=None, **kwargs): */ - __Pyx_TraceLine(2829,0,__PYX_ERR(1, 2829, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -55061,7 +52698,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_6add_kwargs(str __pyx_L0:; __Pyx_XDECREF(__pyx_v_dict_); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -55141,7 +52777,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_4Dict_9set_kwargs(PyO static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_8set_kwargs(struct __pyx_obj_19dependency_injector_9providers_Dict *__pyx_v_self, PyObject *__pyx_v_dict_, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -55152,7 +52787,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_8set_kwargs(str const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("set_kwargs", 0); - __Pyx_TraceCall("set_kwargs", __pyx_f[1], 2831, 0, __PYX_ERR(1, 2831, __pyx_L1_error)); __Pyx_INCREF(__pyx_v_dict_); /* "dependency_injector/providers.pyx":2838 @@ -55162,7 +52796,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_8set_kwargs(str * dict_ = {} * */ - __Pyx_TraceLine(2838,0,__PYX_ERR(1, 2838, __pyx_L1_error)) __pyx_t_1 = (__pyx_v_dict_ == Py_None); __pyx_t_2 = (__pyx_t_1 != 0); if (__pyx_t_2) { @@ -55174,7 +52807,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_8set_kwargs(str * * self.__kwargs = parse_named_injections(dict_) */ - __Pyx_TraceLine(2839,0,__PYX_ERR(1, 2839, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2839, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF_SET(__pyx_v_dict_, __pyx_t_3); @@ -55196,7 +52828,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_8set_kwargs(str * self.__kwargs += parse_named_injections(kwargs) * self.__kwargs_len = len(self.__kwargs) */ - __Pyx_TraceLine(2841,0,__PYX_ERR(1, 2841, __pyx_L1_error)) if (!(likely(PyDict_CheckExact(__pyx_v_dict_))||((__pyx_v_dict_) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_dict_)->tp_name), 0))) __PYX_ERR(1, 2841, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers_parse_named_injections(((PyObject*)__pyx_v_dict_), 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2841, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -55213,7 +52844,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_8set_kwargs(str * self.__kwargs_len = len(self.__kwargs) * */ - __Pyx_TraceLine(2842,0,__PYX_ERR(1, 2842, __pyx_L1_error)) __pyx_t_3 = __pyx_f_19dependency_injector_9providers_parse_named_injections(__pyx_v_kwargs, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2842, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = PyNumber_InPlaceAdd(__pyx_v_self->__pyx___kwargs, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2842, __pyx_L1_error) @@ -55232,7 +52862,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_8set_kwargs(str * * return self */ - __Pyx_TraceLine(2843,0,__PYX_ERR(1, 2843, __pyx_L1_error)) __pyx_t_4 = __pyx_v_self->__pyx___kwargs; __Pyx_INCREF(__pyx_t_4); if (unlikely(__pyx_t_4 == Py_None)) { @@ -55250,7 +52879,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_8set_kwargs(str * * def clear_kwargs(self): */ - __Pyx_TraceLine(2845,0,__PYX_ERR(1, 2845, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -55273,7 +52901,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_8set_kwargs(str __pyx_L0:; __Pyx_XDECREF(__pyx_v_dict_); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -55302,7 +52929,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_4Dict_11clear_kwargs( static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_10clear_kwargs(struct __pyx_obj_19dependency_injector_9providers_Dict *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; @@ -55310,7 +52936,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_10clear_kwargs( const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("clear_kwargs", 0); - __Pyx_TraceCall("clear_kwargs", __pyx_f[1], 2847, 0, __PYX_ERR(1, 2847, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2852 * :return: Reference ``self`` @@ -55319,7 +52944,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_10clear_kwargs( * self.__kwargs_len = len(self.__kwargs) * return self */ - __Pyx_TraceLine(2852,0,__PYX_ERR(1, 2852, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_CallNoArg(((PyObject *)(&PyTuple_Type))); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2852, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -55335,7 +52959,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_10clear_kwargs( * return self * */ - __Pyx_TraceLine(2853,0,__PYX_ERR(1, 2853, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___kwargs; __Pyx_INCREF(__pyx_t_1); if (unlikely(__pyx_t_1 == Py_None)) { @@ -55353,7 +52976,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_10clear_kwargs( * * cpdef object _provide(self, tuple args, dict kwargs): */ - __Pyx_TraceLine(2854,0,__PYX_ERR(1, 2854, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -55374,7 +52996,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_10clear_kwargs( __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -55390,7 +53011,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_10clear_kwargs( static PyObject *__pyx_pw_19dependency_injector_9providers_4Dict_13_provide(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ static PyObject *__pyx_f_19dependency_injector_9providers_4Dict__provide(struct __pyx_obj_19dependency_injector_9providers_Dict *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs, int __pyx_skip_dispatch) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -55402,7 +53022,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_4Dict__provide(struct const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide", __pyx_f[1], 2856, 0, __PYX_ERR(1, 2856, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -55487,7 +53106,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_4Dict__provide(struct * * */ - __Pyx_TraceLine(2858,0,__PYX_ERR(1, 2858, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_v_self->__pyx___kwargs; __Pyx_INCREF(__pyx_t_1); @@ -55517,7 +53135,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_4Dict__provide(struct __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -55595,14 +53212,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_4Dict_13_provide(PyOb static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_12_provide(struct __pyx_obj_19dependency_injector_9providers_Dict *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide (wrapper)", __pyx_f[1], 2856, 0, __PYX_ERR(1, 2856, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_4Dict__provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2856, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -55617,7 +53232,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_12_provide(stru __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -55646,7 +53260,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_14__reduce_cyth PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -55658,7 +53271,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_14__reduce_cyth const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -55667,7 +53279,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_14__reduce_cyth * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx___kwargs_len); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -55699,7 +53310,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_14__reduce_cyth * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_3 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_v__dict = __pyx_t_3; @@ -55712,7 +53322,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_14__reduce_cyth * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_4 = (__pyx_v__dict != Py_None); __pyx_t_5 = (__pyx_t_4 != 0); if (__pyx_t_5) { @@ -55724,7 +53333,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_14__reduce_cyth * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(__pyx_v__dict); @@ -55743,7 +53351,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_14__reduce_cyth * else: * use_setstate = self.__kwargs is not None or self.__last_overriding is not None or self.__overridden is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -55763,7 +53370,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_14__reduce_cyth * if use_setstate: * return __pyx_unpickle_Dict, (type(self), 0xff73c9f, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_4 = (__pyx_v_self->__pyx___kwargs != ((PyObject*)Py_None)); __pyx_t_6 = (__pyx_t_4 != 0); @@ -55794,7 +53400,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_14__reduce_cyth * return __pyx_unpickle_Dict, (type(self), 0xff73c9f, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_5 = (__pyx_v_use_setstate != 0); if (__pyx_t_5) { @@ -55805,7 +53410,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_14__reduce_cyth * else: * return __pyx_unpickle_Dict, (type(self), 0xff73c9f, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pyx_unpickle_Dict); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -55851,7 +53455,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_14__reduce_cyth * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Dict__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_Dict); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -55897,7 +53500,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_14__reduce_cyth __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -55924,21 +53526,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_4Dict_17__setstate_cy static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_16__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_Dict *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_Dict, (type(self), 0xff73c9f, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Dict__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Dict__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -55960,7 +53559,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_4Dict_16__setstate_cy __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -56048,7 +53646,6 @@ static int __pyx_pw_19dependency_injector_9providers_8Resource_1__init__(PyObjec static int __pyx_pf_19dependency_injector_9providers_8Resource___init__(struct __pyx_obj_19dependency_injector_9providers_Resource *__pyx_v_self, PyObject *__pyx_v_initializer, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -56057,7 +53654,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Resource___init__(struct _ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 2864, 0, __PYX_ERR(1, 2864, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2865 * @@ -56066,7 +53662,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Resource___init__(struct _ * self.__initialized = False * self.__resource = None */ - __Pyx_TraceLine(2865,0,__PYX_ERR(1, 2865, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_initializer); __Pyx_GIVEREF(__pyx_v_initializer); __Pyx_GOTREF(__pyx_v_self->__pyx___initializer); @@ -56080,7 +53675,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Resource___init__(struct _ * self.__resource = None * self.__shutdowner = None */ - __Pyx_TraceLine(2866,0,__PYX_ERR(1, 2866, __pyx_L1_error)) __pyx_v_self->__pyx___initialized = 0; /* "dependency_injector/providers.pyx":2867 @@ -56090,7 +53684,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Resource___init__(struct _ * self.__shutdowner = None * */ - __Pyx_TraceLine(2867,0,__PYX_ERR(1, 2867, __pyx_L1_error)) __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->__pyx___resource); @@ -56104,7 +53697,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Resource___init__(struct _ * * self.__args = tuple() */ - __Pyx_TraceLine(2868,0,__PYX_ERR(1, 2868, __pyx_L1_error)) __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->__pyx___shutdowner); @@ -56118,7 +53710,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Resource___init__(struct _ * self.__args_len = 0 * self.set_args(*args) */ - __Pyx_TraceLine(2870,0,__PYX_ERR(1, 2870, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_CallNoArg(((PyObject *)(&PyTuple_Type))); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2870, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -56134,7 +53725,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Resource___init__(struct _ * self.set_args(*args) * */ - __Pyx_TraceLine(2871,0,__PYX_ERR(1, 2871, __pyx_L1_error)) __pyx_v_self->__pyx___args_len = 0; /* "dependency_injector/providers.pyx":2872 @@ -56144,7 +53734,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Resource___init__(struct _ * * self.__kwargs = tuple() */ - __Pyx_TraceLine(2872,0,__PYX_ERR(1, 2872, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_set_args); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2872, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_v_args, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2872, __pyx_L1_error) @@ -56159,7 +53748,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Resource___init__(struct _ * self.__kwargs_len = 0 * self.set_kwargs(**kwargs) */ - __Pyx_TraceLine(2874,0,__PYX_ERR(1, 2874, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_CallNoArg(((PyObject *)(&PyTuple_Type))); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2874, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_GIVEREF(__pyx_t_2); @@ -56175,7 +53763,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Resource___init__(struct _ * self.set_kwargs(**kwargs) * */ - __Pyx_TraceLine(2875,0,__PYX_ERR(1, 2875, __pyx_L1_error)) __pyx_v_self->__pyx___kwargs_len = 0; /* "dependency_injector/providers.pyx":2876 @@ -56185,7 +53772,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Resource___init__(struct _ * * super().__init__() */ - __Pyx_TraceLine(2876,0,__PYX_ERR(1, 2876, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_set_kwargs); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2876, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_empty_tuple, __pyx_v_kwargs); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2876, __pyx_L1_error) @@ -56200,7 +53786,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Resource___init__(struct _ * * def __deepcopy__(self, memo): */ - __Pyx_TraceLine(2878,0,__PYX_ERR(1, 2878, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2878, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Resource)); @@ -56250,7 +53835,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Resource___init__(struct _ __Pyx_AddTraceback("dependency_injector.providers.Resource.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -56280,7 +53864,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Resource_3__deepcopy static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_2__deepcopy__(struct __pyx_obj_19dependency_injector_9providers_Resource *__pyx_v_self, PyObject *__pyx_v_memo) { PyObject *__pyx_v_copied = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -56294,7 +53877,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_2__deepcopy const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[1], 2880, 0, __PYX_ERR(1, 2880, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2882 * def __deepcopy__(self, memo): @@ -56303,7 +53885,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_2__deepcopy * if copied is not None: * return copied */ - __Pyx_TraceLine(2882,0,__PYX_ERR(1, 2882, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2882, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2882, __pyx_L1_error) @@ -56334,7 +53915,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_2__deepcopy * return copied * */ - __Pyx_TraceLine(2883,0,__PYX_ERR(1, 2883, __pyx_L1_error)) __pyx_t_5 = (__pyx_v_copied != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -56346,7 +53926,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_2__deepcopy * * if self.__initialized: */ - __Pyx_TraceLine(2884,0,__PYX_ERR(1, 2884, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -56368,7 +53947,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_2__deepcopy * raise Error('Can not copy initialized resource') * */ - __Pyx_TraceLine(2886,0,__PYX_ERR(1, 2886, __pyx_L1_error)) __pyx_t_6 = (__pyx_v_self->__pyx___initialized != 0); if (unlikely(__pyx_t_6)) { @@ -56379,7 +53957,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_2__deepcopy * * copied = self.__class__( */ - __Pyx_TraceLine(2887,0,__PYX_ERR(1, 2887, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_Error); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2887, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -56417,7 +53994,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_2__deepcopy * self.__initializer, * *deepcopy(self.args, memo), */ - __Pyx_TraceLine(2889,0,__PYX_ERR(1, 2889, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2889, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -56428,7 +54004,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_2__deepcopy * *deepcopy(self.args, memo), * **deepcopy(self.kwargs, memo), */ - __Pyx_TraceLine(2890,0,__PYX_ERR(1, 2890, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2889, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v_self->__pyx___initializer); @@ -56442,7 +54017,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_2__deepcopy * **deepcopy(self.kwargs, memo), * ) */ - __Pyx_TraceLine(2891,0,__PYX_ERR(1, 2891, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_args); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2891, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 2891, __pyx_L1_error) @@ -56459,7 +54033,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_2__deepcopy * self.__initializer, * *deepcopy(self.args, memo), */ - __Pyx_TraceLine(2889,0,__PYX_ERR(1, 2889, __pyx_L1_error)) __pyx_t_3 = __Pyx_PySequence_Tuple(__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 2889, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; @@ -56475,7 +54048,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_2__deepcopy * ) * self._copy_overridings(copied, memo) */ - __Pyx_TraceLine(2892,0,__PYX_ERR(1, 2892, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_kwargs); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2892, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 2892, __pyx_L1_error) @@ -56505,7 +54077,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_2__deepcopy * self.__initializer, * *deepcopy(self.args, memo), */ - __Pyx_TraceLine(2889,0,__PYX_ERR(1, 2889, __pyx_L1_error)) __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 2889, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -56521,7 +54092,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_2__deepcopy * * return copied */ - __Pyx_TraceLine(2894,0,__PYX_ERR(1, 2894, __pyx_L1_error)) if (!(likely(((__pyx_v_copied) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_copied, __pyx_ptype_19dependency_injector_9providers_Provider))))) __PYX_ERR(1, 2894, __pyx_L1_error) if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 2894, __pyx_L1_error) ((struct __pyx_vtabstruct_19dependency_injector_9providers_Resource *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._copy_overridings(((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_self), ((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_copied), ((PyObject*)__pyx_v_memo), 0); @@ -56533,7 +54103,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_2__deepcopy * * def __repr__(self): */ - __Pyx_TraceLine(2896,0,__PYX_ERR(1, 2896, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -56559,7 +54128,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_2__deepcopy __pyx_L0:; __Pyx_XDECREF(__pyx_v_copied); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -56587,7 +54155,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Resource_5__repr__(P static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_4__repr__(struct __pyx_obj_19dependency_injector_9providers_Resource *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; @@ -56598,7 +54165,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_4__repr__(s const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__repr__", 0); - __Pyx_TraceCall("__repr__", __pyx_f[1], 2898, 0, __PYX_ERR(1, 2898, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2899 * @@ -56607,7 +54173,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_4__repr__(s * f'{self.__class__.__name__}({self.__initializer}, ' * f'initialized={self.__initialized})' */ - __Pyx_TraceLine(2899,0,__PYX_ERR(1, 2899, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); /* "dependency_injector/providers.pyx":2900 @@ -56617,7 +54182,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_4__repr__(s * f'initialized={self.__initialized})' * ) */ - __Pyx_TraceLine(2900,0,__PYX_ERR(1, 2900, __pyx_L1_error)) __pyx_t_1 = PyTuple_New(6); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2900, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = 0; @@ -56635,10 +54199,10 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_4__repr__(s __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_4); __pyx_t_4 = 0; - __Pyx_INCREF(__pyx_kp_u__25); + __Pyx_INCREF(__pyx_kp_u__21); __pyx_t_2 += 1; - __Pyx_GIVEREF(__pyx_kp_u__25); - PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_kp_u__25); + __Pyx_GIVEREF(__pyx_kp_u__21); + PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_kp_u__21); __pyx_t_4 = __Pyx_PyObject_FormatSimple(__pyx_v_self->__pyx___initializer, __pyx_empty_unicode); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2900, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_3 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_4) > __pyx_t_3) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_4) : __pyx_t_3; @@ -56658,17 +54222,16 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_4__repr__(s * ) * */ - __Pyx_TraceLine(2901,0,__PYX_ERR(1, 2901, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyUnicode_FromBInt_int(__pyx_v_self->__pyx___initialized); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2901, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_2 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_4); __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_1, 4, __pyx_t_4); __pyx_t_4 = 0; - __Pyx_INCREF(__pyx_kp_u__26); + __Pyx_INCREF(__pyx_kp_u__22); __pyx_t_2 += 1; - __Pyx_GIVEREF(__pyx_kp_u__26); - PyTuple_SET_ITEM(__pyx_t_1, 5, __pyx_kp_u__26); + __Pyx_GIVEREF(__pyx_kp_u__22); + PyTuple_SET_ITEM(__pyx_t_1, 5, __pyx_kp_u__22); /* "dependency_injector/providers.pyx":2900 * def __repr__(self): @@ -56677,7 +54240,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_4__repr__(s * f'initialized={self.__initialized})' * ) */ - __Pyx_TraceLine(2900,0,__PYX_ERR(1, 2900, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyUnicode_Join(__pyx_t_1, 6, __pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2900, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -56702,7 +54264,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_4__repr__(s __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -56733,7 +54294,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_4args___get struct __pyx_obj_19dependency_injector_9providers_PositionalInjection *__pyx_v_arg = 0; PyObject *__pyx_v_args = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -56744,7 +54304,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_4args___get const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 2905, 0, __PYX_ERR(1, 2905, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2911 * cdef list args @@ -56753,7 +54312,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_4args___get * for index in range(self.__args_len): * arg = self.__args[index] */ - __Pyx_TraceLine(2911,0,__PYX_ERR(1, 2911, __pyx_L1_error)) __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2911, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_args = ((PyObject*)__pyx_t_1); @@ -56766,7 +54324,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_4args___get * arg = self.__args[index] * args.append(arg.__value) */ - __Pyx_TraceLine(2912,0,__PYX_ERR(1, 2912, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___args_len; __pyx_t_3 = __pyx_t_2; for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { @@ -56779,7 +54336,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_4args___get * args.append(arg.__value) * return tuple(args) */ - __Pyx_TraceLine(2913,0,__PYX_ERR(1, 2913, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___args == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 2913, __pyx_L1_error) @@ -56797,7 +54353,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_4args___get * return tuple(args) * */ - __Pyx_TraceLine(2914,0,__PYX_ERR(1, 2914, __pyx_L1_error)) __pyx_t_1 = __pyx_v_arg->__pyx_base.__pyx___value; __Pyx_INCREF(__pyx_t_1); __pyx_t_5 = __Pyx_PyList_Append(__pyx_v_args, __pyx_t_1); if (unlikely(__pyx_t_5 == ((int)-1))) __PYX_ERR(1, 2914, __pyx_L1_error) @@ -56811,7 +54366,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_4args___get * * def add_args(self, *args): */ - __Pyx_TraceLine(2915,0,__PYX_ERR(1, 2915, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyList_AsTuple(__pyx_v_args); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2915, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -56836,7 +54390,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_4args___get __Pyx_XDECREF((PyObject *)__pyx_v_arg); __Pyx_XDECREF(__pyx_v_args); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -56870,7 +54423,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Resource_7add_args(P static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_6add_args(struct __pyx_obj_19dependency_injector_9providers_Resource *__pyx_v_self, PyObject *__pyx_v_args) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -56879,7 +54431,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_6add_args(s const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("add_args", 0); - __Pyx_TraceCall("add_args", __pyx_f[1], 2917, 0, __PYX_ERR(1, 2917, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2922 * :return: Reference ``self`` @@ -56888,7 +54439,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_6add_args(s * self.__args_len = len(self.__args) * return self */ - __Pyx_TraceLine(2922,0,__PYX_ERR(1, 2922, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers_parse_positional_injections(__pyx_v_args, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2922, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyNumber_InPlaceAdd(__pyx_v_self->__pyx___args, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2922, __pyx_L1_error) @@ -56907,7 +54457,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_6add_args(s * return self * */ - __Pyx_TraceLine(2923,0,__PYX_ERR(1, 2923, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___args; __Pyx_INCREF(__pyx_t_2); if (unlikely(__pyx_t_2 == Py_None)) { @@ -56925,7 +54474,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_6add_args(s * * def set_args(self, *args): */ - __Pyx_TraceLine(2924,0,__PYX_ERR(1, 2924, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -56947,7 +54495,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_6add_args(s __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -56981,7 +54528,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Resource_9set_args(P static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_8set_args(struct __pyx_obj_19dependency_injector_9providers_Resource *__pyx_v_self, PyObject *__pyx_v_args) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; @@ -56989,7 +54535,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_8set_args(s const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("set_args", 0); - __Pyx_TraceCall("set_args", __pyx_f[1], 2926, 0, __PYX_ERR(1, 2926, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2933 * :return: Reference ``self`` @@ -56998,7 +54543,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_8set_args(s * self.__args_len = len(self.__args) * return self */ - __Pyx_TraceLine(2933,0,__PYX_ERR(1, 2933, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers_parse_positional_injections(__pyx_v_args, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2933, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -57014,7 +54558,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_8set_args(s * return self * */ - __Pyx_TraceLine(2934,0,__PYX_ERR(1, 2934, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___args; __Pyx_INCREF(__pyx_t_1); if (unlikely(__pyx_t_1 == Py_None)) { @@ -57032,7 +54575,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_8set_args(s * * def clear_args(self): */ - __Pyx_TraceLine(2935,0,__PYX_ERR(1, 2935, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -57053,7 +54595,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_8set_args(s __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -57082,7 +54623,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Resource_11clear_arg static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_10clear_args(struct __pyx_obj_19dependency_injector_9providers_Resource *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; @@ -57090,7 +54630,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_10clear_arg const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("clear_args", 0); - __Pyx_TraceCall("clear_args", __pyx_f[1], 2937, 0, __PYX_ERR(1, 2937, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2942 * :return: Reference ``self`` @@ -57099,7 +54638,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_10clear_arg * self.__args_len = len(self.__args) * return self */ - __Pyx_TraceLine(2942,0,__PYX_ERR(1, 2942, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_CallNoArg(((PyObject *)(&PyTuple_Type))); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2942, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -57115,7 +54653,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_10clear_arg * return self * */ - __Pyx_TraceLine(2943,0,__PYX_ERR(1, 2943, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___args; __Pyx_INCREF(__pyx_t_1); if (unlikely(__pyx_t_1 == Py_None)) { @@ -57133,7 +54670,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_10clear_arg * * @property */ - __Pyx_TraceLine(2944,0,__PYX_ERR(1, 2944, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -57154,7 +54690,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_10clear_arg __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -57185,7 +54720,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_6kwargs___g struct __pyx_obj_19dependency_injector_9providers_NamedInjection *__pyx_v_kwarg = 0; PyObject *__pyx_v_kwargs = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -57195,7 +54729,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_6kwargs___g const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 2947, 0, __PYX_ERR(1, 2947, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2953 * cdef dict kwargs @@ -57204,7 +54737,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_6kwargs___g * for index in range(self.__kwargs_len): * kwarg = self.__kwargs[index] */ - __Pyx_TraceLine(2953,0,__PYX_ERR(1, 2953, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2953, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_kwargs = ((PyObject*)__pyx_t_1); @@ -57217,7 +54749,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_6kwargs___g * kwarg = self.__kwargs[index] * kwargs[kwarg.__name] = kwarg.__value */ - __Pyx_TraceLine(2954,0,__PYX_ERR(1, 2954, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___kwargs_len; __pyx_t_3 = __pyx_t_2; for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { @@ -57230,7 +54761,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_6kwargs___g * kwargs[kwarg.__name] = kwarg.__value * return kwargs */ - __Pyx_TraceLine(2955,0,__PYX_ERR(1, 2955, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___kwargs == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 2955, __pyx_L1_error) @@ -57248,7 +54778,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_6kwargs___g * return kwargs * */ - __Pyx_TraceLine(2956,0,__PYX_ERR(1, 2956, __pyx_L1_error)) __pyx_t_1 = __pyx_v_kwarg->__pyx_base.__pyx___value; __Pyx_INCREF(__pyx_t_1); if (unlikely(PyDict_SetItem(__pyx_v_kwargs, __pyx_v_kwarg->__pyx___name, __pyx_t_1) < 0)) __PYX_ERR(1, 2956, __pyx_L1_error) @@ -57262,7 +54791,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_6kwargs___g * * def add_kwargs(self, **kwargs): */ - __Pyx_TraceLine(2957,0,__PYX_ERR(1, 2957, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_kwargs); __pyx_r = __pyx_v_kwargs; @@ -57285,7 +54813,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_6kwargs___g __Pyx_XDECREF((PyObject *)__pyx_v_kwarg); __Pyx_XDECREF(__pyx_v_kwargs); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -57321,7 +54848,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Resource_13add_kwarg static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_12add_kwargs(struct __pyx_obj_19dependency_injector_9providers_Resource *__pyx_v_self, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -57330,7 +54856,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_12add_kwarg const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("add_kwargs", 0); - __Pyx_TraceCall("add_kwargs", __pyx_f[1], 2959, 0, __PYX_ERR(1, 2959, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2964 * :return: Reference ``self`` @@ -57339,7 +54864,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_12add_kwarg * self.__kwargs_len = len(self.__kwargs) * return self */ - __Pyx_TraceLine(2964,0,__PYX_ERR(1, 2964, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers_parse_named_injections(__pyx_v_kwargs, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2964, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyNumber_InPlaceAdd(__pyx_v_self->__pyx___kwargs, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2964, __pyx_L1_error) @@ -57358,7 +54882,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_12add_kwarg * return self * */ - __Pyx_TraceLine(2965,0,__PYX_ERR(1, 2965, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___kwargs; __Pyx_INCREF(__pyx_t_2); if (unlikely(__pyx_t_2 == Py_None)) { @@ -57376,7 +54899,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_12add_kwarg * * def set_kwargs(self, **kwargs): */ - __Pyx_TraceLine(2966,0,__PYX_ERR(1, 2966, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -57398,7 +54920,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_12add_kwarg __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -57434,7 +54955,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Resource_15set_kwarg static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_14set_kwargs(struct __pyx_obj_19dependency_injector_9providers_Resource *__pyx_v_self, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; @@ -57442,7 +54962,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_14set_kwarg const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("set_kwargs", 0); - __Pyx_TraceCall("set_kwargs", __pyx_f[1], 2968, 0, __PYX_ERR(1, 2968, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2975 * :return: Reference ``self`` @@ -57451,7 +54970,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_14set_kwarg * self.__kwargs_len = len(self.__kwargs) * return self */ - __Pyx_TraceLine(2975,0,__PYX_ERR(1, 2975, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers_parse_named_injections(__pyx_v_kwargs, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2975, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -57467,7 +54985,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_14set_kwarg * return self * */ - __Pyx_TraceLine(2976,0,__PYX_ERR(1, 2976, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___kwargs; __Pyx_INCREF(__pyx_t_1); if (unlikely(__pyx_t_1 == Py_None)) { @@ -57485,7 +55002,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_14set_kwarg * * def clear_kwargs(self): */ - __Pyx_TraceLine(2977,0,__PYX_ERR(1, 2977, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -57506,7 +55022,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_14set_kwarg __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -57535,7 +55050,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Resource_17clear_kwa static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_16clear_kwargs(struct __pyx_obj_19dependency_injector_9providers_Resource *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; @@ -57543,7 +55057,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_16clear_kwa const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("clear_kwargs", 0); - __Pyx_TraceCall("clear_kwargs", __pyx_f[1], 2979, 0, __PYX_ERR(1, 2979, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2984 * :return: Reference ``self`` @@ -57552,7 +55065,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_16clear_kwa * self.__kwargs_len = len(self.__kwargs) * return self */ - __Pyx_TraceLine(2984,0,__PYX_ERR(1, 2984, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_CallNoArg(((PyObject *)(&PyTuple_Type))); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2984, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -57568,7 +55080,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_16clear_kwa * return self * */ - __Pyx_TraceLine(2985,0,__PYX_ERR(1, 2985, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___kwargs; __Pyx_INCREF(__pyx_t_1); if (unlikely(__pyx_t_1 == Py_None)) { @@ -57586,7 +55097,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_16clear_kwa * * @property */ - __Pyx_TraceLine(2986,0,__PYX_ERR(1, 2986, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self)); __pyx_r = ((PyObject *)__pyx_v_self); @@ -57607,7 +55117,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_16clear_kwa __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -57635,14 +55144,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Resource_11initializ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_11initialized___get__(struct __pyx_obj_19dependency_injector_9providers_Resource *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 2989, 0, __PYX_ERR(1, 2989, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2991 * def initialized(self): @@ -57651,7 +55158,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_11initializ * * def init(self): */ - __Pyx_TraceLine(2991,0,__PYX_ERR(1, 2991, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->__pyx___initialized); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2991, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -57674,7 +55180,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_11initializ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -57703,7 +55208,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Resource_19init(PyOb static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_18init(struct __pyx_obj_19dependency_injector_9providers_Resource *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -57712,7 +55216,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_18init(stru const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("init", 0); - __Pyx_TraceCall("init", __pyx_f[1], 2993, 0, __PYX_ERR(1, 2993, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2995 * def init(self): @@ -57721,7 +55224,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_18init(stru * * def shutdown(self): */ - __Pyx_TraceLine(2995,0,__PYX_ERR(1, 2995, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_call); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2995, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -57761,7 +55263,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_18init(stru __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -57792,7 +55293,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_20shutdown( PyObject *__pyx_v_result = NULL; PyObject *__pyx_v_shutdown = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -57806,7 +55306,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_20shutdown( const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("shutdown", 0); - __Pyx_TraceCall("shutdown", __pyx_f[1], 2997, 0, __PYX_ERR(1, 2997, __pyx_L1_error)); /* "dependency_injector/providers.pyx":2999 * def shutdown(self): @@ -57815,7 +55314,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_20shutdown( * if self.is_async_mode_enabled(): * result = asyncio.Future() */ - __Pyx_TraceLine(2999,0,__PYX_ERR(1, 2999, __pyx_L1_error)) __pyx_t_1 = ((!(__pyx_v_self->__pyx___initialized != 0)) != 0); if (__pyx_t_1) { @@ -57826,7 +55324,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_20shutdown( * result = asyncio.Future() * result.set_result(None) */ - __Pyx_TraceLine(3000,0,__PYX_ERR(1, 3000, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_async_mode_enabled); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3000, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = NULL; @@ -57855,7 +55352,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_20shutdown( * result.set_result(None) * return result */ - __Pyx_TraceLine(3001,0,__PYX_ERR(1, 3001, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3001, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_Future); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3001, __pyx_L1_error) @@ -57886,7 +55382,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_20shutdown( * return result * return */ - __Pyx_TraceLine(3002,0,__PYX_ERR(1, 3002, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_result, __pyx_n_s_set_result); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3002, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_3 = NULL; @@ -57913,7 +55408,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_20shutdown( * return * */ - __Pyx_TraceLine(3003,0,__PYX_ERR(1, 3003, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_result); __pyx_r = __pyx_v_result; @@ -57935,7 +55429,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_20shutdown( * * if self.__shutdowner: */ - __Pyx_TraceLine(3004,0,__PYX_ERR(1, 3004, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; @@ -57956,7 +55449,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_20shutdown( * try: * shutdown = self.__shutdowner(self.__resource) */ - __Pyx_TraceLine(3006,0,__PYX_ERR(1, 3006, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_self->__pyx___shutdowner); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(1, 3006, __pyx_L1_error) if (__pyx_t_1) { @@ -57967,7 +55459,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_20shutdown( * shutdown = self.__shutdowner(self.__resource) * except StopIteration: */ - __Pyx_TraceLine(3007,0,__PYX_ERR(1, 3007, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -57984,7 +55475,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_20shutdown( * except StopIteration: * pass */ - __Pyx_TraceLine(3008,0,__PYX_ERR(1, 3008, __pyx_L6_error)) __Pyx_INCREF(__pyx_v_self->__pyx___shutdowner); __pyx_t_4 = __pyx_v_self->__pyx___shutdowner; __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) { @@ -58020,7 +55510,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_20shutdown( * return self._create_shutdown_future(shutdown) * */ - __Pyx_TraceLine(3012,0,__PYX_ERR(1, 3012, __pyx_L8_except_error)) /*else:*/ { __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_inspect); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3012, __pyx_L8_except_error) __Pyx_GOTREF(__pyx_t_4); @@ -58053,7 +55542,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_20shutdown( * * self.__resource = None */ - __Pyx_TraceLine(3013,0,__PYX_ERR(1, 3013, __pyx_L8_except_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_create_shutdown_future); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3013, __pyx_L8_except_error) __Pyx_GOTREF(__pyx_t_3); @@ -58101,7 +55589,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_20shutdown( * pass * else: */ - __Pyx_TraceLine(3009,0,__PYX_ERR(1, 3009, __pyx_L8_except_error)) __pyx_t_8 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_StopIteration); if (__pyx_t_8) { __Pyx_ErrRestore(0,0,0); @@ -58152,7 +55639,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_20shutdown( * self.__initialized = False * self.__shutdowner = None */ - __Pyx_TraceLine(3015,0,__PYX_ERR(1, 3015, __pyx_L1_error)) __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->__pyx___resource); @@ -58166,7 +55652,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_20shutdown( * self.__shutdowner = None * */ - __Pyx_TraceLine(3016,0,__PYX_ERR(1, 3016, __pyx_L1_error)) __pyx_v_self->__pyx___initialized = 0; /* "dependency_injector/providers.pyx":3017 @@ -58176,7 +55661,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_20shutdown( * * if self.is_async_mode_enabled(): */ - __Pyx_TraceLine(3017,0,__PYX_ERR(1, 3017, __pyx_L1_error)) __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->__pyx___shutdowner); @@ -58190,7 +55674,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_20shutdown( * result = asyncio.Future() * result.set_result(None) */ - __Pyx_TraceLine(3019,0,__PYX_ERR(1, 3019, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_async_mode_enabled); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3019, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = NULL; @@ -58219,7 +55702,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_20shutdown( * result.set_result(None) * return result */ - __Pyx_TraceLine(3020,0,__PYX_ERR(1, 3020, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3020, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_Future); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3020, __pyx_L1_error) @@ -58250,7 +55732,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_20shutdown( * return result * */ - __Pyx_TraceLine(3021,0,__PYX_ERR(1, 3021, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_result, __pyx_n_s_set_result); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3021, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_3 = NULL; @@ -58277,7 +55758,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_20shutdown( * * cpdef object _provide(self, tuple args, dict kwargs): */ - __Pyx_TraceLine(3022,0,__PYX_ERR(1, 3022, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_result); __pyx_r = __pyx_v_result; @@ -58313,7 +55793,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_20shutdown( __Pyx_XDECREF(__pyx_v_result); __Pyx_XDECREF(__pyx_v_shutdown); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -58331,7 +55810,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str PyObject *__pyx_v_initializer = NULL; PyObject *__pyx_v_async_init = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -58345,7 +55823,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide", __pyx_f[1], 3024, 0, __PYX_ERR(1, 3024, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -58430,7 +55907,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * return self.__resource * */ - __Pyx_TraceLine(3025,0,__PYX_ERR(1, 3025, __pyx_L1_error)) __pyx_t_7 = (__pyx_v_self->__pyx___initialized != 0); if (__pyx_t_7) { @@ -58441,7 +55917,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * * if self._is_resource_subclass(self.__initializer): */ - __Pyx_TraceLine(3026,0,__PYX_ERR(1, 3026, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___resource); __pyx_r = __pyx_v_self->__pyx___resource; @@ -58463,7 +55938,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * initializer = self.__initializer() * self.__resource = __call( */ - __Pyx_TraceLine(3028,0,__PYX_ERR(1, 3028, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_resource_subclass); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3028, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -58492,7 +55966,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * self.__resource = __call( * initializer.init, */ - __Pyx_TraceLine(3029,0,__PYX_ERR(1, 3029, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_self->__pyx___initializer); __pyx_t_2 = __pyx_v_self->__pyx___initializer; __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -58519,7 +55992,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * args, * self.__args, */ - __Pyx_TraceLine(3031,0,__PYX_ERR(1, 3031, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_initializer, __pyx_n_s_init_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3031, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -58530,7 +56002,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * self.__args_len, * kwargs, */ - __Pyx_TraceLine(3033,0,__PYX_ERR(1, 3033, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___args; __Pyx_INCREF(__pyx_t_2); @@ -58541,7 +56012,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * self.__kwargs_len, * ) */ - __Pyx_TraceLine(3036,0,__PYX_ERR(1, 3036, __pyx_L1_error)) __pyx_t_3 = __pyx_v_self->__pyx___kwargs; __Pyx_INCREF(__pyx_t_3); @@ -58552,7 +56022,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * initializer.init, * args, */ - __Pyx_TraceLine(3030,0,__PYX_ERR(1, 3030, __pyx_L1_error)) __pyx_t_6 = __pyx_f_19dependency_injector_9providers___call(__pyx_t_1, __pyx_v_args, ((PyObject*)__pyx_t_2), __pyx_v_self->__pyx___args_len, __pyx_v_kwargs, ((PyObject*)__pyx_t_3), __pyx_v_self->__pyx___kwargs_len); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 3030, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -58571,7 +56040,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * elif self._is_async_resource_subclass(self.__initializer): * initializer = self.__initializer() */ - __Pyx_TraceLine(3039,0,__PYX_ERR(1, 3039, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_initializer, __pyx_n_s_shutdown); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 3039, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_GIVEREF(__pyx_t_6); @@ -58597,7 +56065,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * initializer = self.__initializer() * async_init = __call( */ - __Pyx_TraceLine(3040,0,__PYX_ERR(1, 3040, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_is_async_resource_subclass); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3040, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_2 = NULL; @@ -58626,7 +56093,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * async_init = __call( * initializer.init, */ - __Pyx_TraceLine(3041,0,__PYX_ERR(1, 3041, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_self->__pyx___initializer); __pyx_t_3 = __pyx_v_self->__pyx___initializer; __pyx_t_2 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_3))) { @@ -58653,7 +56119,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * args, * self.__args, */ - __Pyx_TraceLine(3043,0,__PYX_ERR(1, 3043, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_initializer, __pyx_n_s_init_2); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 3043, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); @@ -58664,7 +56129,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * self.__args_len, * kwargs, */ - __Pyx_TraceLine(3045,0,__PYX_ERR(1, 3045, __pyx_L1_error)) __pyx_t_3 = __pyx_v_self->__pyx___args; __Pyx_INCREF(__pyx_t_3); @@ -58675,7 +56139,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * self.__kwargs_len, * ) */ - __Pyx_TraceLine(3048,0,__PYX_ERR(1, 3048, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___kwargs; __Pyx_INCREF(__pyx_t_2); @@ -58686,7 +56149,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * initializer.init, * args, */ - __Pyx_TraceLine(3042,0,__PYX_ERR(1, 3042, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___call(__pyx_t_6, __pyx_v_args, ((PyObject*)__pyx_t_3), __pyx_v_self->__pyx___args_len, __pyx_v_kwargs, ((PyObject*)__pyx_t_2), __pyx_v_self->__pyx___kwargs_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3042, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; @@ -58702,7 +56164,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * return self._create_init_future(async_init, initializer.shutdown) * elif inspect.isgeneratorfunction(self.__initializer): */ - __Pyx_TraceLine(3051,0,__PYX_ERR(1, 3051, __pyx_L1_error)) __pyx_v_self->__pyx___initialized = 1; /* "dependency_injector/providers.pyx":3052 @@ -58712,7 +56173,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * elif inspect.isgeneratorfunction(self.__initializer): * initializer = __call( */ - __Pyx_TraceLine(3052,0,__PYX_ERR(1, 3052, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_create_init_future); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3052, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -58785,7 +56245,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * initializer = __call( * self.__initializer, */ - __Pyx_TraceLine(3053,0,__PYX_ERR(1, 3053, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_inspect); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3053, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_isgeneratorfunction); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3053, __pyx_L1_error) @@ -58817,7 +56276,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * args, * self.__args, */ - __Pyx_TraceLine(3055,0,__PYX_ERR(1, 3055, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___initializer; __Pyx_INCREF(__pyx_t_1); @@ -58828,7 +56286,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * self.__args_len, * kwargs, */ - __Pyx_TraceLine(3057,0,__PYX_ERR(1, 3057, __pyx_L1_error)) __pyx_t_4 = __pyx_v_self->__pyx___args; __Pyx_INCREF(__pyx_t_4); @@ -58839,7 +56296,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * self.__kwargs_len, * ) */ - __Pyx_TraceLine(3060,0,__PYX_ERR(1, 3060, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___kwargs; __Pyx_INCREF(__pyx_t_2); @@ -58850,7 +56306,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * self.__initializer, * args, */ - __Pyx_TraceLine(3054,0,__PYX_ERR(1, 3054, __pyx_L1_error)) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___call(__pyx_t_1, __pyx_v_args, ((PyObject*)__pyx_t_4), __pyx_v_self->__pyx___args_len, __pyx_v_kwargs, ((PyObject*)__pyx_t_2), __pyx_v_self->__pyx___kwargs_len); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3054, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -58866,7 +56321,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * self.__shutdowner = initializer.send * elif iscoroutinefunction(self.__initializer): */ - __Pyx_TraceLine(3063,0,__PYX_ERR(1, 3063, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyIter_Next(__pyx_v_initializer); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3063, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); @@ -58882,7 +56336,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * elif iscoroutinefunction(self.__initializer): * initializer = __call( */ - __Pyx_TraceLine(3064,0,__PYX_ERR(1, 3064, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_initializer, __pyx_n_s_send); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3064, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_GIVEREF(__pyx_t_3); @@ -58908,7 +56361,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * initializer = __call( * self.__initializer, */ - __Pyx_TraceLine(3065,0,__PYX_ERR(1, 3065, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_iscoroutinefunction); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3065, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -58937,7 +56389,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * args, * self.__args, */ - __Pyx_TraceLine(3067,0,__PYX_ERR(1, 3067, __pyx_L1_error)) __pyx_t_3 = __pyx_v_self->__pyx___initializer; __Pyx_INCREF(__pyx_t_3); @@ -58948,7 +56399,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * self.__args_len, * kwargs, */ - __Pyx_TraceLine(3069,0,__PYX_ERR(1, 3069, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___args; __Pyx_INCREF(__pyx_t_2); @@ -58959,7 +56409,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * self.__kwargs_len, * ) */ - __Pyx_TraceLine(3072,0,__PYX_ERR(1, 3072, __pyx_L1_error)) __pyx_t_4 = __pyx_v_self->__pyx___kwargs; __Pyx_INCREF(__pyx_t_4); @@ -58970,7 +56419,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * self.__initializer, * args, */ - __Pyx_TraceLine(3066,0,__PYX_ERR(1, 3066, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___call(__pyx_t_3, __pyx_v_args, ((PyObject*)__pyx_t_2), __pyx_v_self->__pyx___args_len, __pyx_v_kwargs, ((PyObject*)__pyx_t_4), __pyx_v_self->__pyx___kwargs_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3066, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -58986,7 +56434,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * return self._create_init_future(initializer) * elif isasyncgenfunction(self.__initializer): */ - __Pyx_TraceLine(3075,0,__PYX_ERR(1, 3075, __pyx_L1_error)) __pyx_v_self->__pyx___initialized = 1; /* "dependency_injector/providers.pyx":3076 @@ -58996,7 +56443,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * elif isasyncgenfunction(self.__initializer): * initializer = __call( */ - __Pyx_TraceLine(3076,0,__PYX_ERR(1, 3076, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_create_init_future); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3076, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); @@ -59035,7 +56481,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * initializer = __call( * self.__initializer, */ - __Pyx_TraceLine(3077,0,__PYX_ERR(1, 3077, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_isasyncgenfunction); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3077, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_2 = NULL; @@ -59064,7 +56509,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * args, * self.__args, */ - __Pyx_TraceLine(3079,0,__PYX_ERR(1, 3079, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___initializer; __Pyx_INCREF(__pyx_t_1); @@ -59075,7 +56519,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * self.__args_len, * kwargs, */ - __Pyx_TraceLine(3081,0,__PYX_ERR(1, 3081, __pyx_L1_error)) __pyx_t_4 = __pyx_v_self->__pyx___args; __Pyx_INCREF(__pyx_t_4); @@ -59086,7 +56529,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * self.__kwargs_len, * ) */ - __Pyx_TraceLine(3084,0,__PYX_ERR(1, 3084, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___kwargs; __Pyx_INCREF(__pyx_t_2); @@ -59097,7 +56539,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * self.__initializer, * args, */ - __Pyx_TraceLine(3078,0,__PYX_ERR(1, 3078, __pyx_L1_error)) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___call(__pyx_t_1, __pyx_v_args, ((PyObject*)__pyx_t_4), __pyx_v_self->__pyx___args_len, __pyx_v_kwargs, ((PyObject*)__pyx_t_2), __pyx_v_self->__pyx___kwargs_len); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3078, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -59113,7 +56554,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * return self._create_async_gen_init_future(initializer) * elif callable(self.__initializer): */ - __Pyx_TraceLine(3087,0,__PYX_ERR(1, 3087, __pyx_L1_error)) __pyx_v_self->__pyx___initialized = 1; /* "dependency_injector/providers.pyx":3088 @@ -59123,7 +56563,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * elif callable(self.__initializer): * self.__resource = __call( */ - __Pyx_TraceLine(3088,0,__PYX_ERR(1, 3088, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_create_async_gen_init_future); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3088, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -59162,7 +56601,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * self.__resource = __call( * self.__initializer, */ - __Pyx_TraceLine(3089,0,__PYX_ERR(1, 3089, __pyx_L1_error)) __pyx_t_3 = __pyx_v_self->__pyx___initializer; __Pyx_INCREF(__pyx_t_3); __pyx_t_7 = __Pyx_PyCallable_Check(__pyx_t_3); if (unlikely(__pyx_t_7 == ((int)-1))) __PYX_ERR(1, 3089, __pyx_L1_error) @@ -59177,7 +56615,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * args, * self.__args, */ - __Pyx_TraceLine(3091,0,__PYX_ERR(1, 3091, __pyx_L1_error)) __pyx_t_3 = __pyx_v_self->__pyx___initializer; __Pyx_INCREF(__pyx_t_3); @@ -59188,7 +56625,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * self.__args_len, * kwargs, */ - __Pyx_TraceLine(3093,0,__PYX_ERR(1, 3093, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___args; __Pyx_INCREF(__pyx_t_2); @@ -59199,7 +56635,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * self.__kwargs_len, * ) */ - __Pyx_TraceLine(3096,0,__PYX_ERR(1, 3096, __pyx_L1_error)) __pyx_t_4 = __pyx_v_self->__pyx___kwargs; __Pyx_INCREF(__pyx_t_4); @@ -59210,7 +56645,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * self.__initializer, * args, */ - __Pyx_TraceLine(3090,0,__PYX_ERR(1, 3090, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___call(__pyx_t_3, __pyx_v_args, ((PyObject*)__pyx_t_2), __pyx_v_self->__pyx___args_len, __pyx_v_kwargs, ((PyObject*)__pyx_t_4), __pyx_v_self->__pyx___kwargs_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3090, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -59239,7 +56673,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * * self.__initialized = True */ - __Pyx_TraceLine(3100,0,__PYX_ERR(1, 3100, __pyx_L1_error)) /*else*/ { __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3100, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); @@ -59271,7 +56704,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * return self.__resource * */ - __Pyx_TraceLine(3102,0,__PYX_ERR(1, 3102, __pyx_L1_error)) __pyx_v_self->__pyx___initialized = 1; /* "dependency_injector/providers.pyx":3103 @@ -59281,7 +56713,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str * * def _create_init_future(self, future, shutdowner=None): */ - __Pyx_TraceLine(3103,0,__PYX_ERR(1, 3103, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___resource); __pyx_r = __pyx_v_self->__pyx___resource; @@ -59308,7 +56739,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Resource__provide(str __Pyx_XDECREF(__pyx_v_initializer); __Pyx_XDECREF(__pyx_v_async_init); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -59385,14 +56815,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Resource_23_provide( static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_22_provide(struct __pyx_obj_19dependency_injector_9providers_Resource *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide (wrapper)", __pyx_f[1], 3024, 0, __PYX_ERR(1, 3024, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_8Resource__provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3024, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -59407,7 +56835,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_22_provide( __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -59491,7 +56918,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Resource_25_create_i static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_24_create_init_future(struct __pyx_obj_19dependency_injector_9providers_Resource *__pyx_v_self, PyObject *__pyx_v_future, PyObject *__pyx_v_shutdowner) { PyObject *__pyx_v_callback = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -59502,7 +56928,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_24_create_i const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_create_init_future", 0); - __Pyx_TraceCall("_create_init_future", __pyx_f[1], 3105, 0, __PYX_ERR(1, 3105, __pyx_L1_error)); __Pyx_INCREF(__pyx_v_future); /* "dependency_injector/providers.pyx":3106 @@ -59512,7 +56937,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_24_create_i * if shutdowner: * callback = functools.partial(callback, shutdowner=shutdowner) */ - __Pyx_TraceLine(3106,0,__PYX_ERR(1, 3106, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_async_init_callback); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3106, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_callback = __pyx_t_1; @@ -59525,7 +56949,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_24_create_i * callback = functools.partial(callback, shutdowner=shutdowner) * */ - __Pyx_TraceLine(3107,0,__PYX_ERR(1, 3107, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_shutdowner); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(1, 3107, __pyx_L1_error) if (__pyx_t_2) { @@ -59536,7 +56959,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_24_create_i * * future = asyncio.ensure_future(future) */ - __Pyx_TraceLine(3108,0,__PYX_ERR(1, 3108, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_functools); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3108, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_partial); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3108, __pyx_L1_error) @@ -59574,7 +56996,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_24_create_i * future.add_done_callback(callback) * self.__resource = future */ - __Pyx_TraceLine(3110,0,__PYX_ERR(1, 3110, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3110, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_ensure_future); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3110, __pyx_L1_error) @@ -59605,7 +57026,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_24_create_i * self.__resource = future * */ - __Pyx_TraceLine(3111,0,__PYX_ERR(1, 3111, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_future, __pyx_n_s_add_done_callback); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3111, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_4 = NULL; @@ -59632,7 +57052,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_24_create_i * * return future */ - __Pyx_TraceLine(3112,0,__PYX_ERR(1, 3112, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_future); __Pyx_GIVEREF(__pyx_v_future); __Pyx_GOTREF(__pyx_v_self->__pyx___resource); @@ -59646,7 +57065,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_24_create_i * * def _create_async_gen_init_future(self, initializer): */ - __Pyx_TraceLine(3114,0,__PYX_ERR(1, 3114, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_future); __pyx_r = __pyx_v_future; @@ -59672,7 +57090,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_24_create_i __Pyx_XDECREF(__pyx_v_callback); __Pyx_XDECREF(__pyx_v_future); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -59702,7 +57119,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_26_create_a PyObject *__pyx_v_future = NULL; PyObject *__pyx_v_create_initializer = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -59717,7 +57133,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_26_create_a const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_create_async_gen_init_future", 0); - __Pyx_TraceCall("_create_async_gen_init_future", __pyx_f[1], 3116, 0, __PYX_ERR(1, 3116, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3117 * @@ -59726,7 +57141,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_26_create_a * return self._create_init_future(initializer.__anext__(), initializer.asend) * */ - __Pyx_TraceLine(3117,0,__PYX_ERR(1, 3117, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_inspect); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3117, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_isasyncgen); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3117, __pyx_L1_error) @@ -59758,7 +57172,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_26_create_a * * future = asyncio.Future() */ - __Pyx_TraceLine(3118,0,__PYX_ERR(1, 3118, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_create_init_future); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3118, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -59850,7 +57263,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_26_create_a * * create_initializer = asyncio.ensure_future(initializer) */ - __Pyx_TraceLine(3120,0,__PYX_ERR(1, 3120, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3120, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_Future); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 3120, __pyx_L1_error) @@ -59881,7 +57293,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_26_create_a * create_initializer.add_done_callback(functools.partial(self._async_create_gen_callback, future)) * self.__resource = future */ - __Pyx_TraceLine(3122,0,__PYX_ERR(1, 3122, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 3122, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_ensure_future); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3122, __pyx_L1_error) @@ -59912,7 +57323,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_26_create_a * self.__resource = future * */ - __Pyx_TraceLine(3123,0,__PYX_ERR(1, 3123, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_create_initializer, __pyx_n_s_add_done_callback); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3123, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_functools); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3123, __pyx_L1_error) @@ -59994,7 +57404,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_26_create_a * * return future */ - __Pyx_TraceLine(3124,0,__PYX_ERR(1, 3124, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_future); __Pyx_GIVEREF(__pyx_v_future); __Pyx_GOTREF(__pyx_v_self->__pyx___resource); @@ -60008,7 +57417,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_26_create_a * * def _async_init_callback(self, initializer, shutdowner=None): */ - __Pyx_TraceLine(3126,0,__PYX_ERR(1, 3126, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_future); __pyx_r = __pyx_v_future; @@ -60037,7 +57445,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_26_create_a __Pyx_XDECREF(__pyx_v_future); __Pyx_XDECREF(__pyx_v_create_initializer); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -60121,7 +57528,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Resource_29_async_in static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_28_async_init_callback(struct __pyx_obj_19dependency_injector_9providers_Resource *__pyx_v_self, PyObject *__pyx_v_initializer, PyObject *__pyx_v_shutdowner) { PyObject *__pyx_v_resource = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -60134,7 +57540,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_28_async_in const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_async_init_callback", 0); - __Pyx_TraceCall("_async_init_callback", __pyx_f[1], 3128, 0, __PYX_ERR(1, 3128, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3129 * @@ -60143,7 +57548,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_28_async_in * resource = initializer.result() * except Exception: */ - __Pyx_TraceLine(3129,0,__PYX_ERR(1, 3129, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -60160,7 +57564,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_28_async_in * except Exception: * self.__initialized = False */ - __Pyx_TraceLine(3130,0,__PYX_ERR(1, 3130, __pyx_L3_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_initializer, __pyx_n_s_result); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3130, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; @@ -60197,7 +57600,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_28_async_in * self.__shutdowner = shutdowner * */ - __Pyx_TraceLine(3135,0,__PYX_ERR(1, 3135, __pyx_L5_except_error)) /*else:*/ { __Pyx_INCREF(__pyx_v_resource); __Pyx_GIVEREF(__pyx_v_resource); @@ -60212,7 +57614,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_28_async_in * * def _async_create_gen_callback(self, future, initializer_future): */ - __Pyx_TraceLine(3136,0,__PYX_ERR(1, 3136, __pyx_L5_except_error)) __Pyx_INCREF(__pyx_v_shutdowner); __Pyx_GIVEREF(__pyx_v_shutdowner); __Pyx_GOTREF(__pyx_v_self->__pyx___shutdowner); @@ -60235,7 +57636,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_28_async_in * self.__initialized = False * raise */ - __Pyx_TraceLine(3131,0,__PYX_ERR(1, 3131, __pyx_L5_except_error)) __pyx_t_7 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0]))); if (__pyx_t_7) { __Pyx_AddTraceback("dependency_injector.providers.Resource._async_init_callback", __pyx_clineno, __pyx_lineno, __pyx_filename); @@ -60251,7 +57651,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_28_async_in * raise * else: */ - __Pyx_TraceLine(3132,0,__PYX_ERR(1, 3132, __pyx_L5_except_error)) __pyx_v_self->__pyx___initialized = 0; /* "dependency_injector/providers.pyx":3133 @@ -60261,7 +57660,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_28_async_in * else: * self.__resource = resource */ - __Pyx_TraceLine(3133,0,__PYX_ERR(1, 3133, __pyx_L5_except_error)) __Pyx_GIVEREF(__pyx_t_4); __Pyx_GIVEREF(__pyx_t_5); __Pyx_XGIVEREF(__pyx_t_6); @@ -60307,7 +57705,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_28_async_in __pyx_L0:; __Pyx_XDECREF(__pyx_v_resource); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -60388,7 +57785,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_30_async_cr PyObject *__pyx_v_initializer = NULL; PyObject *__pyx_v_init_future = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -60402,7 +57798,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_30_async_cr const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_async_create_gen_callback", 0); - __Pyx_TraceCall("_async_create_gen_callback", __pyx_f[1], 3138, 0, __PYX_ERR(1, 3138, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3139 * @@ -60411,7 +57806,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_30_async_cr * init_future = self._create_init_future(initializer.__anext__(), initializer.asend) * init_future.add_done_callback(functools.partial(self._async_trigger_result, future)) */ - __Pyx_TraceLine(3139,0,__PYX_ERR(1, 3139, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_initializer_future, __pyx_n_s_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3139, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -60439,7 +57833,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_30_async_cr * init_future.add_done_callback(functools.partial(self._async_trigger_result, future)) * */ - __Pyx_TraceLine(3140,0,__PYX_ERR(1, 3140, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_create_init_future); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3140, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_initializer, __pyx_n_s_anext); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3140, __pyx_L1_error) @@ -60520,7 +57913,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_30_async_cr * * def _async_trigger_result(self, future, future_result): */ - __Pyx_TraceLine(3141,0,__PYX_ERR(1, 3141, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_init_future, __pyx_n_s_add_done_callback); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3141, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_functools); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3141, __pyx_L1_error) @@ -60620,7 +58012,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_30_async_cr __Pyx_XDECREF(__pyx_v_initializer); __Pyx_XDECREF(__pyx_v_init_future); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -60699,7 +58090,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Resource_33_async_tr static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_32_async_trigger_result(CYTHON_UNUSED struct __pyx_obj_19dependency_injector_9providers_Resource *__pyx_v_self, PyObject *__pyx_v_future, PyObject *__pyx_v_future_result) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -60710,7 +58100,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_32_async_tr const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_async_trigger_result", 0); - __Pyx_TraceCall("_async_trigger_result", __pyx_f[1], 3143, 0, __PYX_ERR(1, 3143, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3144 * @@ -60719,7 +58108,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_32_async_tr * * def _create_shutdown_future(self, shutdown_future): */ - __Pyx_TraceLine(3144,0,__PYX_ERR(1, 3144, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_future, __pyx_n_s_set_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3144, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_future_result, __pyx_n_s_result); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3144, __pyx_L1_error) @@ -60778,7 +58166,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_32_async_tr __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -60807,7 +58194,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Resource_35_create_s static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_34_create_shutdown_future(struct __pyx_obj_19dependency_injector_9providers_Resource *__pyx_v_self, PyObject *__pyx_v_shutdown_future) { PyObject *__pyx_v_future = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -60821,7 +58207,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_34_create_s const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_create_shutdown_future", 0); - __Pyx_TraceCall("_create_shutdown_future", __pyx_f[1], 3146, 0, __PYX_ERR(1, 3146, __pyx_L1_error)); __Pyx_INCREF(__pyx_v_shutdown_future); /* "dependency_injector/providers.pyx":3147 @@ -60831,7 +58216,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_34_create_s * shutdown_future = asyncio.ensure_future(shutdown_future) * shutdown_future.add_done_callback(functools.partial(self._async_shutdown_callback, future)) */ - __Pyx_TraceLine(3147,0,__PYX_ERR(1, 3147, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3147, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_Future); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3147, __pyx_L1_error) @@ -60862,7 +58246,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_34_create_s * shutdown_future.add_done_callback(functools.partial(self._async_shutdown_callback, future)) * return future */ - __Pyx_TraceLine(3148,0,__PYX_ERR(1, 3148, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3148, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_ensure_future); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3148, __pyx_L1_error) @@ -60893,7 +58276,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_34_create_s * return future * */ - __Pyx_TraceLine(3149,0,__PYX_ERR(1, 3149, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_shutdown_future, __pyx_n_s_add_done_callback); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3149, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_functools); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3149, __pyx_L1_error) @@ -60975,7 +58357,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_34_create_s * * def _async_shutdown_callback(self, future_result, shutdowner): */ - __Pyx_TraceLine(3150,0,__PYX_ERR(1, 3150, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_future); __pyx_r = __pyx_v_future; @@ -61004,7 +58385,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_34_create_s __Pyx_XDECREF(__pyx_v_future); __Pyx_XDECREF(__pyx_v_shutdown_future); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -61083,7 +58463,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Resource_37_async_sh static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_36_async_shutdown_callback(struct __pyx_obj_19dependency_injector_9providers_Resource *__pyx_v_self, PyObject *__pyx_v_future_result, PyObject *__pyx_v_shutdowner) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -61096,7 +58475,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_36_async_sh const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_async_shutdown_callback", 0); - __Pyx_TraceCall("_async_shutdown_callback", __pyx_f[1], 3152, 0, __PYX_ERR(1, 3152, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3153 * @@ -61105,7 +58483,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_36_async_sh * shutdowner.result() * except StopAsyncIteration: */ - __Pyx_TraceLine(3153,0,__PYX_ERR(1, 3153, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -61122,7 +58499,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_36_async_sh * except StopAsyncIteration: * pass */ - __Pyx_TraceLine(3154,0,__PYX_ERR(1, 3154, __pyx_L3_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_shutdowner, __pyx_n_s_result); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3154, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; @@ -61166,7 +58542,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_36_async_sh * pass * */ - __Pyx_TraceLine(3155,0,__PYX_ERR(1, 3155, __pyx_L5_except_error)) __pyx_t_7 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)__Pyx_PyExc_StopAsyncIteration)[0]))); if (__pyx_t_7) { __Pyx_ErrRestore(0,0,0); @@ -61202,7 +58577,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_36_async_sh * self.__initialized = False * self.__shutdowner = None */ - __Pyx_TraceLine(3158,0,__PYX_ERR(1, 3158, __pyx_L1_error)) __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->__pyx___resource); @@ -61216,7 +58590,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_36_async_sh * self.__shutdowner = None * */ - __Pyx_TraceLine(3159,0,__PYX_ERR(1, 3159, __pyx_L1_error)) __pyx_v_self->__pyx___initialized = 0; /* "dependency_injector/providers.pyx":3160 @@ -61226,7 +58599,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_36_async_sh * * future_result.set_result(None) */ - __Pyx_TraceLine(3160,0,__PYX_ERR(1, 3160, __pyx_L1_error)) __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->__pyx___shutdowner); @@ -61240,7 +58612,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_36_async_sh * * @staticmethod */ - __Pyx_TraceLine(3162,0,__PYX_ERR(1, 3162, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_future_result, __pyx_n_s_set_result); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3162, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; @@ -61279,7 +58650,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_36_async_sh __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -61349,7 +58719,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Resource_39_is_resou static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_38_is_resource_subclass(PyObject *__pyx_v_instance) { PyObject *__pyx_v_resources = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -61358,9 +58727,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_38_is_resou int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__27) __Pyx_RefNannySetupContext("_is_resource_subclass", 0); - __Pyx_TraceCall("_is_resource_subclass", __pyx_f[1], 3165, 0, __PYX_ERR(1, 3165, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3166 * @staticmethod @@ -61369,13 +58736,12 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_38_is_resou * return False * if not isinstance(instance, CLASS_TYPES): */ - __Pyx_TraceLine(3166,0,__PYX_ERR(1, 3166, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_sys); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3166, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_version_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3166, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyObject_RichCompare(__pyx_t_2, __pyx_tuple__28, Py_LT); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3166, __pyx_L1_error) + __pyx_t_1 = PyObject_RichCompare(__pyx_t_2, __pyx_tuple__23, Py_LT); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3166, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(1, 3166, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -61388,7 +58754,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_38_is_resou * if not isinstance(instance, CLASS_TYPES): * return */ - __Pyx_TraceLine(3167,0,__PYX_ERR(1, 3167, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(Py_False); __pyx_r = Py_False; @@ -61410,7 +58775,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_38_is_resou * return * from . import resources */ - __Pyx_TraceLine(3168,0,__PYX_ERR(1, 3168, __pyx_L1_error)) __pyx_t_1 = __pyx_v_19dependency_injector_9providers_CLASS_TYPES; __Pyx_INCREF(__pyx_t_1); __pyx_t_3 = PyObject_IsInstance(__pyx_v_instance, __pyx_t_1); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(1, 3168, __pyx_L1_error) @@ -61425,7 +58789,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_38_is_resou * from . import resources * return issubclass(instance, resources.Resource) */ - __Pyx_TraceLine(3169,0,__PYX_ERR(1, 3169, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; @@ -61446,13 +58809,12 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_38_is_resou * return issubclass(instance, resources.Resource) * */ - __Pyx_TraceLine(3170,0,__PYX_ERR(1, 3170, __pyx_L1_error)) __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3170, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_n_s_resources); __Pyx_GIVEREF(__pyx_n_s_resources); PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_s_resources); - __pyx_t_2 = __Pyx_Import(__pyx_n_s__29, __pyx_t_1, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3170, __pyx_L1_error) + __pyx_t_2 = __Pyx_Import(__pyx_n_s__24, __pyx_t_1, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3170, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_1 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_resources); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3170, __pyx_L1_error) @@ -61469,7 +58831,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_38_is_resou * * @staticmethod */ - __Pyx_TraceLine(3171,0,__PYX_ERR(1, 3171, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_resources, __pyx_n_s_Resource); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3171, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -61498,7 +58859,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_38_is_resou __pyx_L0:; __Pyx_XDECREF(__pyx_v_resources); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -61568,7 +58928,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Resource_41_is_async static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_40_is_async_resource_subclass(PyObject *__pyx_v_instance) { PyObject *__pyx_v_resources = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -61577,9 +58936,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_40_is_async int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__30) __Pyx_RefNannySetupContext("_is_async_resource_subclass", 0); - __Pyx_TraceCall("_is_async_resource_subclass", __pyx_f[1], 3174, 0, __PYX_ERR(1, 3174, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3175 * @staticmethod @@ -61588,13 +58945,12 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_40_is_async * return False * if not isinstance(instance, CLASS_TYPES): */ - __Pyx_TraceLine(3175,0,__PYX_ERR(1, 3175, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_sys); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3175, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_version_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3175, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyObject_RichCompare(__pyx_t_2, __pyx_tuple__28, Py_LT); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3175, __pyx_L1_error) + __pyx_t_1 = PyObject_RichCompare(__pyx_t_2, __pyx_tuple__23, Py_LT); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3175, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(1, 3175, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -61607,7 +58963,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_40_is_async * if not isinstance(instance, CLASS_TYPES): * return */ - __Pyx_TraceLine(3176,0,__PYX_ERR(1, 3176, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(Py_False); __pyx_r = Py_False; @@ -61629,7 +58984,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_40_is_async * return * from . import resources */ - __Pyx_TraceLine(3177,0,__PYX_ERR(1, 3177, __pyx_L1_error)) __pyx_t_1 = __pyx_v_19dependency_injector_9providers_CLASS_TYPES; __Pyx_INCREF(__pyx_t_1); __pyx_t_3 = PyObject_IsInstance(__pyx_v_instance, __pyx_t_1); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(1, 3177, __pyx_L1_error) @@ -61644,7 +58998,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_40_is_async * from . import resources * return issubclass(instance, resources.AsyncResource) */ - __Pyx_TraceLine(3178,0,__PYX_ERR(1, 3178, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; @@ -61665,13 +59018,12 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_40_is_async * return issubclass(instance, resources.AsyncResource) * */ - __Pyx_TraceLine(3179,0,__PYX_ERR(1, 3179, __pyx_L1_error)) __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3179, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_n_s_resources); __Pyx_GIVEREF(__pyx_n_s_resources); PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_s_resources); - __pyx_t_2 = __Pyx_Import(__pyx_n_s__29, __pyx_t_1, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3179, __pyx_L1_error) + __pyx_t_2 = __Pyx_Import(__pyx_n_s__24, __pyx_t_1, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3179, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_1 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_resources); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3179, __pyx_L1_error) @@ -61688,7 +59040,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_40_is_async * * */ - __Pyx_TraceLine(3180,0,__PYX_ERR(1, 3180, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_resources, __pyx_n_s_AsyncResource); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3180, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -61717,7 +59068,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_40_is_async __pyx_L0:; __Pyx_XDECREF(__pyx_v_resources); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -61746,7 +59096,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_42__reduce_ PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -61760,7 +59109,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_42__reduce_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -61769,7 +59117,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_42__reduce_ * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx___args_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -61823,7 +59170,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_42__reduce_ * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_5 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_v__dict = __pyx_t_5; @@ -61836,7 +59182,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_42__reduce_ * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_6 = (__pyx_v__dict != Py_None); __pyx_t_7 = (__pyx_t_6 != 0); if (__pyx_t_7) { @@ -61848,7 +59193,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_42__reduce_ * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_INCREF(__pyx_v__dict); @@ -61867,7 +59211,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_42__reduce_ * else: * use_setstate = self.__args is not None or self.__initializer is not None or self.__kwargs is not None or self.__last_overriding is not None or self.__overridden is not None or self.__resource is not None or self.__shutdowner is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -61887,7 +59230,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_42__reduce_ * if use_setstate: * return __pyx_unpickle_Resource, (type(self), 0x734cfcb, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_6 = (__pyx_v_self->__pyx___args != ((PyObject*)Py_None)); __pyx_t_8 = (__pyx_t_6 != 0); @@ -61946,7 +59288,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_42__reduce_ * return __pyx_unpickle_Resource, (type(self), 0x734cfcb, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_7 = (__pyx_v_use_setstate != 0); if (__pyx_t_7) { @@ -61957,7 +59298,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_42__reduce_ * else: * return __pyx_unpickle_Resource, (type(self), 0x734cfcb, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_pyx_unpickle_Resource); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); @@ -62003,7 +59343,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_42__reduce_ * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Resource__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_pyx_unpickle_Resource); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -62051,7 +59390,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_42__reduce_ __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -62078,21 +59416,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Resource_45__setstat static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_44__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_Resource *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_Resource, (type(self), 0x734cfcb, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Resource__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Resource__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -62114,7 +59449,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Resource_44__setstat __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -62206,7 +59540,6 @@ static int __pyx_pw_19dependency_injector_9providers_9Container_1__init__(PyObje static int __pyx_pf_19dependency_injector_9providers_9Container___init__(struct __pyx_obj_19dependency_injector_9providers_Container *__pyx_v_self, PyObject *__pyx_v_container_cls, PyObject *__pyx_v_container, PyObject *__pyx_v_overriding_providers) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -62217,7 +59550,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Container___init__(struct const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 3190, 0, __PYX_ERR(1, 3190, __pyx_L1_error)); __Pyx_INCREF(__pyx_v_container); /* "dependency_injector/providers.pyx":3192 @@ -62227,7 +59559,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Container___init__(struct * self.__overriding_providers = overriding_providers * */ - __Pyx_TraceLine(3192,0,__PYX_ERR(1, 3192, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_container_cls); __Pyx_GIVEREF(__pyx_v_container_cls); __Pyx_GOTREF(__pyx_v_self->__pyx___container_cls); @@ -62241,7 +59572,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Container___init__(struct * * if container is None: */ - __Pyx_TraceLine(3193,0,__PYX_ERR(1, 3193, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_overriding_providers); __Pyx_GIVEREF(__pyx_v_overriding_providers); __Pyx_GOTREF(__pyx_v_self->__pyx___overriding_providers); @@ -62255,7 +59585,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Container___init__(struct * container = container_cls() * self.__container = container */ - __Pyx_TraceLine(3195,0,__PYX_ERR(1, 3195, __pyx_L1_error)) __pyx_t_1 = (__pyx_v_container == Py_None); __pyx_t_2 = (__pyx_t_1 != 0); if (__pyx_t_2) { @@ -62267,7 +59596,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Container___init__(struct * self.__container = container * */ - __Pyx_TraceLine(3196,0,__PYX_ERR(1, 3196, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_container_cls); __pyx_t_4 = __pyx_v_container_cls; __pyx_t_5 = NULL; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_4))) { @@ -62303,7 +59631,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Container___init__(struct * * self.apply_overridings() */ - __Pyx_TraceLine(3197,0,__PYX_ERR(1, 3197, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_container); __Pyx_GIVEREF(__pyx_v_container); __Pyx_GOTREF(__pyx_v_self->__pyx___container); @@ -62317,7 +59644,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Container___init__(struct * * super(Container, self).__init__() */ - __Pyx_TraceLine(3199,0,__PYX_ERR(1, 3199, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_apply_overridings); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3199, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; @@ -62344,7 +59670,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Container___init__(struct * * def __deepcopy__(self, memo): */ - __Pyx_TraceLine(3201,0,__PYX_ERR(1, 3201, __pyx_L1_error)) __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3201, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Container)); @@ -62395,7 +59720,6 @@ static int __pyx_pf_19dependency_injector_9providers_9Container___init__(struct __pyx_r = -1; __pyx_L0:; __Pyx_XDECREF(__pyx_v_container); - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -62425,7 +59749,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_9Container_3__deepcop static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_2__deepcopy__(struct __pyx_obj_19dependency_injector_9providers_Container *__pyx_v_self, PyObject *__pyx_v_memo) { PyObject *__pyx_v_copied = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -62439,7 +59762,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_2__deepcop const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[1], 3203, 0, __PYX_ERR(1, 3203, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3205 * def __deepcopy__(self, memo): @@ -62448,7 +59770,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_2__deepcop * if copied is not None: * return copied */ - __Pyx_TraceLine(3205,0,__PYX_ERR(1, 3205, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3205, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3205, __pyx_L1_error) @@ -62479,7 +59800,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_2__deepcop * return copied * */ - __Pyx_TraceLine(3206,0,__PYX_ERR(1, 3206, __pyx_L1_error)) __pyx_t_5 = (__pyx_v_copied != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -62491,7 +59811,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_2__deepcop * * copied = self.__class__( */ - __Pyx_TraceLine(3207,0,__PYX_ERR(1, 3207, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -62513,7 +59832,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_2__deepcop * self.__container_cls, * deepcopy(self.__container, memo), */ - __Pyx_TraceLine(3209,0,__PYX_ERR(1, 3209, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3209, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -62524,7 +59842,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_2__deepcop * **deepcopy(self.__overriding_providers, memo), * ) */ - __Pyx_TraceLine(3211,0,__PYX_ERR(1, 3211, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___container; __Pyx_INCREF(__pyx_t_2); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 3211, __pyx_L1_error) @@ -62541,7 +59858,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_2__deepcop * self.__container_cls, * deepcopy(self.__container, memo), */ - __Pyx_TraceLine(3209,0,__PYX_ERR(1, 3209, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3209, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v_self->__pyx___container_cls); @@ -62558,7 +59874,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_2__deepcop * ) * */ - __Pyx_TraceLine(3212,0,__PYX_ERR(1, 3212, __pyx_L1_error)) __pyx_t_4 = __pyx_v_self->__pyx___overriding_providers; __Pyx_INCREF(__pyx_t_4); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 3212, __pyx_L1_error) @@ -62588,7 +59903,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_2__deepcop * self.__container_cls, * deepcopy(self.__container, memo), */ - __Pyx_TraceLine(3209,0,__PYX_ERR(1, 3209, __pyx_L1_error)) __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 3209, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -62604,7 +59918,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_2__deepcop * * def __getattr__(self, name): */ - __Pyx_TraceLine(3215,0,__PYX_ERR(1, 3215, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -62630,7 +59943,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_2__deepcop __pyx_L0:; __Pyx_XDECREF(__pyx_v_copied); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -62662,7 +59974,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_9Container_5__getattr static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_4__getattr__(struct __pyx_obj_19dependency_injector_9providers_Container *__pyx_v_self, PyObject *__pyx_v_name) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -62674,7 +59985,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_4__getattr const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__getattr__", 0); - __Pyx_TraceCall("__getattr__", __pyx_f[1], 3217, 0, __PYX_ERR(1, 3217, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3219 * def __getattr__(self, name): @@ -62683,7 +59993,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_4__getattr * raise AttributeError( * '\'{cls}\' object has no attribute ' */ - __Pyx_TraceLine(3219,0,__PYX_ERR(1, 3219, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_name, __pyx_n_s_startswith); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3219, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = NULL; @@ -62696,7 +60005,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_4__getattr __Pyx_DECREF_SET(__pyx_t_3, function); } } - __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_n_s__9) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_n_s__9); + __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_n_s__5) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_n_s__5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3219, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -62720,7 +60029,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_4__getattr __Pyx_DECREF_SET(__pyx_t_3, function); } } - __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_n_s__9) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_n_s__9); + __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_n_s__5) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_n_s__5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3219, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -62738,7 +60047,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_4__getattr * attribute_name=name)) * return getattr(self.__container, name) */ - __Pyx_TraceLine(3222,0,__PYX_ERR(1, 3222, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_cls_object_has_no_attribute_att, __pyx_n_s_format); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3222, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3222, __pyx_L1_error) @@ -62758,7 +60066,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_4__getattr * return getattr(self.__container, name) * */ - __Pyx_TraceLine(3223,0,__PYX_ERR(1, 3223, __pyx_L1_error)) if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_attribute_name, __pyx_v_name) < 0) __PYX_ERR(1, 3222, __pyx_L1_error) /* "dependency_injector/providers.pyx":3222 @@ -62768,7 +60075,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_4__getattr * attribute_name=name)) * return getattr(self.__container, name) */ - __Pyx_TraceLine(3222,0,__PYX_ERR(1, 3222, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_empty_tuple, __pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 3222, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -62781,7 +60087,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_4__getattr * '\'{cls}\' object has no attribute ' * '\'{attribute_name}\''.format(cls=self.__class__.__name__, */ - __Pyx_TraceLine(3220,0,__PYX_ERR(1, 3220, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_AttributeError, __pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3220, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; @@ -62805,7 +60110,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_4__getattr * * @property */ - __Pyx_TraceLine(3224,0,__PYX_ERR(1, 3224, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_3 = __pyx_v_self->__pyx___container; __Pyx_INCREF(__pyx_t_3); @@ -62834,7 +60138,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_4__getattr __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -62862,14 +60165,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_9Container_9providers static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_9providers___get__(struct __pyx_obj_19dependency_injector_9providers_Container *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 3227, 0, __PYX_ERR(1, 3227, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3228 * @property @@ -62878,7 +60179,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_9providers * * @property */ - __Pyx_TraceLine(3228,0,__PYX_ERR(1, 3228, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->__pyx___container, __pyx_n_s_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3228, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -62901,7 +60201,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_9providers __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -62929,13 +60228,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_9Container_9container static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_9container___get__(struct __pyx_obj_19dependency_injector_9providers_Container *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 3231, 0, __PYX_ERR(1, 3231, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3232 * @property @@ -62944,7 +60238,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_9container * * def override(self, provider): */ - __Pyx_TraceLine(3232,0,__PYX_ERR(1, 3232, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___container); __pyx_r = __pyx_v_self->__pyx___container; @@ -62959,12 +60252,8 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_9container */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.Container.container.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -62993,7 +60282,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_9Container_7override( static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_6override(struct __pyx_obj_19dependency_injector_9providers_Container *__pyx_v_self, PyObject *__pyx_v_provider) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -63006,7 +60294,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_6override( const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("override", 0); - __Pyx_TraceCall("override", __pyx_f[1], 3234, 0, __PYX_ERR(1, 3234, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3236 * def override(self, provider): @@ -63015,7 +60302,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_6override( * raise Error('Container provider {0} can be overridden only by providers container'.format(self)) * */ - __Pyx_TraceLine(3236,0,__PYX_ERR(1, 3236, __pyx_L1_error)) __pyx_t_1 = __Pyx_HasAttr(__pyx_v_provider, __pyx_n_s_providers); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(1, 3236, __pyx_L1_error) __pyx_t_2 = ((!(__pyx_t_1 != 0)) != 0); if (unlikely(__pyx_t_2)) { @@ -63027,7 +60313,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_6override( * * self.__container.override_providers(**provider.providers) */ - __Pyx_TraceLine(3237,0,__PYX_ERR(1, 3237, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_Error); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3237, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Container_provider_0_can_be_over, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 3237, __pyx_L1_error) @@ -63083,7 +60368,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_6override( * super().override(provider) * */ - __Pyx_TraceLine(3239,0,__PYX_ERR(1, 3239, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->__pyx___container, __pyx_n_s_override_providers_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3239, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_provider, __pyx_n_s_providers); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3239, __pyx_L1_error) @@ -63114,7 +60398,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_6override( * * def apply_overridings(self): */ - __Pyx_TraceLine(3240,0,__PYX_ERR(1, 3240, __pyx_L1_error)) __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3240, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Container)); @@ -63167,7 +60450,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_6override( __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -63196,7 +60478,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_9Container_9apply_ove static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_8apply_overridings(struct __pyx_obj_19dependency_injector_9providers_Container *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -63204,7 +60485,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_8apply_ove const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("apply_overridings", 0); - __Pyx_TraceCall("apply_overridings", __pyx_f[1], 3242, 0, __PYX_ERR(1, 3242, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3247 * This method should not be called directly. It is called on @@ -63213,7 +60493,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_8apply_ove * * cpdef object _provide(self, tuple args, dict kwargs): */ - __Pyx_TraceLine(3247,0,__PYX_ERR(1, 3247, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->__pyx___container, __pyx_n_s_override_providers_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3247, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (unlikely(__pyx_v_self->__pyx___overriding_providers == Py_None)) { @@ -63243,7 +60522,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_8apply_ove __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -63259,7 +60537,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_8apply_ove static PyObject *__pyx_pw_19dependency_injector_9providers_9Container_11_provide(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ static PyObject *__pyx_f_19dependency_injector_9providers_9Container__provide(struct __pyx_obj_19dependency_injector_9providers_Container *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_args, CYTHON_UNUSED PyObject *__pyx_v_kwargs, int __pyx_skip_dispatch) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -63271,7 +60548,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_9Container__provide(st const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide", __pyx_f[1], 3249, 0, __PYX_ERR(1, 3249, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -63356,7 +60632,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_9Container__provide(st * * */ - __Pyx_TraceLine(3251,0,__PYX_ERR(1, 3251, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___container); __pyx_r = __pyx_v_self->__pyx___container; @@ -63381,7 +60656,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_9Container__provide(st __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -63459,14 +60733,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_9Container_11_provide static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_10_provide(struct __pyx_obj_19dependency_injector_9providers_Container *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide (wrapper)", __pyx_f[1], 3249, 0, __PYX_ERR(1, 3249, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_9Container__provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3249, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -63481,7 +60753,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_10_provide __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -63510,7 +60781,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_12__reduce PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -63522,7 +60792,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_12__reduce const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -63531,7 +60800,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_12__reduce * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(6); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -63564,7 +60832,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_12__reduce * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -63577,7 +60844,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_12__reduce * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -63589,7 +60855,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_12__reduce * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -63608,7 +60873,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_12__reduce * else: * use_setstate = self.__container is not None or self.__container_cls is not None or self.__last_overriding is not None or self.__overridden is not None or self.__overriding_providers is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -63628,7 +60892,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_12__reduce * if use_setstate: * return __pyx_unpickle_Container, (type(self), 0x1bd47ec, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (__pyx_v_self->__pyx___container != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -63673,7 +60936,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_12__reduce * return __pyx_unpickle_Container, (type(self), 0x1bd47ec, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -63684,7 +60946,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_12__reduce * else: * return __pyx_unpickle_Container, (type(self), 0x1bd47ec, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_Container); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -63730,7 +60991,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_12__reduce * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Container__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_Container); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -63776,7 +61036,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_12__reduce __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -63803,21 +61062,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_9Container_15__setsta static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_14__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_Container *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_Container, (type(self), 0x1bd47ec, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Container__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Container__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -63839,7 +61095,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Container_14__setsta __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -63916,7 +61171,6 @@ static int __pyx_pw_19dependency_injector_9providers_8Selector_1__init__(PyObjec static int __pyx_pf_19dependency_injector_9providers_8Selector___init__(struct __pyx_obj_19dependency_injector_9providers_Selector *__pyx_v_self, PyObject *__pyx_v_selector, PyObject *__pyx_v_providers) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -63925,7 +61179,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Selector___init__(struct _ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 3285, 0, __PYX_ERR(1, 3285, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3287 * def __init__(self, selector, **providers): @@ -63934,7 +61187,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Selector___init__(struct _ * self.__providers = providers * super(Selector, self).__init__() */ - __Pyx_TraceLine(3287,0,__PYX_ERR(1, 3287, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_selector); __Pyx_GIVEREF(__pyx_v_selector); __Pyx_GOTREF(__pyx_v_self->__pyx___selector); @@ -63948,7 +61200,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Selector___init__(struct _ * super(Selector, self).__init__() * */ - __Pyx_TraceLine(3288,0,__PYX_ERR(1, 3288, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_providers); __Pyx_GIVEREF(__pyx_v_providers); __Pyx_GOTREF(__pyx_v_self->__pyx___providers); @@ -63962,7 +61213,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Selector___init__(struct _ * * def __deepcopy__(self, memo): */ - __Pyx_TraceLine(3289,0,__PYX_ERR(1, 3289, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3289, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Selector)); @@ -64012,7 +61262,6 @@ static int __pyx_pf_19dependency_injector_9providers_8Selector___init__(struct _ __Pyx_AddTraceback("dependency_injector.providers.Selector.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -64042,7 +61291,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Selector_3__deepcopy static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_2__deepcopy__(struct __pyx_obj_19dependency_injector_9providers_Selector *__pyx_v_self, PyObject *__pyx_v_memo) { PyObject *__pyx_v_copied = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -64056,7 +61304,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_2__deepcopy const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[1], 3291, 0, __PYX_ERR(1, 3291, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3293 * def __deepcopy__(self, memo): @@ -64065,7 +61312,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_2__deepcopy * if copied is not None: * return copied */ - __Pyx_TraceLine(3293,0,__PYX_ERR(1, 3293, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3293, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3293, __pyx_L1_error) @@ -64096,7 +61342,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_2__deepcopy * return copied * */ - __Pyx_TraceLine(3294,0,__PYX_ERR(1, 3294, __pyx_L1_error)) __pyx_t_5 = (__pyx_v_copied != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -64108,7 +61353,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_2__deepcopy * * copied = self.__class__( */ - __Pyx_TraceLine(3295,0,__PYX_ERR(1, 3295, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -64130,7 +61374,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_2__deepcopy * deepcopy(self.__selector, memo), * **deepcopy(self.__providers, memo), */ - __Pyx_TraceLine(3297,0,__PYX_ERR(1, 3297, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3297, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -64141,7 +61384,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_2__deepcopy * **deepcopy(self.__providers, memo), * ) */ - __Pyx_TraceLine(3298,0,__PYX_ERR(1, 3298, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___selector; __Pyx_INCREF(__pyx_t_2); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 3298, __pyx_L1_error) @@ -64158,7 +61400,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_2__deepcopy * deepcopy(self.__selector, memo), * **deepcopy(self.__providers, memo), */ - __Pyx_TraceLine(3297,0,__PYX_ERR(1, 3297, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3297, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_GIVEREF(__pyx_t_3); @@ -64172,7 +61413,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_2__deepcopy * ) * self._copy_overridings(copied, memo) */ - __Pyx_TraceLine(3299,0,__PYX_ERR(1, 3299, __pyx_L1_error)) __pyx_t_4 = __pyx_v_self->__pyx___providers; __Pyx_INCREF(__pyx_t_4); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 3299, __pyx_L1_error) @@ -64202,7 +61442,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_2__deepcopy * deepcopy(self.__selector, memo), * **deepcopy(self.__providers, memo), */ - __Pyx_TraceLine(3297,0,__PYX_ERR(1, 3297, __pyx_L1_error)) __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 3297, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -64218,7 +61457,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_2__deepcopy * * return copied */ - __Pyx_TraceLine(3301,0,__PYX_ERR(1, 3301, __pyx_L1_error)) if (!(likely(((__pyx_v_copied) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_copied, __pyx_ptype_19dependency_injector_9providers_Provider))))) __PYX_ERR(1, 3301, __pyx_L1_error) if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 3301, __pyx_L1_error) ((struct __pyx_vtabstruct_19dependency_injector_9providers_Selector *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._copy_overridings(((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_self), ((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_copied), ((PyObject*)__pyx_v_memo), 0); @@ -64230,7 +61468,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_2__deepcopy * * def __getattr__(self, name): */ - __Pyx_TraceLine(3303,0,__PYX_ERR(1, 3303, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -64256,7 +61493,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_2__deepcopy __pyx_L0:; __Pyx_XDECREF(__pyx_v_copied); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -64288,7 +61524,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Selector_5__getattr_ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_4__getattr__(struct __pyx_obj_19dependency_injector_9providers_Selector *__pyx_v_self, PyObject *__pyx_v_name) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -64300,7 +61535,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_4__getattr_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__getattr__", 0); - __Pyx_TraceCall("__getattr__", __pyx_f[1], 3305, 0, __PYX_ERR(1, 3305, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3307 * def __getattr__(self, name): @@ -64309,7 +61543,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_4__getattr_ * raise AttributeError( * '\'{cls}\' object has no attribute ' */ - __Pyx_TraceLine(3307,0,__PYX_ERR(1, 3307, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_name, __pyx_n_s_startswith); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3307, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = NULL; @@ -64322,7 +61555,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_4__getattr_ __Pyx_DECREF_SET(__pyx_t_3, function); } } - __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_n_s__9) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_n_s__9); + __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_n_s__5) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_n_s__5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3307, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -64346,7 +61579,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_4__getattr_ __Pyx_DECREF_SET(__pyx_t_3, function); } } - __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_n_s__9) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_n_s__9); + __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_n_s__5) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_n_s__5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3307, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -64364,7 +61597,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_4__getattr_ * attribute_name=name)) * if name not in self.__providers: */ - __Pyx_TraceLine(3310,0,__PYX_ERR(1, 3310, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_cls_object_has_no_attribute_att, __pyx_n_s_format); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3310, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3310, __pyx_L1_error) @@ -64384,7 +61616,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_4__getattr_ * if name not in self.__providers: * raise AttributeError('Selector has no "{0}" provider'.format(name)) */ - __Pyx_TraceLine(3311,0,__PYX_ERR(1, 3311, __pyx_L1_error)) if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_attribute_name, __pyx_v_name) < 0) __PYX_ERR(1, 3310, __pyx_L1_error) /* "dependency_injector/providers.pyx":3310 @@ -64394,7 +61625,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_4__getattr_ * attribute_name=name)) * if name not in self.__providers: */ - __Pyx_TraceLine(3310,0,__PYX_ERR(1, 3310, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_empty_tuple, __pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 3310, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -64407,7 +61637,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_4__getattr_ * '\'{cls}\' object has no attribute ' * '\'{attribute_name}\''.format(cls=self.__class__.__name__, */ - __Pyx_TraceLine(3308,0,__PYX_ERR(1, 3308, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_AttributeError, __pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3308, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; @@ -64431,7 +61660,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_4__getattr_ * raise AttributeError('Selector has no "{0}" provider'.format(name)) * */ - __Pyx_TraceLine(3312,0,__PYX_ERR(1, 3312, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___providers == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); __PYX_ERR(1, 3312, __pyx_L1_error) @@ -64447,7 +61675,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_4__getattr_ * * return self.__providers[name] */ - __Pyx_TraceLine(3313,0,__PYX_ERR(1, 3313, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Selector_has_no_0_provider, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 3313, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_2 = NULL; @@ -64488,7 +61715,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_4__getattr_ * * def __str__(self): */ - __Pyx_TraceLine(3315,0,__PYX_ERR(1, 3315, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); if (unlikely(__pyx_v_self->__pyx___providers == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); @@ -64518,7 +61744,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_4__getattr_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -64597,7 +61822,6 @@ static PyObject *__pyx_gb_19dependency_injector_9providers_8Selector_7__str___2g { struct __pyx_obj_19dependency_injector_9providers___pyx_scope_struct_3_genexpr *__pyx_cur_scope = ((struct __pyx_obj_19dependency_injector_9providers___pyx_scope_struct_3_genexpr *)__pyx_generator->closure); PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; Py_ssize_t __pyx_t_3; @@ -64612,12 +61836,10 @@ static PyObject *__pyx_gb_19dependency_injector_9providers_8Selector_7__str___2g int __pyx_clineno = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("genexpr", 0); - __Pyx_TraceCall("genexpr", __pyx_f[1], 3327, 0, __PYX_ERR(1, 3327, __pyx_L1_error)); switch (__pyx_generator->resume_label) { case 0: goto __pyx_L3_first_run; case 1: goto __pyx_L8_resume_from_yield; default: /* CPython raises the right error here */ - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return NULL; } @@ -64631,7 +61853,6 @@ static PyObject *__pyx_gb_19dependency_injector_9providers_8Selector_7__str___2g * )), * address=hex(id(self)), */ - __Pyx_TraceLine(3328,0,__PYX_ERR(1, 3328, __pyx_L1_error)) if (unlikely(!__pyx_cur_scope->__pyx_outer_scope->__pyx_v_self)) { __Pyx_RaiseClosureNameError("self"); __PYX_ERR(1, 3328, __pyx_L1_error) } if (unlikely(__pyx_cur_scope->__pyx_outer_scope->__pyx_v_self->__pyx___providers == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "items"); @@ -64741,7 +61962,6 @@ static PyObject *__pyx_gb_19dependency_injector_9providers_8Selector_7__str___2g * for name, provider in self.__providers.items() * )), */ - __Pyx_TraceLine(3327,0,__PYX_ERR(1, 3327, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_0_1, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 3327, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = NULL; @@ -64796,7 +62016,6 @@ static PyObject *__pyx_gb_19dependency_injector_9providers_8Selector_7__str___2g __pyx_cur_scope->__pyx_t_1 = __pyx_t_3; __pyx_cur_scope->__pyx_t_2 = __pyx_t_4; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); __Pyx_Coroutine_ResetAndClearException(__pyx_generator); /* return from generator, yielding value */ @@ -64817,7 +62036,6 @@ static PyObject *__pyx_gb_19dependency_injector_9providers_8Selector_7__str___2g * )), * address=hex(id(self)), */ - __Pyx_TraceLine(3328,0,__PYX_ERR(1, 3328, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; CYTHON_MAYBE_UNUSED_VAR(__pyx_cur_scope); @@ -64847,7 +62065,6 @@ static PyObject *__pyx_gb_19dependency_injector_9providers_8Selector_7__str___2g #endif __pyx_generator->resume_label = -1; __Pyx_Coroutine_clear((PyObject*)__pyx_generator); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -64863,7 +62080,6 @@ static PyObject *__pyx_gb_19dependency_injector_9providers_8Selector_7__str___2g static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_6__str__(struct __pyx_obj_19dependency_injector_9providers_Selector *__pyx_v_self) { struct __pyx_obj_19dependency_injector_9providers___pyx_scope_struct_2___str__ *__pyx_cur_scope; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -64882,7 +62098,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_6__str__(st } else { __Pyx_GOTREF(__pyx_cur_scope); } - __Pyx_TraceCall("__str__", __pyx_f[1], 3317, 0, __PYX_ERR(1, 3317, __pyx_L1_error)); __pyx_cur_scope->__pyx_v_self = __pyx_v_self; __Pyx_INCREF((PyObject *)__pyx_cur_scope->__pyx_v_self); __Pyx_GIVEREF((PyObject *)__pyx_cur_scope->__pyx_v_self); @@ -64894,7 +62109,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_6__str__(st * provider='.'.join(( self.__class__.__module__, self.__class__.__name__)), * selector=self.__selector, */ - __Pyx_TraceLine(3323,0,__PYX_ERR(1, 3323, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_provider_selector_providers_at, __pyx_n_s_format); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3323, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -64906,7 +62120,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_6__str__(st * selector=self.__selector, * providers=', '.join(( */ - __Pyx_TraceLine(3324,0,__PYX_ERR(1, 3324, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyDict_NewPresized(4); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3324, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_cur_scope->__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3324, __pyx_L1_error) @@ -64927,7 +62140,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_6__str__(st PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_5); __pyx_t_4 = 0; __pyx_t_5 = 0; - __pyx_t_5 = __Pyx_PyString_Join(__pyx_kp_s__10, __pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3324, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyString_Join(__pyx_kp_s__6, __pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3324, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_provider, __pyx_t_5) < 0) __PYX_ERR(1, 3324, __pyx_L1_error) @@ -64940,7 +62153,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_6__str__(st * providers=', '.join(( * '{0}={1}'.format(name, provider) */ - __Pyx_TraceLine(3325,0,__PYX_ERR(1, 3325, __pyx_L1_error)) if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_selector, __pyx_cur_scope->__pyx_v_self->__pyx___selector) < 0) __PYX_ERR(1, 3324, __pyx_L1_error) /* "dependency_injector/providers.pyx":3327 @@ -64950,7 +62162,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_6__str__(st * for name, provider in self.__providers.items() * )), */ - __Pyx_TraceLine(3327,0,__PYX_ERR(1, 3327, __pyx_L1_error)) __pyx_t_5 = __pyx_pf_19dependency_injector_9providers_8Selector_7__str___genexpr(((PyObject*)__pyx_cur_scope)); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3327, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); @@ -64961,8 +62172,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_6__str__(st * '{0}={1}'.format(name, provider) * for name, provider in self.__providers.items() */ - __Pyx_TraceLine(3326,0,__PYX_ERR(1, 3326, __pyx_L1_error)) - __pyx_t_3 = __Pyx_PyString_Join(__pyx_kp_s__31, __pyx_t_5); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3326, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyString_Join(__pyx_kp_s__25, __pyx_t_5); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3326, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_providers, __pyx_t_3) < 0) __PYX_ERR(1, 3324, __pyx_L1_error) @@ -64975,7 +62185,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_6__str__(st * ) * */ - __Pyx_TraceLine(3330,0,__PYX_ERR(1, 3330, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_cur_scope->__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3330, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_5 = __Pyx_PyObject_CallOneArg(__pyx_builtin_hex, __pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3330, __pyx_L1_error) @@ -64991,7 +62200,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_6__str__(st * provider='.'.join(( self.__class__.__module__, self.__class__.__name__)), * selector=self.__selector, */ - __Pyx_TraceLine(3323,0,__PYX_ERR(1, 3323, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_empty_tuple, __pyx_t_2); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3323, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -65020,7 +62228,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_6__str__(st __pyx_L0:; __Pyx_DECREF(((PyObject *)__pyx_cur_scope)); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -65048,14 +62255,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Selector_9providers_ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_9providers___get__(struct __pyx_obj_19dependency_injector_9providers_Selector *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 3334, 0, __PYX_ERR(1, 3334, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3336 * def providers(self): @@ -65064,7 +62269,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_9providers_ * * cpdef object _provide(self, tuple args, dict kwargs): */ - __Pyx_TraceLine(3336,0,__PYX_ERR(1, 3336, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); if (unlikely(__pyx_v_self->__pyx___providers == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' is not iterable"); @@ -65091,7 +62295,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_9providers_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -65108,7 +62311,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Selector_9_provide(P static PyObject *__pyx_f_19dependency_injector_9providers_8Selector__provide(struct __pyx_obj_19dependency_injector_9providers_Selector *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs, int __pyx_skip_dispatch) { PyObject *__pyx_v_selector_value = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -65122,7 +62324,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Selector__provide(str const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide", __pyx_f[1], 3338, 0, __PYX_ERR(1, 3338, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -65207,7 +62408,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Selector__provide(str * * if selector_value is None: */ - __Pyx_TraceLine(3340,0,__PYX_ERR(1, 3340, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_self->__pyx___selector); __pyx_t_2 = __pyx_v_self->__pyx___selector; __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -65234,7 +62434,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Selector__provide(str * raise Error('Selector value is undefined') * */ - __Pyx_TraceLine(3342,0,__PYX_ERR(1, 3342, __pyx_L1_error)) __pyx_t_7 = (__pyx_v_selector_value == Py_None); __pyx_t_8 = (__pyx_t_7 != 0); if (unlikely(__pyx_t_8)) { @@ -65246,7 +62445,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Selector__provide(str * * if selector_value not in self.__providers: */ - __Pyx_TraceLine(3343,0,__PYX_ERR(1, 3343, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_Error); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3343, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -65284,7 +62482,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Selector__provide(str * raise Error('Selector has no "{0}" provider'.format(selector_value)) * */ - __Pyx_TraceLine(3345,0,__PYX_ERR(1, 3345, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___providers == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); __PYX_ERR(1, 3345, __pyx_L1_error) @@ -65300,7 +62497,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Selector__provide(str * * return self.__providers[selector_value](*args, **kwargs) */ - __Pyx_TraceLine(3346,0,__PYX_ERR(1, 3346, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_Error); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3346, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Selector_has_no_0_provider, __pyx_n_s_format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 3346, __pyx_L1_error) @@ -65356,7 +62552,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Selector__provide(str * * */ - __Pyx_TraceLine(3348,0,__PYX_ERR(1, 3348, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); if (unlikely(__pyx_v_self->__pyx___providers == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); @@ -65399,7 +62594,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_8Selector__provide(str __pyx_L0:; __Pyx_XDECREF(__pyx_v_selector_value); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -65477,14 +62671,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Selector_9_provide(P static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_8_provide(struct __pyx_obj_19dependency_injector_9providers_Selector *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide (wrapper)", __pyx_f[1], 3338, 0, __PYX_ERR(1, 3338, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_8Selector__provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3338, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -65499,7 +62691,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_8_provide(s __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -65528,7 +62719,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_10__reduce_ PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -65540,7 +62730,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_10__reduce_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -65549,7 +62738,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_10__reduce_ * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -65579,7 +62767,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_10__reduce_ * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -65592,7 +62779,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_10__reduce_ * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -65604,7 +62790,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_10__reduce_ * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -65623,7 +62808,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_10__reduce_ * else: * use_setstate = self.__last_overriding is not None or self.__overridden is not None or self.__providers is not None or self.__selector is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -65643,7 +62827,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_10__reduce_ * if use_setstate: * return __pyx_unpickle_Selector, (type(self), 0x6a94d6b, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (((PyObject *)__pyx_v_self->__pyx_base.__pyx___last_overriding) != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -65681,7 +62864,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_10__reduce_ * return __pyx_unpickle_Selector, (type(self), 0x6a94d6b, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -65692,7 +62874,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_10__reduce_ * else: * return __pyx_unpickle_Selector, (type(self), 0x6a94d6b, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_Selector); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -65738,7 +62919,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_10__reduce_ * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Selector__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_Selector); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -65784,7 +62964,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_10__reduce_ __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -65811,21 +62990,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_8Selector_13__setstat static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_12__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_Selector *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_Selector, (type(self), 0x6a94d6b, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Selector__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Selector__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -65847,7 +63023,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8Selector_12__setstat __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -65915,7 +63090,6 @@ static int __pyx_pw_19dependency_injector_9providers_16ProvidedInstance_1__init_ static int __pyx_pf_19dependency_injector_9providers_16ProvidedInstance___init__(struct __pyx_obj_19dependency_injector_9providers_ProvidedInstance *__pyx_v_self, PyObject *__pyx_v_provider) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -65924,7 +63098,6 @@ static int __pyx_pf_19dependency_injector_9providers_16ProvidedInstance___init__ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 3382, 0, __PYX_ERR(1, 3382, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3383 * @@ -65933,7 +63106,6 @@ static int __pyx_pf_19dependency_injector_9providers_16ProvidedInstance___init__ * super().__init__() * */ - __Pyx_TraceLine(3383,0,__PYX_ERR(1, 3383, __pyx_L1_error)) if (!(likely(((__pyx_v_provider) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_provider, __pyx_ptype_19dependency_injector_9providers_Provider))))) __PYX_ERR(1, 3383, __pyx_L1_error) __pyx_t_1 = __pyx_v_provider; __Pyx_INCREF(__pyx_t_1); @@ -65950,7 +63122,6 @@ static int __pyx_pf_19dependency_injector_9providers_16ProvidedInstance___init__ * * def __repr__(self): */ - __Pyx_TraceLine(3384,0,__PYX_ERR(1, 3384, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3384, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_ProvidedInstance)); @@ -66000,7 +63171,6 @@ static int __pyx_pf_19dependency_injector_9providers_16ProvidedInstance___init__ __Pyx_AddTraceback("dependency_injector.providers.ProvidedInstance.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -66028,7 +63198,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16ProvidedInstance_3_ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_2__repr__(struct __pyx_obj_19dependency_injector_9providers_ProvidedInstance *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; @@ -66039,7 +63208,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_2_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__repr__", 0); - __Pyx_TraceCall("__repr__", __pyx_f[1], 3386, 0, __PYX_ERR(1, 3386, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3387 * @@ -66048,7 +63216,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_2_ * * def __deepcopy__(self, memo=None): */ - __Pyx_TraceLine(3387,0,__PYX_ERR(1, 3387, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyTuple_New(4); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3387, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -66067,10 +63234,10 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_2_ __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_4); __pyx_t_4 = 0; - __Pyx_INCREF(__pyx_kp_u__32); + __Pyx_INCREF(__pyx_kp_u__26); __pyx_t_2 += 2; - __Pyx_GIVEREF(__pyx_kp_u__32); - PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_kp_u__32); + __Pyx_GIVEREF(__pyx_kp_u__26); + PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_kp_u__26); __pyx_t_4 = __Pyx_PyObject_FormatSimple(((PyObject *)__pyx_v_self->__pyx___provider), __pyx_empty_unicode); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3387, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_3 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_4) > __pyx_t_3) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_4) : __pyx_t_3; @@ -66078,10 +63245,10 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_2_ __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_t_4); __pyx_t_4 = 0; - __Pyx_INCREF(__pyx_kp_u__33); + __Pyx_INCREF(__pyx_kp_u__27); __pyx_t_2 += 2; - __Pyx_GIVEREF(__pyx_kp_u__33); - PyTuple_SET_ITEM(__pyx_t_1, 3, __pyx_kp_u__33); + __Pyx_GIVEREF(__pyx_kp_u__27); + PyTuple_SET_ITEM(__pyx_t_1, 3, __pyx_kp_u__27); __pyx_t_4 = __Pyx_PyUnicode_Join(__pyx_t_1, 4, __pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3387, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -66106,7 +63273,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_2_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -66181,7 +63347,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16ProvidedInstance_5_ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_4__deepcopy__(struct __pyx_obj_19dependency_injector_9providers_ProvidedInstance *__pyx_v_self, PyObject *__pyx_v_memo) { struct __pyx_obj_19dependency_injector_9providers_ProvidedInstance *__pyx_v_copied = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -66194,7 +63359,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_4_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[1], 3389, 0, __PYX_ERR(1, 3389, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3392 * cdef ProvidedInstance copied @@ -66203,7 +63367,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_4_ * if copied is not None: * return copied */ - __Pyx_TraceLine(3392,0,__PYX_ERR(1, 3392, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3392, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3392, __pyx_L1_error) @@ -66235,7 +63398,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_4_ * return copied * */ - __Pyx_TraceLine(3393,0,__PYX_ERR(1, 3393, __pyx_L1_error)) __pyx_t_5 = (((PyObject *)__pyx_v_copied) != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -66247,7 +63409,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_4_ * * return self.__class__( */ - __Pyx_TraceLine(3394,0,__PYX_ERR(1, 3394, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_copied)); __pyx_r = ((PyObject *)__pyx_v_copied); @@ -66269,7 +63430,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_4_ * deepcopy(self.__provider, memo), * ) */ - __Pyx_TraceLine(3396,0,__PYX_ERR(1, 3396, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3396, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -66281,7 +63441,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_4_ * ) * */ - __Pyx_TraceLine(3397,0,__PYX_ERR(1, 3397, __pyx_L1_error)) __pyx_t_3 = ((PyObject *)__pyx_v_self->__pyx___provider); __Pyx_INCREF(__pyx_t_3); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 3397, __pyx_L1_error) @@ -66329,7 +63488,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_4_ __pyx_L0:; __Pyx_XDECREF((PyObject *)__pyx_v_copied); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -66357,7 +63515,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16ProvidedInstance_7_ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_6__getattr__(struct __pyx_obj_19dependency_injector_9providers_ProvidedInstance *__pyx_v_self, PyObject *__pyx_v_item) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -66365,7 +63522,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_6_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__getattr__", 0); - __Pyx_TraceCall("__getattr__", __pyx_f[1], 3400, 0, __PYX_ERR(1, 3400, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3401 * @@ -66374,7 +63530,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_6_ * * def __getitem__(self, item): */ - __Pyx_TraceLine(3401,0,__PYX_ERR(1, 3401, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3401, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -66407,7 +63562,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_6_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -66435,7 +63589,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16ProvidedInstance_9_ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_8__getitem__(struct __pyx_obj_19dependency_injector_9providers_ProvidedInstance *__pyx_v_self, PyObject *__pyx_v_item) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -66443,7 +63596,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_8_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_TraceCall("__getitem__", __pyx_f[1], 3403, 0, __PYX_ERR(1, 3403, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3404 * @@ -66452,7 +63604,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_8_ * * @property */ - __Pyx_TraceLine(3404,0,__PYX_ERR(1, 3404, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3404, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -66485,7 +63636,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_8_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -66513,13 +63663,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16ProvidedInstance_8p static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_8provides___get__(struct __pyx_obj_19dependency_injector_9providers_ProvidedInstance *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 3407, 0, __PYX_ERR(1, 3407, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3409 * def provides(self): @@ -66528,7 +63673,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_8p * * def call(self, *args, **kwargs): */ - __Pyx_TraceLine(3409,0,__PYX_ERR(1, 3409, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self->__pyx___provider)); __pyx_r = ((PyObject *)__pyx_v_self->__pyx___provider); @@ -66543,12 +63687,8 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_8p */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.ProvidedInstance.provides.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -66589,7 +63729,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16ProvidedInstance_11 static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_10call(struct __pyx_obj_19dependency_injector_9providers_ProvidedInstance *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -66597,7 +63736,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_10 const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("call", 0); - __Pyx_TraceCall("call", __pyx_f[1], 3411, 0, __PYX_ERR(1, 3411, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3412 * @@ -66606,7 +63744,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_10 * * cpdef object _provide(self, tuple args, dict kwargs): */ - __Pyx_TraceLine(3412,0,__PYX_ERR(1, 3412, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3412, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -66639,7 +63776,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_10 __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -66655,7 +63791,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_10 static PyObject *__pyx_pw_19dependency_injector_9providers_16ProvidedInstance_13_provide(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ static PyObject *__pyx_f_19dependency_injector_9providers_16ProvidedInstance__provide(struct __pyx_obj_19dependency_injector_9providers_ProvidedInstance *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs, int __pyx_skip_dispatch) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -66667,7 +63802,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_16ProvidedInstance__pr const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide", __pyx_f[1], 3414, 0, __PYX_ERR(1, 3414, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -66752,7 +63886,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_16ProvidedInstance__pr * * */ - __Pyx_TraceLine(3415,0,__PYX_ERR(1, 3415, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); if (unlikely(__pyx_v_args == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); @@ -66787,7 +63920,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_16ProvidedInstance__pr __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -66864,14 +63996,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16ProvidedInstance_13 static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_12_provide(struct __pyx_obj_19dependency_injector_9providers_ProvidedInstance *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide (wrapper)", __pyx_f[1], 3414, 0, __PYX_ERR(1, 3414, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_16ProvidedInstance__provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3414, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -66886,7 +64016,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_12 __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -66915,7 +64044,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_14 PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -66927,7 +64055,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_14 const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -66936,7 +64063,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_14 * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -66963,7 +64089,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_14 * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -66976,7 +64101,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_14 * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -66988,7 +64112,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_14 * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -67007,7 +64130,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_14 * else: * use_setstate = self.__last_overriding is not None or self.__overridden is not None or self.__provider is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -67027,7 +64149,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_14 * if use_setstate: * return __pyx_unpickle_ProvidedInstance, (type(self), 0xfd61095, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (((PyObject *)__pyx_v_self->__pyx_base.__pyx___last_overriding) != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -67058,7 +64179,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_14 * return __pyx_unpickle_ProvidedInstance, (type(self), 0xfd61095, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -67069,7 +64189,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_14 * else: * return __pyx_unpickle_ProvidedInstance, (type(self), 0xfd61095, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_ProvidedInstance); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -67115,7 +64234,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_14 * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_ProvidedInstance__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_ProvidedInstance); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -67161,7 +64279,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_14 __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -67188,21 +64305,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_16ProvidedInstance_17 static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_16__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_ProvidedInstance *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_ProvidedInstance, (type(self), 0xfd61095, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_ProvidedInstance__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_ProvidedInstance__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -67224,7 +64338,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16ProvidedInstance_16 __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -67303,7 +64416,6 @@ static int __pyx_pw_19dependency_injector_9providers_15AttributeGetter_1__init__ static int __pyx_pf_19dependency_injector_9providers_15AttributeGetter___init__(struct __pyx_obj_19dependency_injector_9providers_AttributeGetter *__pyx_v_self, PyObject *__pyx_v_provider, PyObject *__pyx_v_attribute) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -67312,7 +64424,6 @@ static int __pyx_pf_19dependency_injector_9providers_15AttributeGetter___init__( const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 3424, 0, __PYX_ERR(1, 3424, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3425 * @@ -67321,7 +64432,6 @@ static int __pyx_pf_19dependency_injector_9providers_15AttributeGetter___init__( * self.__attribute = attribute * super().__init__() */ - __Pyx_TraceLine(3425,0,__PYX_ERR(1, 3425, __pyx_L1_error)) if (!(likely(((__pyx_v_provider) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_provider, __pyx_ptype_19dependency_injector_9providers_Provider))))) __PYX_ERR(1, 3425, __pyx_L1_error) __pyx_t_1 = __pyx_v_provider; __Pyx_INCREF(__pyx_t_1); @@ -67338,7 +64448,6 @@ static int __pyx_pf_19dependency_injector_9providers_15AttributeGetter___init__( * super().__init__() * */ - __Pyx_TraceLine(3426,0,__PYX_ERR(1, 3426, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_attribute); __Pyx_GIVEREF(__pyx_v_attribute); __Pyx_GOTREF(__pyx_v_self->__pyx___attribute); @@ -67352,7 +64461,6 @@ static int __pyx_pf_19dependency_injector_9providers_15AttributeGetter___init__( * * def __repr__(self): */ - __Pyx_TraceLine(3427,0,__PYX_ERR(1, 3427, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3427, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_AttributeGetter)); @@ -67402,7 +64510,6 @@ static int __pyx_pf_19dependency_injector_9providers_15AttributeGetter___init__( __Pyx_AddTraceback("dependency_injector.providers.AttributeGetter.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -67430,7 +64537,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_15AttributeGetter_3__ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_2__repr__(struct __pyx_obj_19dependency_injector_9providers_AttributeGetter *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; @@ -67441,7 +64547,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_2__ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__repr__", 0); - __Pyx_TraceCall("__repr__", __pyx_f[1], 3429, 0, __PYX_ERR(1, 3429, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3430 * @@ -67450,7 +64555,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_2__ * * def __deepcopy__(self, memo=None): */ - __Pyx_TraceLine(3430,0,__PYX_ERR(1, 3430, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyTuple_New(4); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3430, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -67469,10 +64573,10 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_2__ __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_4); __pyx_t_4 = 0; - __Pyx_INCREF(__pyx_kp_u__32); + __Pyx_INCREF(__pyx_kp_u__26); __pyx_t_2 += 2; - __Pyx_GIVEREF(__pyx_kp_u__32); - PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_kp_u__32); + __Pyx_GIVEREF(__pyx_kp_u__26); + PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_kp_u__26); __pyx_t_4 = __Pyx_PyObject_FormatSimple(__pyx_v_self->__pyx___attribute, __pyx_empty_unicode); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3430, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_3 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_4) > __pyx_t_3) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_4) : __pyx_t_3; @@ -67480,10 +64584,10 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_2__ __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_t_4); __pyx_t_4 = 0; - __Pyx_INCREF(__pyx_kp_u__33); + __Pyx_INCREF(__pyx_kp_u__27); __pyx_t_2 += 2; - __Pyx_GIVEREF(__pyx_kp_u__33); - PyTuple_SET_ITEM(__pyx_t_1, 3, __pyx_kp_u__33); + __Pyx_GIVEREF(__pyx_kp_u__27); + PyTuple_SET_ITEM(__pyx_t_1, 3, __pyx_kp_u__27); __pyx_t_4 = __Pyx_PyUnicode_Join(__pyx_t_1, 4, __pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3430, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -67508,7 +64612,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_2__ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -67583,7 +64686,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_15AttributeGetter_5__ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_4__deepcopy__(struct __pyx_obj_19dependency_injector_9providers_AttributeGetter *__pyx_v_self, PyObject *__pyx_v_memo) { struct __pyx_obj_19dependency_injector_9providers_AttributeGetter *__pyx_v_copied = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -67598,7 +64700,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_4__ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[1], 3432, 0, __PYX_ERR(1, 3432, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3435 * cdef AttributeGetter copied @@ -67607,7 +64708,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_4__ * if copied is not None: * return copied */ - __Pyx_TraceLine(3435,0,__PYX_ERR(1, 3435, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3435, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3435, __pyx_L1_error) @@ -67639,7 +64739,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_4__ * return copied * */ - __Pyx_TraceLine(3436,0,__PYX_ERR(1, 3436, __pyx_L1_error)) __pyx_t_5 = (((PyObject *)__pyx_v_copied) != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -67651,7 +64750,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_4__ * * return self.__class__( */ - __Pyx_TraceLine(3437,0,__PYX_ERR(1, 3437, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_copied)); __pyx_r = ((PyObject *)__pyx_v_copied); @@ -67673,7 +64771,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_4__ * deepcopy(self.__provider, memo), * self.__attribute, */ - __Pyx_TraceLine(3439,0,__PYX_ERR(1, 3439, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3439, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -67685,7 +64782,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_4__ * self.__attribute, * ) */ - __Pyx_TraceLine(3440,0,__PYX_ERR(1, 3440, __pyx_L1_error)) __pyx_t_3 = ((PyObject *)__pyx_v_self->__pyx___provider); __Pyx_INCREF(__pyx_t_3); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 3440, __pyx_L1_error) @@ -67702,7 +64798,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_4__ * ) * */ - __Pyx_TraceLine(3441,0,__PYX_ERR(1, 3441, __pyx_L1_error)) __pyx_t_3 = NULL; __pyx_t_8 = 0; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -67774,7 +64869,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_4__ __pyx_L0:; __Pyx_XDECREF((PyObject *)__pyx_v_copied); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -67802,7 +64896,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_15AttributeGetter_7__ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_6__getattr__(struct __pyx_obj_19dependency_injector_9providers_AttributeGetter *__pyx_v_self, PyObject *__pyx_v_item) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -67810,7 +64903,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_6__ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__getattr__", 0); - __Pyx_TraceCall("__getattr__", __pyx_f[1], 3444, 0, __PYX_ERR(1, 3444, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3445 * @@ -67819,7 +64911,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_6__ * * def __getitem__(self, item): */ - __Pyx_TraceLine(3445,0,__PYX_ERR(1, 3445, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3445, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -67852,7 +64943,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_6__ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -67880,7 +64970,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_15AttributeGetter_9__ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_8__getitem__(struct __pyx_obj_19dependency_injector_9providers_AttributeGetter *__pyx_v_self, PyObject *__pyx_v_item) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -67888,7 +64977,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_8__ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_TraceCall("__getitem__", __pyx_f[1], 3447, 0, __PYX_ERR(1, 3447, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3448 * @@ -67897,7 +64985,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_8__ * * @property */ - __Pyx_TraceLine(3448,0,__PYX_ERR(1, 3448, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3448, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -67930,7 +65017,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_8__ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -67958,13 +65044,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_15AttributeGetter_8pr static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_8provides___get__(struct __pyx_obj_19dependency_injector_9providers_AttributeGetter *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 3451, 0, __PYX_ERR(1, 3451, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3453 * def provides(self): @@ -67973,7 +65054,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_8pr * * @property */ - __Pyx_TraceLine(3453,0,__PYX_ERR(1, 3453, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self->__pyx___provider)); __pyx_r = ((PyObject *)__pyx_v_self->__pyx___provider); @@ -67988,12 +65068,8 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_8pr */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.AttributeGetter.provides.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -68021,13 +65097,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_15AttributeGetter_4na static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_4name___get__(struct __pyx_obj_19dependency_injector_9providers_AttributeGetter *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 3456, 0, __PYX_ERR(1, 3456, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3458 * def name(self): @@ -68036,7 +65107,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_4na * * def call(self, *args, **kwargs): */ - __Pyx_TraceLine(3458,0,__PYX_ERR(1, 3458, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___attribute); __pyx_r = __pyx_v_self->__pyx___attribute; @@ -68051,12 +65121,8 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_4na */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.AttributeGetter.name.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -68097,7 +65163,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_15AttributeGetter_11c static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_10call(struct __pyx_obj_19dependency_injector_9providers_AttributeGetter *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -68105,7 +65170,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_10c const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("call", 0); - __Pyx_TraceCall("call", __pyx_f[1], 3460, 0, __PYX_ERR(1, 3460, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3461 * @@ -68114,7 +65178,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_10c * * cpdef object _provide(self, tuple args, dict kwargs): */ - __Pyx_TraceLine(3461,0,__PYX_ERR(1, 3461, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3461, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -68147,7 +65210,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_10c __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -68165,7 +65227,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_15AttributeGetter__pro PyObject *__pyx_v_provided = NULL; PyObject *__pyx_v_future_result = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -68180,7 +65241,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_15AttributeGetter__pro const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide", __pyx_f[1], 3463, 0, __PYX_ERR(1, 3463, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -68265,7 +65325,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_15AttributeGetter__pro * if __isawaitable(provided): * future_result = asyncio.Future() */ - __Pyx_TraceLine(3464,0,__PYX_ERR(1, 3464, __pyx_L1_error)) if (unlikely(__pyx_v_args == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); __PYX_ERR(1, 3464, __pyx_L1_error) @@ -68286,7 +65345,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_15AttributeGetter__pro * future_result = asyncio.Future() * provided = asyncio.ensure_future(provided) */ - __Pyx_TraceLine(3465,0,__PYX_ERR(1, 3465, __pyx_L1_error)) __pyx_t_7 = (__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_provided) != 0); if (__pyx_t_7) { @@ -68297,7 +65355,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_15AttributeGetter__pro * provided = asyncio.ensure_future(provided) * provided.add_done_callback(functools.partial(self._async_provide, future_result)) */ - __Pyx_TraceLine(3466,0,__PYX_ERR(1, 3466, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3466, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_Future); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3466, __pyx_L1_error) @@ -68328,7 +65385,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_15AttributeGetter__pro * provided.add_done_callback(functools.partial(self._async_provide, future_result)) * return future_result */ - __Pyx_TraceLine(3467,0,__PYX_ERR(1, 3467, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3467, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_ensure_future); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3467, __pyx_L1_error) @@ -68359,7 +65415,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_15AttributeGetter__pro * return future_result * return getattr(provided, self.__attribute) */ - __Pyx_TraceLine(3468,0,__PYX_ERR(1, 3468, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_provided, __pyx_n_s_add_done_callback); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3468, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_functools); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 3468, __pyx_L1_error) @@ -68441,7 +65496,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_15AttributeGetter__pro * return getattr(provided, self.__attribute) * */ - __Pyx_TraceLine(3469,0,__PYX_ERR(1, 3469, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_future_result); __pyx_r = __pyx_v_future_result; @@ -68463,7 +65517,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_15AttributeGetter__pro * * def _async_provide(self, future_result, future): */ - __Pyx_TraceLine(3470,0,__PYX_ERR(1, 3470, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_v_self->__pyx___attribute; __Pyx_INCREF(__pyx_t_1); @@ -68497,7 +65550,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_15AttributeGetter__pro __Pyx_XDECREF(__pyx_v_provided); __Pyx_XDECREF(__pyx_v_future_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -68574,14 +65626,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_15AttributeGetter_13_ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_12_provide(struct __pyx_obj_19dependency_injector_9providers_AttributeGetter *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide (wrapper)", __pyx_f[1], 3463, 0, __PYX_ERR(1, 3463, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_15AttributeGetter__provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3463, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -68596,7 +65646,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_12_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -68677,7 +65726,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_14_ PyObject *__pyx_v_provided = NULL; PyObject *__pyx_v_result = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -68686,7 +65734,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_14_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_async_provide", 0); - __Pyx_TraceCall("_async_provide", __pyx_f[1], 3472, 0, __PYX_ERR(1, 3472, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3473 * @@ -68695,7 +65742,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_14_ * result = getattr(provided, self.__attribute) * future_result.set_result(result) */ - __Pyx_TraceLine(3473,0,__PYX_ERR(1, 3473, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_future, __pyx_n_s_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3473, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -68723,7 +65769,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_14_ * future_result.set_result(result) * */ - __Pyx_TraceLine(3474,0,__PYX_ERR(1, 3474, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___attribute; __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = __Pyx_GetAttr(__pyx_v_provided, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3474, __pyx_L1_error) @@ -68739,7 +65784,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_14_ * * */ - __Pyx_TraceLine(3475,0,__PYX_ERR(1, 3475, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_future_result, __pyx_n_s_set_result); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3475, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = NULL; @@ -68780,7 +65824,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_14_ __Pyx_XDECREF(__pyx_v_provided); __Pyx_XDECREF(__pyx_v_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -68809,7 +65852,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_16_ PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -68821,7 +65863,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_16_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -68830,7 +65871,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_16_ * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -68860,7 +65900,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_16_ * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -68873,7 +65912,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_16_ * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -68885,7 +65923,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_16_ * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -68904,7 +65941,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_16_ * else: * use_setstate = self.__attribute is not None or self.__last_overriding is not None or self.__overridden is not None or self.__provider is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -68924,7 +65960,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_16_ * if use_setstate: * return __pyx_unpickle_AttributeGetter, (type(self), 0x7ec84e3, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (__pyx_v_self->__pyx___attribute != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -68962,7 +65997,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_16_ * return __pyx_unpickle_AttributeGetter, (type(self), 0x7ec84e3, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -68973,7 +66007,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_16_ * else: * return __pyx_unpickle_AttributeGetter, (type(self), 0x7ec84e3, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_AttributeGetter); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -69019,7 +66052,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_16_ * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_AttributeGetter__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_AttributeGetter); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -69065,7 +66097,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_16_ __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -69092,21 +66123,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_15AttributeGetter_19_ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_18__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_AttributeGetter *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_AttributeGetter, (type(self), 0x7ec84e3, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_AttributeGetter__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_AttributeGetter__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -69128,7 +66156,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_15AttributeGetter_18_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -69212,7 +66239,6 @@ static int __pyx_pw_19dependency_injector_9providers_10ItemGetter_1__init__(PyOb static int __pyx_pf_19dependency_injector_9providers_10ItemGetter___init__(struct __pyx_obj_19dependency_injector_9providers_ItemGetter *__pyx_v_self, struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v_provider, PyObject *__pyx_v_item) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -69221,7 +66247,6 @@ static int __pyx_pf_19dependency_injector_9providers_10ItemGetter___init__(struc const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 3484, 0, __PYX_ERR(1, 3484, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3485 * @@ -69230,7 +66255,6 @@ static int __pyx_pf_19dependency_injector_9providers_10ItemGetter___init__(struc * self.__item = item * super().__init__() */ - __Pyx_TraceLine(3485,0,__PYX_ERR(1, 3485, __pyx_L1_error)) __Pyx_INCREF(((PyObject *)__pyx_v_provider)); __Pyx_GIVEREF(((PyObject *)__pyx_v_provider)); __Pyx_GOTREF(__pyx_v_self->__pyx___provider); @@ -69244,7 +66268,6 @@ static int __pyx_pf_19dependency_injector_9providers_10ItemGetter___init__(struc * super().__init__() * */ - __Pyx_TraceLine(3486,0,__PYX_ERR(1, 3486, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_item); __Pyx_GIVEREF(__pyx_v_item); __Pyx_GOTREF(__pyx_v_self->__pyx___item); @@ -69258,7 +66281,6 @@ static int __pyx_pf_19dependency_injector_9providers_10ItemGetter___init__(struc * * def __repr__(self): */ - __Pyx_TraceLine(3487,0,__PYX_ERR(1, 3487, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3487, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_ItemGetter)); @@ -69308,7 +66330,6 @@ static int __pyx_pf_19dependency_injector_9providers_10ItemGetter___init__(struc __Pyx_AddTraceback("dependency_injector.providers.ItemGetter.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -69336,7 +66357,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_10ItemGetter_3__repr_ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_2__repr__(struct __pyx_obj_19dependency_injector_9providers_ItemGetter *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; @@ -69347,7 +66367,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_2__repr_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__repr__", 0); - __Pyx_TraceCall("__repr__", __pyx_f[1], 3489, 0, __PYX_ERR(1, 3489, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3490 * @@ -69356,7 +66375,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_2__repr_ * * def __deepcopy__(self, memo=None): */ - __Pyx_TraceLine(3490,0,__PYX_ERR(1, 3490, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyTuple_New(4); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3490, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -69375,10 +66393,10 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_2__repr_ __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_4); __pyx_t_4 = 0; - __Pyx_INCREF(__pyx_kp_u__32); + __Pyx_INCREF(__pyx_kp_u__26); __pyx_t_2 += 2; - __Pyx_GIVEREF(__pyx_kp_u__32); - PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_kp_u__32); + __Pyx_GIVEREF(__pyx_kp_u__26); + PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_kp_u__26); __pyx_t_4 = __Pyx_PyObject_FormatSimple(__pyx_v_self->__pyx___item, __pyx_empty_unicode); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3490, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_3 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_4) > __pyx_t_3) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_4) : __pyx_t_3; @@ -69386,10 +66404,10 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_2__repr_ __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_t_4); __pyx_t_4 = 0; - __Pyx_INCREF(__pyx_kp_u__33); + __Pyx_INCREF(__pyx_kp_u__27); __pyx_t_2 += 2; - __Pyx_GIVEREF(__pyx_kp_u__33); - PyTuple_SET_ITEM(__pyx_t_1, 3, __pyx_kp_u__33); + __Pyx_GIVEREF(__pyx_kp_u__27); + PyTuple_SET_ITEM(__pyx_t_1, 3, __pyx_kp_u__27); __pyx_t_4 = __Pyx_PyUnicode_Join(__pyx_t_1, 4, __pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3490, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -69414,7 +66432,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_2__repr_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -69489,7 +66506,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_10ItemGetter_5__deepc static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_4__deepcopy__(struct __pyx_obj_19dependency_injector_9providers_ItemGetter *__pyx_v_self, PyObject *__pyx_v_memo) { struct __pyx_obj_19dependency_injector_9providers_ItemGetter *__pyx_v_copied = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -69504,7 +66520,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_4__deepc const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[1], 3492, 0, __PYX_ERR(1, 3492, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3495 * cdef ItemGetter copied @@ -69513,7 +66528,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_4__deepc * if copied is not None: * return copied */ - __Pyx_TraceLine(3495,0,__PYX_ERR(1, 3495, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3495, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3495, __pyx_L1_error) @@ -69545,7 +66559,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_4__deepc * return copied * */ - __Pyx_TraceLine(3496,0,__PYX_ERR(1, 3496, __pyx_L1_error)) __pyx_t_5 = (((PyObject *)__pyx_v_copied) != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -69557,7 +66570,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_4__deepc * * return self.__class__( */ - __Pyx_TraceLine(3497,0,__PYX_ERR(1, 3497, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_copied)); __pyx_r = ((PyObject *)__pyx_v_copied); @@ -69579,7 +66591,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_4__deepc * deepcopy(self.__provider, memo), * self.__item, */ - __Pyx_TraceLine(3499,0,__PYX_ERR(1, 3499, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3499, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -69591,7 +66602,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_4__deepc * self.__item, * ) */ - __Pyx_TraceLine(3500,0,__PYX_ERR(1, 3500, __pyx_L1_error)) __pyx_t_3 = ((PyObject *)__pyx_v_self->__pyx___provider); __Pyx_INCREF(__pyx_t_3); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 3500, __pyx_L1_error) @@ -69608,7 +66618,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_4__deepc * ) * */ - __Pyx_TraceLine(3501,0,__PYX_ERR(1, 3501, __pyx_L1_error)) __pyx_t_3 = NULL; __pyx_t_8 = 0; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -69680,7 +66689,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_4__deepc __pyx_L0:; __Pyx_XDECREF((PyObject *)__pyx_v_copied); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -69708,7 +66716,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_10ItemGetter_7__getat static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_6__getattr__(struct __pyx_obj_19dependency_injector_9providers_ItemGetter *__pyx_v_self, PyObject *__pyx_v_item) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -69716,7 +66723,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_6__getat const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__getattr__", 0); - __Pyx_TraceCall("__getattr__", __pyx_f[1], 3504, 0, __PYX_ERR(1, 3504, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3505 * @@ -69725,7 +66731,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_6__getat * * def __getitem__(self, item): */ - __Pyx_TraceLine(3505,0,__PYX_ERR(1, 3505, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3505, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -69758,7 +66763,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_6__getat __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -69786,7 +66790,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_10ItemGetter_9__getit static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_8__getitem__(struct __pyx_obj_19dependency_injector_9providers_ItemGetter *__pyx_v_self, PyObject *__pyx_v_item) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -69794,7 +66797,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_8__getit const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_TraceCall("__getitem__", __pyx_f[1], 3507, 0, __PYX_ERR(1, 3507, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3508 * @@ -69803,7 +66805,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_8__getit * * @property */ - __Pyx_TraceLine(3508,0,__PYX_ERR(1, 3508, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3508, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -69836,7 +66837,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_8__getit __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -69864,13 +66864,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_10ItemGetter_8provide static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_8provides___get__(struct __pyx_obj_19dependency_injector_9providers_ItemGetter *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 3511, 0, __PYX_ERR(1, 3511, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3513 * def provides(self): @@ -69879,7 +66874,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_8provide * * @property */ - __Pyx_TraceLine(3513,0,__PYX_ERR(1, 3513, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self->__pyx___provider)); __pyx_r = ((PyObject *)__pyx_v_self->__pyx___provider); @@ -69894,12 +66888,8 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_8provide */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.ItemGetter.provides.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -69927,13 +66917,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_10ItemGetter_4name_1_ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_4name___get__(struct __pyx_obj_19dependency_injector_9providers_ItemGetter *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 3516, 0, __PYX_ERR(1, 3516, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3518 * def name(self): @@ -69942,7 +66927,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_4name___ * * def call(self, *args, **kwargs): */ - __Pyx_TraceLine(3518,0,__PYX_ERR(1, 3518, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___item); __pyx_r = __pyx_v_self->__pyx___item; @@ -69957,12 +66941,8 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_4name___ */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.ItemGetter.name.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -70003,7 +66983,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_10ItemGetter_11call(P static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_10call(struct __pyx_obj_19dependency_injector_9providers_ItemGetter *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -70011,7 +66990,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_10call(s const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("call", 0); - __Pyx_TraceCall("call", __pyx_f[1], 3520, 0, __PYX_ERR(1, 3520, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3521 * @@ -70020,7 +66998,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_10call(s * * cpdef object _provide(self, tuple args, dict kwargs): */ - __Pyx_TraceLine(3521,0,__PYX_ERR(1, 3521, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3521, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -70053,7 +67030,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_10call(s __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -70071,7 +67047,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_10ItemGetter__provide( PyObject *__pyx_v_provided = NULL; PyObject *__pyx_v_future_result = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -70086,7 +67061,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_10ItemGetter__provide( const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide", __pyx_f[1], 3523, 0, __PYX_ERR(1, 3523, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -70171,7 +67145,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_10ItemGetter__provide( * if __isawaitable(provided): * future_result = asyncio.Future() */ - __Pyx_TraceLine(3524,0,__PYX_ERR(1, 3524, __pyx_L1_error)) if (unlikely(__pyx_v_args == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); __PYX_ERR(1, 3524, __pyx_L1_error) @@ -70192,7 +67165,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_10ItemGetter__provide( * future_result = asyncio.Future() * provided = asyncio.ensure_future(provided) */ - __Pyx_TraceLine(3525,0,__PYX_ERR(1, 3525, __pyx_L1_error)) __pyx_t_7 = (__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_provided) != 0); if (__pyx_t_7) { @@ -70203,7 +67175,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_10ItemGetter__provide( * provided = asyncio.ensure_future(provided) * provided.add_done_callback(functools.partial(self._async_provide, future_result)) */ - __Pyx_TraceLine(3526,0,__PYX_ERR(1, 3526, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3526, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_Future); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3526, __pyx_L1_error) @@ -70234,7 +67205,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_10ItemGetter__provide( * provided.add_done_callback(functools.partial(self._async_provide, future_result)) * return future_result */ - __Pyx_TraceLine(3527,0,__PYX_ERR(1, 3527, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3527, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_ensure_future); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3527, __pyx_L1_error) @@ -70265,7 +67235,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_10ItemGetter__provide( * return future_result * return provided[self.__item] */ - __Pyx_TraceLine(3528,0,__PYX_ERR(1, 3528, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_provided, __pyx_n_s_add_done_callback); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3528, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_functools); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 3528, __pyx_L1_error) @@ -70347,7 +67316,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_10ItemGetter__provide( * return provided[self.__item] * */ - __Pyx_TraceLine(3529,0,__PYX_ERR(1, 3529, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_future_result); __pyx_r = __pyx_v_future_result; @@ -70369,7 +67337,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_10ItemGetter__provide( * * def _async_provide(self, future_result, future): */ - __Pyx_TraceLine(3530,0,__PYX_ERR(1, 3530, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_GetItem(__pyx_v_provided, __pyx_v_self->__pyx___item); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3530, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -70400,7 +67367,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_10ItemGetter__provide( __Pyx_XDECREF(__pyx_v_provided); __Pyx_XDECREF(__pyx_v_future_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -70477,14 +67443,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_10ItemGetter_13_provi static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_12_provide(struct __pyx_obj_19dependency_injector_9providers_ItemGetter *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide (wrapper)", __pyx_f[1], 3523, 0, __PYX_ERR(1, 3523, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_10ItemGetter__provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3523, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -70499,7 +67463,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_12_provi __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -70580,7 +67543,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_14_async PyObject *__pyx_v_provided = NULL; PyObject *__pyx_v_result = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -70589,7 +67551,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_14_async const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_async_provide", 0); - __Pyx_TraceCall("_async_provide", __pyx_f[1], 3532, 0, __PYX_ERR(1, 3532, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3533 * @@ -70598,7 +67559,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_14_async * result = provided[self.__item] * future_result.set_result(result) */ - __Pyx_TraceLine(3533,0,__PYX_ERR(1, 3533, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_future, __pyx_n_s_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3533, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -70626,7 +67586,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_14_async * future_result.set_result(result) * */ - __Pyx_TraceLine(3534,0,__PYX_ERR(1, 3534, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetItem(__pyx_v_provided, __pyx_v_self->__pyx___item); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3534, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_result = __pyx_t_1; @@ -70639,7 +67598,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_14_async * * */ - __Pyx_TraceLine(3535,0,__PYX_ERR(1, 3535, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_future_result, __pyx_n_s_set_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3535, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -70680,7 +67638,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_14_async __Pyx_XDECREF(__pyx_v_provided); __Pyx_XDECREF(__pyx_v_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -70709,7 +67666,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_16__redu PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -70721,7 +67677,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_16__redu const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -70730,7 +67685,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_16__redu * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -70760,7 +67714,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_16__redu * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v__dict = __pyx_t_2; @@ -70773,7 +67726,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_16__redu * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_3 = (__pyx_v__dict != Py_None); __pyx_t_4 = (__pyx_t_3 != 0); if (__pyx_t_4) { @@ -70785,7 +67737,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_16__redu * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v__dict); @@ -70804,7 +67755,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_16__redu * else: * use_setstate = self.__item is not None or self.__last_overriding is not None or self.__overridden is not None or self.__provider is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -70824,7 +67774,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_16__redu * if use_setstate: * return __pyx_unpickle_ItemGetter, (type(self), 0xa0575be, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_3 = (__pyx_v_self->__pyx___item != Py_None); __pyx_t_5 = (__pyx_t_3 != 0); @@ -70862,7 +67811,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_16__redu * return __pyx_unpickle_ItemGetter, (type(self), 0xa0575be, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_use_setstate != 0); if (__pyx_t_4) { @@ -70873,7 +67821,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_16__redu * else: * return __pyx_unpickle_ItemGetter, (type(self), 0xa0575be, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_ItemGetter); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -70919,7 +67866,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_16__redu * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_ItemGetter__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pyx_unpickle_ItemGetter); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -70965,7 +67911,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_16__redu __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -70992,21 +67937,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_10ItemGetter_19__sets static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_18__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_ItemGetter *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_ItemGetter, (type(self), 0xa0575be, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_ItemGetter__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_ItemGetter__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -71028,7 +67970,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10ItemGetter_18__sets __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -71116,7 +68057,6 @@ static int __pyx_pw_19dependency_injector_9providers_12MethodCaller_1__init__(Py static int __pyx_pf_19dependency_injector_9providers_12MethodCaller___init__(struct __pyx_obj_19dependency_injector_9providers_MethodCaller *__pyx_v_self, PyObject *__pyx_v_provider, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; @@ -71126,7 +68066,6 @@ static int __pyx_pf_19dependency_injector_9providers_12MethodCaller___init__(str const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 3544, 0, __PYX_ERR(1, 3544, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3545 * @@ -71135,7 +68074,6 @@ static int __pyx_pf_19dependency_injector_9providers_12MethodCaller___init__(str * * self.__args = parse_positional_injections(args) */ - __Pyx_TraceLine(3545,0,__PYX_ERR(1, 3545, __pyx_L1_error)) if (!(likely(((__pyx_v_provider) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_provider, __pyx_ptype_19dependency_injector_9providers_Provider))))) __PYX_ERR(1, 3545, __pyx_L1_error) __pyx_t_1 = __pyx_v_provider; __Pyx_INCREF(__pyx_t_1); @@ -71152,7 +68090,6 @@ static int __pyx_pf_19dependency_injector_9providers_12MethodCaller___init__(str * self.__args_len = len(self.__args) * */ - __Pyx_TraceLine(3547,0,__PYX_ERR(1, 3547, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers_parse_positional_injections(__pyx_v_args, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3547, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -71168,7 +68105,6 @@ static int __pyx_pf_19dependency_injector_9providers_12MethodCaller___init__(str * * self.__kwargs = parse_named_injections(kwargs) */ - __Pyx_TraceLine(3548,0,__PYX_ERR(1, 3548, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___args; __Pyx_INCREF(__pyx_t_1); if (unlikely(__pyx_t_1 == Py_None)) { @@ -71186,7 +68122,6 @@ static int __pyx_pf_19dependency_injector_9providers_12MethodCaller___init__(str * self.__kwargs_len = len(self.__kwargs) * */ - __Pyx_TraceLine(3550,0,__PYX_ERR(1, 3550, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers_parse_named_injections(__pyx_v_kwargs, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3550, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); @@ -71202,7 +68137,6 @@ static int __pyx_pf_19dependency_injector_9providers_12MethodCaller___init__(str * * super().__init__() */ - __Pyx_TraceLine(3551,0,__PYX_ERR(1, 3551, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___kwargs; __Pyx_INCREF(__pyx_t_1); if (unlikely(__pyx_t_1 == Py_None)) { @@ -71220,7 +68154,6 @@ static int __pyx_pf_19dependency_injector_9providers_12MethodCaller___init__(str * * def __repr__(self): */ - __Pyx_TraceLine(3553,0,__PYX_ERR(1, 3553, __pyx_L1_error)) __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3553, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_MethodCaller)); @@ -71270,7 +68203,6 @@ static int __pyx_pf_19dependency_injector_9providers_12MethodCaller___init__(str __Pyx_AddTraceback("dependency_injector.providers.MethodCaller.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -71298,7 +68230,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_12MethodCaller_3__rep static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_2__repr__(struct __pyx_obj_19dependency_injector_9providers_MethodCaller *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; @@ -71309,7 +68240,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_2__rep const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__repr__", 0); - __Pyx_TraceCall("__repr__", __pyx_f[1], 3555, 0, __PYX_ERR(1, 3555, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3556 * @@ -71318,7 +68248,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_2__rep * * def __deepcopy__(self, memo=None): */ - __Pyx_TraceLine(3556,0,__PYX_ERR(1, 3556, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyTuple_New(4); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3556, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -71337,10 +68266,10 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_2__rep __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_4); __pyx_t_4 = 0; - __Pyx_INCREF(__pyx_kp_u__25); + __Pyx_INCREF(__pyx_kp_u__21); __pyx_t_2 += 1; - __Pyx_GIVEREF(__pyx_kp_u__25); - PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_kp_u__25); + __Pyx_GIVEREF(__pyx_kp_u__21); + PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_kp_u__21); __pyx_t_4 = __Pyx_PyObject_FormatSimple(((PyObject *)__pyx_v_self->__pyx___provider), __pyx_empty_unicode); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3556, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_3 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_4) > __pyx_t_3) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_4) : __pyx_t_3; @@ -71348,10 +68277,10 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_2__rep __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_t_4); __pyx_t_4 = 0; - __Pyx_INCREF(__pyx_kp_u__26); + __Pyx_INCREF(__pyx_kp_u__22); __pyx_t_2 += 1; - __Pyx_GIVEREF(__pyx_kp_u__26); - PyTuple_SET_ITEM(__pyx_t_1, 3, __pyx_kp_u__26); + __Pyx_GIVEREF(__pyx_kp_u__22); + PyTuple_SET_ITEM(__pyx_t_1, 3, __pyx_kp_u__22); __pyx_t_4 = __Pyx_PyUnicode_Join(__pyx_t_1, 4, __pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3556, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -71376,7 +68305,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_2__rep __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -71451,7 +68379,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_12MethodCaller_5__dee static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_4__deepcopy__(struct __pyx_obj_19dependency_injector_9providers_MethodCaller *__pyx_v_self, PyObject *__pyx_v_memo) { struct __pyx_obj_19dependency_injector_9providers_MethodCaller *__pyx_v_copied = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -71465,7 +68392,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_4__dee const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[1], 3558, 0, __PYX_ERR(1, 3558, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3561 * cdef MethodCaller copied @@ -71474,7 +68400,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_4__dee * if copied is not None: * return copied */ - __Pyx_TraceLine(3561,0,__PYX_ERR(1, 3561, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3561, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3561, __pyx_L1_error) @@ -71506,7 +68431,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_4__dee * return copied * */ - __Pyx_TraceLine(3562,0,__PYX_ERR(1, 3562, __pyx_L1_error)) __pyx_t_5 = (((PyObject *)__pyx_v_copied) != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -71518,7 +68442,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_4__dee * * copied = self.__class__(deepcopy(self.__provider, memo)) */ - __Pyx_TraceLine(3563,0,__PYX_ERR(1, 3563, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_copied)); __pyx_r = ((PyObject *)__pyx_v_copied); @@ -71540,7 +68463,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_4__dee * copied.__args = deepcopy(self.__args, memo) * copied.__args_len = self.__args_len */ - __Pyx_TraceLine(3565,0,__PYX_ERR(1, 3565, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3565, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = ((PyObject *)__pyx_v_self->__pyx___provider); @@ -71578,7 +68500,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_4__dee * copied.__args_len = self.__args_len * copied.__kwargs = deepcopy(self.__kwargs, memo) */ - __Pyx_TraceLine(3566,0,__PYX_ERR(1, 3566, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___args; __Pyx_INCREF(__pyx_t_1); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 3566, __pyx_L1_error) @@ -71601,7 +68522,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_4__dee * copied.__kwargs = deepcopy(self.__kwargs, memo) * copied.__kwargs_len = self.__kwargs_len */ - __Pyx_TraceLine(3567,0,__PYX_ERR(1, 3567, __pyx_L1_error)) __pyx_t_8 = __pyx_v_self->__pyx___args_len; __pyx_v_copied->__pyx___args_len = __pyx_t_8; @@ -71612,7 +68532,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_4__dee * copied.__kwargs_len = self.__kwargs_len * */ - __Pyx_TraceLine(3568,0,__PYX_ERR(1, 3568, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___kwargs; __Pyx_INCREF(__pyx_t_2); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 3568, __pyx_L1_error) @@ -71635,7 +68554,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_4__dee * * self._copy_overridings(copied, memo) */ - __Pyx_TraceLine(3569,0,__PYX_ERR(1, 3569, __pyx_L1_error)) __pyx_t_8 = __pyx_v_self->__pyx___kwargs_len; __pyx_v_copied->__pyx___kwargs_len = __pyx_t_8; @@ -71646,7 +68564,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_4__dee * * return copied */ - __Pyx_TraceLine(3571,0,__PYX_ERR(1, 3571, __pyx_L1_error)) if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 3571, __pyx_L1_error) ((struct __pyx_vtabstruct_19dependency_injector_9providers_MethodCaller *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._copy_overridings(((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_self), ((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v_copied), ((PyObject*)__pyx_v_memo), 0); @@ -71657,7 +68574,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_4__dee * * def __getattr__(self, item): */ - __Pyx_TraceLine(3573,0,__PYX_ERR(1, 3573, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_copied)); __pyx_r = ((PyObject *)__pyx_v_copied); @@ -71682,7 +68598,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_4__dee __pyx_L0:; __Pyx_XDECREF((PyObject *)__pyx_v_copied); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -71710,7 +68625,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_12MethodCaller_7__get static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_6__getattr__(struct __pyx_obj_19dependency_injector_9providers_MethodCaller *__pyx_v_self, PyObject *__pyx_v_item) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -71718,7 +68632,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_6__get const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__getattr__", 0); - __Pyx_TraceCall("__getattr__", __pyx_f[1], 3575, 0, __PYX_ERR(1, 3575, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3576 * @@ -71727,7 +68640,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_6__get * * def __getitem__(self, item): */ - __Pyx_TraceLine(3576,0,__PYX_ERR(1, 3576, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3576, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -71760,7 +68672,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_6__get __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -71788,7 +68699,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_12MethodCaller_9__get static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_8__getitem__(struct __pyx_obj_19dependency_injector_9providers_MethodCaller *__pyx_v_self, PyObject *__pyx_v_item) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -71796,7 +68706,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_8__get const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__getitem__", 0); - __Pyx_TraceCall("__getitem__", __pyx_f[1], 3578, 0, __PYX_ERR(1, 3578, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3579 * @@ -71805,7 +68714,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_8__get * * @property */ - __Pyx_TraceLine(3579,0,__PYX_ERR(1, 3579, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3579, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -71838,7 +68746,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_8__get __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -71866,13 +68773,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_12MethodCaller_8provi static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_8provides___get__(struct __pyx_obj_19dependency_injector_9providers_MethodCaller *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 3582, 0, __PYX_ERR(1, 3582, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3584 * def provides(self): @@ -71881,7 +68783,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_8provi * * @property */ - __Pyx_TraceLine(3584,0,__PYX_ERR(1, 3584, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(((PyObject *)__pyx_v_self->__pyx___provider)); __pyx_r = ((PyObject *)__pyx_v_self->__pyx___provider); @@ -71896,12 +68797,8 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_8provi */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.MethodCaller.provides.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -71932,7 +68829,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_4args_ struct __pyx_obj_19dependency_injector_9providers_PositionalInjection *__pyx_v_arg = 0; PyObject *__pyx_v_args = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -71943,7 +68839,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_4args_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 3587, 0, __PYX_ERR(1, 3587, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3593 * cdef list args @@ -71952,7 +68847,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_4args_ * for index in range(self.__args_len): * arg = self.__args[index] */ - __Pyx_TraceLine(3593,0,__PYX_ERR(1, 3593, __pyx_L1_error)) __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3593, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_args = ((PyObject*)__pyx_t_1); @@ -71965,7 +68859,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_4args_ * arg = self.__args[index] * args.append(arg.__value) */ - __Pyx_TraceLine(3594,0,__PYX_ERR(1, 3594, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___args_len; __pyx_t_3 = __pyx_t_2; for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { @@ -71978,7 +68871,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_4args_ * args.append(arg.__value) * return tuple(args) */ - __Pyx_TraceLine(3595,0,__PYX_ERR(1, 3595, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___args == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 3595, __pyx_L1_error) @@ -71996,7 +68888,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_4args_ * return tuple(args) * */ - __Pyx_TraceLine(3596,0,__PYX_ERR(1, 3596, __pyx_L1_error)) __pyx_t_1 = __pyx_v_arg->__pyx_base.__pyx___value; __Pyx_INCREF(__pyx_t_1); __pyx_t_5 = __Pyx_PyList_Append(__pyx_v_args, __pyx_t_1); if (unlikely(__pyx_t_5 == ((int)-1))) __PYX_ERR(1, 3596, __pyx_L1_error) @@ -72010,7 +68901,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_4args_ * * @property */ - __Pyx_TraceLine(3597,0,__PYX_ERR(1, 3597, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyList_AsTuple(__pyx_v_args); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3597, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -72035,7 +68925,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_4args_ __Pyx_XDECREF((PyObject *)__pyx_v_arg); __Pyx_XDECREF(__pyx_v_args); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -72066,7 +68955,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_6kwarg struct __pyx_obj_19dependency_injector_9providers_NamedInjection *__pyx_v_kwarg = 0; PyObject *__pyx_v_kwargs = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -72076,7 +68964,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_6kwarg const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_TraceCall("__get__", __pyx_f[1], 3600, 0, __PYX_ERR(1, 3600, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3606 * cdef dict kwargs @@ -72085,7 +68972,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_6kwarg * for index in range(self.__kwargs_len): * kwarg = self.__kwargs[index] */ - __Pyx_TraceLine(3606,0,__PYX_ERR(1, 3606, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3606, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_kwargs = ((PyObject*)__pyx_t_1); @@ -72098,7 +68984,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_6kwarg * kwarg = self.__kwargs[index] * kwargs[kwarg.__name] = kwarg.__value */ - __Pyx_TraceLine(3607,0,__PYX_ERR(1, 3607, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___kwargs_len; __pyx_t_3 = __pyx_t_2; for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { @@ -72111,7 +68996,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_6kwarg * kwargs[kwarg.__name] = kwarg.__value * return kwargs */ - __Pyx_TraceLine(3608,0,__PYX_ERR(1, 3608, __pyx_L1_error)) if (unlikely(__pyx_v_self->__pyx___kwargs == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 3608, __pyx_L1_error) @@ -72129,7 +69013,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_6kwarg * return kwargs * */ - __Pyx_TraceLine(3609,0,__PYX_ERR(1, 3609, __pyx_L1_error)) __pyx_t_1 = __pyx_v_kwarg->__pyx_base.__pyx___value; __Pyx_INCREF(__pyx_t_1); if (unlikely(PyDict_SetItem(__pyx_v_kwargs, __pyx_v_kwarg->__pyx___name, __pyx_t_1) < 0)) __PYX_ERR(1, 3609, __pyx_L1_error) @@ -72143,7 +69026,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_6kwarg * * def call(self, *args, **kwargs): */ - __Pyx_TraceLine(3610,0,__PYX_ERR(1, 3610, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_kwargs); __pyx_r = __pyx_v_kwargs; @@ -72166,7 +69048,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_6kwarg __Pyx_XDECREF((PyObject *)__pyx_v_kwarg); __Pyx_XDECREF(__pyx_v_kwargs); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -72207,7 +69088,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_12MethodCaller_11call static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_10call(struct __pyx_obj_19dependency_injector_9providers_MethodCaller *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -72215,7 +69095,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_10call const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("call", 0); - __Pyx_TraceCall("call", __pyx_f[1], 3612, 0, __PYX_ERR(1, 3612, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3613 * @@ -72224,7 +69103,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_10call * * cpdef object _provide(self, tuple args, dict kwargs): */ - __Pyx_TraceLine(3613,0,__PYX_ERR(1, 3613, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3613, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -72257,7 +69135,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_10call __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -72275,7 +69152,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_12MethodCaller__provid PyObject *__pyx_v_call = NULL; PyObject *__pyx_v_future_result = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -72290,7 +69166,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_12MethodCaller__provid const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide", __pyx_f[1], 3615, 0, __PYX_ERR(1, 3615, __pyx_L1_error)); /* Check if called by wrapper */ if (unlikely(__pyx_skip_dispatch)) ; /* Check if overridden in Python */ @@ -72375,7 +69250,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_12MethodCaller__provid * if __isawaitable(call): * future_result = asyncio.Future() */ - __Pyx_TraceLine(3616,0,__PYX_ERR(1, 3616, __pyx_L1_error)) __Pyx_INCREF(((PyObject *)__pyx_v_self->__pyx___provider)); __pyx_t_2 = ((PyObject *)__pyx_v_self->__pyx___provider); __pyx_t_3 = NULL; if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) { @@ -72402,7 +69276,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_12MethodCaller__provid * future_result = asyncio.Future() * call = asyncio.ensure_future(call) */ - __Pyx_TraceLine(3617,0,__PYX_ERR(1, 3617, __pyx_L1_error)) __pyx_t_7 = (__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_call) != 0); if (__pyx_t_7) { @@ -72413,7 +69286,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_12MethodCaller__provid * call = asyncio.ensure_future(call) * call.add_done_callback(functools.partial(self._async_provide, future_result, args, kwargs)) */ - __Pyx_TraceLine(3618,0,__PYX_ERR(1, 3618, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3618, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_Future); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3618, __pyx_L1_error) @@ -72444,7 +69316,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_12MethodCaller__provid * call.add_done_callback(functools.partial(self._async_provide, future_result, args, kwargs)) * return future_result */ - __Pyx_TraceLine(3619,0,__PYX_ERR(1, 3619, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3619, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_ensure_future); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3619, __pyx_L1_error) @@ -72475,7 +69346,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_12MethodCaller__provid * return future_result * return __call( */ - __Pyx_TraceLine(3620,0,__PYX_ERR(1, 3620, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_call, __pyx_n_s_add_done_callback); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3620, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_functools); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 3620, __pyx_L1_error) @@ -72563,7 +69433,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_12MethodCaller__provid * return __call( * call, */ - __Pyx_TraceLine(3621,0,__PYX_ERR(1, 3621, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_future_result); __pyx_r = __pyx_v_future_result; @@ -72585,7 +69454,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_12MethodCaller__provid * call, * args, */ - __Pyx_TraceLine(3622,0,__PYX_ERR(1, 3622, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); /* "dependency_injector/providers.pyx":3625 @@ -72595,7 +69463,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_12MethodCaller__provid * self.__args_len, * kwargs, */ - __Pyx_TraceLine(3625,0,__PYX_ERR(1, 3625, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___args; __Pyx_INCREF(__pyx_t_1); @@ -72606,7 +69473,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_12MethodCaller__provid * self.__kwargs_len, * ) */ - __Pyx_TraceLine(3628,0,__PYX_ERR(1, 3628, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___kwargs; __Pyx_INCREF(__pyx_t_2); @@ -72617,7 +69483,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_12MethodCaller__provid * call, * args, */ - __Pyx_TraceLine(3622,0,__PYX_ERR(1, 3622, __pyx_L1_error)) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___call(__pyx_v_call, __pyx_v_args, ((PyObject*)__pyx_t_1), __pyx_v_self->__pyx___args_len, __pyx_v_kwargs, ((PyObject*)__pyx_t_2), __pyx_v_self->__pyx___kwargs_len); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3622, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -72649,7 +69514,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_12MethodCaller__provid __Pyx_XDECREF(__pyx_v_call); __Pyx_XDECREF(__pyx_v_future_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -72726,14 +69590,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_12MethodCaller_13_pro static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_12_provide(struct __pyx_obj_19dependency_injector_9providers_MethodCaller *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_provide", 0); - __Pyx_TraceCall("_provide (wrapper)", __pyx_f[1], 3615, 0, __PYX_ERR(1, 3615, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_12MethodCaller__provide(__pyx_v_self, __pyx_v_args, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3615, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -72748,7 +69610,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_12_pro __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -72851,7 +69712,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_14_asy PyObject *__pyx_v_call = NULL; PyObject *__pyx_v_result = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -72860,7 +69720,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_14_asy const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_async_provide", 0); - __Pyx_TraceCall("_async_provide", __pyx_f[1], 3632, 0, __PYX_ERR(1, 3632, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3633 * @@ -72869,7 +69728,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_14_asy * result = __call( * call, */ - __Pyx_TraceLine(3633,0,__PYX_ERR(1, 3633, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_future, __pyx_n_s_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3633, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -72897,7 +69755,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_14_asy * self.__args, * self.__args_len, */ - __Pyx_TraceLine(3636,0,__PYX_ERR(1, 3636, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v_args))||((__pyx_v_args) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v_args)->tp_name), 0))) __PYX_ERR(1, 3636, __pyx_L1_error) /* "dependency_injector/providers.pyx":3637 @@ -72907,7 +69764,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_14_asy * self.__args_len, * kwargs, */ - __Pyx_TraceLine(3637,0,__PYX_ERR(1, 3637, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___args; __Pyx_INCREF(__pyx_t_1); @@ -72918,7 +69774,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_14_asy * self.__kwargs, * self.__kwargs_len, */ - __Pyx_TraceLine(3639,0,__PYX_ERR(1, 3639, __pyx_L1_error)) if (!(likely(PyDict_CheckExact(__pyx_v_kwargs))||((__pyx_v_kwargs) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_kwargs)->tp_name), 0))) __PYX_ERR(1, 3639, __pyx_L1_error) /* "dependency_injector/providers.pyx":3640 @@ -72928,7 +69783,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_14_asy * self.__kwargs_len, * ) */ - __Pyx_TraceLine(3640,0,__PYX_ERR(1, 3640, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___kwargs; __Pyx_INCREF(__pyx_t_2); @@ -72939,7 +69793,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_14_asy * call, * args, */ - __Pyx_TraceLine(3634,0,__PYX_ERR(1, 3634, __pyx_L1_error)) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___call(__pyx_v_call, ((PyObject*)__pyx_v_args), ((PyObject*)__pyx_t_1), __pyx_v_self->__pyx___args_len, ((PyObject*)__pyx_v_kwargs), ((PyObject*)__pyx_t_2), __pyx_v_self->__pyx___kwargs_len); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3634, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -72954,7 +69807,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_14_asy * * */ - __Pyx_TraceLine(3643,0,__PYX_ERR(1, 3643, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_future_result, __pyx_n_s_set_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3643, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_1 = NULL; @@ -72995,7 +69847,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_14_asy __Pyx_XDECREF(__pyx_v_call); __Pyx_XDECREF(__pyx_v_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -73024,7 +69875,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_16__re PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -73037,7 +69887,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_16__re const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -73046,7 +69895,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_16__re * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx___args_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___async_mode); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -73089,7 +69937,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_16__re * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_4 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v__dict = __pyx_t_4; @@ -73102,7 +69949,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_16__re * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_5 = (__pyx_v__dict != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -73114,7 +69960,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_16__re * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(__pyx_v__dict); @@ -73133,7 +69978,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_16__re * else: * use_setstate = self.__args is not None or self.__kwargs is not None or self.__last_overriding is not None or self.__overridden is not None or self.__provider is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -73153,7 +69997,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_16__re * if use_setstate: * return __pyx_unpickle_MethodCaller, (type(self), 0xe57552f, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_5 = (__pyx_v_self->__pyx___args != ((PyObject*)Py_None)); __pyx_t_7 = (__pyx_t_5 != 0); @@ -73198,7 +70041,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_16__re * return __pyx_unpickle_MethodCaller, (type(self), 0xe57552f, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_6 = (__pyx_v_use_setstate != 0); if (__pyx_t_6) { @@ -73209,7 +70051,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_16__re * else: * return __pyx_unpickle_MethodCaller, (type(self), 0xe57552f, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_pyx_unpickle_MethodCaller); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -73255,7 +70096,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_16__re * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_MethodCaller__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pyx_unpickle_MethodCaller); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -73302,7 +70142,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_16__re __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -73329,21 +70168,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_12MethodCaller_19__se static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_18__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_MethodCaller *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_MethodCaller, (type(self), 0xe57552f, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_MethodCaller__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_MethodCaller__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -73365,7 +70201,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12MethodCaller_18__se __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -73394,7 +70229,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Injection___reduce_c PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -73406,7 +70240,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Injection___reduce_c const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -73415,7 +70248,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Injection___reduce_c * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx___call); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx___is_delegated); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -73446,7 +70278,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Injection___reduce_c * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_4 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v__dict = __pyx_t_4; @@ -73459,7 +70290,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Injection___reduce_c * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_5 = (__pyx_v__dict != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -73471,7 +70301,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Injection___reduce_c * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(__pyx_v__dict); @@ -73490,7 +70319,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Injection___reduce_c * else: * use_setstate = self.__value is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -73510,7 +70338,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Injection___reduce_c * if use_setstate: * return __pyx_unpickle_Injection, (type(self), 0x2e1d18f, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_6 = (__pyx_v_self->__pyx___value != Py_None); __pyx_v_use_setstate = __pyx_t_6; @@ -73524,7 +70351,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Injection___reduce_c * return __pyx_unpickle_Injection, (type(self), 0x2e1d18f, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_6 = (__pyx_v_use_setstate != 0); if (__pyx_t_6) { @@ -73535,7 +70361,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Injection___reduce_c * else: * return __pyx_unpickle_Injection, (type(self), 0x2e1d18f, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_pyx_unpickle_Injection); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -73581,7 +70406,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Injection___reduce_c * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Injection__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pyx_unpickle_Injection); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -73628,7 +70452,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Injection___reduce_c __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -73655,21 +70478,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_9Injection_3__setstat static PyObject *__pyx_pf_19dependency_injector_9providers_9Injection_2__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_Injection *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_Injection, (type(self), 0x2e1d18f, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_Injection__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Injection__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -73691,7 +70511,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_9Injection_2__setstat __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -73763,7 +70582,6 @@ static int __pyx_pw_19dependency_injector_9providers_19PositionalInjection_1__in static int __pyx_pf_19dependency_injector_9providers_19PositionalInjection___init__(struct __pyx_obj_19dependency_injector_9providers_PositionalInjection *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -73774,7 +70592,6 @@ static int __pyx_pf_19dependency_injector_9providers_19PositionalInjection___ini const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 3653, 0, __PYX_ERR(1, 3653, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3655 * def __init__(self, value): @@ -73783,7 +70600,6 @@ static int __pyx_pf_19dependency_injector_9providers_19PositionalInjection___ini * self.__is_provider = is_provider(value) * self.__is_delegated = is_delegated(value) */ - __Pyx_TraceLine(3655,0,__PYX_ERR(1, 3655, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_value); __Pyx_GIVEREF(__pyx_v_value); __Pyx_GOTREF(__pyx_v_self->__pyx_base.__pyx___value); @@ -73797,7 +70613,6 @@ static int __pyx_pf_19dependency_injector_9providers_19PositionalInjection___ini * self.__is_delegated = is_delegated(value) * self.__call = (self.__is_provider == 1 and */ - __Pyx_TraceLine(3656,0,__PYX_ERR(1, 3656, __pyx_L1_error)) __pyx_v_self->__pyx_base.__pyx___is_provider = ((int)__pyx_f_19dependency_injector_9providers_is_provider(__pyx_v_value, 0)); /* "dependency_injector/providers.pyx":3657 @@ -73807,7 +70622,6 @@ static int __pyx_pf_19dependency_injector_9providers_19PositionalInjection___ini * self.__call = (self.__is_provider == 1 and * self.__is_delegated == 0) */ - __Pyx_TraceLine(3657,0,__PYX_ERR(1, 3657, __pyx_L1_error)) __pyx_v_self->__pyx_base.__pyx___is_delegated = ((int)__pyx_f_19dependency_injector_9providers_is_delegated(__pyx_v_value, 0)); /* "dependency_injector/providers.pyx":3658 @@ -73817,7 +70631,6 @@ static int __pyx_pf_19dependency_injector_9providers_19PositionalInjection___ini * self.__is_delegated == 0) * super(PositionalInjection, self).__init__() */ - __Pyx_TraceLine(3658,0,__PYX_ERR(1, 3658, __pyx_L1_error)) __pyx_t_2 = (__pyx_v_self->__pyx_base.__pyx___is_provider == 1); if (__pyx_t_2) { } else { @@ -73832,7 +70645,6 @@ static int __pyx_pf_19dependency_injector_9providers_19PositionalInjection___ini * super(PositionalInjection, self).__init__() * */ - __Pyx_TraceLine(3659,0,__PYX_ERR(1, 3659, __pyx_L1_error)) __pyx_t_2 = (__pyx_v_self->__pyx_base.__pyx___is_delegated == 0); __pyx_t_1 = __pyx_t_2; __pyx_L3_bool_binop_done:; @@ -73844,7 +70656,6 @@ static int __pyx_pf_19dependency_injector_9providers_19PositionalInjection___ini * self.__is_delegated == 0) * super(PositionalInjection, self).__init__() */ - __Pyx_TraceLine(3658,0,__PYX_ERR(1, 3658, __pyx_L1_error)) __pyx_v_self->__pyx_base.__pyx___call = ((int)__pyx_t_1); /* "dependency_injector/providers.pyx":3660 @@ -73854,7 +70665,6 @@ static int __pyx_pf_19dependency_injector_9providers_19PositionalInjection___ini * * def __deepcopy__(self, memo): */ - __Pyx_TraceLine(3660,0,__PYX_ERR(1, 3660, __pyx_L1_error)) __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3660, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_PositionalInjection)); @@ -73904,7 +70714,6 @@ static int __pyx_pf_19dependency_injector_9providers_19PositionalInjection___ini __Pyx_AddTraceback("dependency_injector.providers.PositionalInjection.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -73934,7 +70743,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19PositionalInjection static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection_2__deepcopy__(struct __pyx_obj_19dependency_injector_9providers_PositionalInjection *__pyx_v_self, PyObject *__pyx_v_memo) { PyObject *__pyx_v_copied = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -73947,7 +70755,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[1], 3662, 0, __PYX_ERR(1, 3662, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3664 * def __deepcopy__(self, memo): @@ -73956,7 +70763,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection * if copied is not None: * return copied */ - __Pyx_TraceLine(3664,0,__PYX_ERR(1, 3664, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3664, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3664, __pyx_L1_error) @@ -73987,7 +70793,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection * return copied * return self.__class__(deepcopy(self.__value, memo)) */ - __Pyx_TraceLine(3665,0,__PYX_ERR(1, 3665, __pyx_L1_error)) __pyx_t_5 = (__pyx_v_copied != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -73999,7 +70804,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection * return self.__class__(deepcopy(self.__value, memo)) * */ - __Pyx_TraceLine(3666,0,__PYX_ERR(1, 3666, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -74021,7 +70825,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection * * def get_value(self): */ - __Pyx_TraceLine(3667,0,__PYX_ERR(1, 3667, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3667, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -74072,7 +70875,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection __pyx_L0:; __Pyx_XDECREF(__pyx_v_copied); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -74101,14 +70903,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19PositionalInjection static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection_4get_value(struct __pyx_obj_19dependency_injector_9providers_PositionalInjection *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("get_value", 0); - __Pyx_TraceCall("get_value", __pyx_f[1], 3669, 0, __PYX_ERR(1, 3669, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3671 * def get_value(self): @@ -74117,7 +70917,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection * * def get_original_value(self): */ - __Pyx_TraceLine(3671,0,__PYX_ERR(1, 3671, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers___get_value(((struct __pyx_obj_19dependency_injector_9providers_Injection *)__pyx_v_self)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3671, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -74140,7 +70939,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -74169,13 +70967,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19PositionalInjection static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection_6get_original_value(struct __pyx_obj_19dependency_injector_9providers_PositionalInjection *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("get_original_value", 0); - __Pyx_TraceCall("get_original_value", __pyx_f[1], 3673, 0, __PYX_ERR(1, 3673, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3675 * def get_original_value(self): @@ -74184,7 +70977,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection * * */ - __Pyx_TraceLine(3675,0,__PYX_ERR(1, 3675, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx_base.__pyx___value); __pyx_r = __pyx_v_self->__pyx_base.__pyx___value; @@ -74199,12 +70991,8 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.PositionalInjection.get_original_value", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -74233,7 +71021,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -74245,7 +71032,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -74254,7 +71040,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___call); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___is_delegated); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -74285,7 +71070,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_4 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v__dict = __pyx_t_4; @@ -74298,7 +71082,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_5 = (__pyx_v__dict != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -74310,7 +71093,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(__pyx_v__dict); @@ -74329,7 +71111,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection * else: * use_setstate = self.__value is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -74349,7 +71130,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection * if use_setstate: * return __pyx_unpickle_PositionalInjection, (type(self), 0x2e1d18f, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_6 = (__pyx_v_self->__pyx_base.__pyx___value != Py_None); __pyx_v_use_setstate = __pyx_t_6; @@ -74363,7 +71143,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection * return __pyx_unpickle_PositionalInjection, (type(self), 0x2e1d18f, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_6 = (__pyx_v_use_setstate != 0); if (__pyx_t_6) { @@ -74374,7 +71153,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection * else: * return __pyx_unpickle_PositionalInjection, (type(self), 0x2e1d18f, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_pyx_unpickle_PositionalInjecti); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -74420,7 +71198,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_PositionalInjection__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pyx_unpickle_PositionalInjecti); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -74467,7 +71244,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -74494,21 +71270,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19PositionalInjection static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection_10__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_PositionalInjection *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_PositionalInjection, (type(self), 0x2e1d18f, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_PositionalInjection__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_PositionalInjection__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -74530,7 +71303,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_19PositionalInjection __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -74613,7 +71385,6 @@ static int __pyx_pw_19dependency_injector_9providers_14NamedInjection_1__init__( static int __pyx_pf_19dependency_injector_9providers_14NamedInjection___init__(struct __pyx_obj_19dependency_injector_9providers_NamedInjection *__pyx_v_self, PyObject *__pyx_v_name, PyObject *__pyx_v_value) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -74624,7 +71395,6 @@ static int __pyx_pf_19dependency_injector_9providers_14NamedInjection___init__(s const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - __Pyx_TraceCall("__init__", __pyx_f[1], 3681, 0, __PYX_ERR(1, 3681, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3683 * def __init__(self, name, value): @@ -74633,7 +71403,6 @@ static int __pyx_pf_19dependency_injector_9providers_14NamedInjection___init__(s * self.__value = value * self.__is_provider = is_provider(value) */ - __Pyx_TraceLine(3683,0,__PYX_ERR(1, 3683, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_name); __Pyx_GIVEREF(__pyx_v_name); __Pyx_GOTREF(__pyx_v_self->__pyx___name); @@ -74647,7 +71416,6 @@ static int __pyx_pf_19dependency_injector_9providers_14NamedInjection___init__(s * self.__is_provider = is_provider(value) * self.__is_delegated = is_delegated(value) */ - __Pyx_TraceLine(3684,0,__PYX_ERR(1, 3684, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_value); __Pyx_GIVEREF(__pyx_v_value); __Pyx_GOTREF(__pyx_v_self->__pyx_base.__pyx___value); @@ -74661,7 +71429,6 @@ static int __pyx_pf_19dependency_injector_9providers_14NamedInjection___init__(s * self.__is_delegated = is_delegated(value) * self.__call = (self.__is_provider == 1 and */ - __Pyx_TraceLine(3685,0,__PYX_ERR(1, 3685, __pyx_L1_error)) __pyx_v_self->__pyx_base.__pyx___is_provider = ((int)__pyx_f_19dependency_injector_9providers_is_provider(__pyx_v_value, 0)); /* "dependency_injector/providers.pyx":3686 @@ -74671,7 +71438,6 @@ static int __pyx_pf_19dependency_injector_9providers_14NamedInjection___init__(s * self.__call = (self.__is_provider == 1 and * self.__is_delegated == 0) */ - __Pyx_TraceLine(3686,0,__PYX_ERR(1, 3686, __pyx_L1_error)) __pyx_v_self->__pyx_base.__pyx___is_delegated = ((int)__pyx_f_19dependency_injector_9providers_is_delegated(__pyx_v_value, 0)); /* "dependency_injector/providers.pyx":3687 @@ -74681,7 +71447,6 @@ static int __pyx_pf_19dependency_injector_9providers_14NamedInjection___init__(s * self.__is_delegated == 0) * super(NamedInjection, self).__init__() */ - __Pyx_TraceLine(3687,0,__PYX_ERR(1, 3687, __pyx_L1_error)) __pyx_t_2 = (__pyx_v_self->__pyx_base.__pyx___is_provider == 1); if (__pyx_t_2) { } else { @@ -74696,7 +71461,6 @@ static int __pyx_pf_19dependency_injector_9providers_14NamedInjection___init__(s * super(NamedInjection, self).__init__() * */ - __Pyx_TraceLine(3688,0,__PYX_ERR(1, 3688, __pyx_L1_error)) __pyx_t_2 = (__pyx_v_self->__pyx_base.__pyx___is_delegated == 0); __pyx_t_1 = __pyx_t_2; __pyx_L3_bool_binop_done:; @@ -74708,7 +71472,6 @@ static int __pyx_pf_19dependency_injector_9providers_14NamedInjection___init__(s * self.__is_delegated == 0) * super(NamedInjection, self).__init__() */ - __Pyx_TraceLine(3687,0,__PYX_ERR(1, 3687, __pyx_L1_error)) __pyx_v_self->__pyx_base.__pyx___call = ((int)__pyx_t_1); /* "dependency_injector/providers.pyx":3689 @@ -74718,7 +71481,6 @@ static int __pyx_pf_19dependency_injector_9providers_14NamedInjection___init__(s * * def __deepcopy__(self, memo): */ - __Pyx_TraceLine(3689,0,__PYX_ERR(1, 3689, __pyx_L1_error)) __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3689, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(((PyObject *)__pyx_ptype_19dependency_injector_9providers_NamedInjection)); @@ -74768,7 +71530,6 @@ static int __pyx_pf_19dependency_injector_9providers_14NamedInjection___init__(s __Pyx_AddTraceback("dependency_injector.providers.NamedInjection.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -74798,7 +71559,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_14NamedInjection_3__d static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_2__deepcopy__(struct __pyx_obj_19dependency_injector_9providers_NamedInjection *__pyx_v_self, PyObject *__pyx_v_memo) { PyObject *__pyx_v_copied = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -74814,7 +71574,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_2__d const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__deepcopy__", 0); - __Pyx_TraceCall("__deepcopy__", __pyx_f[1], 3691, 0, __PYX_ERR(1, 3691, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3693 * def __deepcopy__(self, memo): @@ -74823,7 +71582,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_2__d * if copied is not None: * return copied */ - __Pyx_TraceLine(3693,0,__PYX_ERR(1, 3693, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_memo, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3693, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3693, __pyx_L1_error) @@ -74854,7 +71612,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_2__d * return copied * return self.__class__(deepcopy(self.__name, memo), */ - __Pyx_TraceLine(3694,0,__PYX_ERR(1, 3694, __pyx_L1_error)) __pyx_t_5 = (__pyx_v_copied != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -74866,7 +71623,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_2__d * return self.__class__(deepcopy(self.__name, memo), * deepcopy(self.__value, memo)) */ - __Pyx_TraceLine(3695,0,__PYX_ERR(1, 3695, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_copied); __pyx_r = __pyx_v_copied; @@ -74888,7 +71644,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_2__d * deepcopy(self.__value, memo)) * */ - __Pyx_TraceLine(3696,0,__PYX_ERR(1, 3696, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3696, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -74908,7 +71663,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_2__d * * def get_name(self): */ - __Pyx_TraceLine(3697,0,__PYX_ERR(1, 3697, __pyx_L1_error)) __pyx_t_3 = __pyx_v_self->__pyx_base.__pyx___value; __Pyx_INCREF(__pyx_t_3); if (!(likely(PyDict_CheckExact(__pyx_v_memo))||((__pyx_v_memo) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_memo)->tp_name), 0))) __PYX_ERR(1, 3697, __pyx_L1_error) @@ -74991,7 +71745,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_2__d __pyx_L0:; __Pyx_XDECREF(__pyx_v_copied); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -75020,14 +71773,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_14NamedInjection_5get static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_4get_name(struct __pyx_obj_19dependency_injector_9providers_NamedInjection *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("get_name", 0); - __Pyx_TraceCall("get_name", __pyx_f[1], 3699, 0, __PYX_ERR(1, 3699, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3701 * def get_name(self): @@ -75036,7 +71787,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_4get * * def get_value(self): */ - __Pyx_TraceLine(3701,0,__PYX_ERR(1, 3701, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers___get_name(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3701, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -75059,7 +71809,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_4get __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -75088,14 +71837,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_14NamedInjection_7get static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_6get_value(struct __pyx_obj_19dependency_injector_9providers_NamedInjection *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("get_value", 0); - __Pyx_TraceCall("get_value", __pyx_f[1], 3703, 0, __PYX_ERR(1, 3703, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3705 * def get_value(self): @@ -75104,7 +71851,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_6get * * def get_original_value(self): */ - __Pyx_TraceLine(3705,0,__PYX_ERR(1, 3705, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers___get_value(((struct __pyx_obj_19dependency_injector_9providers_Injection *)__pyx_v_self)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3705, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -75127,7 +71873,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_6get __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -75156,13 +71901,8 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_14NamedInjection_9get static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_8get_original_value(struct __pyx_obj_19dependency_injector_9providers_NamedInjection *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("get_original_value", 0); - __Pyx_TraceCall("get_original_value", __pyx_f[1], 3707, 0, __PYX_ERR(1, 3707, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3709 * def get_original_value(self): @@ -75171,7 +71911,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_8get * * */ - __Pyx_TraceLine(3709,0,__PYX_ERR(1, 3709, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx_base.__pyx___value); __pyx_r = __pyx_v_self->__pyx_base.__pyx___value; @@ -75186,12 +71925,8 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_8get */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.NamedInjection.get_original_value", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -75220,7 +71955,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_10__ PyObject *__pyx_v__dict = 0; int __pyx_v_use_setstate; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -75233,7 +71967,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_10__ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__reduce_cython__", 0); - __Pyx_TraceCall("__reduce_cython__", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":5 * cdef object _dict @@ -75242,7 +71975,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_10__ * _dict = getattr(self, '__dict__', None) * if _dict is not None: */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___call); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_self->__pyx_base.__pyx___is_delegated); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) @@ -75276,7 +72008,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_10__ * if _dict is not None: * state += (_dict,) */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_4 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v__dict = __pyx_t_4; @@ -75289,7 +72020,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_10__ * state += (_dict,) * use_setstate = True */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_5 = (__pyx_v__dict != Py_None); __pyx_t_6 = (__pyx_t_5 != 0); if (__pyx_t_6) { @@ -75301,7 +72031,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_10__ * use_setstate = True * else: */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(__pyx_v__dict); @@ -75320,7 +72049,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_10__ * else: * use_setstate = self.__name is not None or self.__value is not None */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) __pyx_v_use_setstate = 1; /* "(tree fragment)":7 @@ -75340,7 +72068,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_10__ * if use_setstate: * return __pyx_unpickle_NamedInjection, (type(self), 0x64f395f, None), state */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) /*else*/ { __pyx_t_5 = (__pyx_v_self->__pyx___name != Py_None); __pyx_t_7 = (__pyx_t_5 != 0); @@ -75364,7 +72091,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_10__ * return __pyx_unpickle_NamedInjection, (type(self), 0x64f395f, None), state * else: */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) __pyx_t_6 = (__pyx_v_use_setstate != 0); if (__pyx_t_6) { @@ -75375,7 +72101,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_10__ * else: * return __pyx_unpickle_NamedInjection, (type(self), 0x64f395f, state) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_pyx_unpickle_NamedInjection); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -75421,7 +72146,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_10__ * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_NamedInjection__set_state(self, __pyx_state) */ - __Pyx_TraceLine(15,0,__PYX_ERR(2, 15, __pyx_L1_error)) /*else*/ { __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pyx_unpickle_NamedInjection); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 15, __pyx_L1_error) @@ -75468,7 +72192,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_10__ __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -75495,21 +72218,18 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_14NamedInjection_13__ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_12__setstate_cython__(struct __pyx_obj_19dependency_injector_9providers_NamedInjection *__pyx_v_self, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - __Pyx_TraceCall("__setstate_cython__", __pyx_f[2], 16, 0, __PYX_ERR(2, 16, __pyx_L1_error)); /* "(tree fragment)":17 * return __pyx_unpickle_NamedInjection, (type(self), 0x64f395f, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_NamedInjection__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(17,0,__PYX_ERR(2, 17, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 17, __pyx_L1_error) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_NamedInjection__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -75531,7 +72251,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14NamedInjection_12__ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -75552,7 +72271,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_parse_positional_injec PyObject *__pyx_v_arg = 0; struct __pyx_obj_19dependency_injector_9providers_PositionalInjection *__pyx_v_injection = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; @@ -75564,7 +72282,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_parse_positional_injec const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("parse_positional_injections", 0); - __Pyx_TraceCall("parse_positional_injections", __pyx_f[1], 3714, 0, __PYX_ERR(1, 3714, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3716 * cpdef tuple parse_positional_injections(tuple args): @@ -75573,7 +72290,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_parse_positional_injec * cdef int args_len = len(args) * */ - __Pyx_TraceLine(3716,0,__PYX_ERR(1, 3716, __pyx_L1_error)) __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3716, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_injections = ((PyObject*)__pyx_t_1); @@ -75586,7 +72302,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_parse_positional_injec * * cdef int index */ - __Pyx_TraceLine(3717,0,__PYX_ERR(1, 3717, __pyx_L1_error)) if (unlikely(__pyx_v_args == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(1, 3717, __pyx_L1_error) @@ -75601,7 +72316,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_parse_positional_injec * arg = args[index] * injection = PositionalInjection(arg) */ - __Pyx_TraceLine(3723,0,__PYX_ERR(1, 3723, __pyx_L1_error)) __pyx_t_3 = __pyx_v_args_len; __pyx_t_4 = __pyx_t_3; for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_4; __pyx_t_5+=1) { @@ -75614,7 +72328,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_parse_positional_injec * injection = PositionalInjection(arg) * injections.append(injection) */ - __Pyx_TraceLine(3724,0,__PYX_ERR(1, 3724, __pyx_L1_error)) if (unlikely(__pyx_v_args == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(1, 3724, __pyx_L1_error) @@ -75631,7 +72344,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_parse_positional_injec * injections.append(injection) * */ - __Pyx_TraceLine(3725,0,__PYX_ERR(1, 3725, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_19dependency_injector_9providers_PositionalInjection), __pyx_v_arg); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3725, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_XDECREF_SET(__pyx_v_injection, ((struct __pyx_obj_19dependency_injector_9providers_PositionalInjection *)__pyx_t_1)); @@ -75644,7 +72356,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_parse_positional_injec * * return tuple(injections) */ - __Pyx_TraceLine(3726,0,__PYX_ERR(1, 3726, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyList_Append(__pyx_v_injections, ((PyObject *)__pyx_v_injection)); if (unlikely(__pyx_t_6 == ((int)-1))) __PYX_ERR(1, 3726, __pyx_L1_error) } @@ -75655,7 +72366,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_parse_positional_injec * * */ - __Pyx_TraceLine(3728,0,__PYX_ERR(1, 3728, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = PyList_AsTuple(__pyx_v_injections); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3728, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -75681,7 +72391,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_parse_positional_injec __Pyx_XDECREF(__pyx_v_arg); __Pyx_XDECREF((PyObject *)__pyx_v_injection); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -75710,14 +72419,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_7parse_positional_inj static PyObject *__pyx_pf_19dependency_injector_9providers_6parse_positional_injections(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_args) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("parse_positional_injections", 0); - __Pyx_TraceCall("parse_positional_injections (wrapper)", __pyx_f[1], 3714, 0, __PYX_ERR(1, 3714, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_parse_positional_injections(__pyx_v_args, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3714, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -75732,7 +72439,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_6parse_positional_inj __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -75752,7 +72458,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_parse_named_injections PyObject *__pyx_v_arg = 0; struct __pyx_obj_19dependency_injector_9providers_NamedInjection *__pyx_v_injection = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -75767,7 +72472,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_parse_named_injections const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("parse_named_injections", 0); - __Pyx_TraceCall("parse_named_injections", __pyx_f[1], 3733, 0, __PYX_ERR(1, 3733, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3735 * cpdef tuple parse_named_injections(dict kwargs): @@ -75776,7 +72480,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_parse_named_injections * * cdef object name */ - __Pyx_TraceLine(3735,0,__PYX_ERR(1, 3735, __pyx_L1_error)) __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3735, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_injections = ((PyObject*)__pyx_t_1); @@ -75789,7 +72492,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_parse_named_injections * injection = NamedInjection(name, arg) * injections.append(injection) */ - __Pyx_TraceLine(3741,0,__PYX_ERR(1, 3741, __pyx_L1_error)) if (unlikely(__pyx_v_kwargs == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "items"); __PYX_ERR(1, 3741, __pyx_L1_error) @@ -75894,7 +72596,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_parse_named_injections * injections.append(injection) * */ - __Pyx_TraceLine(3742,0,__PYX_ERR(1, 3742, __pyx_L1_error)) __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3742, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v_name); @@ -75916,7 +72617,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_parse_named_injections * * return tuple(injections) */ - __Pyx_TraceLine(3743,0,__PYX_ERR(1, 3743, __pyx_L1_error)) __pyx_t_9 = __Pyx_PyList_Append(__pyx_v_injections, ((PyObject *)__pyx_v_injection)); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(1, 3743, __pyx_L1_error) /* "dependency_injector/providers.pyx":3741 @@ -75926,7 +72626,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_parse_named_injections * injection = NamedInjection(name, arg) * injections.append(injection) */ - __Pyx_TraceLine(3741,0,__PYX_ERR(1, 3741, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -75937,7 +72636,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_parse_named_injections * * */ - __Pyx_TraceLine(3745,0,__PYX_ERR(1, 3745, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_2 = PyList_AsTuple(__pyx_v_injections); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3745, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -75968,7 +72666,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_parse_named_injections __Pyx_XDECREF(__pyx_v_arg); __Pyx_XDECREF((PyObject *)__pyx_v_injection); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -75997,14 +72694,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_9parse_named_injectio static PyObject *__pyx_pf_19dependency_injector_9providers_8parse_named_injections(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("parse_named_injections", 0); - __Pyx_TraceCall("parse_named_injections (wrapper)", __pyx_f[1], 3733, 0, __PYX_ERR(1, 3733, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_parse_named_injections(__pyx_v_kwargs, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3733, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -76019,7 +72714,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8parse_named_injectio __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -76035,7 +72729,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_8parse_named_injectio static PyObject *__pyx_pw_19dependency_injector_9providers_11is_provider(PyObject *__pyx_self, PyObject *__pyx_v_instance); /*proto*/ static int __pyx_f_19dependency_injector_9providers_is_provider(PyObject *__pyx_v_instance, CYTHON_UNUSED int __pyx_skip_dispatch) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -76045,7 +72738,6 @@ static int __pyx_f_19dependency_injector_9providers_is_provider(PyObject *__pyx_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("is_provider", 0); - __Pyx_TraceCall("is_provider", __pyx_f[1], 3748, 0, __PYX_ERR(1, 3748, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3756 * :rtype: bool @@ -76054,7 +72746,6 @@ static int __pyx_f_19dependency_injector_9providers_is_provider(PyObject *__pyx_ * getattr(instance, '__IS_PROVIDER__', False) is True) * */ - __Pyx_TraceLine(3756,0,__PYX_ERR(1, 3756, __pyx_L1_error)) __pyx_t_2 = __pyx_v_19dependency_injector_9providers_CLASS_TYPES; __Pyx_INCREF(__pyx_t_2); __pyx_t_3 = PyObject_IsInstance(__pyx_v_instance, __pyx_t_2); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(1, 3756, __pyx_L1_error) @@ -76073,7 +72764,6 @@ static int __pyx_f_19dependency_injector_9providers_is_provider(PyObject *__pyx_ * * */ - __Pyx_TraceLine(3757,0,__PYX_ERR(1, 3757, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(__pyx_v_instance, __pyx_n_s_IS_PROVIDER, Py_False); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3757, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = (__pyx_t_2 == Py_True); @@ -76098,7 +72788,6 @@ static int __pyx_f_19dependency_injector_9providers_is_provider(PyObject *__pyx_ __Pyx_WriteUnraisable("dependency_injector.providers.is_provider", __pyx_clineno, __pyx_lineno, __pyx_filename, 1, 0); __pyx_r = 0; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -76119,14 +72808,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_11is_provider(PyObjec static PyObject *__pyx_pf_19dependency_injector_9providers_10is_provider(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_instance) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("is_provider", 0); - __Pyx_TraceCall("is_provider (wrapper)", __pyx_f[1], 3748, 0, __PYX_ERR(1, 3748, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_f_19dependency_injector_9providers_is_provider(__pyx_v_instance, 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3748, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -76141,7 +72828,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10is_provider(CYTHON_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -76157,7 +72843,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_10is_provider(CYTHON_ static PyObject *__pyx_pw_19dependency_injector_9providers_13ensure_is_provider(PyObject *__pyx_self, PyObject *__pyx_v_instance); /*proto*/ static PyObject *__pyx_f_19dependency_injector_9providers_ensure_is_provider(PyObject *__pyx_v_instance, CYTHON_UNUSED int __pyx_skip_dispatch) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -76170,7 +72855,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_ensure_is_provider(PyO const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("ensure_is_provider", 0); - __Pyx_TraceCall("ensure_is_provider", __pyx_f[1], 3760, 0, __PYX_ERR(1, 3760, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3771 * :rtype: :py:class:`dependency_injector.providers.Provider` @@ -76179,7 +72863,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_ensure_is_provider(PyO * raise Error('Expected provider instance, ' * 'got {0}'.format(str(instance))) */ - __Pyx_TraceLine(3771,0,__PYX_ERR(1, 3771, __pyx_L1_error)) __pyx_t_1 = ((!(__pyx_f_19dependency_injector_9providers_is_provider(__pyx_v_instance, 0) != 0)) != 0); if (unlikely(__pyx_t_1)) { @@ -76190,7 +72873,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_ensure_is_provider(PyO * 'got {0}'.format(str(instance))) * return instance */ - __Pyx_TraceLine(3772,0,__PYX_ERR(1, 3772, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_Error); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3772, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -76201,7 +72883,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_ensure_is_provider(PyO * return instance * */ - __Pyx_TraceLine(3773,0,__PYX_ERR(1, 3773, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_Expected_provider_instance_got_0, __pyx_n_s_format); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3773, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = __Pyx_PyObject_CallOneArg(((PyObject *)(&PyString_Type)), __pyx_v_instance); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 3773, __pyx_L1_error) @@ -76258,7 +72939,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_ensure_is_provider(PyO * * */ - __Pyx_TraceLine(3774,0,__PYX_ERR(1, 3774, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_instance); __pyx_r = __pyx_v_instance; @@ -76284,7 +72964,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_ensure_is_provider(PyO __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -76305,14 +72984,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_13ensure_is_provider( static PyObject *__pyx_pf_19dependency_injector_9providers_12ensure_is_provider(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_instance) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("ensure_is_provider", 0); - __Pyx_TraceCall("ensure_is_provider (wrapper)", __pyx_f[1], 3760, 0, __PYX_ERR(1, 3760, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_ensure_is_provider(__pyx_v_instance, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3760, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -76327,7 +73004,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12ensure_is_provider( __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -76343,7 +73019,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_12ensure_is_provider( static PyObject *__pyx_pw_19dependency_injector_9providers_15is_delegated(PyObject *__pyx_self, PyObject *__pyx_v_instance); /*proto*/ static int __pyx_f_19dependency_injector_9providers_is_delegated(PyObject *__pyx_v_instance, CYTHON_UNUSED int __pyx_skip_dispatch) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -76353,7 +73028,6 @@ static int __pyx_f_19dependency_injector_9providers_is_delegated(PyObject *__pyx const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("is_delegated", 0); - __Pyx_TraceCall("is_delegated", __pyx_f[1], 3777, 0, __PYX_ERR(1, 3777, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3785 * :rtype: bool @@ -76362,7 +73036,6 @@ static int __pyx_f_19dependency_injector_9providers_is_delegated(PyObject *__pyx * getattr(instance, '__IS_DELEGATED__', False) is True) * */ - __Pyx_TraceLine(3785,0,__PYX_ERR(1, 3785, __pyx_L1_error)) __pyx_t_2 = __pyx_v_19dependency_injector_9providers_CLASS_TYPES; __Pyx_INCREF(__pyx_t_2); __pyx_t_3 = PyObject_IsInstance(__pyx_v_instance, __pyx_t_2); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(1, 3785, __pyx_L1_error) @@ -76381,7 +73054,6 @@ static int __pyx_f_19dependency_injector_9providers_is_delegated(PyObject *__pyx * * */ - __Pyx_TraceLine(3786,0,__PYX_ERR(1, 3786, __pyx_L1_error)) __pyx_t_2 = __Pyx_GetAttr3(__pyx_v_instance, __pyx_n_s_IS_DELEGATED, Py_False); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3786, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = (__pyx_t_2 == Py_True); @@ -76406,7 +73078,6 @@ static int __pyx_f_19dependency_injector_9providers_is_delegated(PyObject *__pyx __Pyx_WriteUnraisable("dependency_injector.providers.is_delegated", __pyx_clineno, __pyx_lineno, __pyx_filename, 1, 0); __pyx_r = 0; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -76427,14 +73098,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_15is_delegated(PyObje static PyObject *__pyx_pf_19dependency_injector_9providers_14is_delegated(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_instance) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("is_delegated", 0); - __Pyx_TraceCall("is_delegated (wrapper)", __pyx_f[1], 3777, 0, __PYX_ERR(1, 3777, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_f_19dependency_injector_9providers_is_delegated(__pyx_v_instance, 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3777, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -76449,7 +73118,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14is_delegated(CYTHON __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -76465,7 +73133,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_14is_delegated(CYTHON static PyObject *__pyx_pw_19dependency_injector_9providers_17represent_provider(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ static PyObject *__pyx_f_19dependency_injector_9providers_represent_provider(PyObject *__pyx_v_provider, PyObject *__pyx_v_provides, CYTHON_UNUSED int __pyx_skip_dispatch) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -76477,7 +73144,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_represent_provider(PyO const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("represent_provider", 0); - __Pyx_TraceCall("represent_provider", __pyx_f[1], 3789, 0, __PYX_ERR(1, 3789, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3801 * :rtype: str @@ -76486,7 +73152,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_represent_provider(PyO * provider='.'.join((provider.__class__.__module__, * provider.__class__.__name__)), */ - __Pyx_TraceLine(3801,0,__PYX_ERR(1, 3801, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_provider_provides_at_address, __pyx_n_s_format); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3801, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -76498,7 +73163,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_represent_provider(PyO * provider.__class__.__name__)), * provides=repr(provides) if provides is not None else '', */ - __Pyx_TraceLine(3802,0,__PYX_ERR(1, 3802, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyDict_NewPresized(3); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3802, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_provider, __pyx_n_s_class); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3802, __pyx_L1_error) @@ -76514,7 +73178,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_represent_provider(PyO * provides=repr(provides) if provides is not None else '', * address=hex(id(provider))) */ - __Pyx_TraceLine(3803,0,__PYX_ERR(1, 3803, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_provider, __pyx_n_s_class); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3803, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_name); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3803, __pyx_L1_error) @@ -76528,7 +73191,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_represent_provider(PyO * provider.__class__.__name__)), * provides=repr(provides) if provides is not None else '', */ - __Pyx_TraceLine(3802,0,__PYX_ERR(1, 3802, __pyx_L1_error)) __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3802, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_GIVEREF(__pyx_t_4); @@ -76537,7 +73199,7 @@ static PyObject *__pyx_f_19dependency_injector_9providers_represent_provider(PyO PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_5); __pyx_t_4 = 0; __pyx_t_5 = 0; - __pyx_t_5 = __Pyx_PyString_Join(__pyx_kp_s__10, __pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3802, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyString_Join(__pyx_kp_s__6, __pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3802, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_provider, __pyx_t_5) < 0) __PYX_ERR(1, 3802, __pyx_L1_error) @@ -76550,7 +73212,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_represent_provider(PyO * address=hex(id(provider))) * */ - __Pyx_TraceLine(3804,0,__PYX_ERR(1, 3804, __pyx_L1_error)) __pyx_t_6 = (__pyx_v_provides != Py_None); if ((__pyx_t_6 != 0)) { __pyx_t_3 = PyObject_Repr(__pyx_v_provides); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3804, __pyx_L1_error) @@ -76558,8 +73219,8 @@ static PyObject *__pyx_f_19dependency_injector_9providers_represent_provider(PyO __pyx_t_5 = __pyx_t_3; __pyx_t_3 = 0; } else { - __Pyx_INCREF(__pyx_n_s__29); - __pyx_t_5 = __pyx_n_s__29; + __Pyx_INCREF(__pyx_n_s__24); + __pyx_t_5 = __pyx_n_s__24; } if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_provides, __pyx_t_5) < 0) __PYX_ERR(1, 3802, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; @@ -76571,7 +73232,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_represent_provider(PyO * * */ - __Pyx_TraceLine(3805,0,__PYX_ERR(1, 3805, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, __pyx_v_provider); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3805, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_hex, __pyx_t_5); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3805, __pyx_L1_error) @@ -76587,7 +73247,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_represent_provider(PyO * provider='.'.join((provider.__class__.__module__, * provider.__class__.__name__)), */ - __Pyx_TraceLine(3801,0,__PYX_ERR(1, 3801, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_empty_tuple, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3801, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -76616,7 +73275,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_represent_provider(PyO __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -76688,14 +73346,12 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_17represent_provider( static PyObject *__pyx_pf_19dependency_injector_9providers_16represent_provider(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_provider, PyObject *__pyx_v_provides) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("represent_provider", 0); - __Pyx_TraceCall("represent_provider (wrapper)", __pyx_f[1], 3789, 0, __PYX_ERR(1, 3789, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers_represent_provider(__pyx_v_provider, __pyx_v_provides, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3789, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -76710,7 +73366,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_16represent_provider( __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -76727,7 +73382,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19deepcopy(PyObject * static PyObject *__pyx_f_19dependency_injector_9providers_deepcopy(PyObject *__pyx_v_instance, CYTHON_UNUSED int __pyx_skip_dispatch, struct __pyx_opt_args_19dependency_injector_9providers_deepcopy *__pyx_optional_args) { PyObject *__pyx_v_memo = ((PyObject*)Py_None); PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; @@ -76740,7 +73394,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_deepcopy(PyObject *__p const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("deepcopy", 0); - __Pyx_TraceCall("deepcopy", __pyx_f[1], 3808, 0, __PYX_ERR(1, 3808, __pyx_L1_error)); if (__pyx_optional_args) { if (__pyx_optional_args->__pyx_n > 0) { __pyx_v_memo = __pyx_optional_args->memo; @@ -76755,7 +73408,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_deepcopy(PyObject *__p * memo = dict() * */ - __Pyx_TraceLine(3810,0,__PYX_ERR(1, 3810, __pyx_L1_error)) __pyx_t_1 = (__pyx_v_memo == ((PyObject*)Py_None)); __pyx_t_2 = (__pyx_t_1 != 0); if (__pyx_t_2) { @@ -76767,7 +73419,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_deepcopy(PyObject *__p * * __add_sys_streams(memo) */ - __Pyx_TraceLine(3811,0,__PYX_ERR(1, 3811, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3811, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF_SET(__pyx_v_memo, ((PyObject*)__pyx_t_3)); @@ -76789,7 +73440,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_deepcopy(PyObject *__p * * return copy.deepcopy(instance, memo) */ - __Pyx_TraceLine(3813,0,__PYX_ERR(1, 3813, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_add_sys_streams); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3813, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; @@ -76816,7 +73466,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_deepcopy(PyObject *__p * * def __add_sys_streams(memo): */ - __Pyx_TraceLine(3815,0,__PYX_ERR(1, 3815, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_copy); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3815, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); @@ -76891,7 +73540,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers_deepcopy(PyObject *__p __pyx_L0:; __Pyx_XDECREF(__pyx_v_memo); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -76972,7 +73620,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_19deepcopy(PyObject * static PyObject *__pyx_pf_19dependency_injector_9providers_18deepcopy(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_instance, PyObject *__pyx_v_memo) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; struct __pyx_opt_args_19dependency_injector_9providers_deepcopy __pyx_t_2; @@ -76980,7 +73627,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18deepcopy(CYTHON_UNU const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("deepcopy", 0); - __Pyx_TraceCall("deepcopy (wrapper)", __pyx_f[1], 3808, 0, __PYX_ERR(1, 3808, __pyx_L1_error)); __Pyx_XDECREF(__pyx_r); __pyx_t_2.__pyx_n = 1; __pyx_t_2.memo = __pyx_v_memo; @@ -76997,7 +73643,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_18deepcopy(CYTHON_UNU __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -77027,7 +73672,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_21__add_sys_streams(P static PyObject *__pyx_pf_19dependency_injector_9providers_20__add_sys_streams(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_memo) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -77035,9 +73679,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20__add_sys_streams(C int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__34) __Pyx_RefNannySetupContext("__add_sys_streams", 0); - __Pyx_TraceCall("__add_sys_streams", __pyx_f[1], 3817, 0, __PYX_ERR(1, 3817, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3823 * objects graph. @@ -77046,7 +73688,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20__add_sys_streams(C * memo[id(sys.stdout)] = sys.stdout * memo[id(sys.stderr)] = sys.stderr */ - __Pyx_TraceLine(3823,0,__PYX_ERR(1, 3823, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_sys); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3823, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_stdin); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3823, __pyx_L1_error) @@ -77071,7 +73712,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20__add_sys_streams(C * memo[id(sys.stderr)] = sys.stderr * */ - __Pyx_TraceLine(3824,0,__PYX_ERR(1, 3824, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_sys); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3824, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_stdout); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3824, __pyx_L1_error) @@ -77096,7 +73736,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20__add_sys_streams(C * * */ - __Pyx_TraceLine(3825,0,__PYX_ERR(1, 3825, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_sys); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3825, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_stderr); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3825, __pyx_L1_error) @@ -77133,7 +73772,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_20__add_sys_streams(C __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -77217,7 +73855,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_22merge_dicts(CYTHON_ PyObject *__pyx_v_value = NULL; PyObject *__pyx_v_result = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -77235,9 +73872,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_22merge_dicts(CYTHON_ int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__35) __Pyx_RefNannySetupContext("merge_dicts", 0); - __Pyx_TraceCall("merge_dicts", __pyx_f[1], 3828, 0, __PYX_ERR(1, 3828, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3840 * :rtype: dict @@ -77246,7 +73881,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_22merge_dicts(CYTHON_ * if key in dict2: * if isinstance(value, dict) and isinstance(dict2[key], dict): */ - __Pyx_TraceLine(3840,0,__PYX_ERR(1, 3840, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_dict1, __pyx_n_s_items); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3840, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -77362,7 +73996,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_22merge_dicts(CYTHON_ * if isinstance(value, dict) and isinstance(dict2[key], dict): * dict2[key] = merge_dicts(value, dict2[key]) */ - __Pyx_TraceLine(3841,0,__PYX_ERR(1, 3841, __pyx_L1_error)) __pyx_t_9 = (__Pyx_PySequence_ContainsTF(__pyx_v_key, __pyx_v_dict2, Py_EQ)); if (unlikely(__pyx_t_9 < 0)) __PYX_ERR(1, 3841, __pyx_L1_error) __pyx_t_10 = (__pyx_t_9 != 0); if (__pyx_t_10) { @@ -77374,7 +74007,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_22merge_dicts(CYTHON_ * dict2[key] = merge_dicts(value, dict2[key]) * result = dict1.copy() */ - __Pyx_TraceLine(3842,0,__PYX_ERR(1, 3842, __pyx_L1_error)) __pyx_t_9 = PyDict_Check(__pyx_v_value); __pyx_t_11 = (__pyx_t_9 != 0); if (__pyx_t_11) { @@ -77398,7 +74030,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_22merge_dicts(CYTHON_ * result = dict1.copy() * result.update(dict2) */ - __Pyx_TraceLine(3843,0,__PYX_ERR(1, 3843, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_merge_dicts); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 3843, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_3 = __Pyx_PyObject_GetItem(__pyx_v_dict2, __pyx_v_key); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3843, __pyx_L1_error) @@ -77478,7 +74109,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_22merge_dicts(CYTHON_ * if key in dict2: * if isinstance(value, dict) and isinstance(dict2[key], dict): */ - __Pyx_TraceLine(3840,0,__PYX_ERR(1, 3840, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -77489,7 +74119,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_22merge_dicts(CYTHON_ * result.update(dict2) * return result */ - __Pyx_TraceLine(3844,0,__PYX_ERR(1, 3844, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_dict1, __pyx_n_s_copy); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3844, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_6 = NULL; @@ -77517,7 +74146,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_22merge_dicts(CYTHON_ * return result * */ - __Pyx_TraceLine(3845,0,__PYX_ERR(1, 3845, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_result, __pyx_n_s_update); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3845, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_6 = NULL; @@ -77544,7 +74172,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_22merge_dicts(CYTHON_ * * */ - __Pyx_TraceLine(3846,0,__PYX_ERR(1, 3846, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_result); __pyx_r = __pyx_v_result; @@ -77573,7 +74200,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_22merge_dicts(CYTHON_ __Pyx_XDECREF(__pyx_v_value); __Pyx_XDECREF(__pyx_v_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -77603,7 +74229,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_25isawaitable(PyObjec static PyObject *__pyx_pf_19dependency_injector_9providers_24isawaitable(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_obj) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -77615,9 +74240,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_24isawaitable(CYTHON_ int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__36) __Pyx_RefNannySetupContext("isawaitable", 0); - __Pyx_TraceCall("isawaitable", __pyx_f[1], 3849, 0, __PYX_ERR(1, 3849, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3854 * Return False for any object in Python 3.4 or below. @@ -77626,7 +74249,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_24isawaitable(CYTHON_ * return inspect.isawaitable(obj) * except AttributeError: */ - __Pyx_TraceLine(3854,0,__PYX_ERR(1, 3854, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -77643,7 +74265,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_24isawaitable(CYTHON_ * except AttributeError: * return False */ - __Pyx_TraceLine(3855,0,__PYX_ERR(1, 3855, __pyx_L3_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_inspect); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3855, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); @@ -77689,7 +74310,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_24isawaitable(CYTHON_ * return False * */ - __Pyx_TraceLine(3856,0,__PYX_ERR(1, 3856, __pyx_L5_except_error)) __pyx_t_7 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_AttributeError); if (__pyx_t_7) { __Pyx_AddTraceback("dependency_injector.providers.isawaitable", __pyx_clineno, __pyx_lineno, __pyx_filename); @@ -77705,7 +74325,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_24isawaitable(CYTHON_ * * */ - __Pyx_TraceLine(3857,0,__PYX_ERR(1, 3857, __pyx_L5_except_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(Py_False); __pyx_r = Py_False; @@ -77760,7 +74379,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_24isawaitable(CYTHON_ __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -77790,7 +74408,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_27iscoroutinefunction static PyObject *__pyx_pf_19dependency_injector_9providers_26iscoroutinefunction(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_obj) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -77802,9 +74419,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_26iscoroutinefunction int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__37) __Pyx_RefNannySetupContext("iscoroutinefunction", 0); - __Pyx_TraceCall("iscoroutinefunction", __pyx_f[1], 3860, 0, __PYX_ERR(1, 3860, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3865 * Return False for any object in Python 3.4 or below. @@ -77813,7 +74428,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_26iscoroutinefunction * return inspect.iscoroutinefunction(obj) * except AttributeError: */ - __Pyx_TraceLine(3865,0,__PYX_ERR(1, 3865, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -77830,7 +74444,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_26iscoroutinefunction * except AttributeError: * return False */ - __Pyx_TraceLine(3866,0,__PYX_ERR(1, 3866, __pyx_L3_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_inspect); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3866, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); @@ -77876,7 +74489,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_26iscoroutinefunction * return False * */ - __Pyx_TraceLine(3867,0,__PYX_ERR(1, 3867, __pyx_L5_except_error)) __pyx_t_7 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_AttributeError); if (__pyx_t_7) { __Pyx_AddTraceback("dependency_injector.providers.iscoroutinefunction", __pyx_clineno, __pyx_lineno, __pyx_filename); @@ -77892,7 +74504,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_26iscoroutinefunction * * */ - __Pyx_TraceLine(3868,0,__PYX_ERR(1, 3868, __pyx_L5_except_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(Py_False); __pyx_r = Py_False; @@ -77947,7 +74558,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_26iscoroutinefunction __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -77977,7 +74587,6 @@ static PyObject *__pyx_pw_19dependency_injector_9providers_29isasyncgenfunction( static PyObject *__pyx_pf_19dependency_injector_9providers_28isasyncgenfunction(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_obj) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -77989,9 +74598,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_28isasyncgenfunction( int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__38) __Pyx_RefNannySetupContext("isasyncgenfunction", 0); - __Pyx_TraceCall("isasyncgenfunction", __pyx_f[1], 3871, 0, __PYX_ERR(1, 3871, __pyx_L1_error)); /* "dependency_injector/providers.pyx":3876 * Return False for any object in Python 3.4 or below. @@ -78000,7 +74607,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_28isasyncgenfunction( * return inspect.isasyncgenfunction(obj) * except AttributeError: */ - __Pyx_TraceLine(3876,0,__PYX_ERR(1, 3876, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -78017,7 +74623,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_28isasyncgenfunction( * except AttributeError: * return False */ - __Pyx_TraceLine(3877,0,__PYX_ERR(1, 3877, __pyx_L3_error)) __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_inspect); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3877, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); @@ -78062,7 +74667,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_28isasyncgenfunction( * except AttributeError: # <<<<<<<<<<<<<< * return False */ - __Pyx_TraceLine(3878,0,__PYX_ERR(1, 3878, __pyx_L5_except_error)) __pyx_t_7 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_AttributeError); if (__pyx_t_7) { __Pyx_AddTraceback("dependency_injector.providers.isasyncgenfunction", __pyx_clineno, __pyx_lineno, __pyx_filename); @@ -78076,7 +74680,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_28isasyncgenfunction( * except AttributeError: * return False # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(3879,0,__PYX_ERR(1, 3879, __pyx_L5_except_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(Py_False); __pyx_r = Py_False; @@ -78131,7 +74734,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_28isasyncgenfunction( __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -78222,7 +74824,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_31__pyx_unpickle_Prov PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -78233,9 +74834,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_31__pyx_unpickle_Prov int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__39) __Pyx_RefNannySetupContext("__pyx_unpickle_Provider", 0); - __Pyx_TraceCall("__pyx_unpickle_Provider", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -78244,7 +74843,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_31__pyx_unpickle_Prov * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0xfeb8198 = (__async_mode, __last_overriding, __overridden))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0xfeb8198) != 0); if (__pyx_t_1) { @@ -78255,7 +74853,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_31__pyx_unpickle_Prov * raise __pyx_PickleError("Incompatible checksums (%s vs 0xfeb8198 = (__async_mode, __last_overriding, __overridden))" % __pyx_checksum) * __pyx_result = Provider.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -78278,7 +74875,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_31__pyx_unpickle_Prov * __pyx_result = Provider.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0xfe, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -78321,7 +74917,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_31__pyx_unpickle_Prov * if __pyx_state is not None: * __pyx_unpickle_Provider__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Provider), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -78349,7 +74944,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_31__pyx_unpickle_Prov * __pyx_unpickle_Provider__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -78361,7 +74955,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_31__pyx_unpickle_Prov * return __pyx_result * cdef __pyx_unpickle_Provider__set_state(Provider __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Provider__set_state(((struct __pyx_obj_19dependency_injector_9providers_Provider *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -78383,7 +74976,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_31__pyx_unpickle_Prov * cdef __pyx_unpickle_Provider__set_state(Provider __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__last_overriding = __pyx_state[1]; __pyx_result.__overridden = __pyx_state[2] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -78407,7 +74999,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_31__pyx_unpickle_Prov __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -78422,7 +75013,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_31__pyx_unpickle_Prov static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Provider__set_state(struct __pyx_obj_19dependency_injector_9providers_Provider *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -78437,7 +75027,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Provide const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_Provider__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_Provider__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -78446,7 +75035,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Provide * if len(__pyx_state) > 3 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[3]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -78487,7 +75075,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Provide * if len(__pyx_state) > 3 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[3]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -78510,7 +75097,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Provide * if len(__pyx_state) > 3 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[3]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -78568,7 +75154,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Provide __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -78659,7 +75244,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_33__pyx_unpickle_Obje PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -78670,9 +75254,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_33__pyx_unpickle_Obje int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__40) __Pyx_RefNannySetupContext("__pyx_unpickle_Object", 0); - __Pyx_TraceCall("__pyx_unpickle_Object", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -78681,7 +75263,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_33__pyx_unpickle_Obje * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x328787b = (__async_mode, __last_overriding, __overridden, __provides))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x328787b) != 0); if (__pyx_t_1) { @@ -78692,7 +75273,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_33__pyx_unpickle_Obje * raise __pyx_PickleError("Incompatible checksums (%s vs 0x328787b = (__async_mode, __last_overriding, __overridden, __provides))" % __pyx_checksum) * __pyx_result = Object.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -78715,7 +75295,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_33__pyx_unpickle_Obje * __pyx_result = Object.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x32, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -78758,7 +75337,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_33__pyx_unpickle_Obje * if __pyx_state is not None: * __pyx_unpickle_Object__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Object), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -78786,7 +75364,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_33__pyx_unpickle_Obje * __pyx_unpickle_Object__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -78798,7 +75375,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_33__pyx_unpickle_Obje * return __pyx_result * cdef __pyx_unpickle_Object__set_state(Object __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Object__set_state(((struct __pyx_obj_19dependency_injector_9providers_Object *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -78820,7 +75396,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_33__pyx_unpickle_Obje * cdef __pyx_unpickle_Object__set_state(Object __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__last_overriding = __pyx_state[1]; __pyx_result.__overridden = __pyx_state[2]; __pyx_result.__provides = __pyx_state[3] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -78844,7 +75419,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_33__pyx_unpickle_Obje __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -78859,7 +75433,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_33__pyx_unpickle_Obje static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Object__set_state(struct __pyx_obj_19dependency_injector_9providers_Object *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -78874,7 +75447,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Object_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_Object__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_Object__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -78883,7 +75455,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Object_ * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[4]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -78935,7 +75506,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Object_ * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[4]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -78958,7 +75528,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Object_ * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[4]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -79016,7 +75585,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Object_ __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -79107,7 +75675,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_35__pyx_unpickle_Dele PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -79118,9 +75685,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_35__pyx_unpickle_Dele int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__41) __Pyx_RefNannySetupContext("__pyx_unpickle_Delegate", 0); - __Pyx_TraceCall("__pyx_unpickle_Delegate", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -79129,7 +75694,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_35__pyx_unpickle_Dele * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x328787b = (__async_mode, __last_overriding, __overridden, __provides))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x328787b) != 0); if (__pyx_t_1) { @@ -79140,7 +75704,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_35__pyx_unpickle_Dele * raise __pyx_PickleError("Incompatible checksums (%s vs 0x328787b = (__async_mode, __last_overriding, __overridden, __provides))" % __pyx_checksum) * __pyx_result = Delegate.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -79163,7 +75726,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_35__pyx_unpickle_Dele * __pyx_result = Delegate.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x32, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -79206,7 +75768,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_35__pyx_unpickle_Dele * if __pyx_state is not None: * __pyx_unpickle_Delegate__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Delegate), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -79234,7 +75795,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_35__pyx_unpickle_Dele * __pyx_unpickle_Delegate__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -79246,7 +75806,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_35__pyx_unpickle_Dele * return __pyx_result * cdef __pyx_unpickle_Delegate__set_state(Delegate __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegate__set_state(((struct __pyx_obj_19dependency_injector_9providers_Delegate *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -79268,7 +75827,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_35__pyx_unpickle_Dele * cdef __pyx_unpickle_Delegate__set_state(Delegate __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__last_overriding = __pyx_state[1]; __pyx_result.__overridden = __pyx_state[2]; __pyx_result.__provides = __pyx_state[3] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -79292,7 +75850,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_35__pyx_unpickle_Dele __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -79307,7 +75864,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_35__pyx_unpickle_Dele static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegate__set_state(struct __pyx_obj_19dependency_injector_9providers_Delegate *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -79322,7 +75878,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_Delegate__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_Delegate__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -79331,7 +75886,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[4]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -79383,7 +75937,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[4]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -79406,7 +75959,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[4]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -79464,7 +76016,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -79555,7 +76106,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_37__pyx_unpickle_Depe PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -79566,9 +76116,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_37__pyx_unpickle_Depe int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__42) __Pyx_RefNannySetupContext("__pyx_unpickle_Dependency", 0); - __Pyx_TraceCall("__pyx_unpickle_Dependency", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -79577,7 +76125,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_37__pyx_unpickle_Depe * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x5e35d71 = (__async_mode, __default, __instance_of, __last_overriding, __overridden))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x5e35d71) != 0); if (__pyx_t_1) { @@ -79588,7 +76135,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_37__pyx_unpickle_Depe * raise __pyx_PickleError("Incompatible checksums (%s vs 0x5e35d71 = (__async_mode, __default, __instance_of, __last_overriding, __overridden))" % __pyx_checksum) * __pyx_result = Dependency.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -79611,7 +76157,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_37__pyx_unpickle_Depe * __pyx_result = Dependency.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x5e, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -79654,7 +76199,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_37__pyx_unpickle_Depe * if __pyx_state is not None: * __pyx_unpickle_Dependency__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Dependency), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -79682,7 +76226,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_37__pyx_unpickle_Depe * __pyx_unpickle_Dependency__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -79694,7 +76237,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_37__pyx_unpickle_Depe * return __pyx_result * cdef __pyx_unpickle_Dependency__set_state(Dependency __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Dependency__set_state(((struct __pyx_obj_19dependency_injector_9providers_Dependency *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -79716,7 +76258,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_37__pyx_unpickle_Depe * cdef __pyx_unpickle_Dependency__set_state(Dependency __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__default = __pyx_state[1]; __pyx_result.__instance_of = __pyx_state[2]; __pyx_result.__last_overriding = __pyx_state[3]; __pyx_result.__overridden = __pyx_state[4] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -79740,7 +76281,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_37__pyx_unpickle_Depe __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -79755,7 +76295,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_37__pyx_unpickle_Depe static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Dependency__set_state(struct __pyx_obj_19dependency_injector_9providers_Dependency *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -79770,7 +76309,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Depende const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_Dependency__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_Dependency__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -79779,7 +76317,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Depende * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -79842,7 +76379,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Depende * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -79865,7 +76401,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Depende * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -79923,7 +76458,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Depende __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -80014,7 +76548,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_39__pyx_unpickle_Exte PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -80025,9 +76558,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_39__pyx_unpickle_Exte int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__43) __Pyx_RefNannySetupContext("__pyx_unpickle_ExternalDependency", 0); - __Pyx_TraceCall("__pyx_unpickle_ExternalDependency", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -80036,7 +76567,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_39__pyx_unpickle_Exte * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x5e35d71 = (__async_mode, __default, __instance_of, __last_overriding, __overridden))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x5e35d71) != 0); if (__pyx_t_1) { @@ -80047,7 +76577,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_39__pyx_unpickle_Exte * raise __pyx_PickleError("Incompatible checksums (%s vs 0x5e35d71 = (__async_mode, __default, __instance_of, __last_overriding, __overridden))" % __pyx_checksum) * __pyx_result = ExternalDependency.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -80070,7 +76599,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_39__pyx_unpickle_Exte * __pyx_result = ExternalDependency.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x5e, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -80113,7 +76641,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_39__pyx_unpickle_Exte * if __pyx_state is not None: * __pyx_unpickle_ExternalDependency__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_ExternalDependency), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -80141,7 +76668,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_39__pyx_unpickle_Exte * __pyx_unpickle_ExternalDependency__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -80153,7 +76679,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_39__pyx_unpickle_Exte * return __pyx_result * cdef __pyx_unpickle_ExternalDependency__set_state(ExternalDependency __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_ExternalDependency__set_state(((struct __pyx_obj_19dependency_injector_9providers_ExternalDependency *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -80175,7 +76700,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_39__pyx_unpickle_Exte * cdef __pyx_unpickle_ExternalDependency__set_state(ExternalDependency __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__default = __pyx_state[1]; __pyx_result.__instance_of = __pyx_state[2]; __pyx_result.__last_overriding = __pyx_state[3]; __pyx_result.__overridden = __pyx_state[4] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -80199,7 +76723,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_39__pyx_unpickle_Exte __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -80214,7 +76737,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_39__pyx_unpickle_Exte static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_ExternalDependency__set_state(struct __pyx_obj_19dependency_injector_9providers_ExternalDependency *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -80229,7 +76751,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Externa const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_ExternalDependency__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_ExternalDependency__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -80238,7 +76759,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Externa * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -80301,7 +76821,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Externa * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -80324,7 +76843,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Externa * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -80382,7 +76900,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Externa __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -80473,7 +76990,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_41__pyx_unpickle_Depe PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -80484,9 +77000,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_41__pyx_unpickle_Depe int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__44) __Pyx_RefNannySetupContext("__pyx_unpickle_DependenciesContainer", 0); - __Pyx_TraceCall("__pyx_unpickle_DependenciesContainer", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -80495,7 +77009,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_41__pyx_unpickle_Depe * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x1cf9f6d = (__async_mode, __last_overriding, __overridden, __providers, __provides))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x1cf9f6d) != 0); if (__pyx_t_1) { @@ -80506,7 +77019,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_41__pyx_unpickle_Depe * raise __pyx_PickleError("Incompatible checksums (%s vs 0x1cf9f6d = (__async_mode, __last_overriding, __overridden, __providers, __provides))" % __pyx_checksum) * __pyx_result = DependenciesContainer.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -80529,7 +77041,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_41__pyx_unpickle_Depe * __pyx_result = DependenciesContainer.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x1c, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -80572,7 +77083,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_41__pyx_unpickle_Depe * if __pyx_state is not None: * __pyx_unpickle_DependenciesContainer__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_DependenciesContainer), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -80600,7 +77110,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_41__pyx_unpickle_Depe * __pyx_unpickle_DependenciesContainer__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -80612,7 +77121,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_41__pyx_unpickle_Depe * return __pyx_result * cdef __pyx_unpickle_DependenciesContainer__set_state(DependenciesContainer __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_DependenciesContainer__set_state(((struct __pyx_obj_19dependency_injector_9providers_DependenciesContainer *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -80634,7 +77142,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_41__pyx_unpickle_Depe * cdef __pyx_unpickle_DependenciesContainer__set_state(DependenciesContainer __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__last_overriding = __pyx_state[1]; __pyx_result.__overridden = __pyx_state[2]; __pyx_result.__providers = __pyx_state[3]; __pyx_result.__provides = __pyx_state[4] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -80658,7 +77165,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_41__pyx_unpickle_Depe __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -80673,7 +77179,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_41__pyx_unpickle_Depe static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_DependenciesContainer__set_state(struct __pyx_obj_19dependency_injector_9providers_DependenciesContainer *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -80688,7 +77193,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Depende const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_DependenciesContainer__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_DependenciesContainer__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -80697,7 +77201,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Depende * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -80761,7 +77264,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Depende * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -80784,7 +77286,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Depende * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -80842,7 +77343,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Depende __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -80933,7 +77433,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_43__pyx_unpickle_Over PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -80944,9 +77443,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_43__pyx_unpickle_Over int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__45) __Pyx_RefNannySetupContext("__pyx_unpickle_OverridingContext", 0); - __Pyx_TraceCall("__pyx_unpickle_OverridingContext", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -80955,7 +77452,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_43__pyx_unpickle_Over * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x2071b6b = (__overridden, __overriding))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x2071b6b) != 0); if (__pyx_t_1) { @@ -80966,7 +77462,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_43__pyx_unpickle_Over * raise __pyx_PickleError("Incompatible checksums (%s vs 0x2071b6b = (__overridden, __overriding))" % __pyx_checksum) * __pyx_result = OverridingContext.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -80989,7 +77484,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_43__pyx_unpickle_Over * __pyx_result = OverridingContext.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x20, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -81032,7 +77526,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_43__pyx_unpickle_Over * if __pyx_state is not None: * __pyx_unpickle_OverridingContext__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_OverridingContext), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -81060,7 +77553,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_43__pyx_unpickle_Over * __pyx_unpickle_OverridingContext__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -81072,7 +77564,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_43__pyx_unpickle_Over * return __pyx_result * cdef __pyx_unpickle_OverridingContext__set_state(OverridingContext __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_OverridingContext__set_state(((struct __pyx_obj_19dependency_injector_9providers_OverridingContext *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -81094,7 +77585,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_43__pyx_unpickle_Over * cdef __pyx_unpickle_OverridingContext__set_state(OverridingContext __pyx_result, tuple __pyx_state): * __pyx_result.__overridden = __pyx_state[0]; __pyx_result.__overriding = __pyx_state[1] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -81118,7 +77608,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_43__pyx_unpickle_Over __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -81133,7 +77622,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_43__pyx_unpickle_Over static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_OverridingContext__set_state(struct __pyx_obj_19dependency_injector_9providers_OverridingContext *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -81147,7 +77635,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Overrid const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_OverridingContext__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_OverridingContext__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -81156,7 +77643,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Overrid * if len(__pyx_state) > 2 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[2]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -81188,7 +77674,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Overrid * if len(__pyx_state) > 2 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[2]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -81211,7 +77696,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Overrid * if len(__pyx_state) > 2 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[2]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_update); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -81269,7 +77753,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Overrid __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -81360,7 +77843,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_45__pyx_unpickle_Call PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -81371,9 +77853,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_45__pyx_unpickle_Call int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__46) __Pyx_RefNannySetupContext("__pyx_unpickle_Callable", 0); - __Pyx_TraceCall("__pyx_unpickle_Callable", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -81382,7 +77862,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_45__pyx_unpickle_Call * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x3e02ba6 = (__args, __args_len, __async_mode, __kwargs, __kwargs_len, __last_overriding, __overridden, __provides))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x3e02ba6) != 0); if (__pyx_t_1) { @@ -81393,7 +77872,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_45__pyx_unpickle_Call * raise __pyx_PickleError("Incompatible checksums (%s vs 0x3e02ba6 = (__args, __args_len, __async_mode, __kwargs, __kwargs_len, __last_overriding, __overridden, __provides))" % __pyx_checksum) * __pyx_result = Callable.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -81416,7 +77894,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_45__pyx_unpickle_Call * __pyx_result = Callable.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x3e, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -81459,7 +77936,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_45__pyx_unpickle_Call * if __pyx_state is not None: * __pyx_unpickle_Callable__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Callable), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -81487,7 +77963,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_45__pyx_unpickle_Call * __pyx_unpickle_Callable__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -81499,7 +77974,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_45__pyx_unpickle_Call * return __pyx_result * cdef __pyx_unpickle_Callable__set_state(Callable __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Callable__set_state(((struct __pyx_obj_19dependency_injector_9providers_Callable *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -81521,7 +77995,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_45__pyx_unpickle_Call * cdef __pyx_unpickle_Callable__set_state(Callable __pyx_result, tuple __pyx_state): * __pyx_result.__args = __pyx_state[0]; __pyx_result.__args_len = __pyx_state[1]; __pyx_result.__async_mode = __pyx_state[2]; __pyx_result.__kwargs = __pyx_state[3]; __pyx_result.__kwargs_len = __pyx_state[4]; __pyx_result.__last_overriding = __pyx_state[5]; __pyx_result.__overridden = __pyx_state[6]; __pyx_result.__provides = __pyx_state[7] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -81545,7 +78018,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_45__pyx_unpickle_Call __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -81560,7 +78032,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_45__pyx_unpickle_Call static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Callable__set_state(struct __pyx_obj_19dependency_injector_9providers_Callable *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -81575,7 +78046,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Callabl const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_Callable__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_Callable__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -81584,7 +78054,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Callabl * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[8]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -81678,7 +78147,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Callabl * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[8]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -81701,7 +78169,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Callabl * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[8]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -81759,7 +78226,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Callabl __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -81850,7 +78316,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_47__pyx_unpickle_Dele PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -81861,9 +78326,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_47__pyx_unpickle_Dele int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__47) __Pyx_RefNannySetupContext("__pyx_unpickle_DelegatedCallable", 0); - __Pyx_TraceCall("__pyx_unpickle_DelegatedCallable", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -81872,7 +78335,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_47__pyx_unpickle_Dele * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x3e02ba6 = (__args, __args_len, __async_mode, __kwargs, __kwargs_len, __last_overriding, __overridden, __provides))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x3e02ba6) != 0); if (__pyx_t_1) { @@ -81883,7 +78345,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_47__pyx_unpickle_Dele * raise __pyx_PickleError("Incompatible checksums (%s vs 0x3e02ba6 = (__args, __args_len, __async_mode, __kwargs, __kwargs_len, __last_overriding, __overridden, __provides))" % __pyx_checksum) * __pyx_result = DelegatedCallable.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -81906,7 +78367,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_47__pyx_unpickle_Dele * __pyx_result = DelegatedCallable.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x3e, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -81949,7 +78409,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_47__pyx_unpickle_Dele * if __pyx_state is not None: * __pyx_unpickle_DelegatedCallable__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_DelegatedCallable), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -81977,7 +78436,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_47__pyx_unpickle_Dele * __pyx_unpickle_DelegatedCallable__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -81989,7 +78447,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_47__pyx_unpickle_Dele * return __pyx_result * cdef __pyx_unpickle_DelegatedCallable__set_state(DelegatedCallable __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_DelegatedCallable__set_state(((struct __pyx_obj_19dependency_injector_9providers_DelegatedCallable *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -82011,7 +78468,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_47__pyx_unpickle_Dele * cdef __pyx_unpickle_DelegatedCallable__set_state(DelegatedCallable __pyx_result, tuple __pyx_state): * __pyx_result.__args = __pyx_state[0]; __pyx_result.__args_len = __pyx_state[1]; __pyx_result.__async_mode = __pyx_state[2]; __pyx_result.__kwargs = __pyx_state[3]; __pyx_result.__kwargs_len = __pyx_state[4]; __pyx_result.__last_overriding = __pyx_state[5]; __pyx_result.__overridden = __pyx_state[6]; __pyx_result.__provides = __pyx_state[7] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -82035,7 +78491,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_47__pyx_unpickle_Dele __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -82050,7 +78505,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_47__pyx_unpickle_Dele static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_DelegatedCallable__set_state(struct __pyx_obj_19dependency_injector_9providers_DelegatedCallable *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -82065,7 +78519,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_DelegatedCallable__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_DelegatedCallable__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -82074,7 +78527,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[8]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -82168,7 +78620,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[8]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -82191,7 +78642,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[8]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -82249,7 +78699,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -82340,7 +78789,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_49__pyx_unpickle_Abst PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -82351,9 +78799,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_49__pyx_unpickle_Abst int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__48) __Pyx_RefNannySetupContext("__pyx_unpickle_AbstractCallable", 0); - __Pyx_TraceCall("__pyx_unpickle_AbstractCallable", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -82362,7 +78808,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_49__pyx_unpickle_Abst * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x3e02ba6 = (__args, __args_len, __async_mode, __kwargs, __kwargs_len, __last_overriding, __overridden, __provides))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x3e02ba6) != 0); if (__pyx_t_1) { @@ -82373,7 +78818,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_49__pyx_unpickle_Abst * raise __pyx_PickleError("Incompatible checksums (%s vs 0x3e02ba6 = (__args, __args_len, __async_mode, __kwargs, __kwargs_len, __last_overriding, __overridden, __provides))" % __pyx_checksum) * __pyx_result = AbstractCallable.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -82396,7 +78840,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_49__pyx_unpickle_Abst * __pyx_result = AbstractCallable.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x3e, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -82439,7 +78882,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_49__pyx_unpickle_Abst * if __pyx_state is not None: * __pyx_unpickle_AbstractCallable__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_AbstractCallable), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -82467,7 +78909,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_49__pyx_unpickle_Abst * __pyx_unpickle_AbstractCallable__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -82479,7 +78920,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_49__pyx_unpickle_Abst * return __pyx_result * cdef __pyx_unpickle_AbstractCallable__set_state(AbstractCallable __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_AbstractCallable__set_state(((struct __pyx_obj_19dependency_injector_9providers_AbstractCallable *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -82501,7 +78941,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_49__pyx_unpickle_Abst * cdef __pyx_unpickle_AbstractCallable__set_state(AbstractCallable __pyx_result, tuple __pyx_state): * __pyx_result.__args = __pyx_state[0]; __pyx_result.__args_len = __pyx_state[1]; __pyx_result.__async_mode = __pyx_state[2]; __pyx_result.__kwargs = __pyx_state[3]; __pyx_result.__kwargs_len = __pyx_state[4]; __pyx_result.__last_overriding = __pyx_state[5]; __pyx_result.__overridden = __pyx_state[6]; __pyx_result.__provides = __pyx_state[7] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -82525,7 +78964,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_49__pyx_unpickle_Abst __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -82540,7 +78978,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_49__pyx_unpickle_Abst static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_AbstractCallable__set_state(struct __pyx_obj_19dependency_injector_9providers_AbstractCallable *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -82555,7 +78992,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Abstrac const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_AbstractCallable__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_AbstractCallable__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -82564,7 +79000,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Abstrac * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[8]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -82658,7 +79093,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Abstrac * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[8]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -82681,7 +79115,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Abstrac * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[8]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -82739,7 +79172,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Abstrac __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -82830,7 +79262,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_51__pyx_unpickle_Call PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -82841,9 +79272,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_51__pyx_unpickle_Call int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__49) __Pyx_RefNannySetupContext("__pyx_unpickle_CallableDelegate", 0); - __Pyx_TraceCall("__pyx_unpickle_CallableDelegate", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -82852,7 +79281,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_51__pyx_unpickle_Call * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x328787b = (__async_mode, __last_overriding, __overridden, __provides))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x328787b) != 0); if (__pyx_t_1) { @@ -82863,7 +79291,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_51__pyx_unpickle_Call * raise __pyx_PickleError("Incompatible checksums (%s vs 0x328787b = (__async_mode, __last_overriding, __overridden, __provides))" % __pyx_checksum) * __pyx_result = CallableDelegate.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -82886,7 +79313,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_51__pyx_unpickle_Call * __pyx_result = CallableDelegate.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x32, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -82929,7 +79355,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_51__pyx_unpickle_Call * if __pyx_state is not None: * __pyx_unpickle_CallableDelegate__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_CallableDelegate), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -82957,7 +79382,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_51__pyx_unpickle_Call * __pyx_unpickle_CallableDelegate__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -82969,7 +79393,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_51__pyx_unpickle_Call * return __pyx_result * cdef __pyx_unpickle_CallableDelegate__set_state(CallableDelegate __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_CallableDelegate__set_state(((struct __pyx_obj_19dependency_injector_9providers_CallableDelegate *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -82991,7 +79414,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_51__pyx_unpickle_Call * cdef __pyx_unpickle_CallableDelegate__set_state(CallableDelegate __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__last_overriding = __pyx_state[1]; __pyx_result.__overridden = __pyx_state[2]; __pyx_result.__provides = __pyx_state[3] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -83015,7 +79437,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_51__pyx_unpickle_Call __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -83030,7 +79451,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_51__pyx_unpickle_Call static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_CallableDelegate__set_state(struct __pyx_obj_19dependency_injector_9providers_CallableDelegate *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -83045,7 +79465,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Callabl const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_CallableDelegate__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_CallableDelegate__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -83054,7 +79473,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Callabl * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[4]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -83106,7 +79524,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Callabl * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[4]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -83129,7 +79546,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Callabl * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[4]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -83187,7 +79603,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Callabl __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -83278,7 +79693,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_53__pyx_unpickle_Coro PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -83289,9 +79703,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_53__pyx_unpickle_Coro int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__50) __Pyx_RefNannySetupContext("__pyx_unpickle_Coroutine", 0); - __Pyx_TraceCall("__pyx_unpickle_Coroutine", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -83300,7 +79712,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_53__pyx_unpickle_Coro * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x3e02ba6 = (__args, __args_len, __async_mode, __kwargs, __kwargs_len, __last_overriding, __overridden, __provides))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x3e02ba6) != 0); if (__pyx_t_1) { @@ -83311,7 +79722,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_53__pyx_unpickle_Coro * raise __pyx_PickleError("Incompatible checksums (%s vs 0x3e02ba6 = (__args, __args_len, __async_mode, __kwargs, __kwargs_len, __last_overriding, __overridden, __provides))" % __pyx_checksum) * __pyx_result = Coroutine.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -83334,7 +79744,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_53__pyx_unpickle_Coro * __pyx_result = Coroutine.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x3e, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -83377,7 +79786,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_53__pyx_unpickle_Coro * if __pyx_state is not None: * __pyx_unpickle_Coroutine__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Coroutine), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -83405,7 +79813,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_53__pyx_unpickle_Coro * __pyx_unpickle_Coroutine__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -83417,7 +79824,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_53__pyx_unpickle_Coro * return __pyx_result * cdef __pyx_unpickle_Coroutine__set_state(Coroutine __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Coroutine__set_state(((struct __pyx_obj_19dependency_injector_9providers_Coroutine *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -83439,7 +79845,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_53__pyx_unpickle_Coro * cdef __pyx_unpickle_Coroutine__set_state(Coroutine __pyx_result, tuple __pyx_state): * __pyx_result.__args = __pyx_state[0]; __pyx_result.__args_len = __pyx_state[1]; __pyx_result.__async_mode = __pyx_state[2]; __pyx_result.__kwargs = __pyx_state[3]; __pyx_result.__kwargs_len = __pyx_state[4]; __pyx_result.__last_overriding = __pyx_state[5]; __pyx_result.__overridden = __pyx_state[6]; __pyx_result.__provides = __pyx_state[7] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -83463,7 +79868,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_53__pyx_unpickle_Coro __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -83478,7 +79882,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_53__pyx_unpickle_Coro static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Coroutine__set_state(struct __pyx_obj_19dependency_injector_9providers_Coroutine *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -83493,7 +79896,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Corouti const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_Coroutine__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_Coroutine__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -83502,7 +79904,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Corouti * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[8]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -83596,7 +79997,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Corouti * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[8]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -83619,7 +80019,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Corouti * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[8]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -83677,7 +80076,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Corouti __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -83768,7 +80166,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_55__pyx_unpickle_Dele PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -83779,9 +80176,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_55__pyx_unpickle_Dele int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__51) __Pyx_RefNannySetupContext("__pyx_unpickle_DelegatedCoroutine", 0); - __Pyx_TraceCall("__pyx_unpickle_DelegatedCoroutine", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -83790,7 +80185,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_55__pyx_unpickle_Dele * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x3e02ba6 = (__args, __args_len, __async_mode, __kwargs, __kwargs_len, __last_overriding, __overridden, __provides))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x3e02ba6) != 0); if (__pyx_t_1) { @@ -83801,7 +80195,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_55__pyx_unpickle_Dele * raise __pyx_PickleError("Incompatible checksums (%s vs 0x3e02ba6 = (__args, __args_len, __async_mode, __kwargs, __kwargs_len, __last_overriding, __overridden, __provides))" % __pyx_checksum) * __pyx_result = DelegatedCoroutine.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -83824,7 +80217,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_55__pyx_unpickle_Dele * __pyx_result = DelegatedCoroutine.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x3e, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -83867,7 +80259,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_55__pyx_unpickle_Dele * if __pyx_state is not None: * __pyx_unpickle_DelegatedCoroutine__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_DelegatedCoroutine), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -83895,7 +80286,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_55__pyx_unpickle_Dele * __pyx_unpickle_DelegatedCoroutine__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -83907,7 +80297,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_55__pyx_unpickle_Dele * return __pyx_result * cdef __pyx_unpickle_DelegatedCoroutine__set_state(DelegatedCoroutine __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_DelegatedCoroutine__set_state(((struct __pyx_obj_19dependency_injector_9providers_DelegatedCoroutine *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -83929,7 +80318,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_55__pyx_unpickle_Dele * cdef __pyx_unpickle_DelegatedCoroutine__set_state(DelegatedCoroutine __pyx_result, tuple __pyx_state): * __pyx_result.__args = __pyx_state[0]; __pyx_result.__args_len = __pyx_state[1]; __pyx_result.__async_mode = __pyx_state[2]; __pyx_result.__kwargs = __pyx_state[3]; __pyx_result.__kwargs_len = __pyx_state[4]; __pyx_result.__last_overriding = __pyx_state[5]; __pyx_result.__overridden = __pyx_state[6]; __pyx_result.__provides = __pyx_state[7] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -83953,7 +80341,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_55__pyx_unpickle_Dele __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -83968,7 +80355,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_55__pyx_unpickle_Dele static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_DelegatedCoroutine__set_state(struct __pyx_obj_19dependency_injector_9providers_DelegatedCoroutine *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -83983,7 +80369,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_DelegatedCoroutine__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_DelegatedCoroutine__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -83992,7 +80377,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[8]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -84086,7 +80470,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[8]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -84109,7 +80492,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[8]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -84167,7 +80549,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -84258,7 +80639,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_57__pyx_unpickle_Abst PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -84269,9 +80649,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_57__pyx_unpickle_Abst int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__52) __Pyx_RefNannySetupContext("__pyx_unpickle_AbstractCoroutine", 0); - __Pyx_TraceCall("__pyx_unpickle_AbstractCoroutine", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -84280,7 +80658,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_57__pyx_unpickle_Abst * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x3e02ba6 = (__args, __args_len, __async_mode, __kwargs, __kwargs_len, __last_overriding, __overridden, __provides))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x3e02ba6) != 0); if (__pyx_t_1) { @@ -84291,7 +80668,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_57__pyx_unpickle_Abst * raise __pyx_PickleError("Incompatible checksums (%s vs 0x3e02ba6 = (__args, __args_len, __async_mode, __kwargs, __kwargs_len, __last_overriding, __overridden, __provides))" % __pyx_checksum) * __pyx_result = AbstractCoroutine.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -84314,7 +80690,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_57__pyx_unpickle_Abst * __pyx_result = AbstractCoroutine.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x3e, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -84357,7 +80732,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_57__pyx_unpickle_Abst * if __pyx_state is not None: * __pyx_unpickle_AbstractCoroutine__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_AbstractCoroutine), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -84385,7 +80759,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_57__pyx_unpickle_Abst * __pyx_unpickle_AbstractCoroutine__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -84397,7 +80770,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_57__pyx_unpickle_Abst * return __pyx_result * cdef __pyx_unpickle_AbstractCoroutine__set_state(AbstractCoroutine __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_AbstractCoroutine__set_state(((struct __pyx_obj_19dependency_injector_9providers_AbstractCoroutine *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -84419,7 +80791,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_57__pyx_unpickle_Abst * cdef __pyx_unpickle_AbstractCoroutine__set_state(AbstractCoroutine __pyx_result, tuple __pyx_state): * __pyx_result.__args = __pyx_state[0]; __pyx_result.__args_len = __pyx_state[1]; __pyx_result.__async_mode = __pyx_state[2]; __pyx_result.__kwargs = __pyx_state[3]; __pyx_result.__kwargs_len = __pyx_state[4]; __pyx_result.__last_overriding = __pyx_state[5]; __pyx_result.__overridden = __pyx_state[6]; __pyx_result.__provides = __pyx_state[7] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -84443,7 +80814,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_57__pyx_unpickle_Abst __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -84458,7 +80828,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_57__pyx_unpickle_Abst static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_AbstractCoroutine__set_state(struct __pyx_obj_19dependency_injector_9providers_AbstractCoroutine *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -84473,7 +80842,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Abstrac const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_AbstractCoroutine__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_AbstractCoroutine__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -84482,7 +80850,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Abstrac * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[8]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -84576,7 +80943,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Abstrac * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[8]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -84599,7 +80965,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Abstrac * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[8]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -84657,7 +81022,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Abstrac __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -84748,7 +81112,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_59__pyx_unpickle_Coro PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -84759,9 +81122,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_59__pyx_unpickle_Coro int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__53) __Pyx_RefNannySetupContext("__pyx_unpickle_CoroutineDelegate", 0); - __Pyx_TraceCall("__pyx_unpickle_CoroutineDelegate", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -84770,7 +81131,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_59__pyx_unpickle_Coro * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x328787b = (__async_mode, __last_overriding, __overridden, __provides))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x328787b) != 0); if (__pyx_t_1) { @@ -84781,7 +81141,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_59__pyx_unpickle_Coro * raise __pyx_PickleError("Incompatible checksums (%s vs 0x328787b = (__async_mode, __last_overriding, __overridden, __provides))" % __pyx_checksum) * __pyx_result = CoroutineDelegate.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -84804,7 +81163,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_59__pyx_unpickle_Coro * __pyx_result = CoroutineDelegate.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x32, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -84847,7 +81205,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_59__pyx_unpickle_Coro * if __pyx_state is not None: * __pyx_unpickle_CoroutineDelegate__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_CoroutineDelegate), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -84875,7 +81232,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_59__pyx_unpickle_Coro * __pyx_unpickle_CoroutineDelegate__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -84887,7 +81243,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_59__pyx_unpickle_Coro * return __pyx_result * cdef __pyx_unpickle_CoroutineDelegate__set_state(CoroutineDelegate __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_CoroutineDelegate__set_state(((struct __pyx_obj_19dependency_injector_9providers_CoroutineDelegate *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -84909,7 +81264,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_59__pyx_unpickle_Coro * cdef __pyx_unpickle_CoroutineDelegate__set_state(CoroutineDelegate __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__last_overriding = __pyx_state[1]; __pyx_result.__overridden = __pyx_state[2]; __pyx_result.__provides = __pyx_state[3] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -84933,7 +81287,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_59__pyx_unpickle_Coro __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -84948,7 +81301,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_59__pyx_unpickle_Coro static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_CoroutineDelegate__set_state(struct __pyx_obj_19dependency_injector_9providers_CoroutineDelegate *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -84963,7 +81315,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Corouti const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_CoroutineDelegate__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_CoroutineDelegate__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -84972,7 +81323,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Corouti * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[4]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -85024,7 +81374,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Corouti * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[4]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -85047,7 +81396,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Corouti * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[4]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -85105,7 +81453,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Corouti __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -85196,7 +81543,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_61__pyx_unpickle_Conf PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -85207,9 +81553,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_61__pyx_unpickle_Conf int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__54) __Pyx_RefNannySetupContext("__pyx_unpickle_ConfigurationOption", 0); - __Pyx_TraceCall("__pyx_unpickle_ConfigurationOption", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -85218,7 +81562,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_61__pyx_unpickle_Conf * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x91e5fbc = (__async_mode, __cache, __children, __last_overriding, __name, __overridden, __required, __root))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x91e5fbc) != 0); if (__pyx_t_1) { @@ -85229,7 +81572,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_61__pyx_unpickle_Conf * raise __pyx_PickleError("Incompatible checksums (%s vs 0x91e5fbc = (__async_mode, __cache, __children, __last_overriding, __name, __overridden, __required, __root))" % __pyx_checksum) * __pyx_result = ConfigurationOption.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -85252,7 +81594,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_61__pyx_unpickle_Conf * __pyx_result = ConfigurationOption.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x91, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -85295,7 +81636,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_61__pyx_unpickle_Conf * if __pyx_state is not None: * __pyx_unpickle_ConfigurationOption__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_ConfigurationOption), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -85323,7 +81663,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_61__pyx_unpickle_Conf * __pyx_unpickle_ConfigurationOption__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -85335,7 +81674,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_61__pyx_unpickle_Conf * return __pyx_result * cdef __pyx_unpickle_ConfigurationOption__set_state(ConfigurationOption __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_ConfigurationOption__set_state(((struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -85357,7 +81695,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_61__pyx_unpickle_Conf * cdef __pyx_unpickle_ConfigurationOption__set_state(ConfigurationOption __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__cache = __pyx_state[1]; __pyx_result.__children = __pyx_state[2]; __pyx_result.__last_overriding = __pyx_state[3]; __pyx_result.__name = __pyx_state[4]; __pyx_result.__overridden = __pyx_state[5]; __pyx_result.__required = __pyx_state[6]; __pyx_result.__root = __pyx_state[7] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -85381,7 +81718,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_61__pyx_unpickle_Conf __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -85396,7 +81732,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_61__pyx_unpickle_Conf static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_ConfigurationOption__set_state(struct __pyx_obj_19dependency_injector_9providers_ConfigurationOption *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -85411,7 +81746,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Configu const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_ConfigurationOption__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_ConfigurationOption__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -85420,7 +81754,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Configu * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[8]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -85517,7 +81850,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Configu * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[8]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -85540,7 +81872,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Configu * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[8]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -85598,7 +81929,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Configu __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -85689,7 +82019,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_63__pyx_unpickle_Type PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -85700,9 +82029,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_63__pyx_unpickle_Type int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__55) __Pyx_RefNannySetupContext("__pyx_unpickle_TypedConfigurationOption", 0); - __Pyx_TraceCall("__pyx_unpickle_TypedConfigurationOption", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -85711,7 +82038,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_63__pyx_unpickle_Type * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x3e02ba6 = (__args, __args_len, __async_mode, __kwargs, __kwargs_len, __last_overriding, __overridden, __provides))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x3e02ba6) != 0); if (__pyx_t_1) { @@ -85722,7 +82048,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_63__pyx_unpickle_Type * raise __pyx_PickleError("Incompatible checksums (%s vs 0x3e02ba6 = (__args, __args_len, __async_mode, __kwargs, __kwargs_len, __last_overriding, __overridden, __provides))" % __pyx_checksum) * __pyx_result = TypedConfigurationOption.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -85745,7 +82070,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_63__pyx_unpickle_Type * __pyx_result = TypedConfigurationOption.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x3e, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -85788,7 +82112,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_63__pyx_unpickle_Type * if __pyx_state is not None: * __pyx_unpickle_TypedConfigurationOption__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_TypedConfigurationOption), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -85816,7 +82139,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_63__pyx_unpickle_Type * __pyx_unpickle_TypedConfigurationOption__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -85828,7 +82150,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_63__pyx_unpickle_Type * return __pyx_result * cdef __pyx_unpickle_TypedConfigurationOption__set_state(TypedConfigurationOption __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_TypedConfigurationOption__set_state(((struct __pyx_obj_19dependency_injector_9providers_TypedConfigurationOption *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -85850,7 +82171,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_63__pyx_unpickle_Type * cdef __pyx_unpickle_TypedConfigurationOption__set_state(TypedConfigurationOption __pyx_result, tuple __pyx_state): * __pyx_result.__args = __pyx_state[0]; __pyx_result.__args_len = __pyx_state[1]; __pyx_result.__async_mode = __pyx_state[2]; __pyx_result.__kwargs = __pyx_state[3]; __pyx_result.__kwargs_len = __pyx_state[4]; __pyx_result.__last_overriding = __pyx_state[5]; __pyx_result.__overridden = __pyx_state[6]; __pyx_result.__provides = __pyx_state[7] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -85874,7 +82194,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_63__pyx_unpickle_Type __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -85889,7 +82208,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_63__pyx_unpickle_Type static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_TypedConfigurationOption__set_state(struct __pyx_obj_19dependency_injector_9providers_TypedConfigurationOption *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -85904,7 +82222,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_TypedCo const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_TypedConfigurationOption__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_TypedConfigurationOption__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -85913,7 +82230,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_TypedCo * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[8]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -86007,7 +82323,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_TypedCo * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[8]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -86030,7 +82345,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_TypedCo * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[8]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -86088,7 +82402,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_TypedCo __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -86179,7 +82492,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_65__pyx_unpickle_Conf PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -86190,9 +82502,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_65__pyx_unpickle_Conf int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__56) __Pyx_RefNannySetupContext("__pyx_unpickle_Configuration", 0); - __Pyx_TraceCall("__pyx_unpickle_Configuration", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -86201,7 +82511,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_65__pyx_unpickle_Conf * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x42fe861 = (__async_mode, __children, __last_overriding, __name, __overridden, __provides, __strict))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x42fe861) != 0); if (__pyx_t_1) { @@ -86212,7 +82521,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_65__pyx_unpickle_Conf * raise __pyx_PickleError("Incompatible checksums (%s vs 0x42fe861 = (__async_mode, __children, __last_overriding, __name, __overridden, __provides, __strict))" % __pyx_checksum) * __pyx_result = Configuration.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -86235,7 +82543,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_65__pyx_unpickle_Conf * __pyx_result = Configuration.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x42, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -86278,7 +82585,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_65__pyx_unpickle_Conf * if __pyx_state is not None: * __pyx_unpickle_Configuration__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Configuration), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -86306,7 +82612,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_65__pyx_unpickle_Conf * __pyx_unpickle_Configuration__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -86318,7 +82623,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_65__pyx_unpickle_Conf * return __pyx_result * cdef __pyx_unpickle_Configuration__set_state(Configuration __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Configuration__set_state(((struct __pyx_obj_19dependency_injector_9providers_Configuration *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -86340,7 +82644,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_65__pyx_unpickle_Conf * cdef __pyx_unpickle_Configuration__set_state(Configuration __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__children = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__name = __pyx_state[3]; __pyx_result.__overridden = __pyx_state[4]; __pyx_result.__provides = __pyx_state[5]; __pyx_result.__strict = __pyx_state[6] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -86364,7 +82667,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_65__pyx_unpickle_Conf __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -86379,7 +82681,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_65__pyx_unpickle_Conf static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Configuration__set_state(struct __pyx_obj_19dependency_injector_9providers_Configuration *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -86394,7 +82695,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Configu const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_Configuration__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_Configuration__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -86403,7 +82703,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Configu * if len(__pyx_state) > 7 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[7]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -86488,7 +82787,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Configu * if len(__pyx_state) > 7 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[7]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -86511,7 +82809,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Configu * if len(__pyx_state) > 7 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[7]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -86569,7 +82866,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Configu __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -86660,7 +82956,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_67__pyx_unpickle_Fact PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -86671,9 +82966,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_67__pyx_unpickle_Fact int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__57) __Pyx_RefNannySetupContext("__pyx_unpickle_Factory", 0); - __Pyx_TraceCall("__pyx_unpickle_Factory", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -86682,7 +82975,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_67__pyx_unpickle_Fact * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x7545337 = (__async_mode, __attributes, __attributes_len, __instantiator, __last_overriding, __overridden))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x7545337) != 0); if (__pyx_t_1) { @@ -86693,7 +82985,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_67__pyx_unpickle_Fact * raise __pyx_PickleError("Incompatible checksums (%s vs 0x7545337 = (__async_mode, __attributes, __attributes_len, __instantiator, __last_overriding, __overridden))" % __pyx_checksum) * __pyx_result = Factory.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -86716,7 +83007,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_67__pyx_unpickle_Fact * __pyx_result = Factory.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x75, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -86759,7 +83049,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_67__pyx_unpickle_Fact * if __pyx_state is not None: * __pyx_unpickle_Factory__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Factory), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -86787,7 +83076,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_67__pyx_unpickle_Fact * __pyx_unpickle_Factory__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -86799,7 +83087,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_67__pyx_unpickle_Fact * return __pyx_result * cdef __pyx_unpickle_Factory__set_state(Factory __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Factory__set_state(((struct __pyx_obj_19dependency_injector_9providers_Factory *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -86821,7 +83108,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_67__pyx_unpickle_Fact * cdef __pyx_unpickle_Factory__set_state(Factory __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__attributes = __pyx_state[1]; __pyx_result.__attributes_len = __pyx_state[2]; __pyx_result.__instantiator = __pyx_state[3]; __pyx_result.__last_overriding = __pyx_state[4]; __pyx_result.__overridden = __pyx_state[5] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -86845,7 +83131,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_67__pyx_unpickle_Fact __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -86860,7 +83145,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_67__pyx_unpickle_Fact static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Factory__set_state(struct __pyx_obj_19dependency_injector_9providers_Factory *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -86875,7 +83159,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Factory const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_Factory__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_Factory__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -86884,7 +83167,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Factory * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[6]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -86958,7 +83240,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Factory * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[6]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -86981,7 +83262,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Factory * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[6]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -87039,7 +83319,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Factory __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -87130,7 +83409,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_69__pyx_unpickle_Dele PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -87141,9 +83419,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_69__pyx_unpickle_Dele int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__58) __Pyx_RefNannySetupContext("__pyx_unpickle_DelegatedFactory", 0); - __Pyx_TraceCall("__pyx_unpickle_DelegatedFactory", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -87152,7 +83428,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_69__pyx_unpickle_Dele * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x7545337 = (__async_mode, __attributes, __attributes_len, __instantiator, __last_overriding, __overridden))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x7545337) != 0); if (__pyx_t_1) { @@ -87163,7 +83438,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_69__pyx_unpickle_Dele * raise __pyx_PickleError("Incompatible checksums (%s vs 0x7545337 = (__async_mode, __attributes, __attributes_len, __instantiator, __last_overriding, __overridden))" % __pyx_checksum) * __pyx_result = DelegatedFactory.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -87186,7 +83460,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_69__pyx_unpickle_Dele * __pyx_result = DelegatedFactory.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x75, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -87229,7 +83502,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_69__pyx_unpickle_Dele * if __pyx_state is not None: * __pyx_unpickle_DelegatedFactory__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_DelegatedFactory), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -87257,7 +83529,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_69__pyx_unpickle_Dele * __pyx_unpickle_DelegatedFactory__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -87269,7 +83540,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_69__pyx_unpickle_Dele * return __pyx_result * cdef __pyx_unpickle_DelegatedFactory__set_state(DelegatedFactory __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_DelegatedFactory__set_state(((struct __pyx_obj_19dependency_injector_9providers_DelegatedFactory *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -87291,7 +83561,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_69__pyx_unpickle_Dele * cdef __pyx_unpickle_DelegatedFactory__set_state(DelegatedFactory __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__attributes = __pyx_state[1]; __pyx_result.__attributes_len = __pyx_state[2]; __pyx_result.__instantiator = __pyx_state[3]; __pyx_result.__last_overriding = __pyx_state[4]; __pyx_result.__overridden = __pyx_state[5] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -87315,7 +83584,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_69__pyx_unpickle_Dele __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -87330,7 +83598,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_69__pyx_unpickle_Dele static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_DelegatedFactory__set_state(struct __pyx_obj_19dependency_injector_9providers_DelegatedFactory *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -87345,7 +83612,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_DelegatedFactory__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_DelegatedFactory__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -87354,7 +83620,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[6]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -87428,7 +83693,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[6]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -87451,7 +83715,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[6]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -87509,7 +83772,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -87600,7 +83862,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_71__pyx_unpickle_Abst PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -87611,9 +83872,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_71__pyx_unpickle_Abst int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__59) __Pyx_RefNannySetupContext("__pyx_unpickle_AbstractFactory", 0); - __Pyx_TraceCall("__pyx_unpickle_AbstractFactory", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -87622,7 +83881,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_71__pyx_unpickle_Abst * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x7545337 = (__async_mode, __attributes, __attributes_len, __instantiator, __last_overriding, __overridden))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x7545337) != 0); if (__pyx_t_1) { @@ -87633,7 +83891,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_71__pyx_unpickle_Abst * raise __pyx_PickleError("Incompatible checksums (%s vs 0x7545337 = (__async_mode, __attributes, __attributes_len, __instantiator, __last_overriding, __overridden))" % __pyx_checksum) * __pyx_result = AbstractFactory.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -87656,7 +83913,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_71__pyx_unpickle_Abst * __pyx_result = AbstractFactory.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x75, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -87699,7 +83955,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_71__pyx_unpickle_Abst * if __pyx_state is not None: * __pyx_unpickle_AbstractFactory__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_AbstractFactory), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -87727,7 +83982,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_71__pyx_unpickle_Abst * __pyx_unpickle_AbstractFactory__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -87739,7 +83993,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_71__pyx_unpickle_Abst * return __pyx_result * cdef __pyx_unpickle_AbstractFactory__set_state(AbstractFactory __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_AbstractFactory__set_state(((struct __pyx_obj_19dependency_injector_9providers_AbstractFactory *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -87761,7 +84014,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_71__pyx_unpickle_Abst * cdef __pyx_unpickle_AbstractFactory__set_state(AbstractFactory __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__attributes = __pyx_state[1]; __pyx_result.__attributes_len = __pyx_state[2]; __pyx_result.__instantiator = __pyx_state[3]; __pyx_result.__last_overriding = __pyx_state[4]; __pyx_result.__overridden = __pyx_state[5] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -87785,7 +84037,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_71__pyx_unpickle_Abst __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -87800,7 +84051,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_71__pyx_unpickle_Abst static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_AbstractFactory__set_state(struct __pyx_obj_19dependency_injector_9providers_AbstractFactory *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -87815,7 +84065,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Abstrac const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_AbstractFactory__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_AbstractFactory__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -87824,7 +84073,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Abstrac * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[6]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -87898,7 +84146,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Abstrac * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[6]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -87921,7 +84168,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Abstrac * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[6]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -87979,7 +84225,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Abstrac __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -88070,7 +84315,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_73__pyx_unpickle_Fact PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -88081,9 +84325,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_73__pyx_unpickle_Fact int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__60) __Pyx_RefNannySetupContext("__pyx_unpickle_FactoryDelegate", 0); - __Pyx_TraceCall("__pyx_unpickle_FactoryDelegate", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -88092,7 +84334,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_73__pyx_unpickle_Fact * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x328787b = (__async_mode, __last_overriding, __overridden, __provides))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x328787b) != 0); if (__pyx_t_1) { @@ -88103,7 +84344,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_73__pyx_unpickle_Fact * raise __pyx_PickleError("Incompatible checksums (%s vs 0x328787b = (__async_mode, __last_overriding, __overridden, __provides))" % __pyx_checksum) * __pyx_result = FactoryDelegate.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -88126,7 +84366,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_73__pyx_unpickle_Fact * __pyx_result = FactoryDelegate.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x32, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -88169,7 +84408,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_73__pyx_unpickle_Fact * if __pyx_state is not None: * __pyx_unpickle_FactoryDelegate__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_FactoryDelegate), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -88197,7 +84435,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_73__pyx_unpickle_Fact * __pyx_unpickle_FactoryDelegate__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -88209,7 +84446,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_73__pyx_unpickle_Fact * return __pyx_result * cdef __pyx_unpickle_FactoryDelegate__set_state(FactoryDelegate __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_FactoryDelegate__set_state(((struct __pyx_obj_19dependency_injector_9providers_FactoryDelegate *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -88231,7 +84467,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_73__pyx_unpickle_Fact * cdef __pyx_unpickle_FactoryDelegate__set_state(FactoryDelegate __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__last_overriding = __pyx_state[1]; __pyx_result.__overridden = __pyx_state[2]; __pyx_result.__provides = __pyx_state[3] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -88255,7 +84490,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_73__pyx_unpickle_Fact __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -88270,7 +84504,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_73__pyx_unpickle_Fact static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_FactoryDelegate__set_state(struct __pyx_obj_19dependency_injector_9providers_FactoryDelegate *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -88285,7 +84518,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Factory const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_FactoryDelegate__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_FactoryDelegate__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -88294,7 +84526,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Factory * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[4]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -88346,7 +84577,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Factory * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[4]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -88369,7 +84599,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Factory * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[4]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -88427,7 +84656,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Factory __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -88518,7 +84746,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_75__pyx_unpickle_Fact PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -88529,9 +84756,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_75__pyx_unpickle_Fact int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__61) __Pyx_RefNannySetupContext("__pyx_unpickle_FactoryAggregate", 0); - __Pyx_TraceCall("__pyx_unpickle_FactoryAggregate", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -88540,7 +84765,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_75__pyx_unpickle_Fact * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0xa264cf2 = (__async_mode, __factories, __last_overriding, __overridden))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0xa264cf2) != 0); if (__pyx_t_1) { @@ -88551,7 +84775,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_75__pyx_unpickle_Fact * raise __pyx_PickleError("Incompatible checksums (%s vs 0xa264cf2 = (__async_mode, __factories, __last_overriding, __overridden))" % __pyx_checksum) * __pyx_result = FactoryAggregate.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -88574,7 +84797,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_75__pyx_unpickle_Fact * __pyx_result = FactoryAggregate.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0xa2, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -88617,7 +84839,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_75__pyx_unpickle_Fact * if __pyx_state is not None: * __pyx_unpickle_FactoryAggregate__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_FactoryAggregate), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -88645,7 +84866,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_75__pyx_unpickle_Fact * __pyx_unpickle_FactoryAggregate__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -88657,7 +84877,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_75__pyx_unpickle_Fact * return __pyx_result * cdef __pyx_unpickle_FactoryAggregate__set_state(FactoryAggregate __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_FactoryAggregate__set_state(((struct __pyx_obj_19dependency_injector_9providers_FactoryAggregate *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -88679,7 +84898,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_75__pyx_unpickle_Fact * cdef __pyx_unpickle_FactoryAggregate__set_state(FactoryAggregate __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__factories = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__overridden = __pyx_state[3] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -88703,7 +84921,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_75__pyx_unpickle_Fact __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -88718,7 +84935,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_75__pyx_unpickle_Fact static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_FactoryAggregate__set_state(struct __pyx_obj_19dependency_injector_9providers_FactoryAggregate *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -88733,7 +84949,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Factory const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_FactoryAggregate__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_FactoryAggregate__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -88742,7 +84957,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Factory * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[4]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -88795,7 +85009,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Factory * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[4]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -88818,7 +85031,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Factory * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[4]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -88876,7 +85088,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Factory __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -88967,7 +85178,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_77__pyx_unpickle_Base PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -88978,9 +85188,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_77__pyx_unpickle_Base int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__62) __Pyx_RefNannySetupContext("__pyx_unpickle_BaseSingleton", 0); - __Pyx_TraceCall("__pyx_unpickle_BaseSingleton", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -88989,7 +85197,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_77__pyx_unpickle_Base * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0xce4d239 = (__async_mode, __instantiator, __last_overriding, __overridden, __storage))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0xce4d239) != 0); if (__pyx_t_1) { @@ -89000,7 +85207,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_77__pyx_unpickle_Base * raise __pyx_PickleError("Incompatible checksums (%s vs 0xce4d239 = (__async_mode, __instantiator, __last_overriding, __overridden, __storage))" % __pyx_checksum) * __pyx_result = BaseSingleton.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -89023,7 +85229,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_77__pyx_unpickle_Base * __pyx_result = BaseSingleton.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0xce, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -89066,7 +85271,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_77__pyx_unpickle_Base * if __pyx_state is not None: * __pyx_unpickle_BaseSingleton__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_BaseSingleton), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -89094,7 +85298,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_77__pyx_unpickle_Base * __pyx_unpickle_BaseSingleton__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -89106,7 +85309,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_77__pyx_unpickle_Base * return __pyx_result * cdef __pyx_unpickle_BaseSingleton__set_state(BaseSingleton __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_BaseSingleton__set_state(((struct __pyx_obj_19dependency_injector_9providers_BaseSingleton *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -89128,7 +85330,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_77__pyx_unpickle_Base * cdef __pyx_unpickle_BaseSingleton__set_state(BaseSingleton __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__instantiator = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__overridden = __pyx_state[3]; __pyx_result.__storage = __pyx_state[4] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -89152,7 +85353,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_77__pyx_unpickle_Base __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -89167,7 +85367,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_77__pyx_unpickle_Base static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_BaseSingleton__set_state(struct __pyx_obj_19dependency_injector_9providers_BaseSingleton *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -89182,7 +85381,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_BaseSin const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_BaseSingleton__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_BaseSingleton__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -89191,7 +85389,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_BaseSin * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -89255,7 +85452,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_BaseSin * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -89278,7 +85474,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_BaseSin * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -89336,7 +85531,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_BaseSin __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -89427,7 +85621,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_79__pyx_unpickle_Sing PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -89438,9 +85631,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_79__pyx_unpickle_Sing int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__63) __Pyx_RefNannySetupContext("__pyx_unpickle_Singleton", 0); - __Pyx_TraceCall("__pyx_unpickle_Singleton", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -89449,7 +85640,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_79__pyx_unpickle_Sing * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0xce4d239 = (__async_mode, __instantiator, __last_overriding, __overridden, __storage))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0xce4d239) != 0); if (__pyx_t_1) { @@ -89460,7 +85650,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_79__pyx_unpickle_Sing * raise __pyx_PickleError("Incompatible checksums (%s vs 0xce4d239 = (__async_mode, __instantiator, __last_overriding, __overridden, __storage))" % __pyx_checksum) * __pyx_result = Singleton.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -89483,7 +85672,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_79__pyx_unpickle_Sing * __pyx_result = Singleton.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0xce, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -89526,7 +85714,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_79__pyx_unpickle_Sing * if __pyx_state is not None: * __pyx_unpickle_Singleton__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Singleton), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -89554,7 +85741,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_79__pyx_unpickle_Sing * __pyx_unpickle_Singleton__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -89566,7 +85752,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_79__pyx_unpickle_Sing * return __pyx_result * cdef __pyx_unpickle_Singleton__set_state(Singleton __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Singleton__set_state(((struct __pyx_obj_19dependency_injector_9providers_Singleton *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -89588,7 +85773,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_79__pyx_unpickle_Sing * cdef __pyx_unpickle_Singleton__set_state(Singleton __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__instantiator = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__overridden = __pyx_state[3]; __pyx_result.__storage = __pyx_state[4] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -89612,7 +85796,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_79__pyx_unpickle_Sing __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -89627,7 +85810,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_79__pyx_unpickle_Sing static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Singleton__set_state(struct __pyx_obj_19dependency_injector_9providers_Singleton *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -89642,7 +85824,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Singlet const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_Singleton__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_Singleton__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -89651,7 +85832,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Singlet * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -89715,7 +85895,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Singlet * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -89738,7 +85917,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Singlet * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -89796,7 +85974,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Singlet __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -89887,7 +86064,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_81__pyx_unpickle_Dele PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -89898,9 +86074,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_81__pyx_unpickle_Dele int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__64) __Pyx_RefNannySetupContext("__pyx_unpickle_DelegatedSingleton", 0); - __Pyx_TraceCall("__pyx_unpickle_DelegatedSingleton", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -89909,7 +86083,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_81__pyx_unpickle_Dele * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0xce4d239 = (__async_mode, __instantiator, __last_overriding, __overridden, __storage))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0xce4d239) != 0); if (__pyx_t_1) { @@ -89920,7 +86093,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_81__pyx_unpickle_Dele * raise __pyx_PickleError("Incompatible checksums (%s vs 0xce4d239 = (__async_mode, __instantiator, __last_overriding, __overridden, __storage))" % __pyx_checksum) * __pyx_result = DelegatedSingleton.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -89943,7 +86115,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_81__pyx_unpickle_Dele * __pyx_result = DelegatedSingleton.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0xce, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -89986,7 +86157,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_81__pyx_unpickle_Dele * if __pyx_state is not None: * __pyx_unpickle_DelegatedSingleton__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_DelegatedSingleton), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -90014,7 +86184,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_81__pyx_unpickle_Dele * __pyx_unpickle_DelegatedSingleton__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -90026,7 +86195,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_81__pyx_unpickle_Dele * return __pyx_result * cdef __pyx_unpickle_DelegatedSingleton__set_state(DelegatedSingleton __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_DelegatedSingleton__set_state(((struct __pyx_obj_19dependency_injector_9providers_DelegatedSingleton *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -90048,7 +86216,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_81__pyx_unpickle_Dele * cdef __pyx_unpickle_DelegatedSingleton__set_state(DelegatedSingleton __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__instantiator = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__overridden = __pyx_state[3]; __pyx_result.__storage = __pyx_state[4] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -90072,7 +86239,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_81__pyx_unpickle_Dele __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -90087,7 +86253,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_81__pyx_unpickle_Dele static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_DelegatedSingleton__set_state(struct __pyx_obj_19dependency_injector_9providers_DelegatedSingleton *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -90102,7 +86267,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_DelegatedSingleton__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_DelegatedSingleton__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -90111,7 +86275,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -90175,7 +86338,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -90198,7 +86360,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -90256,7 +86417,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -90347,7 +86507,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_83__pyx_unpickle_Thre PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -90358,9 +86517,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_83__pyx_unpickle_Thre int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__65) __Pyx_RefNannySetupContext("__pyx_unpickle_ThreadSafeSingleton", 0); - __Pyx_TraceCall("__pyx_unpickle_ThreadSafeSingleton", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -90369,7 +86526,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_83__pyx_unpickle_Thre * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x2a56a3c = (__async_mode, __instantiator, __last_overriding, __overridden, __storage, __storage_lock))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x2a56a3c) != 0); if (__pyx_t_1) { @@ -90380,7 +86536,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_83__pyx_unpickle_Thre * raise __pyx_PickleError("Incompatible checksums (%s vs 0x2a56a3c = (__async_mode, __instantiator, __last_overriding, __overridden, __storage, __storage_lock))" % __pyx_checksum) * __pyx_result = ThreadSafeSingleton.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -90403,7 +86558,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_83__pyx_unpickle_Thre * __pyx_result = ThreadSafeSingleton.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x2a, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -90446,7 +86600,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_83__pyx_unpickle_Thre * if __pyx_state is not None: * __pyx_unpickle_ThreadSafeSingleton__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_ThreadSafeSingleton), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -90474,7 +86627,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_83__pyx_unpickle_Thre * __pyx_unpickle_ThreadSafeSingleton__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -90486,7 +86638,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_83__pyx_unpickle_Thre * return __pyx_result * cdef __pyx_unpickle_ThreadSafeSingleton__set_state(ThreadSafeSingleton __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_ThreadSafeSingleton__set_state(((struct __pyx_obj_19dependency_injector_9providers_ThreadSafeSingleton *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -90508,7 +86659,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_83__pyx_unpickle_Thre * cdef __pyx_unpickle_ThreadSafeSingleton__set_state(ThreadSafeSingleton __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__instantiator = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__overridden = __pyx_state[3]; __pyx_result.__storage = __pyx_state[4]; __pyx_result.__storage_lock = __pyx_state[5] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -90532,7 +86682,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_83__pyx_unpickle_Thre __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -90547,7 +86696,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_83__pyx_unpickle_Thre static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_ThreadSafeSingleton__set_state(struct __pyx_obj_19dependency_injector_9providers_ThreadSafeSingleton *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -90562,7 +86710,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_ThreadS const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_ThreadSafeSingleton__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_ThreadSafeSingleton__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -90571,7 +86718,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_ThreadS * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[6]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -90646,7 +86792,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_ThreadS * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[6]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -90669,7 +86814,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_ThreadS * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[6]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -90727,7 +86871,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_ThreadS __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -90818,7 +86961,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_85__pyx_unpickle_Dele PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -90829,9 +86971,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_85__pyx_unpickle_Dele int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__66) __Pyx_RefNannySetupContext("__pyx_unpickle_DelegatedThreadSafeSingleton", 0); - __Pyx_TraceCall("__pyx_unpickle_DelegatedThreadSafeSingleton", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -90840,7 +86980,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_85__pyx_unpickle_Dele * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x2a56a3c = (__async_mode, __instantiator, __last_overriding, __overridden, __storage, __storage_lock))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x2a56a3c) != 0); if (__pyx_t_1) { @@ -90851,7 +86990,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_85__pyx_unpickle_Dele * raise __pyx_PickleError("Incompatible checksums (%s vs 0x2a56a3c = (__async_mode, __instantiator, __last_overriding, __overridden, __storage, __storage_lock))" % __pyx_checksum) * __pyx_result = DelegatedThreadSafeSingleton.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -90874,7 +87012,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_85__pyx_unpickle_Dele * __pyx_result = DelegatedThreadSafeSingleton.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x2a, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -90917,7 +87054,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_85__pyx_unpickle_Dele * if __pyx_state is not None: * __pyx_unpickle_DelegatedThreadSafeSingleton__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_DelegatedThreadSafeSingleton), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -90945,7 +87081,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_85__pyx_unpickle_Dele * __pyx_unpickle_DelegatedThreadSafeSingleton__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -90957,7 +87092,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_85__pyx_unpickle_Dele * return __pyx_result * cdef __pyx_unpickle_DelegatedThreadSafeSingleton__set_state(DelegatedThreadSafeSingleton __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_DelegatedThreadSafeSingleton__set_state(((struct __pyx_obj_19dependency_injector_9providers_DelegatedThreadSafeSingleton *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -90979,7 +87113,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_85__pyx_unpickle_Dele * cdef __pyx_unpickle_DelegatedThreadSafeSingleton__set_state(DelegatedThreadSafeSingleton __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__instantiator = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__overridden = __pyx_state[3]; __pyx_result.__storage = __pyx_state[4]; __pyx_result.__storage_lock = __pyx_state[5] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -91003,7 +87136,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_85__pyx_unpickle_Dele __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -91018,7 +87150,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_85__pyx_unpickle_Dele static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_DelegatedThreadSafeSingleton__set_state(struct __pyx_obj_19dependency_injector_9providers_DelegatedThreadSafeSingleton *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -91033,7 +87164,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_DelegatedThreadSafeSingleton__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_DelegatedThreadSafeSingleton__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -91042,7 +87172,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[6]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -91117,7 +87246,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[6]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -91140,7 +87268,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[6]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -91198,7 +87325,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -91289,7 +87415,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_87__pyx_unpickle_Thre PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -91300,9 +87425,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_87__pyx_unpickle_Thre int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__67) __Pyx_RefNannySetupContext("__pyx_unpickle_ThreadLocalSingleton", 0); - __Pyx_TraceCall("__pyx_unpickle_ThreadLocalSingleton", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -91311,7 +87434,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_87__pyx_unpickle_Thre * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0xce4d239 = (__async_mode, __instantiator, __last_overriding, __overridden, __storage))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0xce4d239) != 0); if (__pyx_t_1) { @@ -91322,7 +87444,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_87__pyx_unpickle_Thre * raise __pyx_PickleError("Incompatible checksums (%s vs 0xce4d239 = (__async_mode, __instantiator, __last_overriding, __overridden, __storage))" % __pyx_checksum) * __pyx_result = ThreadLocalSingleton.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -91345,7 +87466,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_87__pyx_unpickle_Thre * __pyx_result = ThreadLocalSingleton.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0xce, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -91388,7 +87508,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_87__pyx_unpickle_Thre * if __pyx_state is not None: * __pyx_unpickle_ThreadLocalSingleton__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_ThreadLocalSingleton), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -91416,7 +87535,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_87__pyx_unpickle_Thre * __pyx_unpickle_ThreadLocalSingleton__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -91428,7 +87546,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_87__pyx_unpickle_Thre * return __pyx_result * cdef __pyx_unpickle_ThreadLocalSingleton__set_state(ThreadLocalSingleton __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_ThreadLocalSingleton__set_state(((struct __pyx_obj_19dependency_injector_9providers_ThreadLocalSingleton *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -91450,7 +87567,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_87__pyx_unpickle_Thre * cdef __pyx_unpickle_ThreadLocalSingleton__set_state(ThreadLocalSingleton __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__instantiator = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__overridden = __pyx_state[3]; __pyx_result.__storage = __pyx_state[4] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -91474,7 +87590,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_87__pyx_unpickle_Thre __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -91489,7 +87604,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_87__pyx_unpickle_Thre static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_ThreadLocalSingleton__set_state(struct __pyx_obj_19dependency_injector_9providers_ThreadLocalSingleton *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -91504,7 +87618,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_ThreadL const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_ThreadLocalSingleton__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_ThreadLocalSingleton__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -91513,7 +87626,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_ThreadL * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -91577,7 +87689,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_ThreadL * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -91600,7 +87711,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_ThreadL * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -91658,7 +87768,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_ThreadL __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -91749,7 +87858,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_89__pyx_unpickle_Dele PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -91760,9 +87868,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_89__pyx_unpickle_Dele int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__68) __Pyx_RefNannySetupContext("__pyx_unpickle_DelegatedThreadLocalSingleton", 0); - __Pyx_TraceCall("__pyx_unpickle_DelegatedThreadLocalSingleton", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -91771,7 +87877,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_89__pyx_unpickle_Dele * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0xce4d239 = (__async_mode, __instantiator, __last_overriding, __overridden, __storage))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0xce4d239) != 0); if (__pyx_t_1) { @@ -91782,7 +87887,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_89__pyx_unpickle_Dele * raise __pyx_PickleError("Incompatible checksums (%s vs 0xce4d239 = (__async_mode, __instantiator, __last_overriding, __overridden, __storage))" % __pyx_checksum) * __pyx_result = DelegatedThreadLocalSingleton.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -91805,7 +87909,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_89__pyx_unpickle_Dele * __pyx_result = DelegatedThreadLocalSingleton.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0xce, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -91848,7 +87951,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_89__pyx_unpickle_Dele * if __pyx_state is not None: * __pyx_unpickle_DelegatedThreadLocalSingleton__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_DelegatedThreadLocalSingleton), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -91876,7 +87978,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_89__pyx_unpickle_Dele * __pyx_unpickle_DelegatedThreadLocalSingleton__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -91888,7 +87989,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_89__pyx_unpickle_Dele * return __pyx_result * cdef __pyx_unpickle_DelegatedThreadLocalSingleton__set_state(DelegatedThreadLocalSingleton __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_DelegatedThreadLocalSingleton__set_state(((struct __pyx_obj_19dependency_injector_9providers_DelegatedThreadLocalSingleton *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -91910,7 +88010,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_89__pyx_unpickle_Dele * cdef __pyx_unpickle_DelegatedThreadLocalSingleton__set_state(DelegatedThreadLocalSingleton __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__instantiator = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__overridden = __pyx_state[3]; __pyx_result.__storage = __pyx_state[4] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -91934,7 +88033,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_89__pyx_unpickle_Dele __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -91949,7 +88047,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_89__pyx_unpickle_Dele static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_DelegatedThreadLocalSingleton__set_state(struct __pyx_obj_19dependency_injector_9providers_DelegatedThreadLocalSingleton *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -91964,7 +88061,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_DelegatedThreadLocalSingleton__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_DelegatedThreadLocalSingleton__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -91973,7 +88069,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -92037,7 +88132,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -92060,7 +88154,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -92118,7 +88211,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Delegat __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -92209,7 +88301,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_91__pyx_unpickle_Abst PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -92220,9 +88311,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_91__pyx_unpickle_Abst int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__69) __Pyx_RefNannySetupContext("__pyx_unpickle_AbstractSingleton", 0); - __Pyx_TraceCall("__pyx_unpickle_AbstractSingleton", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -92231,7 +88320,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_91__pyx_unpickle_Abst * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0xce4d239 = (__async_mode, __instantiator, __last_overriding, __overridden, __storage))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0xce4d239) != 0); if (__pyx_t_1) { @@ -92242,7 +88330,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_91__pyx_unpickle_Abst * raise __pyx_PickleError("Incompatible checksums (%s vs 0xce4d239 = (__async_mode, __instantiator, __last_overriding, __overridden, __storage))" % __pyx_checksum) * __pyx_result = AbstractSingleton.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -92265,7 +88352,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_91__pyx_unpickle_Abst * __pyx_result = AbstractSingleton.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0xce, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -92308,7 +88394,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_91__pyx_unpickle_Abst * if __pyx_state is not None: * __pyx_unpickle_AbstractSingleton__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_AbstractSingleton), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -92336,7 +88421,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_91__pyx_unpickle_Abst * __pyx_unpickle_AbstractSingleton__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -92348,7 +88432,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_91__pyx_unpickle_Abst * return __pyx_result * cdef __pyx_unpickle_AbstractSingleton__set_state(AbstractSingleton __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_AbstractSingleton__set_state(((struct __pyx_obj_19dependency_injector_9providers_AbstractSingleton *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -92370,7 +88453,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_91__pyx_unpickle_Abst * cdef __pyx_unpickle_AbstractSingleton__set_state(AbstractSingleton __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__instantiator = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__overridden = __pyx_state[3]; __pyx_result.__storage = __pyx_state[4] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -92394,7 +88476,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_91__pyx_unpickle_Abst __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -92409,7 +88490,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_91__pyx_unpickle_Abst static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_AbstractSingleton__set_state(struct __pyx_obj_19dependency_injector_9providers_AbstractSingleton *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -92424,7 +88504,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Abstrac const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_AbstractSingleton__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_AbstractSingleton__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -92433,7 +88512,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Abstrac * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -92497,7 +88575,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Abstrac * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -92520,7 +88597,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Abstrac * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -92578,7 +88654,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Abstrac __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -92669,7 +88744,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_93__pyx_unpickle_Sing PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -92680,9 +88754,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_93__pyx_unpickle_Sing int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__70) __Pyx_RefNannySetupContext("__pyx_unpickle_SingletonDelegate", 0); - __Pyx_TraceCall("__pyx_unpickle_SingletonDelegate", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -92691,7 +88763,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_93__pyx_unpickle_Sing * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x328787b = (__async_mode, __last_overriding, __overridden, __provides))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x328787b) != 0); if (__pyx_t_1) { @@ -92702,7 +88773,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_93__pyx_unpickle_Sing * raise __pyx_PickleError("Incompatible checksums (%s vs 0x328787b = (__async_mode, __last_overriding, __overridden, __provides))" % __pyx_checksum) * __pyx_result = SingletonDelegate.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -92725,7 +88795,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_93__pyx_unpickle_Sing * __pyx_result = SingletonDelegate.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x32, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -92768,7 +88837,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_93__pyx_unpickle_Sing * if __pyx_state is not None: * __pyx_unpickle_SingletonDelegate__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_SingletonDelegate), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -92796,7 +88864,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_93__pyx_unpickle_Sing * __pyx_unpickle_SingletonDelegate__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -92808,7 +88875,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_93__pyx_unpickle_Sing * return __pyx_result * cdef __pyx_unpickle_SingletonDelegate__set_state(SingletonDelegate __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_SingletonDelegate__set_state(((struct __pyx_obj_19dependency_injector_9providers_SingletonDelegate *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -92830,7 +88896,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_93__pyx_unpickle_Sing * cdef __pyx_unpickle_SingletonDelegate__set_state(SingletonDelegate __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__last_overriding = __pyx_state[1]; __pyx_result.__overridden = __pyx_state[2]; __pyx_result.__provides = __pyx_state[3] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -92854,7 +88919,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_93__pyx_unpickle_Sing __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -92869,7 +88933,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_93__pyx_unpickle_Sing static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_SingletonDelegate__set_state(struct __pyx_obj_19dependency_injector_9providers_SingletonDelegate *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -92884,7 +88947,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Singlet const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_SingletonDelegate__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_SingletonDelegate__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -92893,7 +88955,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Singlet * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[4]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -92945,7 +89006,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Singlet * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[4]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -92968,7 +89028,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Singlet * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[4]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -93026,7 +89085,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Singlet __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -93117,7 +89175,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_95__pyx_unpickle_List PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -93128,9 +89185,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_95__pyx_unpickle_List int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__71) __Pyx_RefNannySetupContext("__pyx_unpickle_List", 0); - __Pyx_TraceCall("__pyx_unpickle_List", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -93139,7 +89194,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_95__pyx_unpickle_List * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x42b6146 = (__args, __args_len, __async_mode, __last_overriding, __overridden))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x42b6146) != 0); if (__pyx_t_1) { @@ -93150,7 +89204,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_95__pyx_unpickle_List * raise __pyx_PickleError("Incompatible checksums (%s vs 0x42b6146 = (__args, __args_len, __async_mode, __last_overriding, __overridden))" % __pyx_checksum) * __pyx_result = List.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -93173,7 +89226,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_95__pyx_unpickle_List * __pyx_result = List.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x42_2, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -93216,7 +89268,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_95__pyx_unpickle_List * if __pyx_state is not None: * __pyx_unpickle_List__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_List), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -93244,7 +89295,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_95__pyx_unpickle_List * __pyx_unpickle_List__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -93256,7 +89306,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_95__pyx_unpickle_List * return __pyx_result * cdef __pyx_unpickle_List__set_state(List __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_List__set_state(((struct __pyx_obj_19dependency_injector_9providers_List *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -93278,7 +89327,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_95__pyx_unpickle_List * cdef __pyx_unpickle_List__set_state(List __pyx_result, tuple __pyx_state): * __pyx_result.__args = __pyx_state[0]; __pyx_result.__args_len = __pyx_state[1]; __pyx_result.__async_mode = __pyx_state[2]; __pyx_result.__last_overriding = __pyx_state[3]; __pyx_result.__overridden = __pyx_state[4] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -93302,7 +89350,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_95__pyx_unpickle_List __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -93317,7 +89364,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_95__pyx_unpickle_List static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_List__set_state(struct __pyx_obj_19dependency_injector_9providers_List *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -93332,7 +89378,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_List__s const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_List__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_List__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -93341,7 +89386,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_List__s * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -93403,7 +89447,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_List__s * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -93426,7 +89469,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_List__s * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -93484,7 +89526,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_List__s __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -93575,7 +89616,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_97__pyx_unpickle_Dict PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -93586,9 +89626,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_97__pyx_unpickle_Dict int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__72) __Pyx_RefNannySetupContext("__pyx_unpickle_Dict", 0); - __Pyx_TraceCall("__pyx_unpickle_Dict", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -93597,7 +89635,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_97__pyx_unpickle_Dict * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0xff73c9f = (__async_mode, __kwargs, __kwargs_len, __last_overriding, __overridden))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0xff73c9f) != 0); if (__pyx_t_1) { @@ -93608,7 +89645,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_97__pyx_unpickle_Dict * raise __pyx_PickleError("Incompatible checksums (%s vs 0xff73c9f = (__async_mode, __kwargs, __kwargs_len, __last_overriding, __overridden))" % __pyx_checksum) * __pyx_result = Dict.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -93631,7 +89667,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_97__pyx_unpickle_Dict * __pyx_result = Dict.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0xff, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -93674,7 +89709,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_97__pyx_unpickle_Dict * if __pyx_state is not None: * __pyx_unpickle_Dict__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Dict), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -93702,7 +89736,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_97__pyx_unpickle_Dict * __pyx_unpickle_Dict__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -93714,7 +89747,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_97__pyx_unpickle_Dict * return __pyx_result * cdef __pyx_unpickle_Dict__set_state(Dict __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Dict__set_state(((struct __pyx_obj_19dependency_injector_9providers_Dict *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -93736,7 +89768,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_97__pyx_unpickle_Dict * cdef __pyx_unpickle_Dict__set_state(Dict __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__kwargs = __pyx_state[1]; __pyx_result.__kwargs_len = __pyx_state[2]; __pyx_result.__last_overriding = __pyx_state[3]; __pyx_result.__overridden = __pyx_state[4] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -93760,7 +89791,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_97__pyx_unpickle_Dict __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -93775,7 +89805,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_97__pyx_unpickle_Dict static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Dict__set_state(struct __pyx_obj_19dependency_injector_9providers_Dict *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -93790,7 +89819,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Dict__s const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_Dict__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_Dict__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -93799,7 +89827,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Dict__s * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -93861,7 +89888,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Dict__s * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -93884,7 +89910,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Dict__s * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -93942,7 +89967,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Dict__s __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -94033,7 +90057,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_99__pyx_unpickle_Reso PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -94044,9 +90067,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_99__pyx_unpickle_Reso int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__73) __Pyx_RefNannySetupContext("__pyx_unpickle_Resource", 0); - __Pyx_TraceCall("__pyx_unpickle_Resource", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -94055,7 +90076,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_99__pyx_unpickle_Reso * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x734cfcb = (__args, __args_len, __async_mode, __initialized, __initializer, __kwargs, __kwargs_len, __last_overriding, __overridden, __resource, __shutdowner))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x734cfcb) != 0); if (__pyx_t_1) { @@ -94066,7 +90086,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_99__pyx_unpickle_Reso * raise __pyx_PickleError("Incompatible checksums (%s vs 0x734cfcb = (__args, __args_len, __async_mode, __initialized, __initializer, __kwargs, __kwargs_len, __last_overriding, __overridden, __resource, __shutdowner))" % __pyx_checksum) * __pyx_result = Resource.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -94089,7 +90108,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_99__pyx_unpickle_Reso * __pyx_result = Resource.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x73, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -94132,7 +90150,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_99__pyx_unpickle_Reso * if __pyx_state is not None: * __pyx_unpickle_Resource__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Resource), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -94160,7 +90177,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_99__pyx_unpickle_Reso * __pyx_unpickle_Resource__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -94172,7 +90188,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_99__pyx_unpickle_Reso * return __pyx_result * cdef __pyx_unpickle_Resource__set_state(Resource __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Resource__set_state(((struct __pyx_obj_19dependency_injector_9providers_Resource *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -94194,7 +90209,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_99__pyx_unpickle_Reso * cdef __pyx_unpickle_Resource__set_state(Resource __pyx_result, tuple __pyx_state): * __pyx_result.__args = __pyx_state[0]; __pyx_result.__args_len = __pyx_state[1]; __pyx_result.__async_mode = __pyx_state[2]; __pyx_result.__initialized = __pyx_state[3]; __pyx_result.__initializer = __pyx_state[4]; __pyx_result.__kwargs = __pyx_state[5]; __pyx_result.__kwargs_len = __pyx_state[6]; __pyx_result.__last_overriding = __pyx_state[7]; __pyx_result.__overridden = __pyx_state[8]; __pyx_result.__resource = __pyx_state[9]; __pyx_result.__shutdowner = __pyx_state[10] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -94218,7 +90232,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_99__pyx_unpickle_Reso __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -94233,7 +90246,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_99__pyx_unpickle_Reso static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Resource__set_state(struct __pyx_obj_19dependency_injector_9providers_Resource *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -94248,7 +90260,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Resourc const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_Resource__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_Resource__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -94257,7 +90268,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Resourc * if len(__pyx_state) > 11 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[11]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -94382,7 +90392,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Resourc * if len(__pyx_state) > 11 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[11]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -94405,7 +90414,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Resourc * if len(__pyx_state) > 11 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[11]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -94463,7 +90471,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Resourc __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -94554,7 +90561,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_101__pyx_unpickle_Con PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -94565,9 +90571,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_101__pyx_unpickle_Con int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__74) __Pyx_RefNannySetupContext("__pyx_unpickle_Container", 0); - __Pyx_TraceCall("__pyx_unpickle_Container", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -94576,7 +90580,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_101__pyx_unpickle_Con * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x1bd47ec = (__async_mode, __container, __container_cls, __last_overriding, __overridden, __overriding_providers))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x1bd47ec) != 0); if (__pyx_t_1) { @@ -94587,7 +90590,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_101__pyx_unpickle_Con * raise __pyx_PickleError("Incompatible checksums (%s vs 0x1bd47ec = (__async_mode, __container, __container_cls, __last_overriding, __overridden, __overriding_providers))" % __pyx_checksum) * __pyx_result = Container.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -94610,7 +90612,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_101__pyx_unpickle_Con * __pyx_result = Container.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x1b, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -94653,7 +90654,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_101__pyx_unpickle_Con * if __pyx_state is not None: * __pyx_unpickle_Container__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Container), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -94681,7 +90681,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_101__pyx_unpickle_Con * __pyx_unpickle_Container__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -94693,7 +90692,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_101__pyx_unpickle_Con * return __pyx_result * cdef __pyx_unpickle_Container__set_state(Container __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Container__set_state(((struct __pyx_obj_19dependency_injector_9providers_Container *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -94715,7 +90713,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_101__pyx_unpickle_Con * cdef __pyx_unpickle_Container__set_state(Container __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__container = __pyx_state[1]; __pyx_result.__container_cls = __pyx_state[2]; __pyx_result.__last_overriding = __pyx_state[3]; __pyx_result.__overridden = __pyx_state[4]; __pyx_result.__overriding_providers = __pyx_state[5] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -94739,7 +90736,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_101__pyx_unpickle_Con __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -94754,7 +90750,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_101__pyx_unpickle_Con static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Container__set_state(struct __pyx_obj_19dependency_injector_9providers_Container *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -94769,7 +90764,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Contain const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_Container__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_Container__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -94778,7 +90772,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Contain * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[6]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -94853,7 +90846,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Contain * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[6]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -94876,7 +90868,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Contain * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[6]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -94934,7 +90925,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Contain __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -95025,7 +91015,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_103__pyx_unpickle_Sel PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -95036,9 +91025,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_103__pyx_unpickle_Sel int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__75) __Pyx_RefNannySetupContext("__pyx_unpickle_Selector", 0); - __Pyx_TraceCall("__pyx_unpickle_Selector", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -95047,7 +91034,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_103__pyx_unpickle_Sel * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x6a94d6b = (__async_mode, __last_overriding, __overridden, __providers, __selector))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x6a94d6b) != 0); if (__pyx_t_1) { @@ -95058,7 +91044,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_103__pyx_unpickle_Sel * raise __pyx_PickleError("Incompatible checksums (%s vs 0x6a94d6b = (__async_mode, __last_overriding, __overridden, __providers, __selector))" % __pyx_checksum) * __pyx_result = Selector.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -95081,7 +91066,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_103__pyx_unpickle_Sel * __pyx_result = Selector.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x6a, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -95124,7 +91108,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_103__pyx_unpickle_Sel * if __pyx_state is not None: * __pyx_unpickle_Selector__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Selector), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -95152,7 +91135,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_103__pyx_unpickle_Sel * __pyx_unpickle_Selector__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -95164,7 +91146,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_103__pyx_unpickle_Sel * return __pyx_result * cdef __pyx_unpickle_Selector__set_state(Selector __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Selector__set_state(((struct __pyx_obj_19dependency_injector_9providers_Selector *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -95186,7 +91167,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_103__pyx_unpickle_Sel * cdef __pyx_unpickle_Selector__set_state(Selector __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__last_overriding = __pyx_state[1]; __pyx_result.__overridden = __pyx_state[2]; __pyx_result.__providers = __pyx_state[3]; __pyx_result.__selector = __pyx_state[4] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -95210,7 +91190,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_103__pyx_unpickle_Sel __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -95225,7 +91204,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_103__pyx_unpickle_Sel static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Selector__set_state(struct __pyx_obj_19dependency_injector_9providers_Selector *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -95240,7 +91218,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Selecto const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_Selector__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_Selector__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -95249,7 +91226,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Selecto * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -95313,7 +91289,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Selecto * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -95336,7 +91311,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Selecto * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -95394,7 +91368,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Selecto __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -95485,7 +91458,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_105__pyx_unpickle_Pro PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -95496,9 +91468,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_105__pyx_unpickle_Pro int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__76) __Pyx_RefNannySetupContext("__pyx_unpickle_ProvidedInstance", 0); - __Pyx_TraceCall("__pyx_unpickle_ProvidedInstance", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -95507,7 +91477,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_105__pyx_unpickle_Pro * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0xfd61095 = (__async_mode, __last_overriding, __overridden, __provider))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0xfd61095) != 0); if (__pyx_t_1) { @@ -95518,7 +91487,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_105__pyx_unpickle_Pro * raise __pyx_PickleError("Incompatible checksums (%s vs 0xfd61095 = (__async_mode, __last_overriding, __overridden, __provider))" % __pyx_checksum) * __pyx_result = ProvidedInstance.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -95541,7 +91509,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_105__pyx_unpickle_Pro * __pyx_result = ProvidedInstance.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0xfd, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -95584,7 +91551,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_105__pyx_unpickle_Pro * if __pyx_state is not None: * __pyx_unpickle_ProvidedInstance__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_ProvidedInstance), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -95612,7 +91578,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_105__pyx_unpickle_Pro * __pyx_unpickle_ProvidedInstance__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -95624,7 +91589,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_105__pyx_unpickle_Pro * return __pyx_result * cdef __pyx_unpickle_ProvidedInstance__set_state(ProvidedInstance __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_ProvidedInstance__set_state(((struct __pyx_obj_19dependency_injector_9providers_ProvidedInstance *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -95646,7 +91610,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_105__pyx_unpickle_Pro * cdef __pyx_unpickle_ProvidedInstance__set_state(ProvidedInstance __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__last_overriding = __pyx_state[1]; __pyx_result.__overridden = __pyx_state[2]; __pyx_result.__provider = __pyx_state[3] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -95670,7 +91633,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_105__pyx_unpickle_Pro __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -95685,7 +91647,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_105__pyx_unpickle_Pro static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_ProvidedInstance__set_state(struct __pyx_obj_19dependency_injector_9providers_ProvidedInstance *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -95700,7 +91661,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Provide const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_ProvidedInstance__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_ProvidedInstance__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -95709,7 +91669,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Provide * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[4]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -95762,7 +91721,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Provide * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[4]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -95785,7 +91743,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Provide * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[4]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -95843,7 +91800,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Provide __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -95934,7 +91890,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_107__pyx_unpickle_Att PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -95945,9 +91900,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_107__pyx_unpickle_Att int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__77) __Pyx_RefNannySetupContext("__pyx_unpickle_AttributeGetter", 0); - __Pyx_TraceCall("__pyx_unpickle_AttributeGetter", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -95956,7 +91909,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_107__pyx_unpickle_Att * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x7ec84e3 = (__async_mode, __attribute, __last_overriding, __overridden, __provider))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x7ec84e3) != 0); if (__pyx_t_1) { @@ -95967,7 +91919,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_107__pyx_unpickle_Att * raise __pyx_PickleError("Incompatible checksums (%s vs 0x7ec84e3 = (__async_mode, __attribute, __last_overriding, __overridden, __provider))" % __pyx_checksum) * __pyx_result = AttributeGetter.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -95990,7 +91941,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_107__pyx_unpickle_Att * __pyx_result = AttributeGetter.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x7e, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -96033,7 +91983,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_107__pyx_unpickle_Att * if __pyx_state is not None: * __pyx_unpickle_AttributeGetter__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_AttributeGetter), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -96061,7 +92010,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_107__pyx_unpickle_Att * __pyx_unpickle_AttributeGetter__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -96073,7 +92021,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_107__pyx_unpickle_Att * return __pyx_result * cdef __pyx_unpickle_AttributeGetter__set_state(AttributeGetter __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_AttributeGetter__set_state(((struct __pyx_obj_19dependency_injector_9providers_AttributeGetter *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -96095,7 +92042,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_107__pyx_unpickle_Att * cdef __pyx_unpickle_AttributeGetter__set_state(AttributeGetter __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__attribute = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__overridden = __pyx_state[3]; __pyx_result.__provider = __pyx_state[4] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -96119,7 +92065,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_107__pyx_unpickle_Att __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -96134,7 +92079,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_107__pyx_unpickle_Att static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_AttributeGetter__set_state(struct __pyx_obj_19dependency_injector_9providers_AttributeGetter *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -96149,7 +92093,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Attribu const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_AttributeGetter__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_AttributeGetter__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -96158,7 +92101,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Attribu * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -96222,7 +92164,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Attribu * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -96245,7 +92186,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Attribu * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -96303,7 +92243,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Attribu __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -96394,7 +92333,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_109__pyx_unpickle_Ite PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -96405,9 +92343,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_109__pyx_unpickle_Ite int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__78) __Pyx_RefNannySetupContext("__pyx_unpickle_ItemGetter", 0); - __Pyx_TraceCall("__pyx_unpickle_ItemGetter", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -96416,7 +92352,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_109__pyx_unpickle_Ite * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0xa0575be = (__async_mode, __item, __last_overriding, __overridden, __provider))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0xa0575be) != 0); if (__pyx_t_1) { @@ -96427,7 +92362,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_109__pyx_unpickle_Ite * raise __pyx_PickleError("Incompatible checksums (%s vs 0xa0575be = (__async_mode, __item, __last_overriding, __overridden, __provider))" % __pyx_checksum) * __pyx_result = ItemGetter.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -96450,7 +92384,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_109__pyx_unpickle_Ite * __pyx_result = ItemGetter.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0xa0, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -96493,7 +92426,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_109__pyx_unpickle_Ite * if __pyx_state is not None: * __pyx_unpickle_ItemGetter__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_ItemGetter), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -96521,7 +92453,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_109__pyx_unpickle_Ite * __pyx_unpickle_ItemGetter__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -96533,7 +92464,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_109__pyx_unpickle_Ite * return __pyx_result * cdef __pyx_unpickle_ItemGetter__set_state(ItemGetter __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_ItemGetter__set_state(((struct __pyx_obj_19dependency_injector_9providers_ItemGetter *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -96555,7 +92485,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_109__pyx_unpickle_Ite * cdef __pyx_unpickle_ItemGetter__set_state(ItemGetter __pyx_result, tuple __pyx_state): * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__item = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__overridden = __pyx_state[3]; __pyx_result.__provider = __pyx_state[4] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -96579,7 +92508,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_109__pyx_unpickle_Ite __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -96594,7 +92522,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_109__pyx_unpickle_Ite static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_ItemGetter__set_state(struct __pyx_obj_19dependency_injector_9providers_ItemGetter *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -96609,7 +92536,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_ItemGet const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_ItemGetter__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_ItemGetter__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -96618,7 +92544,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_ItemGet * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -96682,7 +92607,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_ItemGet * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -96705,7 +92629,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_ItemGet * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -96763,7 +92686,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_ItemGet __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -96854,7 +92776,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_111__pyx_unpickle_Met PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -96865,9 +92786,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_111__pyx_unpickle_Met int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__79) __Pyx_RefNannySetupContext("__pyx_unpickle_MethodCaller", 0); - __Pyx_TraceCall("__pyx_unpickle_MethodCaller", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -96876,7 +92795,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_111__pyx_unpickle_Met * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0xe57552f = (__args, __args_len, __async_mode, __kwargs, __kwargs_len, __last_overriding, __overridden, __provider))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0xe57552f) != 0); if (__pyx_t_1) { @@ -96887,7 +92805,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_111__pyx_unpickle_Met * raise __pyx_PickleError("Incompatible checksums (%s vs 0xe57552f = (__args, __args_len, __async_mode, __kwargs, __kwargs_len, __last_overriding, __overridden, __provider))" % __pyx_checksum) * __pyx_result = MethodCaller.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -96910,7 +92827,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_111__pyx_unpickle_Met * __pyx_result = MethodCaller.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0xe5, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -96953,7 +92869,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_111__pyx_unpickle_Met * if __pyx_state is not None: * __pyx_unpickle_MethodCaller__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_MethodCaller), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -96981,7 +92896,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_111__pyx_unpickle_Met * __pyx_unpickle_MethodCaller__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -96993,7 +92907,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_111__pyx_unpickle_Met * return __pyx_result * cdef __pyx_unpickle_MethodCaller__set_state(MethodCaller __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_MethodCaller__set_state(((struct __pyx_obj_19dependency_injector_9providers_MethodCaller *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -97015,7 +92928,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_111__pyx_unpickle_Met * cdef __pyx_unpickle_MethodCaller__set_state(MethodCaller __pyx_result, tuple __pyx_state): * __pyx_result.__args = __pyx_state[0]; __pyx_result.__args_len = __pyx_state[1]; __pyx_result.__async_mode = __pyx_state[2]; __pyx_result.__kwargs = __pyx_state[3]; __pyx_result.__kwargs_len = __pyx_state[4]; __pyx_result.__last_overriding = __pyx_state[5]; __pyx_result.__overridden = __pyx_state[6]; __pyx_result.__provider = __pyx_state[7] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -97039,7 +92951,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_111__pyx_unpickle_Met __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -97054,7 +92965,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_111__pyx_unpickle_Met static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_MethodCaller__set_state(struct __pyx_obj_19dependency_injector_9providers_MethodCaller *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -97069,7 +92979,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_MethodC const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_MethodCaller__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_MethodCaller__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -97078,7 +92987,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_MethodC * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[8]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -97173,7 +93081,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_MethodC * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[8]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -97196,7 +93103,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_MethodC * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[8]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -97254,7 +93160,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_MethodC __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -97345,7 +93250,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_113__pyx_unpickle_Inj PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -97356,9 +93260,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_113__pyx_unpickle_Inj int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__80) __Pyx_RefNannySetupContext("__pyx_unpickle_Injection", 0); - __Pyx_TraceCall("__pyx_unpickle_Injection", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -97367,7 +93269,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_113__pyx_unpickle_Inj * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x2e1d18f = (__call, __is_delegated, __is_provider, __value))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x2e1d18f) != 0); if (__pyx_t_1) { @@ -97378,7 +93279,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_113__pyx_unpickle_Inj * raise __pyx_PickleError("Incompatible checksums (%s vs 0x2e1d18f = (__call, __is_delegated, __is_provider, __value))" % __pyx_checksum) * __pyx_result = Injection.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -97401,7 +93301,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_113__pyx_unpickle_Inj * __pyx_result = Injection.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x2e, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -97444,7 +93343,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_113__pyx_unpickle_Inj * if __pyx_state is not None: * __pyx_unpickle_Injection__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_Injection), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -97472,7 +93370,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_113__pyx_unpickle_Inj * __pyx_unpickle_Injection__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -97484,7 +93381,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_113__pyx_unpickle_Inj * return __pyx_result * cdef __pyx_unpickle_Injection__set_state(Injection __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_Injection__set_state(((struct __pyx_obj_19dependency_injector_9providers_Injection *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -97506,7 +93402,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_113__pyx_unpickle_Inj * cdef __pyx_unpickle_Injection__set_state(Injection __pyx_result, tuple __pyx_state): * __pyx_result.__call = __pyx_state[0]; __pyx_result.__is_delegated = __pyx_state[1]; __pyx_result.__is_provider = __pyx_state[2]; __pyx_result.__value = __pyx_state[3] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -97530,7 +93425,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_113__pyx_unpickle_Inj __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -97545,7 +93439,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_113__pyx_unpickle_Inj static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Injection__set_state(struct __pyx_obj_19dependency_injector_9providers_Injection *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -97560,7 +93453,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Injecti const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_Injection__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_Injection__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -97569,7 +93461,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Injecti * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[4]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -97615,7 +93506,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Injecti * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[4]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -97638,7 +93528,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Injecti * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[4]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -97696,7 +93585,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Injecti __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -97787,7 +93675,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_115__pyx_unpickle_Pos PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -97798,9 +93685,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_115__pyx_unpickle_Pos int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__81) __Pyx_RefNannySetupContext("__pyx_unpickle_PositionalInjection", 0); - __Pyx_TraceCall("__pyx_unpickle_PositionalInjection", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -97809,7 +93694,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_115__pyx_unpickle_Pos * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x2e1d18f = (__call, __is_delegated, __is_provider, __value))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x2e1d18f) != 0); if (__pyx_t_1) { @@ -97820,7 +93704,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_115__pyx_unpickle_Pos * raise __pyx_PickleError("Incompatible checksums (%s vs 0x2e1d18f = (__call, __is_delegated, __is_provider, __value))" % __pyx_checksum) * __pyx_result = PositionalInjection.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -97843,7 +93726,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_115__pyx_unpickle_Pos * __pyx_result = PositionalInjection.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x2e, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -97886,7 +93768,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_115__pyx_unpickle_Pos * if __pyx_state is not None: * __pyx_unpickle_PositionalInjection__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_PositionalInjection), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -97914,7 +93795,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_115__pyx_unpickle_Pos * __pyx_unpickle_PositionalInjection__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -97926,7 +93806,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_115__pyx_unpickle_Pos * return __pyx_result * cdef __pyx_unpickle_PositionalInjection__set_state(PositionalInjection __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_PositionalInjection__set_state(((struct __pyx_obj_19dependency_injector_9providers_PositionalInjection *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -97948,7 +93827,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_115__pyx_unpickle_Pos * cdef __pyx_unpickle_PositionalInjection__set_state(PositionalInjection __pyx_result, tuple __pyx_state): * __pyx_result.__call = __pyx_state[0]; __pyx_result.__is_delegated = __pyx_state[1]; __pyx_result.__is_provider = __pyx_state[2]; __pyx_result.__value = __pyx_state[3] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -97972,7 +93850,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_115__pyx_unpickle_Pos __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -97987,7 +93864,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_115__pyx_unpickle_Pos static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_PositionalInjection__set_state(struct __pyx_obj_19dependency_injector_9providers_PositionalInjection *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -98002,7 +93878,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Positio const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_PositionalInjection__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_PositionalInjection__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -98011,7 +93886,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Positio * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[4]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -98057,7 +93931,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Positio * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[4]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -98080,7 +93953,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Positio * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[4]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -98138,7 +94010,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_Positio __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -98229,7 +94100,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_117__pyx_unpickle_Nam PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -98240,9 +94110,7 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_117__pyx_unpickle_Nam int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_TraceFrameInit(__pyx_codeobj__82) __Pyx_RefNannySetupContext("__pyx_unpickle_NamedInjection", 0); - __Pyx_TraceCall("__pyx_unpickle_NamedInjection", __pyx_f[2], 1, 0, __PYX_ERR(2, 1, __pyx_L1_error)); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -98251,7 +94119,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_117__pyx_unpickle_Nam * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError("Incompatible checksums (%s vs 0x64f395f = (__call, __is_delegated, __is_provider, __name, __value))" % __pyx_checksum) */ - __Pyx_TraceLine(4,0,__PYX_ERR(2, 4, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v___pyx_checksum != 0x64f395f) != 0); if (__pyx_t_1) { @@ -98262,7 +94129,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_117__pyx_unpickle_Nam * raise __pyx_PickleError("Incompatible checksums (%s vs 0x64f395f = (__call, __is_delegated, __is_provider, __name, __value))" % __pyx_checksum) * __pyx_result = NamedInjection.__new__(__pyx_type) */ - __Pyx_TraceLine(5,0,__PYX_ERR(2, 5, __pyx_L1_error)) __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_n_s_PickleError); @@ -98285,7 +94151,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_117__pyx_unpickle_Nam * __pyx_result = NamedInjection.__new__(__pyx_type) * if __pyx_state is not None: */ - __Pyx_TraceLine(6,0,__PYX_ERR(2, 6, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0x64, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error) @@ -98328,7 +94193,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_117__pyx_unpickle_Nam * if __pyx_state is not None: * __pyx_unpickle_NamedInjection__set_state( __pyx_result, __pyx_state) */ - __Pyx_TraceLine(7,0,__PYX_ERR(2, 7, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_19dependency_injector_9providers_NamedInjection), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; @@ -98356,7 +94220,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_117__pyx_unpickle_Nam * __pyx_unpickle_NamedInjection__set_state( __pyx_result, __pyx_state) * return __pyx_result */ - __Pyx_TraceLine(8,0,__PYX_ERR(2, 8, __pyx_L1_error)) __pyx_t_1 = (__pyx_v___pyx_state != Py_None); __pyx_t_6 = (__pyx_t_1 != 0); if (__pyx_t_6) { @@ -98368,7 +94231,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_117__pyx_unpickle_Nam * return __pyx_result * cdef __pyx_unpickle_NamedInjection__set_state(NamedInjection __pyx_result, tuple __pyx_state): */ - __Pyx_TraceLine(9,0,__PYX_ERR(2, 9, __pyx_L1_error)) if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 9, __pyx_L1_error) __pyx_t_3 = __pyx_f_19dependency_injector_9providers___pyx_unpickle_NamedInjection__set_state(((struct __pyx_obj_19dependency_injector_9providers_NamedInjection *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -98390,7 +94252,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_117__pyx_unpickle_Nam * cdef __pyx_unpickle_NamedInjection__set_state(NamedInjection __pyx_result, tuple __pyx_state): * __pyx_result.__call = __pyx_state[0]; __pyx_result.__is_delegated = __pyx_state[1]; __pyx_result.__is_provider = __pyx_state[2]; __pyx_result.__name = __pyx_state[3]; __pyx_result.__value = __pyx_state[4] */ - __Pyx_TraceLine(10,0,__PYX_ERR(2, 10, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v___pyx_result); __pyx_r = __pyx_v___pyx_result; @@ -98414,7 +94275,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_117__pyx_unpickle_Nam __Pyx_XDECREF(__pyx_v___pyx_PickleError); __Pyx_XDECREF(__pyx_v___pyx_result); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -98429,7 +94289,6 @@ static PyObject *__pyx_pf_19dependency_injector_9providers_117__pyx_unpickle_Nam static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_NamedInjection__set_state(struct __pyx_obj_19dependency_injector_9providers_NamedInjection *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -98444,7 +94303,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_NamedIn const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__pyx_unpickle_NamedInjection__set_state", 0); - __Pyx_TraceCall("__pyx_unpickle_NamedInjection__set_state", __pyx_f[2], 11, 0, __PYX_ERR(2, 11, __pyx_L1_error)); /* "(tree fragment)":12 * return __pyx_result @@ -98453,7 +94311,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_NamedIn * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(12,0,__PYX_ERR(2, 12, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(2, 12, __pyx_L1_error) @@ -98510,7 +94367,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_NamedIn * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< * __pyx_result.__dict__.update(__pyx_state[5]) */ - __Pyx_TraceLine(13,0,__PYX_ERR(2, 13, __pyx_L1_error)) if (unlikely(__pyx_v___pyx_state == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(2, 13, __pyx_L1_error) @@ -98533,7 +94389,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_NamedIn * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): * __pyx_result.__dict__.update(__pyx_state[5]) # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(14,0,__PYX_ERR(2, 14, __pyx_L1_error)) __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_update); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 14, __pyx_L1_error) @@ -98591,7 +94446,6 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_NamedIn __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -98606,13 +94460,8 @@ static PyObject *__pyx_f_19dependency_injector_9providers___pyx_unpickle_NamedIn static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_name(struct __pyx_obj_19dependency_injector_9providers_NamedInjection *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations - int __pyx_lineno = 0; - const char *__pyx_filename = NULL; - int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get_name", 0); - __Pyx_TraceCall("__get_name", __pyx_f[0], 307, 0, __PYX_ERR(0, 307, __pyx_L1_error)); /* "dependency_injector/providers.pxd":308 * # Inline helper functions @@ -98621,7 +94470,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_na * * */ - __Pyx_TraceLine(308,0,__PYX_ERR(0, 308, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___name); __pyx_r = __pyx_v_self->__pyx___name; @@ -98636,12 +94484,8 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_na */ /* function exit code */ - __pyx_L1_error:; - __Pyx_AddTraceback("dependency_injector.providers.__get_name", __pyx_clineno, __pyx_lineno, __pyx_filename); - __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -98656,7 +94500,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_na static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_value(struct __pyx_obj_19dependency_injector_9providers_Injection *__pyx_v_self) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -98666,7 +94509,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_va const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get_value", 0); - __Pyx_TraceCall("__get_value", __pyx_f[0], 311, 0, __PYX_ERR(0, 311, __pyx_L1_error)); /* "dependency_injector/providers.pxd":312 * @@ -98675,7 +94517,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_va * return self.__value * return self.__value() */ - __Pyx_TraceLine(312,0,__PYX_ERR(0, 312, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v_self->__pyx___call == 0) != 0); if (__pyx_t_1) { @@ -98686,7 +94527,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_va * return self.__value() * */ - __Pyx_TraceLine(313,0,__PYX_ERR(0, 313, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___value); __pyx_r = __pyx_v_self->__pyx___value; @@ -98708,7 +94548,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_va * * */ - __Pyx_TraceLine(314,0,__PYX_ERR(0, 314, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___value); __pyx_t_3 = __pyx_v_self->__pyx___value; __pyx_t_4 = NULL; @@ -98747,7 +94586,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_va __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -98762,7 +94600,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_va static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_value_kwargs(struct __pyx_obj_19dependency_injector_9providers_Injection *__pyx_v_self, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -98770,7 +94607,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_va const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get_value_kwargs", 0); - __Pyx_TraceCall("__get_value_kwargs", __pyx_f[0], 317, 0, __PYX_ERR(0, 317, __pyx_L1_error)); /* "dependency_injector/providers.pxd":318 * @@ -98779,7 +94615,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_va * return self.__value * return self.__value(**kwargs) */ - __Pyx_TraceLine(318,0,__PYX_ERR(0, 318, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v_self->__pyx___call == 0) != 0); if (__pyx_t_1) { @@ -98790,7 +94625,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_va * return self.__value(**kwargs) * */ - __Pyx_TraceLine(319,0,__PYX_ERR(0, 319, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_self->__pyx___value); __pyx_r = __pyx_v_self->__pyx___value; @@ -98812,7 +94646,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_va * * */ - __Pyx_TraceLine(320,0,__PYX_ERR(0, 320, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); if (unlikely(__pyx_v_kwargs == Py_None)) { PyErr_SetString(PyExc_TypeError, "argument after ** must be a mapping, not NoneType"); @@ -98839,7 +94672,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___get_va __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -98861,7 +94693,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa PyObject *__pyx_v_prefix = NULL; PyObject *__pyx_v_name = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -98877,7 +94708,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__separate_prefixed_kwargs", 0); - __Pyx_TraceCall("__separate_prefixed_kwargs", __pyx_f[0], 323, 0, __PYX_ERR(0, 323, __pyx_L1_error)); /* "dependency_injector/providers.pxd":324 * @@ -98886,7 +94716,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * cdef dict prefixed_kwargs = {} * */ - __Pyx_TraceLine(324,0,__PYX_ERR(0, 324, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 324, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_plain_kwargs = ((PyObject*)__pyx_t_1); @@ -98899,7 +94728,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * * for key, value in kwargs.items(): */ - __Pyx_TraceLine(325,0,__PYX_ERR(0, 325, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 325, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_prefixed_kwargs = ((PyObject*)__pyx_t_1); @@ -98912,7 +94740,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * if '__' not in key: * plain_kwargs[key] = value */ - __Pyx_TraceLine(327,0,__PYX_ERR(0, 327, __pyx_L1_error)) if (unlikely(__pyx_v_kwargs == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "items"); __PYX_ERR(0, 327, __pyx_L1_error) @@ -99017,8 +94844,7 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * plain_kwargs[key] = value * continue */ - __Pyx_TraceLine(328,0,__PYX_ERR(0, 328, __pyx_L1_error)) - __pyx_t_9 = (__Pyx_PySequence_ContainsTF(__pyx_n_s__9, __pyx_v_key, Py_NE)); if (unlikely(__pyx_t_9 < 0)) __PYX_ERR(0, 328, __pyx_L1_error) + __pyx_t_9 = (__Pyx_PySequence_ContainsTF(__pyx_n_s__5, __pyx_v_key, Py_NE)); if (unlikely(__pyx_t_9 < 0)) __PYX_ERR(0, 328, __pyx_L1_error) __pyx_t_10 = (__pyx_t_9 != 0); if (__pyx_t_10) { @@ -99029,7 +94855,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * continue * */ - __Pyx_TraceLine(329,0,__PYX_ERR(0, 329, __pyx_L1_error)) if (unlikely(PyDict_SetItem(__pyx_v_plain_kwargs, __pyx_v_key, __pyx_v_value) < 0)) __PYX_ERR(0, 329, __pyx_L1_error) /* "dependency_injector/providers.pxd":330 @@ -99039,7 +94864,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * * index = key.index('__') */ - __Pyx_TraceLine(330,0,__PYX_ERR(0, 330, __pyx_L1_error)) goto __pyx_L3_continue; /* "dependency_injector/providers.pxd":328 @@ -99058,7 +94882,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * prefix, name = key[:index], key[index+2:] * */ - __Pyx_TraceLine(332,0,__PYX_ERR(0, 332, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_key, __pyx_n_s_index); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 332, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = NULL; @@ -99071,7 +94894,7 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa __Pyx_DECREF_SET(__pyx_t_6, function); } } - __pyx_t_1 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_6, __pyx_t_5, __pyx_n_s__9) : __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_n_s__9); + __pyx_t_1 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_6, __pyx_t_5, __pyx_n_s__5) : __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_n_s__5); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 332, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -99086,7 +94909,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * * if prefix not in prefixed_kwargs: */ - __Pyx_TraceLine(333,0,__PYX_ERR(0, 333, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_v_key, 0, 0, NULL, &__pyx_v_index, NULL, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 333, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_6 = __Pyx_PyInt_AddObjC(__pyx_v_index, __pyx_int_2, 2, 0, 0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 333, __pyx_L1_error) @@ -99106,7 +94928,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * prefixed_kwargs[prefix] = {} * prefixed_kwargs[prefix][name] = value */ - __Pyx_TraceLine(335,0,__PYX_ERR(0, 335, __pyx_L1_error)) __pyx_t_10 = (__Pyx_PyDict_ContainsTF(__pyx_v_prefix, __pyx_v_prefixed_kwargs, Py_NE)); if (unlikely(__pyx_t_10 < 0)) __PYX_ERR(0, 335, __pyx_L1_error) __pyx_t_9 = (__pyx_t_10 != 0); if (__pyx_t_9) { @@ -99118,7 +94939,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * prefixed_kwargs[prefix][name] = value * */ - __Pyx_TraceLine(336,0,__PYX_ERR(0, 336, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 336, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); if (unlikely(PyDict_SetItem(__pyx_v_prefixed_kwargs, __pyx_v_prefix, __pyx_t_5) < 0)) __PYX_ERR(0, 336, __pyx_L1_error) @@ -99140,7 +94960,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * * return plain_kwargs, prefixed_kwargs */ - __Pyx_TraceLine(337,0,__PYX_ERR(0, 337, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyDict_GetItem(__pyx_v_prefixed_kwargs, __pyx_v_prefix); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 337, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); if (unlikely(PyObject_SetItem(__pyx_t_5, __pyx_v_name, __pyx_v_value) < 0)) __PYX_ERR(0, 337, __pyx_L1_error) @@ -99153,7 +94972,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * if '__' not in key: * plain_kwargs[key] = value */ - __Pyx_TraceLine(327,0,__PYX_ERR(0, 327, __pyx_L1_error)) __pyx_L3_continue:; } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -99165,7 +94983,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa * * */ - __Pyx_TraceLine(339,0,__PYX_ERR(0, 339, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 339, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -99205,7 +95022,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___separa __Pyx_XDECREF(__pyx_v_prefix); __Pyx_XDECREF(__pyx_v_name); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -99225,7 +95041,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid struct __pyx_obj_19dependency_injector_9providers_PositionalInjection *__pyx_v_injection = 0; PyObject *__pyx_v_value = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -99238,7 +95053,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__provide_positional_args", 0); - __Pyx_TraceCall("__provide_positional_args", __pyx_f[0], 344, 0, __PYX_ERR(0, 344, __pyx_L1_error)); /* "dependency_injector/providers.pxd":350 * ): @@ -99247,7 +95061,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * cdef list awaitables = [] * cdef PositionalInjection injection */ - __Pyx_TraceLine(350,0,__PYX_ERR(0, 350, __pyx_L1_error)) __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 350, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_positional_args = ((PyObject*)__pyx_t_1); @@ -99260,7 +95073,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * cdef PositionalInjection injection * */ - __Pyx_TraceLine(351,0,__PYX_ERR(0, 351, __pyx_L1_error)) __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 351, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_awaitables = ((PyObject*)__pyx_t_1); @@ -99273,7 +95085,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * return args * */ - __Pyx_TraceLine(354,0,__PYX_ERR(0, 354, __pyx_L1_error)) __pyx_t_2 = ((__pyx_v_inj_args_len == 0) != 0); if (__pyx_t_2) { @@ -99284,7 +95095,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * for index in range(inj_args_len): */ - __Pyx_TraceLine(355,0,__PYX_ERR(0, 355, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_args); __pyx_r = __pyx_v_args; @@ -99306,7 +95116,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * injection = inj_args[index] * value = __get_value(injection) */ - __Pyx_TraceLine(357,0,__PYX_ERR(0, 357, __pyx_L1_error)) __pyx_t_3 = __pyx_v_inj_args_len; __pyx_t_4 = __pyx_t_3; for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_4; __pyx_t_5+=1) { @@ -99319,7 +95128,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * value = __get_value(injection) * positional_args.append(value) */ - __Pyx_TraceLine(358,0,__PYX_ERR(0, 358, __pyx_L1_error)) if (unlikely(__pyx_v_inj_args == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(0, 358, __pyx_L1_error) @@ -99336,7 +95144,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * positional_args.append(value) * */ - __Pyx_TraceLine(359,0,__PYX_ERR(0, 359, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___get_value(((struct __pyx_obj_19dependency_injector_9providers_Injection *)__pyx_v_injection)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 359, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_XDECREF_SET(__pyx_v_value, __pyx_t_1); @@ -99349,7 +95156,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * if __isawaitable(value): */ - __Pyx_TraceLine(360,0,__PYX_ERR(0, 360, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyList_Append(__pyx_v_positional_args, __pyx_v_value); if (unlikely(__pyx_t_6 == ((int)-1))) __PYX_ERR(0, 360, __pyx_L1_error) /* "dependency_injector/providers.pxd":362 @@ -99359,7 +95165,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * awaitables.append((index, value)) * */ - __Pyx_TraceLine(362,0,__PYX_ERR(0, 362, __pyx_L1_error)) __pyx_t_2 = (__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_value) != 0); if (__pyx_t_2) { @@ -99370,7 +95175,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * positional_args.extend(args) */ - __Pyx_TraceLine(363,0,__PYX_ERR(0, 363, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_index); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 363, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 363, __pyx_L1_error) @@ -99401,7 +95205,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * if awaitables: */ - __Pyx_TraceLine(365,0,__PYX_ERR(0, 365, __pyx_L1_error)) __pyx_t_6 = __Pyx_PyList_Extend(__pyx_v_positional_args, __pyx_v_args); if (unlikely(__pyx_t_6 == ((int)-1))) __PYX_ERR(0, 365, __pyx_L1_error) /* "dependency_injector/providers.pxd":367 @@ -99411,7 +95214,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * return __awaitable_args_kwargs_future(positional_args, awaitables) * */ - __Pyx_TraceLine(367,0,__PYX_ERR(0, 367, __pyx_L1_error)) __pyx_t_2 = (PyList_GET_SIZE(__pyx_v_awaitables) != 0); if (__pyx_t_2) { @@ -99422,7 +95224,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * return positional_args */ - __Pyx_TraceLine(368,0,__PYX_ERR(0, 368, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_7 = __pyx_f_19dependency_injector_9providers___awaitable_args_kwargs_future(__pyx_v_positional_args, __pyx_v_awaitables); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 368, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); @@ -99446,7 +95247,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * */ - __Pyx_TraceLine(370,0,__PYX_ERR(0, 370, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_positional_args); __pyx_r = __pyx_v_positional_args; @@ -99472,7 +95272,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid __Pyx_XDECREF((PyObject *)__pyx_v_injection); __Pyx_XDECREF(__pyx_v_value); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -99493,7 +95292,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid PyObject *__pyx_v_awaitables = 0; struct __pyx_obj_19dependency_injector_9providers_NamedInjection *__pyx_v_kw_injection = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; Py_ssize_t __pyx_t_2; @@ -99509,7 +95307,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__provide_keyword_args", 0); - __Pyx_TraceCall("__provide_keyword_args", __pyx_f[0], 375, 0, __PYX_ERR(0, 375, __pyx_L1_error)); __Pyx_INCREF(__pyx_v_kwargs); /* "dependency_injector/providers.pxd":383 @@ -99519,7 +95316,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * cdef list awaitables = [] * cdef NamedInjection kw_injection */ - __Pyx_TraceLine(383,0,__PYX_ERR(0, 383, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 383, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_prefixed = ((PyObject*)__pyx_t_1); @@ -99532,7 +95328,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * cdef NamedInjection kw_injection * */ - __Pyx_TraceLine(384,0,__PYX_ERR(0, 384, __pyx_L1_error)) __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 384, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_awaitables = ((PyObject*)__pyx_t_1); @@ -99545,7 +95340,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * for index in range(inj_kwargs_len): * kw_injection = inj_kwargs[index] */ - __Pyx_TraceLine(387,0,__PYX_ERR(0, 387, __pyx_L1_error)) if (unlikely(__pyx_v_kwargs == Py_None)) { PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); __PYX_ERR(0, 387, __pyx_L1_error) @@ -99561,7 +95355,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * kw_injection = inj_kwargs[index] * name = __get_name(kw_injection) */ - __Pyx_TraceLine(388,0,__PYX_ERR(0, 388, __pyx_L1_error)) __pyx_t_4 = __pyx_v_inj_kwargs_len; __pyx_t_5 = __pyx_t_4; for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) { @@ -99574,7 +95367,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * name = __get_name(kw_injection) * value = __get_value(kw_injection) */ - __Pyx_TraceLine(389,0,__PYX_ERR(0, 389, __pyx_L1_error)) if (unlikely(__pyx_v_inj_kwargs == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(0, 389, __pyx_L1_error) @@ -99591,7 +95383,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * value = __get_value(kw_injection) * kwargs[name] = value */ - __Pyx_TraceLine(390,0,__PYX_ERR(0, 390, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___get_name(__pyx_v_kw_injection); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 390, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_1); @@ -99604,7 +95395,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * kwargs[name] = value * if __isawaitable(value): */ - __Pyx_TraceLine(391,0,__PYX_ERR(0, 391, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___get_value(((struct __pyx_obj_19dependency_injector_9providers_Injection *)__pyx_v_kw_injection)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 391, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_XDECREF_SET(__pyx_v_value, __pyx_t_1); @@ -99617,7 +95407,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * if __isawaitable(value): * awaitables.append((name, value)) */ - __Pyx_TraceLine(392,0,__PYX_ERR(0, 392, __pyx_L1_error)) if (unlikely(__pyx_v_kwargs == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(0, 392, __pyx_L1_error) @@ -99631,7 +95420,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * awaitables.append((name, value)) * else: */ - __Pyx_TraceLine(393,0,__PYX_ERR(0, 393, __pyx_L1_error)) __pyx_t_3 = (__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_value) != 0); if (__pyx_t_3) { @@ -99642,7 +95430,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * else: * kwargs, prefixed = __separate_prefixed_kwargs(kwargs) */ - __Pyx_TraceLine(394,0,__PYX_ERR(0, 394, __pyx_L1_error)) __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 394, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v_name); @@ -99681,7 +95468,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * */ - __Pyx_TraceLine(396,0,__PYX_ERR(0, 396, __pyx_L1_error)) /*else*/ { __pyx_t_1 = __pyx_f_19dependency_injector_9providers___separate_prefixed_kwargs(__pyx_v_kwargs); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 396, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -99722,7 +95508,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * kw_injection = inj_kwargs[index] * name = __get_name(kw_injection) */ - __Pyx_TraceLine(399,0,__PYX_ERR(0, 399, __pyx_L1_error)) __pyx_t_4 = __pyx_v_inj_kwargs_len; __pyx_t_5 = __pyx_t_4; for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) { @@ -99735,7 +95520,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * name = __get_name(kw_injection) * */ - __Pyx_TraceLine(400,0,__PYX_ERR(0, 400, __pyx_L1_error)) if (unlikely(__pyx_v_inj_kwargs == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(0, 400, __pyx_L1_error) @@ -99752,7 +95536,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * if name in kwargs: */ - __Pyx_TraceLine(401,0,__PYX_ERR(0, 401, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___get_name(__pyx_v_kw_injection); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 401, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_1); @@ -99765,7 +95548,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * continue * */ - __Pyx_TraceLine(403,0,__PYX_ERR(0, 403, __pyx_L1_error)) if (unlikely(__pyx_v_kwargs == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); __PYX_ERR(0, 403, __pyx_L1_error) @@ -99781,7 +95563,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * if name in prefixed: */ - __Pyx_TraceLine(404,0,__PYX_ERR(0, 404, __pyx_L1_error)) goto __pyx_L7_continue; /* "dependency_injector/providers.pxd":403 @@ -99800,7 +95581,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * value = __get_value_kwargs(kw_injection, prefixed[name]) * else: */ - __Pyx_TraceLine(406,0,__PYX_ERR(0, 406, __pyx_L1_error)) if (unlikely(__pyx_v_prefixed == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); __PYX_ERR(0, 406, __pyx_L1_error) @@ -99816,7 +95596,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * else: * value = __get_value(kw_injection) */ - __Pyx_TraceLine(407,0,__PYX_ERR(0, 407, __pyx_L1_error)) if (unlikely(__pyx_v_prefixed == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(0, 407, __pyx_L1_error) @@ -99847,7 +95626,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * kwargs[name] = value */ - __Pyx_TraceLine(409,0,__PYX_ERR(0, 409, __pyx_L1_error)) /*else*/ { __pyx_t_9 = __pyx_f_19dependency_injector_9providers___get_value(((struct __pyx_obj_19dependency_injector_9providers_Injection *)__pyx_v_kw_injection)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 409, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); @@ -99863,7 +95641,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * if __isawaitable(value): * awaitables.append((name, value)) */ - __Pyx_TraceLine(411,0,__PYX_ERR(0, 411, __pyx_L1_error)) if (unlikely(__pyx_v_kwargs == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(0, 411, __pyx_L1_error) @@ -99877,7 +95654,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * awaitables.append((name, value)) * */ - __Pyx_TraceLine(412,0,__PYX_ERR(0, 412, __pyx_L1_error)) __pyx_t_3 = (__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_value) != 0); if (__pyx_t_3) { @@ -99888,7 +95664,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * if awaitables: */ - __Pyx_TraceLine(413,0,__PYX_ERR(0, 413, __pyx_L1_error)) __pyx_t_9 = PyTuple_New(2); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 413, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_INCREF(__pyx_v_name); @@ -99920,7 +95695,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * return __awaitable_args_kwargs_future(kwargs, awaitables) * */ - __Pyx_TraceLine(415,0,__PYX_ERR(0, 415, __pyx_L1_error)) __pyx_t_3 = (PyList_GET_SIZE(__pyx_v_awaitables) != 0); if (__pyx_t_3) { @@ -99931,7 +95705,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * return kwargs */ - __Pyx_TraceLine(416,0,__PYX_ERR(0, 416, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_9 = __pyx_f_19dependency_injector_9providers___awaitable_args_kwargs_future(__pyx_v_kwargs, __pyx_v_awaitables); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 416, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); @@ -99955,7 +95728,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * */ - __Pyx_TraceLine(418,0,__PYX_ERR(0, 418, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_kwargs); __pyx_r = __pyx_v_kwargs; @@ -99984,7 +95756,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid __Pyx_XDECREF((PyObject *)__pyx_v_kw_injection); __Pyx_XDECREF(__pyx_v_kwargs); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -100003,7 +95774,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___awaita CYTHON_UNUSED PyObject *__pyx_v__ = NULL; PyObject *__pyx_v_value = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -100019,7 +95789,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___awaita const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__awaitable_args_kwargs_future", 0); - __Pyx_TraceCall("__awaitable_args_kwargs_future", __pyx_f[0], 421, 0, __PYX_ERR(0, 421, __pyx_L1_error)); /* "dependency_injector/providers.pxd":422 * @@ -100028,7 +95797,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___awaita * * args_ready = asyncio.gather(*[value for _, value in awaitables]) */ - __Pyx_TraceLine(422,0,__PYX_ERR(0, 422, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 422, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_Future); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 422, __pyx_L1_error) @@ -100059,7 +95827,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___awaita * args_ready.add_done_callback( * functools.partial( */ - __Pyx_TraceLine(424,0,__PYX_ERR(0, 424, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 424, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_gather); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 424, __pyx_L1_error) @@ -100150,7 +95917,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___awaita * functools.partial( * __async_prepare_args_kwargs_callback, */ - __Pyx_TraceLine(425,0,__PYX_ERR(0, 425, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_args_ready, __pyx_n_s_add_done_callback); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 425, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -100161,7 +95927,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___awaita * __async_prepare_args_kwargs_callback, * future_result, */ - __Pyx_TraceLine(426,0,__PYX_ERR(0, 426, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_functools); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 426, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_partial); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 426, __pyx_L1_error) @@ -100175,7 +95940,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___awaita * future_result, * args, */ - __Pyx_TraceLine(427,0,__PYX_ERR(0, 427, __pyx_L1_error)) __pyx_t_5 = __Pyx_CFunc_void____object____object____object____object___to_py(__pyx_f_19dependency_injector_9providers___async_prepare_args_kwargs_callback); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 427, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); @@ -100186,7 +95950,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___awaita * ), * ) */ - __Pyx_TraceLine(430,0,__PYX_ERR(0, 430, __pyx_L1_error)) __pyx_t_6 = NULL; __pyx_t_10 = 0; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_7))) { @@ -100265,7 +96028,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___awaita * * return future_result */ - __Pyx_TraceLine(433,0,__PYX_ERR(0, 433, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 433, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_ensure_future); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 433, __pyx_L1_error) @@ -100295,7 +96057,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___awaita * * */ - __Pyx_TraceLine(435,0,__PYX_ERR(0, 435, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_future_result); __pyx_r = __pyx_v_future_result; @@ -100326,7 +96087,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___awaita __Pyx_XDECREF(__pyx_v__); __Pyx_XDECREF(__pyx_v_value); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -100344,7 +96104,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_prepa PyObject *__pyx_v_value = NULL; PyObject *__pyx_v_key = NULL; CYTHON_UNUSED PyObject *__pyx_v__ = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -100360,7 +96119,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_prepa const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__async_prepare_args_kwargs_callback", 0); - __Pyx_TraceCall("__async_prepare_args_kwargs_callback", __pyx_f[0], 438, 0, __PYX_ERR(0, 438, __pyx_L1_error)); /* "dependency_injector/providers.pxd":444 * object future, @@ -100369,7 +96127,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_prepa * for value, (key, _) in zip(awaited, awaitables): * args[key] = value */ - __Pyx_TraceLine(444,0,__PYX_ERR(0, 444, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_future, __pyx_n_s_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 444, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -100397,7 +96154,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_prepa * args[key] = value * future_result.set_result(args) */ - __Pyx_TraceLine(445,0,__PYX_ERR(0, 445, __pyx_L1_error)) __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 445, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v_awaited); @@ -100555,7 +96311,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_prepa * future_result.set_result(args) * */ - __Pyx_TraceLine(446,0,__PYX_ERR(0, 446, __pyx_L1_error)) if (unlikely(PyObject_SetItem(__pyx_v_args, __pyx_v_key, __pyx_v_value) < 0)) __PYX_ERR(0, 446, __pyx_L1_error) /* "dependency_injector/providers.pxd":445 @@ -100565,7 +96320,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_prepa * args[key] = value * future_result.set_result(args) */ - __Pyx_TraceLine(445,0,__PYX_ERR(0, 445, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -100576,7 +96330,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_prepa * * */ - __Pyx_TraceLine(447,0,__PYX_ERR(0, 447, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_future_result, __pyx_n_s_set_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 447, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_6 = NULL; @@ -100620,7 +96373,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_prepa __Pyx_XDECREF(__pyx_v_value); __Pyx_XDECREF(__pyx_v_key); __Pyx_XDECREF(__pyx_v__); - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); } @@ -100640,7 +96392,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid PyObject *__pyx_v_name = NULL; PyObject *__pyx_v_value = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -100652,7 +96403,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__provide_attributes", 0); - __Pyx_TraceCall("__provide_attributes", __pyx_f[0], 452, 0, __PYX_ERR(0, 452, __pyx_L1_error)); /* "dependency_injector/providers.pxd":454 * cdef inline object __provide_attributes(tuple attributes, int attributes_len): @@ -100661,7 +96411,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * cdef list awaitables = [] * */ - __Pyx_TraceLine(454,0,__PYX_ERR(0, 454, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 454, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_attribute_injections = ((PyObject*)__pyx_t_1); @@ -100674,7 +96423,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * for index in range(attributes_len): */ - __Pyx_TraceLine(455,0,__PYX_ERR(0, 455, __pyx_L1_error)) __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 455, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_awaitables = ((PyObject*)__pyx_t_1); @@ -100687,7 +96435,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * attr_injection = attributes[index] * name = __get_name(attr_injection) */ - __Pyx_TraceLine(457,0,__PYX_ERR(0, 457, __pyx_L1_error)) __pyx_t_2 = __pyx_v_attributes_len; __pyx_t_3 = __pyx_t_2; for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { @@ -100700,7 +96447,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * name = __get_name(attr_injection) * value = __get_value(attr_injection) */ - __Pyx_TraceLine(458,0,__PYX_ERR(0, 458, __pyx_L1_error)) if (unlikely(__pyx_v_attributes == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(0, 458, __pyx_L1_error) @@ -100717,7 +96463,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * value = __get_value(attr_injection) * attribute_injections[name] = value */ - __Pyx_TraceLine(459,0,__PYX_ERR(0, 459, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___get_name(__pyx_v_attr_injection); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 459, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_1); @@ -100730,7 +96475,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * attribute_injections[name] = value * if __isawaitable(value): */ - __Pyx_TraceLine(460,0,__PYX_ERR(0, 460, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___get_value(((struct __pyx_obj_19dependency_injector_9providers_Injection *)__pyx_v_attr_injection)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 460, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_XDECREF_SET(__pyx_v_value, __pyx_t_1); @@ -100743,7 +96487,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * if __isawaitable(value): * awaitables.append((name, value)) */ - __Pyx_TraceLine(461,0,__PYX_ERR(0, 461, __pyx_L1_error)) if (unlikely(PyDict_SetItem(__pyx_v_attribute_injections, __pyx_v_name, __pyx_v_value) < 0)) __PYX_ERR(0, 461, __pyx_L1_error) /* "dependency_injector/providers.pxd":462 @@ -100753,7 +96496,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * awaitables.append((name, value)) * */ - __Pyx_TraceLine(462,0,__PYX_ERR(0, 462, __pyx_L1_error)) __pyx_t_5 = (__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_value) != 0); if (__pyx_t_5) { @@ -100764,7 +96506,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * if awaitables: */ - __Pyx_TraceLine(463,0,__PYX_ERR(0, 463, __pyx_L1_error)) __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 463, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v_name); @@ -100793,7 +96534,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * return __awaitable_args_kwargs_future(attribute_injections, awaitables) * */ - __Pyx_TraceLine(465,0,__PYX_ERR(0, 465, __pyx_L1_error)) __pyx_t_5 = (PyList_GET_SIZE(__pyx_v_awaitables) != 0); if (__pyx_t_5) { @@ -100804,7 +96544,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * return attribute_injections */ - __Pyx_TraceLine(466,0,__PYX_ERR(0, 466, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers___awaitable_args_kwargs_future(__pyx_v_attribute_injections, __pyx_v_awaitables); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 466, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -100828,7 +96567,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid * * */ - __Pyx_TraceLine(468,0,__PYX_ERR(0, 468, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_attribute_injections); __pyx_r = __pyx_v_attribute_injections; @@ -100854,7 +96592,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___provid __Pyx_XDECREF(__pyx_v_name); __Pyx_XDECREF(__pyx_v_value); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -100871,7 +96608,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ PyObject *__pyx_v_future_result = NULL; PyObject *__pyx_v_attributes_ready = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -100885,7 +96621,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__async_inject_attributes", 0); - __Pyx_TraceCall("__async_inject_attributes", __pyx_f[0], 471, 0, __PYX_ERR(0, 471, __pyx_L1_error)); /* "dependency_injector/providers.pxd":472 * @@ -100894,7 +96629,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ * * attributes_ready = asyncio.gather(future_instance, future_attributes) */ - __Pyx_TraceLine(472,0,__PYX_ERR(0, 472, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 472, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_Future); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 472, __pyx_L1_error) @@ -100925,7 +96659,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ * attributes_ready.add_done_callback( * functools.partial( */ - __Pyx_TraceLine(474,0,__PYX_ERR(0, 474, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 474, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_gather); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 474, __pyx_L1_error) @@ -100986,7 +96719,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ * functools.partial( * __async_inject_attributes_callback, */ - __Pyx_TraceLine(475,0,__PYX_ERR(0, 475, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_attributes_ready, __pyx_n_s_add_done_callback); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 475, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -100997,7 +96729,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ * __async_inject_attributes_callback, * future_result, */ - __Pyx_TraceLine(476,0,__PYX_ERR(0, 476, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_functools); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 476, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_partial); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 476, __pyx_L1_error) @@ -101011,7 +96742,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ * future_result, * ), */ - __Pyx_TraceLine(477,0,__PYX_ERR(0, 477, __pyx_L1_error)) __pyx_t_3 = __Pyx_CFunc_void____object____object___to_py(__pyx_f_19dependency_injector_9providers___async_inject_attributes_callback); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 477, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -101022,7 +96752,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ * ), * ) */ - __Pyx_TraceLine(478,0,__PYX_ERR(0, 478, __pyx_L1_error)) __pyx_t_7 = NULL; __pyx_t_4 = 0; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_6))) { @@ -101095,7 +96824,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ * * return future_result */ - __Pyx_TraceLine(481,0,__PYX_ERR(0, 481, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 481, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_ensure_future); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 481, __pyx_L1_error) @@ -101125,7 +96853,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ * * */ - __Pyx_TraceLine(483,0,__PYX_ERR(0, 483, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_future_result); __pyx_r = __pyx_v_future_result; @@ -101154,7 +96881,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ __Pyx_XDECREF(__pyx_v_future_result); __Pyx_XDECREF(__pyx_v_attributes_ready); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -101170,7 +96896,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_inject_attributes_callback(PyObject *__pyx_v_future_result, PyObject *__pyx_v_future) { PyObject *__pyx_v_instance = NULL; PyObject *__pyx_v_attributes = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -101181,7 +96906,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_injec const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__async_inject_attributes_callback", 0); - __Pyx_TraceCall("__async_inject_attributes_callback", __pyx_f[0], 486, 0, __PYX_ERR(0, 486, __pyx_L1_error)); /* "dependency_injector/providers.pxd":487 * @@ -101190,7 +96914,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_injec * __inject_attributes(instance, attributes) * future_result.set_result(instance) */ - __Pyx_TraceLine(487,0,__PYX_ERR(0, 487, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_future, __pyx_n_s_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 487, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -101266,7 +96989,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_injec * future_result.set_result(instance) * */ - __Pyx_TraceLine(488,0,__PYX_ERR(0, 488, __pyx_L1_error)) if (!(likely(PyDict_CheckExact(__pyx_v_attributes))||((__pyx_v_attributes) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_attributes)->tp_name), 0))) __PYX_ERR(0, 488, __pyx_L1_error) __pyx_f_19dependency_injector_9providers___inject_attributes(__pyx_v_instance, ((PyObject*)__pyx_v_attributes)); @@ -101277,7 +96999,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_injec * * */ - __Pyx_TraceLine(489,0,__PYX_ERR(0, 489, __pyx_L1_error)) __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_future_result, __pyx_n_s_set_result); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 489, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_2 = NULL; @@ -101316,7 +97037,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_injec __pyx_L0:; __Pyx_XDECREF(__pyx_v_instance); __Pyx_XDECREF(__pyx_v_attributes); - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); } @@ -101331,7 +97051,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_injec static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___inject_attributes(PyObject *__pyx_v_instance, PyObject *__pyx_v_attributes) { PyObject *__pyx_v_name = NULL; PyObject *__pyx_v_value = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -101346,7 +97065,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___inject_attr const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__inject_attributes", 0); - __Pyx_TraceCall("__inject_attributes", __pyx_f[0], 492, 0, __PYX_ERR(0, 492, __pyx_L1_error)); /* "dependency_injector/providers.pxd":493 * @@ -101355,7 +97073,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___inject_attr * setattr(instance, name, value) * */ - __Pyx_TraceLine(493,0,__PYX_ERR(0, 493, __pyx_L1_error)) if (unlikely(__pyx_v_attributes == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "items"); __PYX_ERR(0, 493, __pyx_L1_error) @@ -101460,7 +97177,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___inject_attr * * */ - __Pyx_TraceLine(494,0,__PYX_ERR(0, 494, __pyx_L1_error)) __pyx_t_9 = PyObject_SetAttr(__pyx_v_instance, __pyx_v_name, __pyx_v_value); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 494, __pyx_L1_error) /* "dependency_injector/providers.pxd":493 @@ -101470,7 +97186,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___inject_attr * setattr(instance, name, value) * */ - __Pyx_TraceLine(493,0,__PYX_ERR(0, 493, __pyx_L1_error)) } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -101494,7 +97209,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___inject_attr __pyx_L0:; __Pyx_XDECREF(__pyx_v_name); __Pyx_XDECREF(__pyx_v_value); - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); } @@ -101515,7 +97229,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P PyObject *__pyx_v_future_result = NULL; PyObject *__pyx_v_args_kwargs_ready = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_t_2; @@ -101531,7 +97244,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__call", 0); - __Pyx_TraceCall("__call", __pyx_f[0], 497, 0, __PYX_ERR(0, 497, __pyx_L1_error)); /* "dependency_injector/providers.pxd":506 * int injection_kwargs_len, @@ -101540,7 +97252,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * context_args, * injection_args, */ - __Pyx_TraceLine(506,0,__PYX_ERR(0, 506, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___provide_positional_args(__pyx_v_context_args, __pyx_v_injection_args, __pyx_v_injection_args_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 506, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_args = __pyx_t_1; @@ -101553,7 +97264,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * context_kwargs, * injection_kwargs, */ - __Pyx_TraceLine(511,0,__PYX_ERR(0, 511, __pyx_L1_error)) __pyx_t_1 = __pyx_f_19dependency_injector_9providers___provide_keyword_args(__pyx_v_context_kwargs, __pyx_v_injection_kwargs, __pyx_v_injection_kwargs_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 511, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_kwargs = __pyx_t_1; @@ -101566,7 +97276,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * kwargs_awaitable = __isawaitable(kwargs) * */ - __Pyx_TraceLine(517,0,__PYX_ERR(0, 517, __pyx_L1_error)) __pyx_v_args_awaitable = __pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_args); /* "dependency_injector/providers.pxd":518 @@ -101576,7 +97285,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * * if args_awaitable or kwargs_awaitable: */ - __Pyx_TraceLine(518,0,__PYX_ERR(0, 518, __pyx_L1_error)) __pyx_v_kwargs_awaitable = __pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_kwargs); /* "dependency_injector/providers.pxd":520 @@ -101586,7 +97294,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * if not args_awaitable: * future = asyncio.Future() */ - __Pyx_TraceLine(520,0,__PYX_ERR(0, 520, __pyx_L1_error)) __pyx_t_3 = (__pyx_v_args_awaitable != 0); if (!__pyx_t_3) { } else { @@ -101605,7 +97312,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * future = asyncio.Future() * future.set_result(args) */ - __Pyx_TraceLine(521,0,__PYX_ERR(0, 521, __pyx_L1_error)) __pyx_t_2 = ((!(__pyx_v_args_awaitable != 0)) != 0); if (__pyx_t_2) { @@ -101616,7 +97322,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * future.set_result(args) * args = future */ - __Pyx_TraceLine(522,0,__PYX_ERR(0, 522, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 522, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_Future); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 522, __pyx_L1_error) @@ -101647,7 +97352,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * args = future * */ - __Pyx_TraceLine(523,0,__PYX_ERR(0, 523, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_future, __pyx_n_s_set_result); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 523, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_4 = NULL; @@ -101674,7 +97378,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * * if not kwargs_awaitable: */ - __Pyx_TraceLine(524,0,__PYX_ERR(0, 524, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_future); __Pyx_DECREF_SET(__pyx_v_args, __pyx_v_future); @@ -101694,7 +97397,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * future = asyncio.Future() * future.set_result(kwargs) */ - __Pyx_TraceLine(526,0,__PYX_ERR(0, 526, __pyx_L1_error)) __pyx_t_2 = ((!(__pyx_v_kwargs_awaitable != 0)) != 0); if (__pyx_t_2) { @@ -101705,7 +97407,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * future.set_result(kwargs) * kwargs = future */ - __Pyx_TraceLine(527,0,__PYX_ERR(0, 527, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 527, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_Future); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 527, __pyx_L1_error) @@ -101736,7 +97437,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * kwargs = future * */ - __Pyx_TraceLine(528,0,__PYX_ERR(0, 528, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_future, __pyx_n_s_set_result); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 528, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; @@ -101763,7 +97463,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * * future_result = asyncio.Future() */ - __Pyx_TraceLine(529,0,__PYX_ERR(0, 529, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_future); __Pyx_DECREF_SET(__pyx_v_kwargs, __pyx_v_future); @@ -101783,7 +97482,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * * args_kwargs_ready = asyncio.gather(args, kwargs) */ - __Pyx_TraceLine(531,0,__PYX_ERR(0, 531, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 531, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_Future); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 531, __pyx_L1_error) @@ -101814,7 +97512,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * args_kwargs_ready.add_done_callback( * functools.partial( */ - __Pyx_TraceLine(533,0,__PYX_ERR(0, 533, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 533, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_gather); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 533, __pyx_L1_error) @@ -101875,7 +97572,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * functools.partial( * __async_call_callback, */ - __Pyx_TraceLine(534,0,__PYX_ERR(0, 534, __pyx_L1_error)) __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_args_kwargs_ready, __pyx_n_s_add_done_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 534, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); @@ -101886,7 +97582,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * __async_call_callback, * future_result, */ - __Pyx_TraceLine(535,0,__PYX_ERR(0, 535, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_functools); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 535, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_partial); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 535, __pyx_L1_error) @@ -101900,7 +97595,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * future_result, * call, */ - __Pyx_TraceLine(536,0,__PYX_ERR(0, 536, __pyx_L1_error)) __pyx_t_5 = __Pyx_CFunc_void____object____object____object___to_py(__pyx_f_19dependency_injector_9providers___async_call_callback); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 536, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); @@ -101911,7 +97605,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * ), * ) */ - __Pyx_TraceLine(538,0,__PYX_ERR(0, 538, __pyx_L1_error)) __pyx_t_9 = NULL; __pyx_t_6 = 0; if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_8))) { @@ -101987,7 +97680,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * * return future_result */ - __Pyx_TraceLine(541,0,__PYX_ERR(0, 541, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 541, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_ensure_future); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 541, __pyx_L1_error) @@ -102017,7 +97709,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * * return call(*args, **kwargs) */ - __Pyx_TraceLine(543,0,__PYX_ERR(0, 543, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_future_result); __pyx_r = __pyx_v_future_result; @@ -102039,7 +97730,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P * * */ - __Pyx_TraceLine(545,0,__PYX_ERR(0, 545, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 545, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -102088,7 +97778,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___call(P __Pyx_XDECREF(__pyx_v_future_result); __Pyx_XDECREF(__pyx_v_args_kwargs_ready); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -102105,7 +97794,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_call_ PyObject *__pyx_v_args = NULL; PyObject *__pyx_v_kwargs = NULL; PyObject *__pyx_v_result = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -102121,7 +97809,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_call_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__async_call_callback", 0); - __Pyx_TraceCall("__async_call_callback", __pyx_f[0], 548, 0, __PYX_ERR(0, 548, __pyx_L1_error)); /* "dependency_injector/providers.pxd":549 * @@ -102130,7 +97817,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_call_ * result = call(*args, **kwargs) * */ - __Pyx_TraceLine(549,0,__PYX_ERR(0, 549, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_future, __pyx_n_s_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 549, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; @@ -102206,7 +97892,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_call_ * * if __isawaitable(result): */ - __Pyx_TraceLine(550,0,__PYX_ERR(0, 550, __pyx_L1_error)) __pyx_t_1 = __Pyx_PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 550, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (unlikely(__pyx_v_kwargs == Py_None)) { @@ -102234,7 +97919,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_call_ * result = asyncio.ensure_future(result) * result.add_done_callback(functools.partial(__async_result_callback, future_result)) */ - __Pyx_TraceLine(552,0,__PYX_ERR(0, 552, __pyx_L1_error)) __pyx_t_6 = (__pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_result) != 0); if (__pyx_t_6) { @@ -102245,7 +97929,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_call_ * result.add_done_callback(functools.partial(__async_result_callback, future_result)) * return */ - __Pyx_TraceLine(553,0,__PYX_ERR(0, 553, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 553, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_ensure_future); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 553, __pyx_L1_error) @@ -102276,7 +97959,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_call_ * return * */ - __Pyx_TraceLine(554,0,__PYX_ERR(0, 554, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_result, __pyx_n_s_add_done_callback); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 554, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_functools); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 554, __pyx_L1_error) @@ -102358,7 +98040,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_call_ * * future_result.set_result(result) */ - __Pyx_TraceLine(555,0,__PYX_ERR(0, 555, __pyx_L1_error)) goto __pyx_L0; /* "dependency_injector/providers.pxd":552 @@ -102377,7 +98058,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_call_ * * */ - __Pyx_TraceLine(557,0,__PYX_ERR(0, 557, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_future_result, __pyx_n_s_set_result); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 557, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = NULL; @@ -102420,7 +98100,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_call_ __Pyx_XDECREF(__pyx_v_args); __Pyx_XDECREF(__pyx_v_kwargs); __Pyx_XDECREF(__pyx_v_result); - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); } @@ -102434,7 +98113,6 @@ static CYTHON_INLINE void __pyx_f_19dependency_injector_9providers___async_call_ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_result_callback(PyObject *__pyx_v_future_result, PyObject *__pyx_v_future) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -102445,7 +98123,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__async_result_callback", 0); - __Pyx_TraceCall("__async_result_callback", __pyx_f[0], 560, 0, __PYX_ERR(0, 560, __pyx_L1_error)); /* "dependency_injector/providers.pxd":561 * @@ -102454,7 +98131,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ * * */ - __Pyx_TraceLine(561,0,__PYX_ERR(0, 561, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_future_result, __pyx_n_s_set_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 561, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_future, __pyx_n_s_result); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 561, __pyx_L1_error) @@ -102513,7 +98189,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -102528,7 +98203,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___async_ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callable_call(struct __pyx_obj_19dependency_injector_9providers_Callable *__pyx_v_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs) { PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -102538,7 +98212,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callab const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__callable_call", 0); - __Pyx_TraceCall("__callable_call", __pyx_f[0], 564, 0, __PYX_ERR(0, 564, __pyx_L1_error)); /* "dependency_injector/providers.pxd":565 * @@ -102547,7 +98220,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callab * self.__provides, * args, */ - __Pyx_TraceLine(565,0,__PYX_ERR(0, 565, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); /* "dependency_injector/providers.pxd":566 @@ -102557,7 +98229,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callab * args, * self.__args, */ - __Pyx_TraceLine(566,0,__PYX_ERR(0, 566, __pyx_L1_error)) __pyx_t_1 = __pyx_v_self->__pyx___provides; __Pyx_INCREF(__pyx_t_1); @@ -102568,7 +98239,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callab * self.__args_len, * kwargs, */ - __Pyx_TraceLine(568,0,__PYX_ERR(0, 568, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___args; __Pyx_INCREF(__pyx_t_2); @@ -102579,7 +98249,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callab * self.__kwargs_len, * ) */ - __Pyx_TraceLine(571,0,__PYX_ERR(0, 571, __pyx_L1_error)) __pyx_t_3 = __pyx_v_self->__pyx___kwargs; __Pyx_INCREF(__pyx_t_3); @@ -102590,7 +98259,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callab * self.__provides, * args, */ - __Pyx_TraceLine(565,0,__PYX_ERR(0, 565, __pyx_L1_error)) __pyx_t_4 = __pyx_f_19dependency_injector_9providers___call(__pyx_t_1, __pyx_v_args, ((PyObject*)__pyx_t_2), __pyx_v_self->__pyx___args_len, __pyx_v_kwargs, ((PyObject*)__pyx_t_3), __pyx_v_self->__pyx___kwargs_len); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 565, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -102618,7 +98286,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___callab __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -102638,7 +98305,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor int __pyx_v_attributes_awaitable; PyObject *__pyx_v_future = NULL; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; @@ -102649,7 +98315,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__factory_call", 0); - __Pyx_TraceCall("__factory_call", __pyx_f[0], 576, 0, __PYX_ERR(0, 576, __pyx_L1_error)); /* "dependency_injector/providers.pxd":579 * cdef object instance @@ -102658,7 +98323,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * * if self.__attributes_len > 0: */ - __Pyx_TraceLine(579,0,__PYX_ERR(0, 579, __pyx_L1_error)) __pyx_t_1 = ((PyObject *)__pyx_v_self->__pyx___instantiator); __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = __pyx_f_19dependency_injector_9providers___callable_call(((struct __pyx_obj_19dependency_injector_9providers_Callable *)__pyx_t_1), __pyx_v_args, __pyx_v_kwargs); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 579, __pyx_L1_error) @@ -102674,7 +98338,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * attributes = __provide_attributes(self.__attributes, self.__attributes_len) * */ - __Pyx_TraceLine(581,0,__PYX_ERR(0, 581, __pyx_L1_error)) __pyx_t_3 = ((__pyx_v_self->__pyx___attributes_len > 0) != 0); if (__pyx_t_3) { @@ -102685,7 +98348,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * * instance_awaitable = __isawaitable(instance) */ - __Pyx_TraceLine(582,0,__PYX_ERR(0, 582, __pyx_L1_error)) __pyx_t_2 = __pyx_v_self->__pyx___attributes; __Pyx_INCREF(__pyx_t_2); __pyx_t_1 = __pyx_f_19dependency_injector_9providers___provide_attributes(((PyObject*)__pyx_t_2), __pyx_v_self->__pyx___attributes_len); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 582, __pyx_L1_error) @@ -102701,7 +98363,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * attributes_awaitable = __isawaitable(attributes) * */ - __Pyx_TraceLine(584,0,__PYX_ERR(0, 584, __pyx_L1_error)) __pyx_v_instance_awaitable = __pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_instance); /* "dependency_injector/providers.pxd":585 @@ -102711,7 +98372,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * * if instance_awaitable or attributes_awaitable: */ - __Pyx_TraceLine(585,0,__PYX_ERR(0, 585, __pyx_L1_error)) __pyx_v_attributes_awaitable = __pyx_f_19dependency_injector_9providers___isawaitable(__pyx_v_attributes); /* "dependency_injector/providers.pxd":587 @@ -102721,7 +98381,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * if not instance_awaitable: * future = asyncio.Future() */ - __Pyx_TraceLine(587,0,__PYX_ERR(0, 587, __pyx_L1_error)) __pyx_t_4 = (__pyx_v_instance_awaitable != 0); if (!__pyx_t_4) { } else { @@ -102740,7 +98399,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * future = asyncio.Future() * future.set_result(instance) */ - __Pyx_TraceLine(588,0,__PYX_ERR(0, 588, __pyx_L1_error)) __pyx_t_3 = ((!(__pyx_v_instance_awaitable != 0)) != 0); if (__pyx_t_3) { @@ -102751,7 +98409,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * future.set_result(instance) * instance = future */ - __Pyx_TraceLine(589,0,__PYX_ERR(0, 589, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 589, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_Future); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 589, __pyx_L1_error) @@ -102782,7 +98439,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * instance = future * */ - __Pyx_TraceLine(590,0,__PYX_ERR(0, 590, __pyx_L1_error)) __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_future, __pyx_n_s_set_result); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 590, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_2 = NULL; @@ -102809,7 +98465,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * * if not attributes_awaitable: */ - __Pyx_TraceLine(591,0,__PYX_ERR(0, 591, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_future); __Pyx_DECREF_SET(__pyx_v_instance, __pyx_v_future); @@ -102829,7 +98484,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * future = asyncio.Future() * future.set_result(attributes) */ - __Pyx_TraceLine(593,0,__PYX_ERR(0, 593, __pyx_L1_error)) __pyx_t_3 = ((!(__pyx_v_attributes_awaitable != 0)) != 0); if (__pyx_t_3) { @@ -102840,7 +98494,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * future.set_result(attributes) * attributes = future */ - __Pyx_TraceLine(594,0,__PYX_ERR(0, 594, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 594, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_Future); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 594, __pyx_L1_error) @@ -102871,7 +98524,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * attributes = future * */ - __Pyx_TraceLine(595,0,__PYX_ERR(0, 595, __pyx_L1_error)) __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_future, __pyx_n_s_set_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 595, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_5 = NULL; @@ -102898,7 +98550,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * * return __async_inject_attributes(instance, attributes) */ - __Pyx_TraceLine(596,0,__PYX_ERR(0, 596, __pyx_L1_error)) __Pyx_INCREF(__pyx_v_future); __Pyx_DECREF_SET(__pyx_v_attributes, __pyx_v_future); @@ -102918,7 +98569,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * * __inject_attributes(instance, attributes) */ - __Pyx_TraceLine(598,0,__PYX_ERR(0, 598, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_19dependency_injector_9providers___async_inject_attributes(__pyx_v_instance, __pyx_v_attributes); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 598, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -102942,7 +98592,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * * return instance */ - __Pyx_TraceLine(600,0,__PYX_ERR(0, 600, __pyx_L1_error)) if (!(likely(PyDict_CheckExact(__pyx_v_attributes))||((__pyx_v_attributes) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_attributes)->tp_name), 0))) __PYX_ERR(0, 600, __pyx_L1_error) __pyx_f_19dependency_injector_9providers___inject_attributes(__pyx_v_instance, ((PyObject*)__pyx_v_attributes)); @@ -102962,7 +98611,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor * * */ - __Pyx_TraceLine(602,0,__PYX_ERR(0, 602, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_instance); __pyx_r = __pyx_v_instance; @@ -102988,7 +98636,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor __Pyx_XDECREF(__pyx_v_attributes); __Pyx_XDECREF(__pyx_v_future); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -103003,7 +98650,6 @@ static CYTHON_INLINE PyObject *__pyx_f_19dependency_injector_9providers___factor static CYTHON_INLINE int __pyx_f_19dependency_injector_9providers___isawaitable(PyObject *__pyx_v_instance) { int __pyx_r; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; @@ -103014,7 +98660,6 @@ static CYTHON_INLINE int __pyx_f_19dependency_injector_9providers___isawaitable( const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__isawaitable", 0); - __Pyx_TraceCall("__isawaitable", __pyx_f[0], 608, 0, __PYX_ERR(0, 608, __pyx_L1_error)); /* "dependency_injector/providers.pxd":611 * global __has_isawaitable @@ -103023,7 +98668,6 @@ static CYTHON_INLINE int __pyx_f_19dependency_injector_9providers___isawaitable( * return inspect.isawaitable(instance) * */ - __Pyx_TraceLine(611,0,__PYX_ERR(0, 611, __pyx_L1_error)) __pyx_t_1 = ((__pyx_v_19dependency_injector_9providers___has_isawaitable == 1) != 0); if (__pyx_t_1) { @@ -103034,7 +98678,6 @@ static CYTHON_INLINE int __pyx_f_19dependency_injector_9providers___isawaitable( * * if hasattr(inspect, 'isawaitable'): */ - __Pyx_TraceLine(612,0,__PYX_ERR(0, 612, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_inspect); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 612, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_isawaitable); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 612, __pyx_L1_error) @@ -103076,7 +98719,6 @@ static CYTHON_INLINE int __pyx_f_19dependency_injector_9providers___isawaitable( * __has_isawaitable = True * return inspect.isawaitable(instance) */ - __Pyx_TraceLine(614,0,__PYX_ERR(0, 614, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_inspect); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 614, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_1 = __Pyx_HasAttr(__pyx_t_2, __pyx_n_s_isawaitable); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 614, __pyx_L1_error) @@ -103091,7 +98733,6 @@ static CYTHON_INLINE int __pyx_f_19dependency_injector_9providers___isawaitable( * return inspect.isawaitable(instance) * */ - __Pyx_TraceLine(615,0,__PYX_ERR(0, 615, __pyx_L1_error)) __pyx_v_19dependency_injector_9providers___has_isawaitable = 1; /* "dependency_injector/providers.pxd":616 @@ -103101,7 +98742,6 @@ static CYTHON_INLINE int __pyx_f_19dependency_injector_9providers___isawaitable( * * return False */ - __Pyx_TraceLine(616,0,__PYX_ERR(0, 616, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_inspect); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 616, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_isawaitable); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 616, __pyx_L1_error) @@ -103141,7 +98781,6 @@ static CYTHON_INLINE int __pyx_f_19dependency_injector_9providers___isawaitable( * * return False # <<<<<<<<<<<<<< */ - __Pyx_TraceLine(618,0,__PYX_ERR(0, 618, __pyx_L1_error)) __pyx_r = 0; goto __pyx_L0; @@ -103161,7 +98800,6 @@ static CYTHON_INLINE int __pyx_f_19dependency_injector_9providers___isawaitable( __Pyx_WriteUnraisable("dependency_injector.providers.__isawaitable", __pyx_clineno, __pyx_lineno, __pyx_filename, 1, 0); __pyx_r = 0; __pyx_L0:; - __Pyx_TraceReturn(Py_None, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -103266,7 +98904,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_64__Pyx_CFunc_void____object____obje struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object____object___to_py *__pyx_cur_scope; struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object____object___to_py *__pyx_outer_scope; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_lineno = 0; const char *__pyx_filename = NULL; @@ -103274,7 +98911,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_64__Pyx_CFunc_void____object____obje __Pyx_RefNannySetupContext("wrap", 0); __pyx_outer_scope = (struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object____object___to_py *) __Pyx_CyFunction_GetClosure(__pyx_self); __pyx_cur_scope = __pyx_outer_scope; - __Pyx_TraceCall("wrap", __pyx_f[2], 65, 0, __PYX_ERR(2, 65, __pyx_L1_error)); /* "cfunc.to_py":67 * def wrap(object future_result, object args, object awaitables, object future): @@ -103283,7 +98919,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_64__Pyx_CFunc_void____object____obje * return wrap * */ - __Pyx_TraceLine(67,0,__PYX_ERR(2, 67, __pyx_L1_error)) __pyx_cur_scope->__pyx_v_f(__pyx_v_future_result, __pyx_v_args, __pyx_v_awaitables, __pyx_v_future); if (unlikely(PyErr_Occurred())) __PYX_ERR(2, 67, __pyx_L1_error) /* "cfunc.to_py":65 @@ -103302,7 +98937,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_64__Pyx_CFunc_void____object____obje __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -103319,7 +98953,6 @@ static PyObject *__Pyx_CFunc_void____object____object____object____object___to_p struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object____object___to_py *__pyx_cur_scope; PyObject *__pyx_v_wrap = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; @@ -103334,7 +98967,6 @@ static PyObject *__Pyx_CFunc_void____object____object____object____object___to_p } else { __Pyx_GOTREF(__pyx_cur_scope); } - __Pyx_TraceCall("__Pyx_CFunc_void____object____object____object____object___to_py", __pyx_f[2], 64, 0, __PYX_ERR(2, 64, __pyx_L1_error)); __pyx_cur_scope->__pyx_v_f = __pyx_v_f; /* "cfunc.to_py":65 @@ -103344,8 +98976,7 @@ static PyObject *__Pyx_CFunc_void____object____object____object____object___to_p * """wrap(future_result, args, awaitables, future) -> 'void'""" * f(future_result, args, awaitables, future) */ - __Pyx_TraceLine(65,0,__PYX_ERR(2, 65, __pyx_L1_error)) - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_64__Pyx_CFunc_void____object____object____object____object___to_py_1wrap, 0, __pyx_n_s_Pyx_CFunc_void____object____ob, ((PyObject*)__pyx_cur_scope), __pyx_n_s_cfunc_to_py, __pyx_d, ((PyObject *)__pyx_codeobj__84)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 65, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_64__Pyx_CFunc_void____object____object____object____object___to_py_1wrap, 0, __pyx_n_s_Pyx_CFunc_void____object____ob, ((PyObject*)__pyx_cur_scope), __pyx_n_s_cfunc_to_py, __pyx_d, ((PyObject *)__pyx_codeobj__29)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 65, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_wrap = __pyx_t_1; __pyx_t_1 = 0; @@ -103357,7 +98988,6 @@ static PyObject *__Pyx_CFunc_void____object____object____object____object___to_p * * */ - __Pyx_TraceLine(68,0,__PYX_ERR(2, 68, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_wrap); __pyx_r = __pyx_v_wrap; @@ -103380,7 +99010,6 @@ static PyObject *__Pyx_CFunc_void____object____object____object____object___to_p __Pyx_XDECREF(__pyx_v_wrap); __Pyx_DECREF(((PyObject *)__pyx_cur_scope)); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -103463,7 +99092,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_44__Pyx_CFunc_void____object____obje struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object___to_py *__pyx_cur_scope; struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object___to_py *__pyx_outer_scope; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_lineno = 0; const char *__pyx_filename = NULL; @@ -103471,7 +99099,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_44__Pyx_CFunc_void____object____obje __Pyx_RefNannySetupContext("wrap", 0); __pyx_outer_scope = (struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object___to_py *) __Pyx_CyFunction_GetClosure(__pyx_self); __pyx_cur_scope = __pyx_outer_scope; - __Pyx_TraceCall("wrap", __pyx_f[2], 65, 0, __PYX_ERR(2, 65, __pyx_L1_error)); /* "cfunc.to_py":67 * def wrap(object future_result, object future): @@ -103480,7 +99107,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_44__Pyx_CFunc_void____object____obje * return wrap * */ - __Pyx_TraceLine(67,0,__PYX_ERR(2, 67, __pyx_L1_error)) __pyx_cur_scope->__pyx_v_f(__pyx_v_future_result, __pyx_v_future); if (unlikely(PyErr_Occurred())) __PYX_ERR(2, 67, __pyx_L1_error) /* "cfunc.to_py":65 @@ -103499,7 +99125,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_44__Pyx_CFunc_void____object____obje __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -103516,7 +99141,6 @@ static PyObject *__Pyx_CFunc_void____object____object___to_py(void (*__pyx_v_f)( struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object___to_py *__pyx_cur_scope; PyObject *__pyx_v_wrap = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; @@ -103531,7 +99155,6 @@ static PyObject *__Pyx_CFunc_void____object____object___to_py(void (*__pyx_v_f)( } else { __Pyx_GOTREF(__pyx_cur_scope); } - __Pyx_TraceCall("__Pyx_CFunc_void____object____object___to_py", __pyx_f[2], 64, 0, __PYX_ERR(2, 64, __pyx_L1_error)); __pyx_cur_scope->__pyx_v_f = __pyx_v_f; /* "cfunc.to_py":65 @@ -103541,8 +99164,7 @@ static PyObject *__Pyx_CFunc_void____object____object___to_py(void (*__pyx_v_f)( * """wrap(future_result, future) -> 'void'""" * f(future_result, future) */ - __Pyx_TraceLine(65,0,__PYX_ERR(2, 65, __pyx_L1_error)) - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_44__Pyx_CFunc_void____object____object___to_py_1wrap, 0, __pyx_n_s_Pyx_CFunc_void____object____ob_2, ((PyObject*)__pyx_cur_scope), __pyx_n_s_cfunc_to_py, __pyx_d, ((PyObject *)__pyx_codeobj__86)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 65, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_44__Pyx_CFunc_void____object____object___to_py_1wrap, 0, __pyx_n_s_Pyx_CFunc_void____object____ob_2, ((PyObject*)__pyx_cur_scope), __pyx_n_s_cfunc_to_py, __pyx_d, ((PyObject *)__pyx_codeobj__31)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 65, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_wrap = __pyx_t_1; __pyx_t_1 = 0; @@ -103554,7 +99176,6 @@ static PyObject *__Pyx_CFunc_void____object____object___to_py(void (*__pyx_v_f)( * * */ - __Pyx_TraceLine(68,0,__PYX_ERR(2, 68, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_wrap); __pyx_r = __pyx_v_wrap; @@ -103577,7 +99198,6 @@ static PyObject *__Pyx_CFunc_void____object____object___to_py(void (*__pyx_v_f)( __Pyx_XDECREF(__pyx_v_wrap); __Pyx_DECREF(((PyObject *)__pyx_cur_scope)); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -103671,7 +99291,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_54__Pyx_CFunc_void____object____obje struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object___to_py *__pyx_cur_scope; struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object___to_py *__pyx_outer_scope; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations int __pyx_lineno = 0; const char *__pyx_filename = NULL; @@ -103679,7 +99298,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_54__Pyx_CFunc_void____object____obje __Pyx_RefNannySetupContext("wrap", 0); __pyx_outer_scope = (struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object___to_py *) __Pyx_CyFunction_GetClosure(__pyx_self); __pyx_cur_scope = __pyx_outer_scope; - __Pyx_TraceCall("wrap", __pyx_f[2], 65, 0, __PYX_ERR(2, 65, __pyx_L1_error)); /* "cfunc.to_py":67 * def wrap(object future_result, object call, object future): @@ -103688,7 +99306,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_54__Pyx_CFunc_void____object____obje * return wrap * */ - __Pyx_TraceLine(67,0,__PYX_ERR(2, 67, __pyx_L1_error)) __pyx_cur_scope->__pyx_v_f(__pyx_v_future_result, __pyx_v_call, __pyx_v_future); if (unlikely(PyErr_Occurred())) __PYX_ERR(2, 67, __pyx_L1_error) /* "cfunc.to_py":65 @@ -103707,7 +99324,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_54__Pyx_CFunc_void____object____obje __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -103724,7 +99340,6 @@ static PyObject *__Pyx_CFunc_void____object____object____object___to_py(void (*_ struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_void____object____object____object___to_py *__pyx_cur_scope; PyObject *__pyx_v_wrap = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; @@ -103739,7 +99354,6 @@ static PyObject *__Pyx_CFunc_void____object____object____object___to_py(void (*_ } else { __Pyx_GOTREF(__pyx_cur_scope); } - __Pyx_TraceCall("__Pyx_CFunc_void____object____object____object___to_py", __pyx_f[2], 64, 0, __PYX_ERR(2, 64, __pyx_L1_error)); __pyx_cur_scope->__pyx_v_f = __pyx_v_f; /* "cfunc.to_py":65 @@ -103749,8 +99363,7 @@ static PyObject *__Pyx_CFunc_void____object____object____object___to_py(void (*_ * """wrap(future_result, call, future) -> 'void'""" * f(future_result, call, future) */ - __Pyx_TraceLine(65,0,__PYX_ERR(2, 65, __pyx_L1_error)) - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_54__Pyx_CFunc_void____object____object____object___to_py_1wrap, 0, __pyx_n_s_Pyx_CFunc_void____object____ob_3, ((PyObject*)__pyx_cur_scope), __pyx_n_s_cfunc_to_py, __pyx_d, ((PyObject *)__pyx_codeobj__88)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 65, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_54__Pyx_CFunc_void____object____object____object___to_py_1wrap, 0, __pyx_n_s_Pyx_CFunc_void____object____ob_3, ((PyObject*)__pyx_cur_scope), __pyx_n_s_cfunc_to_py, __pyx_d, ((PyObject *)__pyx_codeobj__33)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 65, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_wrap = __pyx_t_1; __pyx_t_1 = 0; @@ -103762,7 +99375,6 @@ static PyObject *__Pyx_CFunc_void____object____object____object___to_py(void (*_ * * */ - __Pyx_TraceLine(68,0,__PYX_ERR(2, 68, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_wrap); __pyx_r = __pyx_v_wrap; @@ -103785,7 +99397,6 @@ static PyObject *__Pyx_CFunc_void____object____object____object___to_py(void (*_ __Pyx_XDECREF(__pyx_v_wrap); __Pyx_DECREF(((PyObject *)__pyx_cur_scope)); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -103868,7 +99479,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_46__Pyx_CFunc_object____object____ob struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_object____object____object___to_py *__pyx_cur_scope; struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_object____object____object___to_py *__pyx_outer_scope; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; @@ -103877,7 +99487,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_46__Pyx_CFunc_object____object____ob __Pyx_RefNannySetupContext("wrap", 0); __pyx_outer_scope = (struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_object____object____object___to_py *) __Pyx_CyFunction_GetClosure(__pyx_self); __pyx_cur_scope = __pyx_outer_scope; - __Pyx_TraceCall("wrap", __pyx_f[2], 65, 0, __PYX_ERR(2, 65, __pyx_L1_error)); /* "cfunc.to_py":67 * def wrap(object future_result, object future): @@ -103886,7 +99495,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_46__Pyx_CFunc_object____object____ob * return wrap * */ - __Pyx_TraceLine(67,0,__PYX_ERR(2, 67, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_cur_scope->__pyx_v_f(__pyx_v_future_result, __pyx_v_future); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 67, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); @@ -103909,7 +99517,6 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_46__Pyx_CFunc_object____object____ob __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -103926,7 +99533,6 @@ static PyObject *__Pyx_CFunc_object____object____object___to_py(PyObject *(*__py struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_object____object____object___to_py *__pyx_cur_scope; PyObject *__pyx_v_wrap = 0; PyObject *__pyx_r = NULL; - __Pyx_TraceDeclarations __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; @@ -103941,7 +99547,6 @@ static PyObject *__Pyx_CFunc_object____object____object___to_py(PyObject *(*__py } else { __Pyx_GOTREF(__pyx_cur_scope); } - __Pyx_TraceCall("__Pyx_CFunc_object____object____object___to_py", __pyx_f[2], 64, 0, __PYX_ERR(2, 64, __pyx_L1_error)); __pyx_cur_scope->__pyx_v_f = __pyx_v_f; /* "cfunc.to_py":65 @@ -103951,8 +99556,7 @@ static PyObject *__Pyx_CFunc_object____object____object___to_py(PyObject *(*__py * """wrap(future_result, future)""" * return f(future_result, future) */ - __Pyx_TraceLine(65,0,__PYX_ERR(2, 65, __pyx_L1_error)) - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_46__Pyx_CFunc_object____object____object___to_py_1wrap, 0, __pyx_n_s_Pyx_CFunc_object____object, ((PyObject*)__pyx_cur_scope), __pyx_n_s_cfunc_to_py, __pyx_d, ((PyObject *)__pyx_codeobj__90)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 65, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_46__Pyx_CFunc_object____object____object___to_py_1wrap, 0, __pyx_n_s_Pyx_CFunc_object____object, ((PyObject*)__pyx_cur_scope), __pyx_n_s_cfunc_to_py, __pyx_d, ((PyObject *)__pyx_codeobj__35)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 65, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_wrap = __pyx_t_1; __pyx_t_1 = 0; @@ -103964,7 +99568,6 @@ static PyObject *__Pyx_CFunc_object____object____object___to_py(PyObject *(*__py * * */ - __Pyx_TraceLine(68,0,__PYX_ERR(2, 68, __pyx_L1_error)) __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_wrap); __pyx_r = __pyx_v_wrap; @@ -103987,7 +99590,6 @@ static PyObject *__Pyx_CFunc_object____object____object___to_py(PyObject *(*__py __Pyx_XDECREF(__pyx_v_wrap); __Pyx_DECREF(((PyObject *)__pyx_cur_scope)); __Pyx_XGIVEREF(__pyx_r); - __Pyx_TraceReturn(__pyx_r, 0); __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -110854,16 +106456,16 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = { {&__pyx_kp_s_Unknown_type_of_resource_initial, __pyx_k_Unknown_type_of_resource_initial, sizeof(__pyx_k_Unknown_type_of_resource_initial), 0, 0, 1, 0}, {&__pyx_n_s_ValueError, __pyx_k_ValueError, sizeof(__pyx_k_ValueError), 0, 0, 1, 1}, {&__pyx_n_s_YamlLoader, __pyx_k_YamlLoader, sizeof(__pyx_k_YamlLoader), 0, 0, 1, 1}, - {&__pyx_kp_s__10, __pyx_k__10, sizeof(__pyx_k__10), 0, 0, 1, 0}, - {&__pyx_kp_u__25, __pyx_k__25, sizeof(__pyx_k__25), 0, 1, 0, 0}, + {&__pyx_n_s__2, __pyx_k__2, sizeof(__pyx_k__2), 0, 0, 1, 1}, + {&__pyx_kp_u__21, __pyx_k__21, sizeof(__pyx_k__21), 0, 1, 0, 0}, + {&__pyx_kp_u__22, __pyx_k__22, sizeof(__pyx_k__22), 0, 1, 0, 0}, + {&__pyx_n_s__24, __pyx_k__24, sizeof(__pyx_k__24), 0, 0, 1, 1}, + {&__pyx_kp_s__25, __pyx_k__25, sizeof(__pyx_k__25), 0, 0, 1, 0}, {&__pyx_kp_u__26, __pyx_k__26, sizeof(__pyx_k__26), 0, 1, 0, 0}, - {&__pyx_n_s__29, __pyx_k__29, sizeof(__pyx_k__29), 0, 0, 1, 1}, - {&__pyx_kp_s__31, __pyx_k__31, sizeof(__pyx_k__31), 0, 0, 1, 0}, - {&__pyx_kp_u__32, __pyx_k__32, sizeof(__pyx_k__32), 0, 1, 0, 0}, - {&__pyx_kp_u__33, __pyx_k__33, sizeof(__pyx_k__33), 0, 1, 0, 0}, + {&__pyx_kp_u__27, __pyx_k__27, sizeof(__pyx_k__27), 0, 1, 0, 0}, + {&__pyx_kp_s__43, __pyx_k__43, sizeof(__pyx_k__43), 0, 0, 1, 0}, {&__pyx_n_s__5, __pyx_k__5, sizeof(__pyx_k__5), 0, 0, 1, 1}, - {&__pyx_n_s__9, __pyx_k__9, sizeof(__pyx_k__9), 0, 0, 1, 1}, - {&__pyx_kp_s__95, __pyx_k__95, sizeof(__pyx_k__95), 0, 0, 1, 0}, + {&__pyx_kp_s__6, __pyx_k__6, sizeof(__pyx_k__6), 0, 0, 1, 0}, {&__pyx_n_s_add_args, __pyx_k_add_args, sizeof(__pyx_k_add_args), 0, 0, 1, 1}, {&__pyx_n_s_add_attributes, __pyx_k_add_attributes, sizeof(__pyx_k_add_attributes), 0, 0, 1, 1}, {&__pyx_n_s_add_constructor, __pyx_k_add_constructor, sizeof(__pyx_k_add_constructor), 0, 0, 1, 1}, @@ -111185,9 +106787,9 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * parser.read_file(config_file) * return parser */ - __pyx_tuple__3 = PyTuple_Pack(3, Py_None, Py_None, Py_None); if (unlikely(!__pyx_tuple__3)) __PYX_ERR(1, 67, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__3); - __Pyx_GIVEREF(__pyx_tuple__3); + __pyx_tuple_ = PyTuple_Pack(3, Py_None, Py_None, Py_None); if (unlikely(!__pyx_tuple_)) __PYX_ERR(1, 67, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple_); + __Pyx_GIVEREF(__pyx_tuple_); /* "dependency_injector/providers.pyx":319 * :rtype: :py:class:`Delegate` @@ -111196,9 +106798,9 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * 'Method ".delegate()" is deprecated since version 4.0.0. ' * 'Use ".provider" attribute instead.', */ - __pyx_tuple__7 = PyTuple_Pack(1, __pyx_kp_s_Method_delegate_is_deprecated_si); if (unlikely(!__pyx_tuple__7)) __PYX_ERR(1, 319, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__7); - __Pyx_GIVEREF(__pyx_tuple__7); + __pyx_tuple__3 = PyTuple_Pack(1, __pyx_kp_s_Method_delegate_is_deprecated_si); if (unlikely(!__pyx_tuple__3)) __PYX_ERR(1, 319, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__3); + __Pyx_GIVEREF(__pyx_tuple__3); /* "dependency_injector/providers.pyx":1052 * cpdef object _provide(self, tuple args, dict kwargs): @@ -111207,9 +106809,9 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * 'to overriding provider') * */ - __pyx_tuple__11 = PyTuple_Pack(1, __pyx_kp_s_Abstract_provider_forward_provid); if (unlikely(!__pyx_tuple__11)) __PYX_ERR(1, 1052, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__11); - __Pyx_GIVEREF(__pyx_tuple__11); + __pyx_tuple__7 = PyTuple_Pack(1, __pyx_kp_s_Abstract_provider_forward_provid); if (unlikely(!__pyx_tuple__7)) __PYX_ERR(1, 1052, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__7); + __Pyx_GIVEREF(__pyx_tuple__7); /* "dependency_injector/providers.pyx":1409 * and (self._is_strict_mode_enabled() or required is True) \ @@ -111218,9 +106820,9 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * * try: */ - __pyx_tuple__15 = PyTuple_Pack(1, __pyx_kp_s_Can_not_use_empty_dictionary); if (unlikely(!__pyx_tuple__15)) __PYX_ERR(1, 1409, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__15); - __Pyx_GIVEREF(__pyx_tuple__15); + __pyx_tuple__11 = PyTuple_Pack(1, __pyx_kp_s_Can_not_use_empty_dictionary); if (unlikely(!__pyx_tuple__11)) __PYX_ERR(1, 1409, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__11); + __Pyx_GIVEREF(__pyx_tuple__11); /* "dependency_injector/providers.pyx":2151 * factory_name = kwargs.pop('factory_name') @@ -111229,9 +106831,9 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * else: * args = args[1:] */ - __pyx_tuple__24 = PyTuple_Pack(1, __pyx_kp_s_Factory_missing_1_required_posit); if (unlikely(!__pyx_tuple__24)) __PYX_ERR(1, 2151, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__24); - __Pyx_GIVEREF(__pyx_tuple__24); + __pyx_tuple__20 = PyTuple_Pack(1, __pyx_kp_s_Factory_missing_1_required_posit); if (unlikely(!__pyx_tuple__20)) __PYX_ERR(1, 2151, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__20); + __Pyx_GIVEREF(__pyx_tuple__20); /* "dependency_injector/providers.pyx":3166 * @staticmethod @@ -111240,9 +106842,9 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * return False * if not isinstance(instance, CLASS_TYPES): */ - __pyx_tuple__28 = PyTuple_Pack(2, __pyx_int_3, __pyx_int_5); if (unlikely(!__pyx_tuple__28)) __PYX_ERR(1, 3166, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__28); - __Pyx_GIVEREF(__pyx_tuple__28); + __pyx_tuple__23 = PyTuple_Pack(2, __pyx_int_3, __pyx_int_5); if (unlikely(!__pyx_tuple__23)) __PYX_ERR(1, 3166, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__23); + __Pyx_GIVEREF(__pyx_tuple__23); /* "cfunc.to_py":65 * @cname("__Pyx_CFunc_void____object____object____object____object___to_py") @@ -111251,22 +106853,22 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """wrap(future_result, args, awaitables, future) -> 'void'""" * f(future_result, args, awaitables, future) */ - __pyx_tuple__83 = PyTuple_Pack(4, __pyx_n_s_future_result, __pyx_n_s_args, __pyx_n_s_awaitables, __pyx_n_s_future); if (unlikely(!__pyx_tuple__83)) __PYX_ERR(2, 65, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__83); - __Pyx_GIVEREF(__pyx_tuple__83); - __pyx_codeobj__84 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__83, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_wrap, 65, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__84)) __PYX_ERR(2, 65, __pyx_L1_error) - __pyx_tuple__85 = PyTuple_Pack(2, __pyx_n_s_future_result, __pyx_n_s_future); if (unlikely(!__pyx_tuple__85)) __PYX_ERR(2, 65, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__85); - __Pyx_GIVEREF(__pyx_tuple__85); - __pyx_codeobj__86 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__85, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_wrap, 65, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__86)) __PYX_ERR(2, 65, __pyx_L1_error) - __pyx_tuple__87 = PyTuple_Pack(3, __pyx_n_s_future_result, __pyx_n_s_call_2, __pyx_n_s_future); if (unlikely(!__pyx_tuple__87)) __PYX_ERR(2, 65, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__87); - __Pyx_GIVEREF(__pyx_tuple__87); - __pyx_codeobj__88 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__87, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_wrap, 65, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__88)) __PYX_ERR(2, 65, __pyx_L1_error) - __pyx_tuple__89 = PyTuple_Pack(2, __pyx_n_s_future_result, __pyx_n_s_future); if (unlikely(!__pyx_tuple__89)) __PYX_ERR(2, 65, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__89); - __Pyx_GIVEREF(__pyx_tuple__89); - __pyx_codeobj__90 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__89, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_wrap, 65, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__90)) __PYX_ERR(2, 65, __pyx_L1_error) + __pyx_tuple__28 = PyTuple_Pack(4, __pyx_n_s_future_result, __pyx_n_s_args, __pyx_n_s_awaitables, __pyx_n_s_future); if (unlikely(!__pyx_tuple__28)) __PYX_ERR(2, 65, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__28); + __Pyx_GIVEREF(__pyx_tuple__28); + __pyx_codeobj__29 = (PyObject*)__Pyx_PyCode_New(4, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__28, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_wrap, 65, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__29)) __PYX_ERR(2, 65, __pyx_L1_error) + __pyx_tuple__30 = PyTuple_Pack(2, __pyx_n_s_future_result, __pyx_n_s_future); if (unlikely(!__pyx_tuple__30)) __PYX_ERR(2, 65, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__30); + __Pyx_GIVEREF(__pyx_tuple__30); + __pyx_codeobj__31 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__30, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_wrap, 65, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__31)) __PYX_ERR(2, 65, __pyx_L1_error) + __pyx_tuple__32 = PyTuple_Pack(3, __pyx_n_s_future_result, __pyx_n_s_call_2, __pyx_n_s_future); if (unlikely(!__pyx_tuple__32)) __PYX_ERR(2, 65, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__32); + __Pyx_GIVEREF(__pyx_tuple__32); + __pyx_codeobj__33 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__32, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_wrap, 65, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__33)) __PYX_ERR(2, 65, __pyx_L1_error) + __pyx_tuple__34 = PyTuple_Pack(2, __pyx_n_s_future_result, __pyx_n_s_future); if (unlikely(!__pyx_tuple__34)) __PYX_ERR(2, 65, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__34); + __Pyx_GIVEREF(__pyx_tuple__34); + __pyx_codeobj__35 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__34, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_wrap, 65, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__35)) __PYX_ERR(2, 65, __pyx_L1_error) /* "dependency_injector/providers.pyx":22 * _is_coroutine_marker = None @@ -111275,9 +106877,9 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * import asyncio.coroutines * _is_coroutine_marker = asyncio.coroutines._is_coroutine */ - __pyx_tuple__91 = PyTuple_Pack(3, __pyx_int_3, __pyx_int_5, __pyx_int_3); if (unlikely(!__pyx_tuple__91)) __PYX_ERR(1, 22, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__91); - __Pyx_GIVEREF(__pyx_tuple__91); + __pyx_tuple__36 = PyTuple_Pack(3, __pyx_int_3, __pyx_int_5, __pyx_int_3); if (unlikely(!__pyx_tuple__36)) __PYX_ERR(1, 22, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__36); + __Pyx_GIVEREF(__pyx_tuple__36); /* "dependency_injector/providers.pyx":61 * """Interpolation which expands environment variables in values.""" @@ -111286,10 +106888,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * value = super().before_get(parser, section, option, value, defaults) * return os.path.expandvars(value) */ - __pyx_tuple__92 = PyTuple_Pack(6, __pyx_n_s_self, __pyx_n_s_parser, __pyx_n_s_section, __pyx_n_s_option, __pyx_n_s_value, __pyx_n_s_defaults); if (unlikely(!__pyx_tuple__92)) __PYX_ERR(1, 61, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__92); - __Pyx_GIVEREF(__pyx_tuple__92); - __pyx_codeobj_ = (PyObject*)__Pyx_PyCode_New(6, 0, 6, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__92, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_provider, __pyx_n_s_before_get, 61, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj_)) __PYX_ERR(1, 61, __pyx_L1_error) + __pyx_tuple__37 = PyTuple_Pack(6, __pyx_n_s_self, __pyx_n_s_parser, __pyx_n_s_section, __pyx_n_s_option, __pyx_n_s_value, __pyx_n_s_defaults); if (unlikely(!__pyx_tuple__37)) __PYX_ERR(1, 61, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__37); + __Pyx_GIVEREF(__pyx_tuple__37); + __pyx_codeobj__38 = (PyObject*)__Pyx_PyCode_New(6, 0, 6, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__37, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_provider, __pyx_n_s_before_get, 61, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__38)) __PYX_ERR(1, 61, __pyx_L1_error) /* "dependency_injector/providers.pyx":65 * return os.path.expandvars(value) @@ -111298,10 +106900,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * parser = iniconfigparser.ConfigParser(interpolation=EnvInterpolation()) * with open(filepath) as config_file: */ - __pyx_tuple__93 = PyTuple_Pack(3, __pyx_n_s_filepath, __pyx_n_s_parser, __pyx_n_s_config_file); if (unlikely(!__pyx_tuple__93)) __PYX_ERR(1, 65, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__93); - __Pyx_GIVEREF(__pyx_tuple__93); - __pyx_codeobj__2 = (PyObject*)__Pyx_PyCode_New(1, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__93, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_provider, __pyx_n_s_parse_ini_file, 65, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__2)) __PYX_ERR(1, 65, __pyx_L1_error) + __pyx_tuple__39 = PyTuple_Pack(3, __pyx_n_s_filepath, __pyx_n_s_parser, __pyx_n_s_config_file); if (unlikely(!__pyx_tuple__39)) __PYX_ERR(1, 65, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__39); + __Pyx_GIVEREF(__pyx_tuple__39); + __pyx_codeobj__40 = (PyObject*)__Pyx_PyCode_New(1, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__39, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_provider, __pyx_n_s_parse_ini_file, 65, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__40)) __PYX_ERR(1, 65, __pyx_L1_error) /* "dependency_injector/providers.pyx":73 * import StringIO @@ -111310,10 +106912,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * parser = iniconfigparser.ConfigParser() * with open(filepath) as config_file: */ - __pyx_tuple__94 = PyTuple_Pack(4, __pyx_n_s_filepath, __pyx_n_s_parser, __pyx_n_s_config_file, __pyx_n_s_config_string); if (unlikely(!__pyx_tuple__94)) __PYX_ERR(1, 73, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__94); - __Pyx_GIVEREF(__pyx_tuple__94); - __pyx_codeobj__4 = (PyObject*)__Pyx_PyCode_New(1, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__94, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_provider, __pyx_n_s_parse_ini_file, 73, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__4)) __PYX_ERR(1, 73, __pyx_L1_error) + __pyx_tuple__41 = PyTuple_Pack(4, __pyx_n_s_filepath, __pyx_n_s_parser, __pyx_n_s_config_file, __pyx_n_s_config_string); if (unlikely(!__pyx_tuple__41)) __PYX_ERR(1, 73, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__41); + __Pyx_GIVEREF(__pyx_tuple__41); + __pyx_codeobj__42 = (PyObject*)__Pyx_PyCode_New(1, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__41, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_provider, __pyx_n_s_parse_ini_file, 73, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__42)) __PYX_ERR(1, 73, __pyx_L1_error) /* "dependency_injector/providers.pyx":83 * if yaml: @@ -111322,9 +106924,9 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * def yaml_env_marker_constructor(_, node): * """"Replace environment variable marker with its value.""" */ - __pyx_tuple__96 = PyTuple_Pack(1, __pyx_kp_s__95); if (unlikely(!__pyx_tuple__96)) __PYX_ERR(1, 83, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__96); - __Pyx_GIVEREF(__pyx_tuple__96); + __pyx_tuple__44 = PyTuple_Pack(1, __pyx_kp_s__43); if (unlikely(!__pyx_tuple__44)) __PYX_ERR(1, 83, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__44); + __Pyx_GIVEREF(__pyx_tuple__44); /* "dependency_injector/providers.pyx":84 * # TODO: use SafeLoader without env interpolation by default in version 5.* @@ -111333,10 +106935,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """"Replace environment variable marker with its value.""" * return os.path.expandvars(node.value) */ - __pyx_tuple__97 = PyTuple_Pack(2, __pyx_n_s__5, __pyx_n_s_node); if (unlikely(!__pyx_tuple__97)) __PYX_ERR(1, 84, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__97); - __Pyx_GIVEREF(__pyx_tuple__97); - __pyx_codeobj__6 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__97, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_provider, __pyx_n_s_yaml_env_marker_constructor, 84, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__6)) __PYX_ERR(1, 84, __pyx_L1_error) + __pyx_tuple__45 = PyTuple_Pack(2, __pyx_n_s__2, __pyx_n_s_node); if (unlikely(!__pyx_tuple__45)) __PYX_ERR(1, 84, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__45); + __Pyx_GIVEREF(__pyx_tuple__45); + __pyx_codeobj__46 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__45, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_provider, __pyx_n_s_yaml_env_marker_constructor, 84, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__46)) __PYX_ERR(1, 84, __pyx_L1_error) /* "dependency_injector/providers.pyx":3165 * @@ -111345,10 +106947,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * if sys.version_info < (3, 5): * return False */ - __pyx_tuple__98 = PyTuple_Pack(2, __pyx_n_s_instance, __pyx_n_s_resources); if (unlikely(!__pyx_tuple__98)) __PYX_ERR(1, 3165, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__98); - __Pyx_GIVEREF(__pyx_tuple__98); - __pyx_codeobj__27 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__98, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_provider, __pyx_n_s_is_resource_subclass, 3165, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__27)) __PYX_ERR(1, 3165, __pyx_L1_error) + __pyx_tuple__47 = PyTuple_Pack(2, __pyx_n_s_instance, __pyx_n_s_resources); if (unlikely(!__pyx_tuple__47)) __PYX_ERR(1, 3165, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__47); + __Pyx_GIVEREF(__pyx_tuple__47); + __pyx_codeobj__48 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__47, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_provider, __pyx_n_s_is_resource_subclass, 3165, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__48)) __PYX_ERR(1, 3165, __pyx_L1_error) /* "dependency_injector/providers.pyx":3174 * @@ -111357,10 +106959,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * if sys.version_info < (3, 5): * return False */ - __pyx_tuple__99 = PyTuple_Pack(2, __pyx_n_s_instance, __pyx_n_s_resources); if (unlikely(!__pyx_tuple__99)) __PYX_ERR(1, 3174, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__99); - __Pyx_GIVEREF(__pyx_tuple__99); - __pyx_codeobj__30 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__99, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_provider, __pyx_n_s_is_async_resource_subclass, 3174, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__30)) __PYX_ERR(1, 3174, __pyx_L1_error) + __pyx_tuple__49 = PyTuple_Pack(2, __pyx_n_s_instance, __pyx_n_s_resources); if (unlikely(!__pyx_tuple__49)) __PYX_ERR(1, 3174, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__49); + __Pyx_GIVEREF(__pyx_tuple__49); + __pyx_codeobj__50 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__49, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_provider, __pyx_n_s_is_async_resource_subclass, 3174, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__50)) __PYX_ERR(1, 3174, __pyx_L1_error) /* "dependency_injector/providers.pyx":3817 * return copy.deepcopy(instance, memo) @@ -111369,10 +106971,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """Add system streams to memo dictionary. * */ - __pyx_tuple__100 = PyTuple_Pack(1, __pyx_n_s_memo); if (unlikely(!__pyx_tuple__100)) __PYX_ERR(1, 3817, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__100); - __Pyx_GIVEREF(__pyx_tuple__100); - __pyx_codeobj__34 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__100, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_provider, __pyx_n_s_add_sys_streams, 3817, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__34)) __PYX_ERR(1, 3817, __pyx_L1_error) + __pyx_tuple__51 = PyTuple_Pack(1, __pyx_n_s_memo); if (unlikely(!__pyx_tuple__51)) __PYX_ERR(1, 3817, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__51); + __Pyx_GIVEREF(__pyx_tuple__51); + __pyx_codeobj__52 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__51, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_provider, __pyx_n_s_add_sys_streams, 3817, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__52)) __PYX_ERR(1, 3817, __pyx_L1_error) /* "dependency_injector/providers.pyx":3828 * @@ -111381,10 +106983,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """Merge dictionaries recursively. * */ - __pyx_tuple__101 = PyTuple_Pack(5, __pyx_n_s_dict1, __pyx_n_s_dict2, __pyx_n_s_key, __pyx_n_s_value, __pyx_n_s_result); if (unlikely(!__pyx_tuple__101)) __PYX_ERR(1, 3828, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__101); - __Pyx_GIVEREF(__pyx_tuple__101); - __pyx_codeobj__35 = (PyObject*)__Pyx_PyCode_New(2, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__101, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_provider, __pyx_n_s_merge_dicts, 3828, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__35)) __PYX_ERR(1, 3828, __pyx_L1_error) + __pyx_tuple__53 = PyTuple_Pack(5, __pyx_n_s_dict1, __pyx_n_s_dict2, __pyx_n_s_key, __pyx_n_s_value, __pyx_n_s_result); if (unlikely(!__pyx_tuple__53)) __PYX_ERR(1, 3828, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__53); + __Pyx_GIVEREF(__pyx_tuple__53); + __pyx_codeobj__54 = (PyObject*)__Pyx_PyCode_New(2, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__53, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_provider, __pyx_n_s_merge_dicts, 3828, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__54)) __PYX_ERR(1, 3828, __pyx_L1_error) /* "dependency_injector/providers.pyx":3849 * @@ -111393,10 +106995,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """Check if object is a coroutine function. * */ - __pyx_tuple__102 = PyTuple_Pack(1, __pyx_n_s_obj); if (unlikely(!__pyx_tuple__102)) __PYX_ERR(1, 3849, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__102); - __Pyx_GIVEREF(__pyx_tuple__102); - __pyx_codeobj__36 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__102, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_provider, __pyx_n_s_isawaitable, 3849, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__36)) __PYX_ERR(1, 3849, __pyx_L1_error) + __pyx_tuple__55 = PyTuple_Pack(1, __pyx_n_s_obj); if (unlikely(!__pyx_tuple__55)) __PYX_ERR(1, 3849, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__55); + __Pyx_GIVEREF(__pyx_tuple__55); + __pyx_codeobj__56 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__55, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_provider, __pyx_n_s_isawaitable, 3849, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__56)) __PYX_ERR(1, 3849, __pyx_L1_error) /* "dependency_injector/providers.pyx":3860 * @@ -111405,10 +107007,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """Check if object is a coroutine function. * */ - __pyx_tuple__103 = PyTuple_Pack(1, __pyx_n_s_obj); if (unlikely(!__pyx_tuple__103)) __PYX_ERR(1, 3860, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__103); - __Pyx_GIVEREF(__pyx_tuple__103); - __pyx_codeobj__37 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__103, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_provider, __pyx_n_s_iscoroutinefunction, 3860, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__37)) __PYX_ERR(1, 3860, __pyx_L1_error) + __pyx_tuple__57 = PyTuple_Pack(1, __pyx_n_s_obj); if (unlikely(!__pyx_tuple__57)) __PYX_ERR(1, 3860, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__57); + __Pyx_GIVEREF(__pyx_tuple__57); + __pyx_codeobj__58 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__57, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_provider, __pyx_n_s_iscoroutinefunction, 3860, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__58)) __PYX_ERR(1, 3860, __pyx_L1_error) /* "dependency_injector/providers.pyx":3871 * @@ -111417,192 +107019,192 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * """Check if object is an asynchronous generator function. * */ - __pyx_tuple__104 = PyTuple_Pack(1, __pyx_n_s_obj); if (unlikely(!__pyx_tuple__104)) __PYX_ERR(1, 3871, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__104); - __Pyx_GIVEREF(__pyx_tuple__104); - __pyx_codeobj__38 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__104, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_provider, __pyx_n_s_isasyncgenfunction, 3871, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__38)) __PYX_ERR(1, 3871, __pyx_L1_error) + __pyx_tuple__59 = PyTuple_Pack(1, __pyx_n_s_obj); if (unlikely(!__pyx_tuple__59)) __PYX_ERR(1, 3871, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__59); + __Pyx_GIVEREF(__pyx_tuple__59); + __pyx_codeobj__60 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__59, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_src_dependency_injector_provider, __pyx_n_s_isasyncgenfunction, 3871, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__60)) __PYX_ERR(1, 3871, __pyx_L1_error) /* "(tree fragment)":1 * def __pyx_unpickle_Provider(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ + __pyx_tuple__61 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__61)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__61); + __Pyx_GIVEREF(__pyx_tuple__61); + __pyx_codeobj__62 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__61, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Provider, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__62)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_tuple__63 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__63)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__63); + __Pyx_GIVEREF(__pyx_tuple__63); + __pyx_codeobj__64 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__63, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Object, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__64)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_tuple__65 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__65)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__65); + __Pyx_GIVEREF(__pyx_tuple__65); + __pyx_codeobj__66 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__65, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Delegate, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__66)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_tuple__67 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__67)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__67); + __Pyx_GIVEREF(__pyx_tuple__67); + __pyx_codeobj__68 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__67, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Dependency, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__68)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_tuple__69 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__69)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__69); + __Pyx_GIVEREF(__pyx_tuple__69); + __pyx_codeobj__70 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__69, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_ExternalDependenc, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__70)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_tuple__71 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__71)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__71); + __Pyx_GIVEREF(__pyx_tuple__71); + __pyx_codeobj__72 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__71, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_DependenciesConta, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__72)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_tuple__73 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__73)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__73); + __Pyx_GIVEREF(__pyx_tuple__73); + __pyx_codeobj__74 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__73, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_OverridingContext, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__74)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_tuple__75 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__75)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__75); + __Pyx_GIVEREF(__pyx_tuple__75); + __pyx_codeobj__76 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__75, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Callable, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__76)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_tuple__77 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__77)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__77); + __Pyx_GIVEREF(__pyx_tuple__77); + __pyx_codeobj__78 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__77, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_DelegatedCallable, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__78)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_tuple__79 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__79)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__79); + __Pyx_GIVEREF(__pyx_tuple__79); + __pyx_codeobj__80 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__79, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_AbstractCallable, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__80)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_tuple__81 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__81)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__81); + __Pyx_GIVEREF(__pyx_tuple__81); + __pyx_codeobj__82 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__81, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_CallableDelegate, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__82)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_tuple__83 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__83)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__83); + __Pyx_GIVEREF(__pyx_tuple__83); + __pyx_codeobj__84 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__83, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Coroutine, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__84)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_tuple__85 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__85)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__85); + __Pyx_GIVEREF(__pyx_tuple__85); + __pyx_codeobj__86 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__85, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_DelegatedCoroutin, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__86)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_tuple__87 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__87)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__87); + __Pyx_GIVEREF(__pyx_tuple__87); + __pyx_codeobj__88 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__87, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_AbstractCoroutine, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__88)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_tuple__89 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__89)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__89); + __Pyx_GIVEREF(__pyx_tuple__89); + __pyx_codeobj__90 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__89, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_CoroutineDelegate, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__90)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_tuple__91 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__91)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__91); + __Pyx_GIVEREF(__pyx_tuple__91); + __pyx_codeobj__92 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__91, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_ConfigurationOpti, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__92)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_tuple__93 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__93)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__93); + __Pyx_GIVEREF(__pyx_tuple__93); + __pyx_codeobj__94 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__93, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_TypedConfiguratio, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__94)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_tuple__95 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__95)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__95); + __Pyx_GIVEREF(__pyx_tuple__95); + __pyx_codeobj__96 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__95, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Configuration, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__96)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_tuple__97 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__97)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__97); + __Pyx_GIVEREF(__pyx_tuple__97); + __pyx_codeobj__98 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__97, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Factory, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__98)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_tuple__99 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__99)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__99); + __Pyx_GIVEREF(__pyx_tuple__99); + __pyx_codeobj__100 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__99, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_DelegatedFactory, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__100)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_tuple__101 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__101)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__101); + __Pyx_GIVEREF(__pyx_tuple__101); + __pyx_codeobj__102 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__101, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_AbstractFactory, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__102)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_tuple__103 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__103)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__103); + __Pyx_GIVEREF(__pyx_tuple__103); + __pyx_codeobj__104 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__103, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_FactoryDelegate, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__104)) __PYX_ERR(2, 1, __pyx_L1_error) __pyx_tuple__105 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__105)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__105); __Pyx_GIVEREF(__pyx_tuple__105); - __pyx_codeobj__39 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__105, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Provider, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__39)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_tuple__106 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__106)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__106); - __Pyx_GIVEREF(__pyx_tuple__106); - __pyx_codeobj__40 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__106, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Object, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__40)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__106 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__105, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_FactoryAggregate, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__106)) __PYX_ERR(2, 1, __pyx_L1_error) __pyx_tuple__107 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__107)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__107); __Pyx_GIVEREF(__pyx_tuple__107); - __pyx_codeobj__41 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__107, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Delegate, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__41)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_tuple__108 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__108)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__108); - __Pyx_GIVEREF(__pyx_tuple__108); - __pyx_codeobj__42 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__108, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Dependency, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__42)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__108 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__107, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_BaseSingleton, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__108)) __PYX_ERR(2, 1, __pyx_L1_error) __pyx_tuple__109 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__109)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__109); __Pyx_GIVEREF(__pyx_tuple__109); - __pyx_codeobj__43 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__109, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_ExternalDependenc, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__43)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_tuple__110 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__110)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__110); - __Pyx_GIVEREF(__pyx_tuple__110); - __pyx_codeobj__44 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__110, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_DependenciesConta, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__44)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__110 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__109, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Singleton, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__110)) __PYX_ERR(2, 1, __pyx_L1_error) __pyx_tuple__111 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__111)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__111); __Pyx_GIVEREF(__pyx_tuple__111); - __pyx_codeobj__45 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__111, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_OverridingContext, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__45)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_tuple__112 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__112)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__112); - __Pyx_GIVEREF(__pyx_tuple__112); - __pyx_codeobj__46 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__112, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Callable, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__46)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__112 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__111, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_DelegatedSingleto, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__112)) __PYX_ERR(2, 1, __pyx_L1_error) __pyx_tuple__113 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__113)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__113); __Pyx_GIVEREF(__pyx_tuple__113); - __pyx_codeobj__47 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__113, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_DelegatedCallable, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__47)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_tuple__114 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__114)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__114); - __Pyx_GIVEREF(__pyx_tuple__114); - __pyx_codeobj__48 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__114, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_AbstractCallable, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__48)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__114 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__113, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_ThreadSafeSinglet, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__114)) __PYX_ERR(2, 1, __pyx_L1_error) __pyx_tuple__115 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__115)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__115); __Pyx_GIVEREF(__pyx_tuple__115); - __pyx_codeobj__49 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__115, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_CallableDelegate, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__49)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_tuple__116 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__116)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__116); - __Pyx_GIVEREF(__pyx_tuple__116); - __pyx_codeobj__50 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__116, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Coroutine, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__50)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__116 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__115, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_DelegatedThreadSa, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__116)) __PYX_ERR(2, 1, __pyx_L1_error) __pyx_tuple__117 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__117)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__117); __Pyx_GIVEREF(__pyx_tuple__117); - __pyx_codeobj__51 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__117, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_DelegatedCoroutin, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__51)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_tuple__118 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__118)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__118); - __Pyx_GIVEREF(__pyx_tuple__118); - __pyx_codeobj__52 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__118, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_AbstractCoroutine, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__52)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__118 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__117, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_ThreadLocalSingle, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__118)) __PYX_ERR(2, 1, __pyx_L1_error) __pyx_tuple__119 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__119)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__119); __Pyx_GIVEREF(__pyx_tuple__119); - __pyx_codeobj__53 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__119, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_CoroutineDelegate, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__53)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_tuple__120 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__120)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__120); - __Pyx_GIVEREF(__pyx_tuple__120); - __pyx_codeobj__54 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__120, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_ConfigurationOpti, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__54)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__120 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__119, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_DelegatedThreadLo, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__120)) __PYX_ERR(2, 1, __pyx_L1_error) __pyx_tuple__121 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__121)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__121); __Pyx_GIVEREF(__pyx_tuple__121); - __pyx_codeobj__55 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__121, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_TypedConfiguratio, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__55)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_tuple__122 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__122)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__122); - __Pyx_GIVEREF(__pyx_tuple__122); - __pyx_codeobj__56 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__122, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Configuration, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__56)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__122 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__121, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_AbstractSingleton, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__122)) __PYX_ERR(2, 1, __pyx_L1_error) __pyx_tuple__123 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__123)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__123); __Pyx_GIVEREF(__pyx_tuple__123); - __pyx_codeobj__57 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__123, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Factory, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__57)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_tuple__124 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__124)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__124); - __Pyx_GIVEREF(__pyx_tuple__124); - __pyx_codeobj__58 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__124, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_DelegatedFactory, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__58)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__124 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__123, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_SingletonDelegate, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__124)) __PYX_ERR(2, 1, __pyx_L1_error) __pyx_tuple__125 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__125)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__125); __Pyx_GIVEREF(__pyx_tuple__125); - __pyx_codeobj__59 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__125, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_AbstractFactory, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__59)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_tuple__126 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__126)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__126); - __Pyx_GIVEREF(__pyx_tuple__126); - __pyx_codeobj__60 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__126, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_FactoryDelegate, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__60)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__126 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__125, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_List, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__126)) __PYX_ERR(2, 1, __pyx_L1_error) __pyx_tuple__127 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__127)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__127); __Pyx_GIVEREF(__pyx_tuple__127); - __pyx_codeobj__61 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__127, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_FactoryAggregate, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__61)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_tuple__128 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__128)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__128); - __Pyx_GIVEREF(__pyx_tuple__128); - __pyx_codeobj__62 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__128, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_BaseSingleton, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__62)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__128 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__127, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Dict, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__128)) __PYX_ERR(2, 1, __pyx_L1_error) __pyx_tuple__129 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__129)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__129); __Pyx_GIVEREF(__pyx_tuple__129); - __pyx_codeobj__63 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__129, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Singleton, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__63)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_tuple__130 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__130)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__130); - __Pyx_GIVEREF(__pyx_tuple__130); - __pyx_codeobj__64 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__130, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_DelegatedSingleto, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__64)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__130 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__129, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Resource, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__130)) __PYX_ERR(2, 1, __pyx_L1_error) __pyx_tuple__131 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__131)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__131); __Pyx_GIVEREF(__pyx_tuple__131); - __pyx_codeobj__65 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__131, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_ThreadSafeSinglet, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__65)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_tuple__132 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__132)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__132); - __Pyx_GIVEREF(__pyx_tuple__132); - __pyx_codeobj__66 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__132, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_DelegatedThreadSa, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__66)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__132 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__131, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Container, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__132)) __PYX_ERR(2, 1, __pyx_L1_error) __pyx_tuple__133 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__133)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__133); __Pyx_GIVEREF(__pyx_tuple__133); - __pyx_codeobj__67 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__133, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_ThreadLocalSingle, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__67)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_tuple__134 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__134)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__134); - __Pyx_GIVEREF(__pyx_tuple__134); - __pyx_codeobj__68 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__134, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_DelegatedThreadLo, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__68)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__134 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__133, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Selector, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__134)) __PYX_ERR(2, 1, __pyx_L1_error) __pyx_tuple__135 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__135)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__135); __Pyx_GIVEREF(__pyx_tuple__135); - __pyx_codeobj__69 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__135, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_AbstractSingleton, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__69)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_tuple__136 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__136)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__136); - __Pyx_GIVEREF(__pyx_tuple__136); - __pyx_codeobj__70 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__136, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_SingletonDelegate, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__70)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__136 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__135, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_ProvidedInstance, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__136)) __PYX_ERR(2, 1, __pyx_L1_error) __pyx_tuple__137 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__137)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__137); __Pyx_GIVEREF(__pyx_tuple__137); - __pyx_codeobj__71 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__137, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_List, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__71)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_tuple__138 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__138)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__138); - __Pyx_GIVEREF(__pyx_tuple__138); - __pyx_codeobj__72 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__138, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Dict, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__72)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__138 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__137, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_AttributeGetter, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__138)) __PYX_ERR(2, 1, __pyx_L1_error) __pyx_tuple__139 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__139)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__139); __Pyx_GIVEREF(__pyx_tuple__139); - __pyx_codeobj__73 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__139, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Resource, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__73)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_tuple__140 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__140)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__140); - __Pyx_GIVEREF(__pyx_tuple__140); - __pyx_codeobj__74 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__140, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Container, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__74)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__140 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__139, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_ItemGetter, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__140)) __PYX_ERR(2, 1, __pyx_L1_error) __pyx_tuple__141 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__141)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__141); __Pyx_GIVEREF(__pyx_tuple__141); - __pyx_codeobj__75 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__141, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Selector, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__75)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_tuple__142 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__142)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__142); - __Pyx_GIVEREF(__pyx_tuple__142); - __pyx_codeobj__76 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__142, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_ProvidedInstance, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__76)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__142 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__141, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_MethodCaller, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__142)) __PYX_ERR(2, 1, __pyx_L1_error) __pyx_tuple__143 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__143)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__143); __Pyx_GIVEREF(__pyx_tuple__143); - __pyx_codeobj__77 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__143, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_AttributeGetter, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__77)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_tuple__144 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__144)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__144); - __Pyx_GIVEREF(__pyx_tuple__144); - __pyx_codeobj__78 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__144, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_ItemGetter, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__78)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__144 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__143, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Injection, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__144)) __PYX_ERR(2, 1, __pyx_L1_error) __pyx_tuple__145 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__145)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__145); __Pyx_GIVEREF(__pyx_tuple__145); - __pyx_codeobj__79 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__145, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_MethodCaller, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__79)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_tuple__146 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__146)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__146); - __Pyx_GIVEREF(__pyx_tuple__146); - __pyx_codeobj__80 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__146, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Injection, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__80)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__146 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__145, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_PositionalInjecti, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__146)) __PYX_ERR(2, 1, __pyx_L1_error) __pyx_tuple__147 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__147)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__147); __Pyx_GIVEREF(__pyx_tuple__147); - __pyx_codeobj__81 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__147, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_PositionalInjecti, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__81)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_tuple__148 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__148)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__148); - __Pyx_GIVEREF(__pyx_tuple__148); - __pyx_codeobj__82 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__148, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_NamedInjection, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__82)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__148 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__147, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_NamedInjection, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__148)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_RefNannyFinishContext(); return 0; __pyx_L1_error:; @@ -112984,7 +108586,6 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec_providers(PyObject *__pyx_pyinit_m #endif #endif { - __Pyx_TraceDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; PyObject *__pyx_t_3 = NULL; @@ -113101,7 +108702,6 @@ if (!__Pyx_RefNanny) { #if defined(__Pyx_Generator_USED) || defined(__Pyx_Coroutine_USED) if (__Pyx_patch_abc() < 0) __PYX_ERR(1, 1, __pyx_L1_error) #endif - __Pyx_TraceCall("__Pyx_PyMODINIT_FUNC PyInit_providers(void)", __pyx_f[1], 1, 0, __PYX_ERR(1, 1, __pyx_L1_error)); /* "dependency_injector/providers.pyx":5 * from __future__ import absolute_import @@ -113110,7 +108710,6 @@ if (!__Pyx_RefNanny) { * import errno * import functools */ - __Pyx_TraceLine(5,0,__PYX_ERR(1, 5, __pyx_L1_error)) __pyx_t_1 = __Pyx_Import(__pyx_n_s_copy, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 5, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_copy, __pyx_t_1) < 0) __PYX_ERR(1, 5, __pyx_L1_error) @@ -113123,7 +108722,6 @@ if (!__Pyx_RefNanny) { * import functools * import inspect */ - __Pyx_TraceLine(6,0,__PYX_ERR(1, 6, __pyx_L1_error)) __pyx_t_1 = __Pyx_Import(__pyx_n_s_errno, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 6, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_errno, __pyx_t_1) < 0) __PYX_ERR(1, 6, __pyx_L1_error) @@ -113136,7 +108734,6 @@ if (!__Pyx_RefNanny) { * import inspect * import os */ - __Pyx_TraceLine(7,0,__PYX_ERR(1, 7, __pyx_L1_error)) __pyx_t_1 = __Pyx_Import(__pyx_n_s_functools, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_functools, __pyx_t_1) < 0) __PYX_ERR(1, 7, __pyx_L1_error) @@ -113149,7 +108746,6 @@ if (!__Pyx_RefNanny) { * import os * import re */ - __Pyx_TraceLine(8,0,__PYX_ERR(1, 8, __pyx_L1_error)) __pyx_t_1 = __Pyx_patch_inspect(__Pyx_Import(__pyx_n_s_inspect, 0, 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_inspect, __pyx_t_1) < 0) __PYX_ERR(1, 8, __pyx_L1_error) @@ -113162,7 +108758,6 @@ if (!__Pyx_RefNanny) { * import re * import sys */ - __Pyx_TraceLine(9,0,__PYX_ERR(1, 9, __pyx_L1_error)) __pyx_t_1 = __Pyx_Import(__pyx_n_s_os, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_os, __pyx_t_1) < 0) __PYX_ERR(1, 9, __pyx_L1_error) @@ -113175,7 +108770,6 @@ if (!__Pyx_RefNanny) { * import sys * import types */ - __Pyx_TraceLine(10,0,__PYX_ERR(1, 10, __pyx_L1_error)) __pyx_t_1 = __Pyx_Import(__pyx_n_s_re, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 10, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_re, __pyx_t_1) < 0) __PYX_ERR(1, 10, __pyx_L1_error) @@ -113188,7 +108782,6 @@ if (!__Pyx_RefNanny) { * import types * import threading */ - __Pyx_TraceLine(11,0,__PYX_ERR(1, 11, __pyx_L1_error)) __pyx_t_1 = __Pyx_Import(__pyx_n_s_sys, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 11, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_sys, __pyx_t_1) < 0) __PYX_ERR(1, 11, __pyx_L1_error) @@ -113201,7 +108794,6 @@ if (!__Pyx_RefNanny) { * import threading * import warnings */ - __Pyx_TraceLine(12,0,__PYX_ERR(1, 12, __pyx_L1_error)) __pyx_t_1 = __Pyx_Import(__pyx_n_s_types, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_types, __pyx_t_1) < 0) __PYX_ERR(1, 12, __pyx_L1_error) @@ -113214,7 +108806,6 @@ if (!__Pyx_RefNanny) { * import warnings * */ - __Pyx_TraceLine(13,0,__PYX_ERR(1, 13, __pyx_L1_error)) __pyx_t_1 = __Pyx_Import(__pyx_n_s_threading, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 13, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_threading, __pyx_t_1) < 0) __PYX_ERR(1, 13, __pyx_L1_error) @@ -113227,7 +108818,6 @@ if (!__Pyx_RefNanny) { * * try: */ - __Pyx_TraceLine(14,0,__PYX_ERR(1, 14, __pyx_L1_error)) __pyx_t_1 = __Pyx_Import(__pyx_n_s_warnings, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_warnings, __pyx_t_1) < 0) __PYX_ERR(1, 14, __pyx_L1_error) @@ -113240,7 +108830,6 @@ if (!__Pyx_RefNanny) { * import asyncio * except ImportError: */ - __Pyx_TraceLine(16,0,__PYX_ERR(1, 16, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -113257,7 +108846,6 @@ if (!__Pyx_RefNanny) { * except ImportError: * asyncio = None */ - __Pyx_TraceLine(17,0,__PYX_ERR(1, 17, __pyx_L2_error)) __pyx_t_1 = __Pyx_patch_asyncio(__Pyx_Import(__pyx_n_s_asyncio, 0, 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 17, __pyx_L2_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_asyncio, __pyx_t_1) < 0) __PYX_ERR(1, 17, __pyx_L2_error) @@ -113279,14 +108867,13 @@ if (!__Pyx_RefNanny) { * import asyncio.coroutines * _is_coroutine_marker = asyncio.coroutines._is_coroutine */ - __Pyx_TraceLine(22,0,__PYX_ERR(1, 22, __pyx_L4_except_error)) /*else:*/ { __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_sys); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 22, __pyx_L4_except_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_version_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 22, __pyx_L4_except_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyObject_RichCompare(__pyx_t_5, __pyx_tuple__91, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 22, __pyx_L4_except_error) + __pyx_t_1 = PyObject_RichCompare(__pyx_t_5, __pyx_tuple__36, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 22, __pyx_L4_except_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 22, __pyx_L4_except_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -113299,7 +108886,6 @@ if (!__Pyx_RefNanny) { * _is_coroutine_marker = asyncio.coroutines._is_coroutine * else: */ - __Pyx_TraceLine(23,0,__PYX_ERR(1, 23, __pyx_L4_except_error)) __pyx_t_1 = __Pyx_Import(__pyx_n_s_asyncio_coroutines, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 23, __pyx_L4_except_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_asyncio, __pyx_t_1) < 0) __PYX_ERR(1, 23, __pyx_L4_except_error) @@ -113312,7 +108898,6 @@ if (!__Pyx_RefNanny) { * else: * _is_coroutine_marker = True */ - __Pyx_TraceLine(24,0,__PYX_ERR(1, 24, __pyx_L4_except_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_asyncio); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 24, __pyx_L4_except_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_coroutines); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 24, __pyx_L4_except_error) @@ -113341,7 +108926,6 @@ if (!__Pyx_RefNanny) { * * try: */ - __Pyx_TraceLine(26,0,__PYX_ERR(1, 26, __pyx_L4_except_error)) /*else*/ { if (PyDict_SetItem(__pyx_d, __pyx_n_s_is_coroutine_marker, Py_True) < 0) __PYX_ERR(1, 26, __pyx_L4_except_error) } @@ -113361,7 +108945,6 @@ if (!__Pyx_RefNanny) { * asyncio = None * _is_coroutine_marker = None */ - __Pyx_TraceLine(18,0,__PYX_ERR(1, 18, __pyx_L4_except_error)) __pyx_t_7 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_ImportError); if (__pyx_t_7) { __Pyx_AddTraceback("dependency_injector.providers", __pyx_clineno, __pyx_lineno, __pyx_filename); @@ -113377,7 +108960,6 @@ if (!__Pyx_RefNanny) { * _is_coroutine_marker = None * else: */ - __Pyx_TraceLine(19,0,__PYX_ERR(1, 19, __pyx_L4_except_error)) if (PyDict_SetItem(__pyx_d, __pyx_n_s_asyncio, Py_None) < 0) __PYX_ERR(1, 19, __pyx_L4_except_error) /* "dependency_injector/providers.pyx":20 @@ -113387,7 +108969,6 @@ if (!__Pyx_RefNanny) { * else: * if sys.version_info >= (3, 5, 3): */ - __Pyx_TraceLine(20,0,__PYX_ERR(1, 20, __pyx_L4_except_error)) if (PyDict_SetItem(__pyx_d, __pyx_n_s_is_coroutine_marker, Py_None) < 0) __PYX_ERR(1, 20, __pyx_L4_except_error) __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; @@ -113424,7 +109005,6 @@ if (!__Pyx_RefNanny) { * import ConfigParser as iniconfigparser * except ImportError: */ - __Pyx_TraceLine(28,0,__PYX_ERR(1, 28, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -113441,7 +109021,6 @@ if (!__Pyx_RefNanny) { * except ImportError: * import configparser as iniconfigparser */ - __Pyx_TraceLine(29,0,__PYX_ERR(1, 29, __pyx_L11_error)) __pyx_t_8 = __Pyx_Import(__pyx_n_s_ConfigParser, 0, 0); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 29, __pyx_L11_error) __Pyx_GOTREF(__pyx_t_8); if (PyDict_SetItem(__pyx_d, __pyx_n_s_iniconfigparser, __pyx_t_8) < 0) __PYX_ERR(1, 29, __pyx_L11_error) @@ -113471,7 +109050,6 @@ if (!__Pyx_RefNanny) { * import configparser as iniconfigparser * */ - __Pyx_TraceLine(30,0,__PYX_ERR(1, 30, __pyx_L13_except_error)) __pyx_t_7 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_ImportError); if (__pyx_t_7) { __Pyx_AddTraceback("dependency_injector.providers", __pyx_clineno, __pyx_lineno, __pyx_filename); @@ -113487,7 +109065,6 @@ if (!__Pyx_RefNanny) { * * try: */ - __Pyx_TraceLine(31,0,__PYX_ERR(1, 31, __pyx_L13_except_error)) __pyx_t_9 = __Pyx_Import(__pyx_n_s_configparser, 0, 0); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 31, __pyx_L13_except_error) __Pyx_GOTREF(__pyx_t_9); if (PyDict_SetItem(__pyx_d, __pyx_n_s_iniconfigparser, __pyx_t_9) < 0) __PYX_ERR(1, 31, __pyx_L13_except_error) @@ -113527,7 +109104,6 @@ if (!__Pyx_RefNanny) { * import yaml * except ImportError: */ - __Pyx_TraceLine(33,0,__PYX_ERR(1, 33, __pyx_L1_error)) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign @@ -113544,7 +109120,6 @@ if (!__Pyx_RefNanny) { * except ImportError: * yaml = None */ - __Pyx_TraceLine(34,0,__PYX_ERR(1, 34, __pyx_L19_error)) __pyx_t_1 = __Pyx_Import(__pyx_n_s_yaml, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 34, __pyx_L19_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_yaml, __pyx_t_1) < 0) __PYX_ERR(1, 34, __pyx_L19_error) @@ -113575,7 +109150,6 @@ if (!__Pyx_RefNanny) { * yaml = None * */ - __Pyx_TraceLine(35,0,__PYX_ERR(1, 35, __pyx_L21_except_error)) __pyx_t_7 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_ImportError); if (__pyx_t_7) { __Pyx_AddTraceback("dependency_injector.providers", __pyx_clineno, __pyx_lineno, __pyx_filename); @@ -113591,7 +109165,6 @@ if (!__Pyx_RefNanny) { * * from .errors import ( */ - __Pyx_TraceLine(36,0,__PYX_ERR(1, 36, __pyx_L21_except_error)) if (PyDict_SetItem(__pyx_d, __pyx_n_s_yaml, Py_None) < 0) __PYX_ERR(1, 36, __pyx_L21_except_error) __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; @@ -113628,7 +109201,6 @@ if (!__Pyx_RefNanny) { * NoSuchProviderError, * ) */ - __Pyx_TraceLine(39,0,__PYX_ERR(1, 39, __pyx_L1_error)) __pyx_t_8 = PyList_New(2); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 39, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_INCREF(__pyx_n_s_Error); @@ -113645,7 +109217,6 @@ if (!__Pyx_RefNanny) { * Error, * NoSuchProviderError, */ - __Pyx_TraceLine(38,0,__PYX_ERR(1, 38, __pyx_L1_error)) __pyx_t_5 = __Pyx_Import(__pyx_n_s_errors, __pyx_t_8, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 38, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; @@ -113666,7 +109237,6 @@ if (!__Pyx_RefNanny) { * CLASS_TYPES = (type,) * else: # pragma: no cover */ - __Pyx_TraceLine(46,0,__PYX_ERR(1, 46, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_sys); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 46, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_version_info); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 46, __pyx_L1_error) @@ -113689,7 +109259,6 @@ if (!__Pyx_RefNanny) { * else: # pragma: no cover * CLASS_TYPES = (type, types.ClassType) */ - __Pyx_TraceLine(47,0,__PYX_ERR(1, 47, __pyx_L1_error)) __pyx_t_8 = PyTuple_New(1); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 47, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_INCREF(((PyObject *)(&PyType_Type))); @@ -113717,7 +109286,6 @@ if (!__Pyx_RefNanny) { * * copy._deepcopy_dispatch[types.MethodType] = \ */ - __Pyx_TraceLine(49,0,__PYX_ERR(1, 49, __pyx_L1_error)) /*else*/ { __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_types); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 49, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); @@ -113744,7 +109312,6 @@ if (!__Pyx_RefNanny) { * copy.deepcopy(obj.im_self, memo), * obj.im_class) */ - __Pyx_TraceLine(52,0,__PYX_ERR(1, 52, __pyx_L1_error)) __pyx_t_8 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_9providers_30lambda, 0, __pyx_n_s_lambda, NULL, __pyx_n_s_dependency_injector_providers, __pyx_d, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 52, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); @@ -113755,7 +109322,6 @@ if (!__Pyx_RefNanny) { * lambda obj, memo: type(obj)(obj.im_func, * copy.deepcopy(obj.im_self, memo), */ - __Pyx_TraceLine(51,0,__PYX_ERR(1, 51, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_copy); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 51, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_deepcopy_dispatch); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 51, __pyx_L1_error) @@ -113780,7 +109346,6 @@ if (!__Pyx_RefNanny) { * class EnvInterpolation(iniconfigparser.BasicInterpolation): * """Interpolation which expands environment variables in values.""" */ - __Pyx_TraceLine(57,0,__PYX_ERR(1, 57, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_sys); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 57, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_version_info); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 57, __pyx_L1_error) @@ -113803,7 +109368,6 @@ if (!__Pyx_RefNanny) { * """Interpolation which expands environment variables in values.""" * */ - __Pyx_TraceLine(58,0,__PYX_ERR(1, 58, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_iniconfigparser); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 58, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_BasicInterpolation); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 58, __pyx_L1_error) @@ -113828,8 +109392,7 @@ if (!__Pyx_RefNanny) { * value = super().before_get(parser, section, option, value, defaults) * return os.path.expandvars(value) */ - __Pyx_TraceLine(61,0,__PYX_ERR(1, 61, __pyx_L1_error)) - __pyx_t_10 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_9providers_16EnvInterpolation_1before_get, 0, __pyx_n_s_EnvInterpolation_before_get, NULL, __pyx_n_s_dependency_injector_providers, __pyx_d, ((PyObject *)__pyx_codeobj_)); if (unlikely(!__pyx_t_10)) __PYX_ERR(1, 61, __pyx_L1_error) + __pyx_t_10 = __Pyx_CyFunction_New(&__pyx_mdef_19dependency_injector_9providers_16EnvInterpolation_1before_get, 0, __pyx_n_s_EnvInterpolation_before_get, NULL, __pyx_n_s_dependency_injector_providers, __pyx_d, ((PyObject *)__pyx_codeobj__38)); if (unlikely(!__pyx_t_10)) __PYX_ERR(1, 61, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_INCREF(__pyx_t_10); PyList_Append(__pyx_t_5, __pyx_t_10); @@ -113844,7 +109407,6 @@ if (!__Pyx_RefNanny) { * """Interpolation which expands environment variables in values.""" * */ - __Pyx_TraceLine(58,0,__PYX_ERR(1, 58, __pyx_L1_error)) __pyx_t_10 = __Pyx_Py3ClassCreate(__pyx_t_8, __pyx_n_s_EnvInterpolation, __pyx_t_9, __pyx_t_1, NULL, 0, 1); if (unlikely(!__pyx_t_10)) __PYX_ERR(1, 58, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); if (__Pyx_CyFunction_InitClassCell(__pyx_t_5, __pyx_t_10) < 0) __PYX_ERR(1, 58, __pyx_L1_error) @@ -113862,7 +109424,6 @@ if (!__Pyx_RefNanny) { * parser = iniconfigparser.ConfigParser(interpolation=EnvInterpolation()) * with open(filepath) as config_file: */ - __Pyx_TraceLine(65,0,__PYX_ERR(1, 65, __pyx_L1_error)) __pyx_t_9 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_1_parse_ini_file, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 65, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); if (PyDict_SetItem(__pyx_d, __pyx_n_s_parse_ini_file, __pyx_t_9) < 0) __PYX_ERR(1, 65, __pyx_L1_error) @@ -113885,7 +109446,6 @@ if (!__Pyx_RefNanny) { * * def _parse_ini_file(filepath): */ - __Pyx_TraceLine(71,0,__PYX_ERR(1, 71, __pyx_L1_error)) /*else*/ { __pyx_t_9 = __Pyx_Import(__pyx_n_s_StringIO, 0, 0); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 71, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); @@ -113899,7 +109459,6 @@ if (!__Pyx_RefNanny) { * parser = iniconfigparser.ConfigParser() * with open(filepath) as config_file: */ - __Pyx_TraceLine(73,0,__PYX_ERR(1, 73, __pyx_L1_error)) __pyx_t_9 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_3_parse_ini_file, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 73, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); if (PyDict_SetItem(__pyx_d, __pyx_n_s_parse_ini_file, __pyx_t_9) < 0) __PYX_ERR(1, 73, __pyx_L1_error) @@ -113914,7 +109473,6 @@ if (!__Pyx_RefNanny) { * # TODO: use SafeLoader without env interpolation by default in version 5.* * yaml_env_marker_pattern = re.compile(r'\$\{([^}^{]+)\}') */ - __Pyx_TraceLine(81,0,__PYX_ERR(1, 81, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_yaml); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 81, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 81, __pyx_L1_error) @@ -113928,13 +109486,12 @@ if (!__Pyx_RefNanny) { * def yaml_env_marker_constructor(_, node): * """"Replace environment variable marker with its value.""" */ - __Pyx_TraceLine(83,0,__PYX_ERR(1, 83, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_re); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 83, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_compile); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 83, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - __pyx_t_9 = __Pyx_PyObject_Call(__pyx_t_8, __pyx_tuple__96, NULL); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 83, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_Call(__pyx_t_8, __pyx_tuple__44, NULL); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 83, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; if (PyDict_SetItem(__pyx_d, __pyx_n_s_yaml_env_marker_pattern, __pyx_t_9) < 0) __PYX_ERR(1, 83, __pyx_L1_error) @@ -113947,7 +109504,6 @@ if (!__Pyx_RefNanny) { * """"Replace environment variable marker with its value.""" * return os.path.expandvars(node.value) */ - __Pyx_TraceLine(84,0,__PYX_ERR(1, 84, __pyx_L1_error)) __pyx_t_9 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_5yaml_env_marker_constructor, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 84, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); if (PyDict_SetItem(__pyx_d, __pyx_n_s_yaml_env_marker_constructor, __pyx_t_9) < 0) __PYX_ERR(1, 84, __pyx_L1_error) @@ -113960,7 +109516,6 @@ if (!__Pyx_RefNanny) { * yaml.add_constructor('!path', yaml_env_marker_constructor) * */ - __Pyx_TraceLine(88,0,__PYX_ERR(1, 88, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_yaml); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 88, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_add_implicit_resolver); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 88, __pyx_L1_error) @@ -113989,7 +109544,6 @@ if (!__Pyx_RefNanny) { * * class YamlLoader(yaml.SafeLoader): */ - __Pyx_TraceLine(89,0,__PYX_ERR(1, 89, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_yaml); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 89, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_add_constructor); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 89, __pyx_L1_error) @@ -114018,7 +109572,6 @@ if (!__Pyx_RefNanny) { * """Custom YAML loader. * */ - __Pyx_TraceLine(91,0,__PYX_ERR(1, 91, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_yaml); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 91, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_SafeLoader); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 91, __pyx_L1_error) @@ -114048,7 +109601,6 @@ if (!__Pyx_RefNanny) { * YamlLoader.add_constructor('!path', yaml_env_marker_constructor) * else: */ - __Pyx_TraceLine(97,0,__PYX_ERR(1, 97, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_YamlLoader); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 97, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_add_implicit_resolver); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 97, __pyx_L1_error) @@ -114080,7 +109632,6 @@ if (!__Pyx_RefNanny) { * else: * class YamlLoader: */ - __Pyx_TraceLine(98,0,__PYX_ERR(1, 98, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_YamlLoader); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 98, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_add_constructor); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 98, __pyx_L1_error) @@ -114119,7 +109670,6 @@ if (!__Pyx_RefNanny) { * """Custom YAML loader. * */ - __Pyx_TraceLine(100,0,__PYX_ERR(1, 100, __pyx_L1_error)) /*else*/ { __pyx_t_9 = __Pyx_Py3MetaclassPrepare((PyObject *) NULL, __pyx_empty_tuple, __pyx_n_s_YamlLoader, __pyx_n_s_YamlLoader, (PyObject *) NULL, __pyx_n_s_dependency_injector_providers, __pyx_kp_s_Custom_YAML_loader_Inherits_yaml); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 100, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); @@ -114138,7 +109688,6 @@ if (!__Pyx_RefNanny) { * * cdef int ASYNC_MODE_UNDEFINED = 0 */ - __Pyx_TraceLine(107,0,__PYX_ERR(1, 107, __pyx_L1_error)) __pyx_t_9 = __Pyx_PyObject_CallNoArg(__pyx_builtin_object); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 107, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); if (PyDict_SetItem(__pyx_d, __pyx_n_s_UNDEFINED, __pyx_t_9) < 0) __PYX_ERR(1, 107, __pyx_L1_error) @@ -114151,7 +109700,6 @@ if (!__Pyx_RefNanny) { * cdef int ASYNC_MODE_ENABLED = 1 * cdef int ASYNC_MODE_DISABLED = 2 */ - __Pyx_TraceLine(109,0,__PYX_ERR(1, 109, __pyx_L1_error)) __pyx_v_19dependency_injector_9providers_ASYNC_MODE_UNDEFINED = 0; /* "dependency_injector/providers.pyx":110 @@ -114161,7 +109709,6 @@ if (!__Pyx_RefNanny) { * cdef int ASYNC_MODE_DISABLED = 2 * */ - __Pyx_TraceLine(110,0,__PYX_ERR(1, 110, __pyx_L1_error)) __pyx_v_19dependency_injector_9providers_ASYNC_MODE_ENABLED = 1; /* "dependency_injector/providers.pyx":111 @@ -114171,7 +109718,6 @@ if (!__Pyx_RefNanny) { * * */ - __Pyx_TraceLine(111,0,__PYX_ERR(1, 111, __pyx_L1_error)) __pyx_v_19dependency_injector_9providers_ASYNC_MODE_DISABLED = 2; /* "dependency_injector/providers.pyx":162 @@ -114181,7 +109727,6 @@ if (!__Pyx_RefNanny) { * * overriding_lock = threading.RLock() */ - __Pyx_TraceLine(162,0,__PYX_ERR(1, 162, __pyx_L1_error)) if (PyDict_SetItem((PyObject *)__pyx_ptype_19dependency_injector_9providers_Provider->tp_dict, __pyx_n_s_IS_PROVIDER, Py_True) < 0) __PYX_ERR(1, 162, __pyx_L1_error) PyType_Modified(__pyx_ptype_19dependency_injector_9providers_Provider); @@ -114192,7 +109737,6 @@ if (!__Pyx_RefNanny) { * """Overriding reentrant lock. * */ - __Pyx_TraceLine(164,0,__PYX_ERR(1, 164, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_threading); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 164, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_RLock); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 164, __pyx_L1_error) @@ -114224,7 +109768,6 @@ if (!__Pyx_RefNanny) { * return cls * */ - __Pyx_TraceLine(215,0,__PYX_ERR(1, 215, __pyx_L1_error)) __Pyx_GetNameInClass(__pyx_t_9, (PyObject *)__pyx_ptype_19dependency_injector_9providers_Provider, __pyx_n_s_class_getitem); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 215, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); @@ -114235,7 +109778,6 @@ if (!__Pyx_RefNanny) { * def __class_getitem__(cls, item): * return cls */ - __Pyx_TraceLine(214,0,__PYX_ERR(1, 214, __pyx_L1_error)) __pyx_t_1 = __Pyx_Method_ClassMethod(__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 214, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; @@ -114243,46 +109785,6 @@ if (!__Pyx_RefNanny) { __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; PyType_Modified(__pyx_ptype_19dependency_injector_9providers_Provider); - /* "dependency_injector/providers.pyx":366 - * return self.__async_mode == ASYNC_MODE_UNDEFINED - * - * cpdef object _provide(self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * """Providing strategy implementation. - * - */ - __Pyx_TraceLine(366,0,__PYX_ERR(1, 366, __pyx_L1_error)) - - - /* "dependency_injector/providers.pyx":375 - * raise NotImplementedError() - * - * cpdef void _copy_overridings(self, Provider copied, dict memo): # <<<<<<<<<<<<<< - * """Copy provider overridings to a newly copied provider.""" - * copied.__overridden = deepcopy(self.__overridden, memo) - */ - __Pyx_TraceLine(375,0,__PYX_ERR(1, 375, __pyx_L1_error)) - - - /* "dependency_injector/providers.pyx":426 - * return self.__str__() - * - * cpdef object _provide(self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * """Return provided instance. - * - */ - __Pyx_TraceLine(426,0,__PYX_ERR(1, 426, __pyx_L1_error)) - - - /* "dependency_injector/providers.pyx":490 - * return self.__provides - * - * cpdef object _provide(self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * """Return provided instance. - * - */ - __Pyx_TraceLine(490,0,__PYX_ERR(1, 490, __pyx_L1_error)) - - /* "dependency_injector/providers.pyx":527 * """ * @@ -114290,33 +109792,12 @@ if (!__Pyx_RefNanny) { * """Initializer.""" * if not isinstance(instance_of, CLASS_TYPES): */ - __Pyx_TraceLine(527,0,__PYX_ERR(1, 527, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_UNDEFINED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 527, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_k__8 = __pyx_t_1; + __pyx_k__4 = __pyx_t_1; __Pyx_GIVEREF(__pyx_t_1); __pyx_t_1 = 0; - /* "dependency_injector/providers.pyx":793 - * super(DependenciesContainer, self).reset_override() - * - * cpdef object _override_providers(self, object container): # <<<<<<<<<<<<<< - * """Override providers with providers from provided container.""" - * for name, dependency_provider in container.providers.items(): - */ - __Pyx_TraceLine(793,0,__PYX_ERR(1, 793, __pyx_L1_error)) - - - /* "dependency_injector/providers.pyx":1001 - * return self - * - * cpdef object _provide(self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * """Return result of provided callable's call.""" - * return __callable_call(self, args, kwargs) - */ - __Pyx_TraceLine(1001,0,__PYX_ERR(1, 1001, __pyx_L1_error)) - - /* "dependency_injector/providers.pyx":1012 * """ * @@ -114324,20 +109805,9 @@ if (!__Pyx_RefNanny) { * * */ - __Pyx_TraceLine(1012,0,__PYX_ERR(1, 1012, __pyx_L1_error)) if (PyDict_SetItem((PyObject *)__pyx_ptype_19dependency_injector_9providers_DelegatedCallable->tp_dict, __pyx_n_s_IS_DELEGATED, Py_True) < 0) __PYX_ERR(1, 1012, __pyx_L1_error) PyType_Modified(__pyx_ptype_19dependency_injector_9providers_DelegatedCallable); - /* "dependency_injector/providers.pyx":1050 - * return super(AbstractCallable, self).override(provider) - * - * cpdef object _provide(self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * """Return result of provided callable's call.""" - * raise NotImplementedError('Abstract provider forward providing logic ' - */ - __Pyx_TraceLine(1050,0,__PYX_ERR(1, 1050, __pyx_L1_error)) - - /* "dependency_injector/providers.pyx":1102 * """ * @@ -114345,7 +109815,6 @@ if (!__Pyx_RefNanny) { * * def __init__(self, provides, *args, **kwargs): */ - __Pyx_TraceLine(1102,0,__PYX_ERR(1, 1102, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_is_coroutine_marker); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1102, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem((PyObject *)__pyx_ptype_19dependency_injector_9providers_Coroutine->tp_dict, __pyx_n_s_is_coroutine, __pyx_t_1) < 0) __PYX_ERR(1, 1102, __pyx_L1_error) @@ -114359,30 +109828,9 @@ if (!__Pyx_RefNanny) { * * */ - __Pyx_TraceLine(1128,0,__PYX_ERR(1, 1128, __pyx_L1_error)) if (PyDict_SetItem((PyObject *)__pyx_ptype_19dependency_injector_9providers_DelegatedCoroutine->tp_dict, __pyx_n_s_IS_DELEGATED, Py_True) < 0) __PYX_ERR(1, 1128, __pyx_L1_error) PyType_Modified(__pyx_ptype_19dependency_injector_9providers_DelegatedCoroutine); - /* "dependency_injector/providers.pyx":1166 - * return super(AbstractCoroutine, self).override(provider) - * - * cpdef object _provide(self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * """Return result of provided callable's call.""" - * raise NotImplementedError('Abstract provider forward providing logic ' - */ - __Pyx_TraceLine(1166,0,__PYX_ERR(1, 1166, __pyx_L1_error)) - - - /* "dependency_injector/providers.pyx":1249 - * return child - * - * cpdef object _provide(self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * """Return new instance.""" - * if self.__cache is not UNDEFINED: - */ - __Pyx_TraceLine(1249,0,__PYX_ERR(1, 1249, __pyx_L1_error)) - - /* "dependency_injector/providers.pyx":1318 * self.override(value) * @@ -114390,10 +109838,9 @@ if (!__Pyx_RefNanny) { * """Load configuration from the ini file. * */ - __Pyx_TraceLine(1318,0,__PYX_ERR(1, 1318, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_UNDEFINED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1318, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_k__12 = __pyx_t_1; + __pyx_k__8 = __pyx_t_1; __Pyx_GIVEREF(__pyx_t_1); __pyx_t_1 = 0; @@ -114404,10 +109851,9 @@ if (!__Pyx_RefNanny) { * """Load configuration from the yaml file. * */ - __Pyx_TraceLine(1350,0,__PYX_ERR(1, 1350, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_UNDEFINED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1350, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_k__13 = __pyx_t_1; + __pyx_k__9 = __pyx_t_1; __Pyx_GIVEREF(__pyx_t_1); __pyx_t_1 = 0; @@ -114418,10 +109864,9 @@ if (!__Pyx_RefNanny) { * """Load configuration from the dictionary. * */ - __Pyx_TraceLine(1393,0,__PYX_ERR(1, 1393, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_UNDEFINED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1393, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_k__14 = __pyx_t_1; + __pyx_k__10 = __pyx_t_1; __Pyx_GIVEREF(__pyx_t_1); __pyx_t_1 = 0; @@ -114432,15 +109877,14 @@ if (!__Pyx_RefNanny) { * """Load configuration value from the environment variable. * */ - __Pyx_TraceLine(1421,0,__PYX_ERR(1, 1421, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_UNDEFINED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1421, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_k__16 = __pyx_t_1; + __pyx_k__12 = __pyx_t_1; __Pyx_GIVEREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_UNDEFINED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1421, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_k__17 = __pyx_t_1; + __pyx_k__13 = __pyx_t_1; __Pyx_GIVEREF(__pyx_t_1); __pyx_t_1 = 0; @@ -114451,7 +109895,6 @@ if (!__Pyx_RefNanny) { * * def __init__(self, name=DEFAULT_NAME, default=None, strict=False): */ - __Pyx_TraceLine(1476,0,__PYX_ERR(1, 1476, __pyx_L1_error)) if (PyDict_SetItem((PyObject *)__pyx_ptype_19dependency_injector_9providers_Configuration->tp_dict, __pyx_n_s_DEFAULT_NAME, __pyx_n_s_config) < 0) __PYX_ERR(1, 1476, __pyx_L1_error) PyType_Modified(__pyx_ptype_19dependency_injector_9providers_Configuration); @@ -114462,10 +109905,9 @@ if (!__Pyx_RefNanny) { * self.__name = name * self.__strict = strict */ - __Pyx_TraceLine(1478,0,__PYX_ERR(1, 1478, __pyx_L1_error)) __Pyx_GetNameInClass(__pyx_t_1, (PyObject *)__pyx_ptype_19dependency_injector_9providers_Configuration, __pyx_n_s_DEFAULT_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1478, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_k__18 = __pyx_t_1; + __pyx_k__14 = __pyx_t_1; __Pyx_GIVEREF(__pyx_t_1); __pyx_t_1 = 0; @@ -114476,10 +109918,9 @@ if (!__Pyx_RefNanny) { * """Load configuration from the ini file. * */ - __Pyx_TraceLine(1645,0,__PYX_ERR(1, 1645, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_UNDEFINED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1645, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_k__19 = __pyx_t_1; + __pyx_k__15 = __pyx_t_1; __Pyx_GIVEREF(__pyx_t_1); __pyx_t_1 = 0; @@ -114490,10 +109931,9 @@ if (!__Pyx_RefNanny) { * """Load configuration from the yaml file. * */ - __Pyx_TraceLine(1677,0,__PYX_ERR(1, 1677, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_UNDEFINED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1677, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_k__20 = __pyx_t_1; + __pyx_k__16 = __pyx_t_1; __Pyx_GIVEREF(__pyx_t_1); __pyx_t_1 = 0; @@ -114504,10 +109944,9 @@ if (!__Pyx_RefNanny) { * """Load configuration from the dictionary. * */ - __Pyx_TraceLine(1719,0,__PYX_ERR(1, 1719, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_UNDEFINED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1719, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_k__21 = __pyx_t_1; + __pyx_k__17 = __pyx_t_1; __Pyx_GIVEREF(__pyx_t_1); __pyx_t_1 = 0; @@ -114518,15 +109957,14 @@ if (!__Pyx_RefNanny) { * """Load configuration value from the environment variable. * */ - __Pyx_TraceLine(1742,0,__PYX_ERR(1, 1742, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_UNDEFINED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1742, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_k__22 = __pyx_t_1; + __pyx_k__18 = __pyx_t_1; __Pyx_GIVEREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_UNDEFINED); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1742, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_k__23 = __pyx_t_1; + __pyx_k__19 = __pyx_t_1; __Pyx_GIVEREF(__pyx_t_1); __pyx_t_1 = 0; @@ -114537,20 +109975,9 @@ if (!__Pyx_RefNanny) { * * def __init__(self, provides, *args, **kwargs): */ - __Pyx_TraceLine(1821,0,__PYX_ERR(1, 1821, __pyx_L1_error)) if (PyDict_SetItem((PyObject *)__pyx_ptype_19dependency_injector_9providers_Factory->tp_dict, __pyx_n_s_provided_type, Py_None) < 0) __PYX_ERR(1, 1821, __pyx_L1_error) PyType_Modified(__pyx_ptype_19dependency_injector_9providers_Factory); - /* "dependency_injector/providers.pyx":1982 - * return self - * - * cpdef object _provide(self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * """Return new instance.""" - * return __factory_call(self, args, kwargs) - */ - __Pyx_TraceLine(1982,0,__PYX_ERR(1, 1982, __pyx_L1_error)) - - /* "dependency_injector/providers.pyx":2006 * """ * @@ -114558,20 +109985,9 @@ if (!__Pyx_RefNanny) { * * */ - __Pyx_TraceLine(2006,0,__PYX_ERR(1, 2006, __pyx_L1_error)) if (PyDict_SetItem((PyObject *)__pyx_ptype_19dependency_injector_9providers_DelegatedFactory->tp_dict, __pyx_n_s_IS_DELEGATED, Py_True) < 0) __PYX_ERR(1, 2006, __pyx_L1_error) PyType_Modified(__pyx_ptype_19dependency_injector_9providers_DelegatedFactory); - /* "dependency_injector/providers.pyx":2044 - * return super(AbstractFactory, self).override(provider) - * - * cpdef object _provide(self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * """Return result of provided callable's call.""" - * raise NotImplementedError('Abstract provider forward providing logic ' - */ - __Pyx_TraceLine(2044,0,__PYX_ERR(1, 2044, __pyx_L1_error)) - - /* "dependency_injector/providers.pyx":2086 * """ * @@ -114579,30 +109995,9 @@ if (!__Pyx_RefNanny) { * * def __init__(self, **factories): */ - __Pyx_TraceLine(2086,0,__PYX_ERR(1, 2086, __pyx_L1_error)) if (PyDict_SetItem((PyObject *)__pyx_ptype_19dependency_injector_9providers_FactoryAggregate->tp_dict, __pyx_n_s_IS_DELEGATED, Py_True) < 0) __PYX_ERR(1, 2086, __pyx_L1_error) PyType_Modified(__pyx_ptype_19dependency_injector_9providers_FactoryAggregate); - /* "dependency_injector/providers.pyx":2144 - * '{0} providers could not be overridden'.format(self.__class__)) - * - * cpdef object _provide(self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * try: - * factory_name = args[0] - */ - __Pyx_TraceLine(2144,0,__PYX_ERR(1, 2144, __pyx_L1_error)) - - - /* "dependency_injector/providers.pyx":2157 - * return self.__get_factory(factory_name)(*args, **kwargs) - * - * cdef Factory __get_factory(self, str factory_name): # <<<<<<<<<<<<<< - * if factory_name not in self.__factories: - * raise NoSuchProviderError( - */ - __Pyx_TraceLine(2157,0,__PYX_ERR(1, 2157, __pyx_L1_error)) - - /* "dependency_injector/providers.pyx":2168 * """Base class of singleton providers.""" * @@ -114610,20 +110005,9 @@ if (!__Pyx_RefNanny) { * * def __init__(self, provides, *args, **kwargs): */ - __Pyx_TraceLine(2168,0,__PYX_ERR(1, 2168, __pyx_L1_error)) if (PyDict_SetItem((PyObject *)__pyx_ptype_19dependency_injector_9providers_BaseSingleton->tp_dict, __pyx_n_s_provided_type, Py_None) < 0) __PYX_ERR(1, 2168, __pyx_L1_error) PyType_Modified(__pyx_ptype_19dependency_injector_9providers_BaseSingleton); - /* "dependency_injector/providers.pyx":2378 - * self.__storage = None - * - * cpdef object _provide(self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * """Return single instance.""" - * if self.__storage is None: - */ - __Pyx_TraceLine(2378,0,__PYX_ERR(1, 2378, __pyx_L1_error)) - - /* "dependency_injector/providers.pyx":2414 * """ * @@ -114631,7 +110015,6 @@ if (!__Pyx_RefNanny) { * * */ - __Pyx_TraceLine(2414,0,__PYX_ERR(1, 2414, __pyx_L1_error)) if (PyDict_SetItem((PyObject *)__pyx_ptype_19dependency_injector_9providers_DelegatedSingleton->tp_dict, __pyx_n_s_IS_DELEGATED, Py_True) < 0) __PYX_ERR(1, 2414, __pyx_L1_error) PyType_Modified(__pyx_ptype_19dependency_injector_9providers_DelegatedSingleton); @@ -114642,7 +110025,6 @@ if (!__Pyx_RefNanny) { * """Storage reentrant lock. * */ - __Pyx_TraceLine(2420,0,__PYX_ERR(1, 2420, __pyx_L1_error)) __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_threading); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 2420, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_RLock); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 2420, __pyx_L1_error) @@ -114667,16 +110049,6 @@ if (!__Pyx_RefNanny) { __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; PyType_Modified(__pyx_ptype_19dependency_injector_9providers_ThreadSafeSingleton); - /* "dependency_injector/providers.pyx":2447 - * - * - * cpdef object _provide(self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * """Return single instance.""" - * instance = self.__storage - */ - __Pyx_TraceLine(2447,0,__PYX_ERR(1, 2447, __pyx_L1_error)) - - /* "dependency_injector/providers.pyx":2487 * """ * @@ -114684,20 +110056,9 @@ if (!__Pyx_RefNanny) { * * */ - __Pyx_TraceLine(2487,0,__PYX_ERR(1, 2487, __pyx_L1_error)) if (PyDict_SetItem((PyObject *)__pyx_ptype_19dependency_injector_9providers_DelegatedThreadSafeSingleton->tp_dict, __pyx_n_s_IS_DELEGATED, Py_True) < 0) __PYX_ERR(1, 2487, __pyx_L1_error) PyType_Modified(__pyx_ptype_19dependency_injector_9providers_DelegatedThreadSafeSingleton); - /* "dependency_injector/providers.pyx":2527 - * del self.__storage.instance - * - * cpdef object _provide(self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * """Return single instance.""" - * cdef object instance - */ - __Pyx_TraceLine(2527,0,__PYX_ERR(1, 2527, __pyx_L1_error)) - - /* "dependency_injector/providers.pyx":2577 * """ * @@ -114705,40 +110066,9 @@ if (!__Pyx_RefNanny) { * * */ - __Pyx_TraceLine(2577,0,__PYX_ERR(1, 2577, __pyx_L1_error)) if (PyDict_SetItem((PyObject *)__pyx_ptype_19dependency_injector_9providers_DelegatedThreadLocalSingleton->tp_dict, __pyx_n_s_IS_DELEGATED, Py_True) < 0) __PYX_ERR(1, 2577, __pyx_L1_error) PyType_Modified(__pyx_ptype_19dependency_injector_9providers_DelegatedThreadLocalSingleton); - /* "dependency_injector/providers.pyx":2744 - * return self - * - * cpdef object _provide(self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * """Return result of provided callable's call.""" - * return list(__provide_positional_args(args, self.__args, self.__args_len)) - */ - __Pyx_TraceLine(2744,0,__PYX_ERR(1, 2744, __pyx_L1_error)) - - - /* "dependency_injector/providers.pyx":2856 - * return self - * - * cpdef object _provide(self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * """Return result of provided callable's call.""" - * return __provide_keyword_args(kwargs, self.__kwargs, self.__kwargs_len) - */ - __Pyx_TraceLine(2856,0,__PYX_ERR(1, 2856, __pyx_L1_error)) - - - /* "dependency_injector/providers.pyx":3024 - * return result - * - * cpdef object _provide(self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * if self.__initialized: - * return self.__resource - */ - __Pyx_TraceLine(3024,0,__PYX_ERR(1, 3024, __pyx_L1_error)) - - /* "dependency_injector/providers.pyx":3165 * * @staticmethod @@ -114746,7 +110076,6 @@ if (!__Pyx_RefNanny) { * if sys.version_info < (3, 5): * return False */ - __Pyx_TraceLine(3165,0,__PYX_ERR(1, 3165, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_8Resource_39_is_resource_subclass, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3165, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem((PyObject *)__pyx_ptype_19dependency_injector_9providers_Resource->tp_dict, __pyx_n_s_is_resource_subclass, __pyx_t_1) < 0) __PYX_ERR(1, 3165, __pyx_L1_error) @@ -114760,7 +110089,6 @@ if (!__Pyx_RefNanny) { * def _is_resource_subclass(instance): * if sys.version_info < (3, 5): */ - __Pyx_TraceLine(3164,0,__PYX_ERR(1, 3164, __pyx_L1_error)) __Pyx_GetNameInClass(__pyx_t_1, (PyObject *)__pyx_ptype_19dependency_injector_9providers_Resource, __pyx_n_s_is_resource_subclass); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3165, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_8 = __Pyx_PyObject_CallOneArg(__pyx_builtin_staticmethod, __pyx_t_1); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 3164, __pyx_L1_error) @@ -114777,7 +110105,6 @@ if (!__Pyx_RefNanny) { * if sys.version_info < (3, 5): * return False */ - __Pyx_TraceLine(3174,0,__PYX_ERR(1, 3174, __pyx_L1_error)) __pyx_t_8 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_8Resource_41_is_async_resource_subclass, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 3174, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); if (PyDict_SetItem((PyObject *)__pyx_ptype_19dependency_injector_9providers_Resource->tp_dict, __pyx_n_s_is_async_resource_subclass, __pyx_t_8) < 0) __PYX_ERR(1, 3174, __pyx_L1_error) @@ -114791,7 +110118,6 @@ if (!__Pyx_RefNanny) { * def _is_async_resource_subclass(instance): * if sys.version_info < (3, 5): */ - __Pyx_TraceLine(3173,0,__PYX_ERR(1, 3173, __pyx_L1_error)) __Pyx_GetNameInClass(__pyx_t_8, (PyObject *)__pyx_ptype_19dependency_injector_9providers_Resource, __pyx_n_s_is_async_resource_subclass); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 3174, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_builtin_staticmethod, __pyx_t_8); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3173, __pyx_L1_error) @@ -114801,136 +110127,6 @@ if (!__Pyx_RefNanny) { __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; PyType_Modified(__pyx_ptype_19dependency_injector_9providers_Resource); - /* "dependency_injector/providers.pyx":3249 - * self.__container.override_providers(**self.__overriding_providers) - * - * cpdef object _provide(self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * """Return single instance.""" - * return self.__container - */ - __Pyx_TraceLine(3249,0,__PYX_ERR(1, 3249, __pyx_L1_error)) - - - /* "dependency_injector/providers.pyx":3338 - * return dict(self.__providers) - * - * cpdef object _provide(self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * """Return single instance.""" - * selector_value = self.__selector() - */ - __Pyx_TraceLine(3338,0,__PYX_ERR(1, 3338, __pyx_L1_error)) - - - /* "dependency_injector/providers.pyx":3414 - * return MethodCaller(self, *args, **kwargs) - * - * cpdef object _provide(self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * return self.__provider(*args, **kwargs) - * - */ - __Pyx_TraceLine(3414,0,__PYX_ERR(1, 3414, __pyx_L1_error)) - - - /* "dependency_injector/providers.pyx":3463 - * return MethodCaller(self, *args, **kwargs) - * - * cpdef object _provide(self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * provided = self.__provider(*args, **kwargs) - * if __isawaitable(provided): - */ - __Pyx_TraceLine(3463,0,__PYX_ERR(1, 3463, __pyx_L1_error)) - - - /* "dependency_injector/providers.pyx":3523 - * return MethodCaller(self, *args, **kwargs) - * - * cpdef object _provide(self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * provided = self.__provider(*args, **kwargs) - * if __isawaitable(provided): - */ - __Pyx_TraceLine(3523,0,__PYX_ERR(1, 3523, __pyx_L1_error)) - - - /* "dependency_injector/providers.pyx":3615 - * return MethodCaller(self, *args, **kwargs) - * - * cpdef object _provide(self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * call = self.__provider() - * if __isawaitable(call): - */ - __Pyx_TraceLine(3615,0,__PYX_ERR(1, 3615, __pyx_L1_error)) - - - /* "dependency_injector/providers.pyx":3714 - * @cython.boundscheck(False) - * @cython.wraparound(False) - * cpdef tuple parse_positional_injections(tuple args): # <<<<<<<<<<<<<< - * """Parse positional injections.""" - * cdef list injections = list() - */ - __Pyx_TraceLine(3714,0,__PYX_ERR(1, 3714, __pyx_L1_error)) - - - /* "dependency_injector/providers.pyx":3733 - * @cython.boundscheck(False) - * @cython.wraparound(False) - * cpdef tuple parse_named_injections(dict kwargs): # <<<<<<<<<<<<<< - * """Parse named injections.""" - * cdef list injections = list() - */ - __Pyx_TraceLine(3733,0,__PYX_ERR(1, 3733, __pyx_L1_error)) - - - /* "dependency_injector/providers.pyx":3748 - * - * - * cpdef bint is_provider(object instance): # <<<<<<<<<<<<<< - * """Check if instance is provider instance. - * - */ - __Pyx_TraceLine(3748,0,__PYX_ERR(1, 3748, __pyx_L1_error)) - - - /* "dependency_injector/providers.pyx":3760 - * - * - * cpdef object ensure_is_provider(object instance): # <<<<<<<<<<<<<< - * """Check if instance is provider instance and return it. - * - */ - __Pyx_TraceLine(3760,0,__PYX_ERR(1, 3760, __pyx_L1_error)) - - - /* "dependency_injector/providers.pyx":3777 - * - * - * cpdef bint is_delegated(object instance): # <<<<<<<<<<<<<< - * """Check if instance is delegated provider. - * - */ - __Pyx_TraceLine(3777,0,__PYX_ERR(1, 3777, __pyx_L1_error)) - - - /* "dependency_injector/providers.pyx":3789 - * - * - * cpdef str represent_provider(object provider, object provides): # <<<<<<<<<<<<<< - * """Return string representation of provider. - * - */ - __Pyx_TraceLine(3789,0,__PYX_ERR(1, 3789, __pyx_L1_error)) - - - /* "dependency_injector/providers.pyx":3808 - * - * - * cpdef object deepcopy(object instance, dict memo=None): # <<<<<<<<<<<<<< - * """Return full copy of provider or container with providers.""" - * if memo is None: - */ - __Pyx_TraceLine(3808,0,__PYX_ERR(1, 3808, __pyx_L1_error)) - - /* "dependency_injector/providers.pyx":3817 * return copy.deepcopy(instance, memo) * @@ -114938,7 +110134,6 @@ if (!__Pyx_RefNanny) { * """Add system streams to memo dictionary. * */ - __Pyx_TraceLine(3817,0,__PYX_ERR(1, 3817, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_21__add_sys_streams, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3817, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_add_sys_streams, __pyx_t_1) < 0) __PYX_ERR(1, 3817, __pyx_L1_error) @@ -114951,7 +110146,6 @@ if (!__Pyx_RefNanny) { * """Merge dictionaries recursively. * */ - __Pyx_TraceLine(3828,0,__PYX_ERR(1, 3828, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_23merge_dicts, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3828, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_merge_dicts, __pyx_t_1) < 0) __PYX_ERR(1, 3828, __pyx_L1_error) @@ -114964,7 +110158,6 @@ if (!__Pyx_RefNanny) { * """Check if object is a coroutine function. * */ - __Pyx_TraceLine(3849,0,__PYX_ERR(1, 3849, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_25isawaitable, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3849, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_isawaitable, __pyx_t_1) < 0) __PYX_ERR(1, 3849, __pyx_L1_error) @@ -114977,7 +110170,6 @@ if (!__Pyx_RefNanny) { * """Check if object is a coroutine function. * */ - __Pyx_TraceLine(3860,0,__PYX_ERR(1, 3860, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_27iscoroutinefunction, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3860, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_iscoroutinefunction, __pyx_t_1) < 0) __PYX_ERR(1, 3860, __pyx_L1_error) @@ -114990,7 +110182,6 @@ if (!__Pyx_RefNanny) { * """Check if object is an asynchronous generator function. * */ - __Pyx_TraceLine(3871,0,__PYX_ERR(1, 3871, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_29isasyncgenfunction, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 3871, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_isasyncgenfunction, __pyx_t_1) < 0) __PYX_ERR(1, 3871, __pyx_L1_error) @@ -115001,7 +110192,6 @@ if (!__Pyx_RefNanny) { * cdef object __pyx_PickleError * cdef object __pyx_result */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_32__pyx_unpickle_Provider, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_Provider, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) @@ -115014,36 +110204,16 @@ if (!__Pyx_RefNanny) { * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__last_overriding = __pyx_state[1]; __pyx_result.__overridden = __pyx_state[2] * if len(__pyx_state) > 3 and hasattr(__pyx_result, '__dict__'): */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - - /* "(tree fragment)":1 - * def __pyx_unpickle_Object(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< - * cdef object __pyx_PickleError - * cdef object __pyx_result - */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_34__pyx_unpickle_Object, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_Object, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "(tree fragment)":11 - * __pyx_unpickle_Object__set_state( __pyx_result, __pyx_state) - * return __pyx_result - * cdef __pyx_unpickle_Object__set_state(Object __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< - * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__last_overriding = __pyx_state[1]; __pyx_result.__overridden = __pyx_state[2]; __pyx_result.__provides = __pyx_state[3] - * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): - */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - /* "(tree fragment)":1 * def __pyx_unpickle_Delegate(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_36__pyx_unpickle_Delegate, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_Delegate, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) @@ -115056,36 +110226,16 @@ if (!__Pyx_RefNanny) { * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__last_overriding = __pyx_state[1]; __pyx_result.__overridden = __pyx_state[2]; __pyx_result.__provides = __pyx_state[3] * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - - /* "(tree fragment)":1 - * def __pyx_unpickle_Dependency(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< - * cdef object __pyx_PickleError - * cdef object __pyx_result - */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_38__pyx_unpickle_Dependency, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_Dependency, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "(tree fragment)":11 - * __pyx_unpickle_Dependency__set_state( __pyx_result, __pyx_state) - * return __pyx_result - * cdef __pyx_unpickle_Dependency__set_state(Dependency __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< - * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__default = __pyx_state[1]; __pyx_result.__instance_of = __pyx_state[2]; __pyx_result.__last_overriding = __pyx_state[3]; __pyx_result.__overridden = __pyx_state[4] - * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): - */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - /* "(tree fragment)":1 * def __pyx_unpickle_ExternalDependency(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_40__pyx_unpickle_ExternalDependency, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_ExternalDependenc, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) @@ -115098,36 +110248,16 @@ if (!__Pyx_RefNanny) { * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__default = __pyx_state[1]; __pyx_result.__instance_of = __pyx_state[2]; __pyx_result.__last_overriding = __pyx_state[3]; __pyx_result.__overridden = __pyx_state[4] * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - - /* "(tree fragment)":1 - * def __pyx_unpickle_DependenciesContainer(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< - * cdef object __pyx_PickleError - * cdef object __pyx_result - */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_42__pyx_unpickle_DependenciesContainer, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_DependenciesConta, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "(tree fragment)":11 - * __pyx_unpickle_DependenciesContainer__set_state( __pyx_result, __pyx_state) - * return __pyx_result - * cdef __pyx_unpickle_DependenciesContainer__set_state(DependenciesContainer __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< - * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__last_overriding = __pyx_state[1]; __pyx_result.__overridden = __pyx_state[2]; __pyx_result.__providers = __pyx_state[3]; __pyx_result.__provides = __pyx_state[4] - * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): - */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - /* "(tree fragment)":1 * def __pyx_unpickle_OverridingContext(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_44__pyx_unpickle_OverridingContext, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_OverridingContext, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) @@ -115140,36 +110270,16 @@ if (!__Pyx_RefNanny) { * __pyx_result.__overridden = __pyx_state[0]; __pyx_result.__overriding = __pyx_state[1] * if len(__pyx_state) > 2 and hasattr(__pyx_result, '__dict__'): */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - - /* "(tree fragment)":1 - * def __pyx_unpickle_Callable(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< - * cdef object __pyx_PickleError - * cdef object __pyx_result - */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_46__pyx_unpickle_Callable, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_Callable, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "(tree fragment)":11 - * __pyx_unpickle_Callable__set_state( __pyx_result, __pyx_state) - * return __pyx_result - * cdef __pyx_unpickle_Callable__set_state(Callable __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< - * __pyx_result.__args = __pyx_state[0]; __pyx_result.__args_len = __pyx_state[1]; __pyx_result.__async_mode = __pyx_state[2]; __pyx_result.__kwargs = __pyx_state[3]; __pyx_result.__kwargs_len = __pyx_state[4]; __pyx_result.__last_overriding = __pyx_state[5]; __pyx_result.__overridden = __pyx_state[6]; __pyx_result.__provides = __pyx_state[7] - * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): - */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - /* "(tree fragment)":1 * def __pyx_unpickle_DelegatedCallable(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_48__pyx_unpickle_DelegatedCallable, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_DelegatedCallable, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) @@ -115182,36 +110292,16 @@ if (!__Pyx_RefNanny) { * __pyx_result.__args = __pyx_state[0]; __pyx_result.__args_len = __pyx_state[1]; __pyx_result.__async_mode = __pyx_state[2]; __pyx_result.__kwargs = __pyx_state[3]; __pyx_result.__kwargs_len = __pyx_state[4]; __pyx_result.__last_overriding = __pyx_state[5]; __pyx_result.__overridden = __pyx_state[6]; __pyx_result.__provides = __pyx_state[7] * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - - /* "(tree fragment)":1 - * def __pyx_unpickle_AbstractCallable(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< - * cdef object __pyx_PickleError - * cdef object __pyx_result - */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_50__pyx_unpickle_AbstractCallable, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_AbstractCallable, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "(tree fragment)":11 - * __pyx_unpickle_AbstractCallable__set_state( __pyx_result, __pyx_state) - * return __pyx_result - * cdef __pyx_unpickle_AbstractCallable__set_state(AbstractCallable __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< - * __pyx_result.__args = __pyx_state[0]; __pyx_result.__args_len = __pyx_state[1]; __pyx_result.__async_mode = __pyx_state[2]; __pyx_result.__kwargs = __pyx_state[3]; __pyx_result.__kwargs_len = __pyx_state[4]; __pyx_result.__last_overriding = __pyx_state[5]; __pyx_result.__overridden = __pyx_state[6]; __pyx_result.__provides = __pyx_state[7] - * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): - */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - /* "(tree fragment)":1 * def __pyx_unpickle_CallableDelegate(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_52__pyx_unpickle_CallableDelegate, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_CallableDelegate, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) @@ -115224,36 +110314,16 @@ if (!__Pyx_RefNanny) { * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__last_overriding = __pyx_state[1]; __pyx_result.__overridden = __pyx_state[2]; __pyx_result.__provides = __pyx_state[3] * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - - /* "(tree fragment)":1 - * def __pyx_unpickle_Coroutine(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< - * cdef object __pyx_PickleError - * cdef object __pyx_result - */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_54__pyx_unpickle_Coroutine, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_Coroutine, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "(tree fragment)":11 - * __pyx_unpickle_Coroutine__set_state( __pyx_result, __pyx_state) - * return __pyx_result - * cdef __pyx_unpickle_Coroutine__set_state(Coroutine __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< - * __pyx_result.__args = __pyx_state[0]; __pyx_result.__args_len = __pyx_state[1]; __pyx_result.__async_mode = __pyx_state[2]; __pyx_result.__kwargs = __pyx_state[3]; __pyx_result.__kwargs_len = __pyx_state[4]; __pyx_result.__last_overriding = __pyx_state[5]; __pyx_result.__overridden = __pyx_state[6]; __pyx_result.__provides = __pyx_state[7] - * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): - */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - /* "(tree fragment)":1 * def __pyx_unpickle_DelegatedCoroutine(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_56__pyx_unpickle_DelegatedCoroutine, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_DelegatedCoroutin, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) @@ -115266,36 +110336,16 @@ if (!__Pyx_RefNanny) { * __pyx_result.__args = __pyx_state[0]; __pyx_result.__args_len = __pyx_state[1]; __pyx_result.__async_mode = __pyx_state[2]; __pyx_result.__kwargs = __pyx_state[3]; __pyx_result.__kwargs_len = __pyx_state[4]; __pyx_result.__last_overriding = __pyx_state[5]; __pyx_result.__overridden = __pyx_state[6]; __pyx_result.__provides = __pyx_state[7] * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - - /* "(tree fragment)":1 - * def __pyx_unpickle_AbstractCoroutine(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< - * cdef object __pyx_PickleError - * cdef object __pyx_result - */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_58__pyx_unpickle_AbstractCoroutine, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_AbstractCoroutine, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "(tree fragment)":11 - * __pyx_unpickle_AbstractCoroutine__set_state( __pyx_result, __pyx_state) - * return __pyx_result - * cdef __pyx_unpickle_AbstractCoroutine__set_state(AbstractCoroutine __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< - * __pyx_result.__args = __pyx_state[0]; __pyx_result.__args_len = __pyx_state[1]; __pyx_result.__async_mode = __pyx_state[2]; __pyx_result.__kwargs = __pyx_state[3]; __pyx_result.__kwargs_len = __pyx_state[4]; __pyx_result.__last_overriding = __pyx_state[5]; __pyx_result.__overridden = __pyx_state[6]; __pyx_result.__provides = __pyx_state[7] - * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): - */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - /* "(tree fragment)":1 * def __pyx_unpickle_CoroutineDelegate(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_60__pyx_unpickle_CoroutineDelegate, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_CoroutineDelegate, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) @@ -115308,36 +110358,16 @@ if (!__Pyx_RefNanny) { * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__last_overriding = __pyx_state[1]; __pyx_result.__overridden = __pyx_state[2]; __pyx_result.__provides = __pyx_state[3] * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - - /* "(tree fragment)":1 - * def __pyx_unpickle_ConfigurationOption(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< - * cdef object __pyx_PickleError - * cdef object __pyx_result - */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_62__pyx_unpickle_ConfigurationOption, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_ConfigurationOpti, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "(tree fragment)":11 - * __pyx_unpickle_ConfigurationOption__set_state( __pyx_result, __pyx_state) - * return __pyx_result - * cdef __pyx_unpickle_ConfigurationOption__set_state(ConfigurationOption __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< - * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__cache = __pyx_state[1]; __pyx_result.__children = __pyx_state[2]; __pyx_result.__last_overriding = __pyx_state[3]; __pyx_result.__name = __pyx_state[4]; __pyx_result.__overridden = __pyx_state[5]; __pyx_result.__required = __pyx_state[6]; __pyx_result.__root = __pyx_state[7] - * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): - */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - /* "(tree fragment)":1 * def __pyx_unpickle_TypedConfigurationOption(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_64__pyx_unpickle_TypedConfigurationOption, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_TypedConfiguratio, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) @@ -115350,36 +110380,16 @@ if (!__Pyx_RefNanny) { * __pyx_result.__args = __pyx_state[0]; __pyx_result.__args_len = __pyx_state[1]; __pyx_result.__async_mode = __pyx_state[2]; __pyx_result.__kwargs = __pyx_state[3]; __pyx_result.__kwargs_len = __pyx_state[4]; __pyx_result.__last_overriding = __pyx_state[5]; __pyx_result.__overridden = __pyx_state[6]; __pyx_result.__provides = __pyx_state[7] * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - - /* "(tree fragment)":1 - * def __pyx_unpickle_Configuration(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< - * cdef object __pyx_PickleError - * cdef object __pyx_result - */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_66__pyx_unpickle_Configuration, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_Configuration, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "(tree fragment)":11 - * __pyx_unpickle_Configuration__set_state( __pyx_result, __pyx_state) - * return __pyx_result - * cdef __pyx_unpickle_Configuration__set_state(Configuration __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< - * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__children = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__name = __pyx_state[3]; __pyx_result.__overridden = __pyx_state[4]; __pyx_result.__provides = __pyx_state[5]; __pyx_result.__strict = __pyx_state[6] - * if len(__pyx_state) > 7 and hasattr(__pyx_result, '__dict__'): - */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - /* "(tree fragment)":1 * def __pyx_unpickle_Factory(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_68__pyx_unpickle_Factory, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_Factory, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) @@ -115392,36 +110402,16 @@ if (!__Pyx_RefNanny) { * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__attributes = __pyx_state[1]; __pyx_result.__attributes_len = __pyx_state[2]; __pyx_result.__instantiator = __pyx_state[3]; __pyx_result.__last_overriding = __pyx_state[4]; __pyx_result.__overridden = __pyx_state[5] * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - - /* "(tree fragment)":1 - * def __pyx_unpickle_DelegatedFactory(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< - * cdef object __pyx_PickleError - * cdef object __pyx_result - */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_70__pyx_unpickle_DelegatedFactory, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_DelegatedFactory, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "(tree fragment)":11 - * __pyx_unpickle_DelegatedFactory__set_state( __pyx_result, __pyx_state) - * return __pyx_result - * cdef __pyx_unpickle_DelegatedFactory__set_state(DelegatedFactory __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< - * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__attributes = __pyx_state[1]; __pyx_result.__attributes_len = __pyx_state[2]; __pyx_result.__instantiator = __pyx_state[3]; __pyx_result.__last_overriding = __pyx_state[4]; __pyx_result.__overridden = __pyx_state[5] - * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): - */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - /* "(tree fragment)":1 * def __pyx_unpickle_AbstractFactory(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_72__pyx_unpickle_AbstractFactory, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_AbstractFactory, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) @@ -115434,36 +110424,16 @@ if (!__Pyx_RefNanny) { * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__attributes = __pyx_state[1]; __pyx_result.__attributes_len = __pyx_state[2]; __pyx_result.__instantiator = __pyx_state[3]; __pyx_result.__last_overriding = __pyx_state[4]; __pyx_result.__overridden = __pyx_state[5] * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - - /* "(tree fragment)":1 - * def __pyx_unpickle_FactoryDelegate(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< - * cdef object __pyx_PickleError - * cdef object __pyx_result - */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_74__pyx_unpickle_FactoryDelegate, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_FactoryDelegate, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "(tree fragment)":11 - * __pyx_unpickle_FactoryDelegate__set_state( __pyx_result, __pyx_state) - * return __pyx_result - * cdef __pyx_unpickle_FactoryDelegate__set_state(FactoryDelegate __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< - * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__last_overriding = __pyx_state[1]; __pyx_result.__overridden = __pyx_state[2]; __pyx_result.__provides = __pyx_state[3] - * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): - */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - /* "(tree fragment)":1 * def __pyx_unpickle_FactoryAggregate(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_76__pyx_unpickle_FactoryAggregate, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_FactoryAggregate, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) @@ -115476,36 +110446,16 @@ if (!__Pyx_RefNanny) { * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__factories = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__overridden = __pyx_state[3] * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - - /* "(tree fragment)":1 - * def __pyx_unpickle_BaseSingleton(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< - * cdef object __pyx_PickleError - * cdef object __pyx_result - */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_78__pyx_unpickle_BaseSingleton, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_BaseSingleton, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "(tree fragment)":11 - * __pyx_unpickle_BaseSingleton__set_state( __pyx_result, __pyx_state) - * return __pyx_result - * cdef __pyx_unpickle_BaseSingleton__set_state(BaseSingleton __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< - * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__instantiator = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__overridden = __pyx_state[3]; __pyx_result.__storage = __pyx_state[4] - * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): - */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - /* "(tree fragment)":1 * def __pyx_unpickle_Singleton(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_80__pyx_unpickle_Singleton, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_Singleton, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) @@ -115518,36 +110468,16 @@ if (!__Pyx_RefNanny) { * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__instantiator = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__overridden = __pyx_state[3]; __pyx_result.__storage = __pyx_state[4] * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - - /* "(tree fragment)":1 - * def __pyx_unpickle_DelegatedSingleton(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< - * cdef object __pyx_PickleError - * cdef object __pyx_result - */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_82__pyx_unpickle_DelegatedSingleton, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_DelegatedSingleto, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "(tree fragment)":11 - * __pyx_unpickle_DelegatedSingleton__set_state( __pyx_result, __pyx_state) - * return __pyx_result - * cdef __pyx_unpickle_DelegatedSingleton__set_state(DelegatedSingleton __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< - * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__instantiator = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__overridden = __pyx_state[3]; __pyx_result.__storage = __pyx_state[4] - * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): - */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - /* "(tree fragment)":1 * def __pyx_unpickle_ThreadSafeSingleton(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_84__pyx_unpickle_ThreadSafeSingleton, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_ThreadSafeSinglet, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) @@ -115560,36 +110490,16 @@ if (!__Pyx_RefNanny) { * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__instantiator = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__overridden = __pyx_state[3]; __pyx_result.__storage = __pyx_state[4]; __pyx_result.__storage_lock = __pyx_state[5] * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - - /* "(tree fragment)":1 - * def __pyx_unpickle_DelegatedThreadSafeSingleton(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< - * cdef object __pyx_PickleError - * cdef object __pyx_result - */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_86__pyx_unpickle_DelegatedThreadSafeSingleton, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_DelegatedThreadSa, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "(tree fragment)":11 - * __pyx_unpickle_DelegatedThreadSafeSingleton__set_state( __pyx_result, __pyx_state) - * return __pyx_result - * cdef __pyx_unpickle_DelegatedThreadSafeSingleton__set_state(DelegatedThreadSafeSingleton __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< - * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__instantiator = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__overridden = __pyx_state[3]; __pyx_result.__storage = __pyx_state[4]; __pyx_result.__storage_lock = __pyx_state[5] - * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): - */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - /* "(tree fragment)":1 * def __pyx_unpickle_ThreadLocalSingleton(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_88__pyx_unpickle_ThreadLocalSingleton, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_ThreadLocalSingle, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) @@ -115602,36 +110512,16 @@ if (!__Pyx_RefNanny) { * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__instantiator = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__overridden = __pyx_state[3]; __pyx_result.__storage = __pyx_state[4] * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - - /* "(tree fragment)":1 - * def __pyx_unpickle_DelegatedThreadLocalSingleton(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< - * cdef object __pyx_PickleError - * cdef object __pyx_result - */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_90__pyx_unpickle_DelegatedThreadLocalSingleton, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_DelegatedThreadLo, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "(tree fragment)":11 - * __pyx_unpickle_DelegatedThreadLocalSingleton__set_state( __pyx_result, __pyx_state) - * return __pyx_result - * cdef __pyx_unpickle_DelegatedThreadLocalSingleton__set_state(DelegatedThreadLocalSingleton __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< - * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__instantiator = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__overridden = __pyx_state[3]; __pyx_result.__storage = __pyx_state[4] - * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): - */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - /* "(tree fragment)":1 * def __pyx_unpickle_AbstractSingleton(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_92__pyx_unpickle_AbstractSingleton, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_AbstractSingleton, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) @@ -115644,36 +110534,16 @@ if (!__Pyx_RefNanny) { * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__instantiator = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__overridden = __pyx_state[3]; __pyx_result.__storage = __pyx_state[4] * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - - /* "(tree fragment)":1 - * def __pyx_unpickle_SingletonDelegate(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< - * cdef object __pyx_PickleError - * cdef object __pyx_result - */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_94__pyx_unpickle_SingletonDelegate, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_SingletonDelegate, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "(tree fragment)":11 - * __pyx_unpickle_SingletonDelegate__set_state( __pyx_result, __pyx_state) - * return __pyx_result - * cdef __pyx_unpickle_SingletonDelegate__set_state(SingletonDelegate __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< - * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__last_overriding = __pyx_state[1]; __pyx_result.__overridden = __pyx_state[2]; __pyx_result.__provides = __pyx_state[3] - * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): - */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - /* "(tree fragment)":1 * def __pyx_unpickle_List(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_96__pyx_unpickle_List, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_List, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) @@ -115686,36 +110556,16 @@ if (!__Pyx_RefNanny) { * __pyx_result.__args = __pyx_state[0]; __pyx_result.__args_len = __pyx_state[1]; __pyx_result.__async_mode = __pyx_state[2]; __pyx_result.__last_overriding = __pyx_state[3]; __pyx_result.__overridden = __pyx_state[4] * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - - /* "(tree fragment)":1 - * def __pyx_unpickle_Dict(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< - * cdef object __pyx_PickleError - * cdef object __pyx_result - */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_98__pyx_unpickle_Dict, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_Dict, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "(tree fragment)":11 - * __pyx_unpickle_Dict__set_state( __pyx_result, __pyx_state) - * return __pyx_result - * cdef __pyx_unpickle_Dict__set_state(Dict __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< - * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__kwargs = __pyx_state[1]; __pyx_result.__kwargs_len = __pyx_state[2]; __pyx_result.__last_overriding = __pyx_state[3]; __pyx_result.__overridden = __pyx_state[4] - * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): - */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - /* "(tree fragment)":1 * def __pyx_unpickle_Resource(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_100__pyx_unpickle_Resource, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_Resource, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) @@ -115728,36 +110578,16 @@ if (!__Pyx_RefNanny) { * __pyx_result.__args = __pyx_state[0]; __pyx_result.__args_len = __pyx_state[1]; __pyx_result.__async_mode = __pyx_state[2]; __pyx_result.__initialized = __pyx_state[3]; __pyx_result.__initializer = __pyx_state[4]; __pyx_result.__kwargs = __pyx_state[5]; __pyx_result.__kwargs_len = __pyx_state[6]; __pyx_result.__last_overriding = __pyx_state[7]; __pyx_result.__overridden = __pyx_state[8]; __pyx_result.__resource = __pyx_state[9]; __pyx_result.__shutdowner = __pyx_state[10] * if len(__pyx_state) > 11 and hasattr(__pyx_result, '__dict__'): */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - - /* "(tree fragment)":1 - * def __pyx_unpickle_Container(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< - * cdef object __pyx_PickleError - * cdef object __pyx_result - */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_102__pyx_unpickle_Container, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_Container, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "(tree fragment)":11 - * __pyx_unpickle_Container__set_state( __pyx_result, __pyx_state) - * return __pyx_result - * cdef __pyx_unpickle_Container__set_state(Container __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< - * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__container = __pyx_state[1]; __pyx_result.__container_cls = __pyx_state[2]; __pyx_result.__last_overriding = __pyx_state[3]; __pyx_result.__overridden = __pyx_state[4]; __pyx_result.__overriding_providers = __pyx_state[5] - * if len(__pyx_state) > 6 and hasattr(__pyx_result, '__dict__'): - */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - /* "(tree fragment)":1 * def __pyx_unpickle_Selector(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_104__pyx_unpickle_Selector, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_Selector, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) @@ -115770,36 +110600,16 @@ if (!__Pyx_RefNanny) { * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__last_overriding = __pyx_state[1]; __pyx_result.__overridden = __pyx_state[2]; __pyx_result.__providers = __pyx_state[3]; __pyx_result.__selector = __pyx_state[4] * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - - /* "(tree fragment)":1 - * def __pyx_unpickle_ProvidedInstance(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< - * cdef object __pyx_PickleError - * cdef object __pyx_result - */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_106__pyx_unpickle_ProvidedInstance, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_ProvidedInstance, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "(tree fragment)":11 - * __pyx_unpickle_ProvidedInstance__set_state( __pyx_result, __pyx_state) - * return __pyx_result - * cdef __pyx_unpickle_ProvidedInstance__set_state(ProvidedInstance __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< - * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__last_overriding = __pyx_state[1]; __pyx_result.__overridden = __pyx_state[2]; __pyx_result.__provider = __pyx_state[3] - * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): - */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - /* "(tree fragment)":1 * def __pyx_unpickle_AttributeGetter(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_108__pyx_unpickle_AttributeGetter, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_AttributeGetter, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) @@ -115812,36 +110622,16 @@ if (!__Pyx_RefNanny) { * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__attribute = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__overridden = __pyx_state[3]; __pyx_result.__provider = __pyx_state[4] * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - - /* "(tree fragment)":1 - * def __pyx_unpickle_ItemGetter(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< - * cdef object __pyx_PickleError - * cdef object __pyx_result - */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_110__pyx_unpickle_ItemGetter, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_ItemGetter, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "(tree fragment)":11 - * __pyx_unpickle_ItemGetter__set_state( __pyx_result, __pyx_state) - * return __pyx_result - * cdef __pyx_unpickle_ItemGetter__set_state(ItemGetter __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< - * __pyx_result.__async_mode = __pyx_state[0]; __pyx_result.__item = __pyx_state[1]; __pyx_result.__last_overriding = __pyx_state[2]; __pyx_result.__overridden = __pyx_state[3]; __pyx_result.__provider = __pyx_state[4] - * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): - */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - /* "(tree fragment)":1 * def __pyx_unpickle_MethodCaller(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_112__pyx_unpickle_MethodCaller, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_MethodCaller, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) @@ -115854,36 +110644,16 @@ if (!__Pyx_RefNanny) { * __pyx_result.__args = __pyx_state[0]; __pyx_result.__args_len = __pyx_state[1]; __pyx_result.__async_mode = __pyx_state[2]; __pyx_result.__kwargs = __pyx_state[3]; __pyx_result.__kwargs_len = __pyx_state[4]; __pyx_result.__last_overriding = __pyx_state[5]; __pyx_result.__overridden = __pyx_state[6]; __pyx_result.__provider = __pyx_state[7] * if len(__pyx_state) > 8 and hasattr(__pyx_result, '__dict__'): */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - - /* "(tree fragment)":1 - * def __pyx_unpickle_Injection(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< - * cdef object __pyx_PickleError - * cdef object __pyx_result - */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_114__pyx_unpickle_Injection, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_Injection, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "(tree fragment)":11 - * __pyx_unpickle_Injection__set_state( __pyx_result, __pyx_state) - * return __pyx_result - * cdef __pyx_unpickle_Injection__set_state(Injection __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< - * __pyx_result.__call = __pyx_state[0]; __pyx_result.__is_delegated = __pyx_state[1]; __pyx_result.__is_provider = __pyx_state[2]; __pyx_result.__value = __pyx_state[3] - * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): - */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - /* "(tree fragment)":1 * def __pyx_unpickle_PositionalInjection(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_116__pyx_unpickle_PositionalInjection, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_PositionalInjecti, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) @@ -115896,234 +110666,28 @@ if (!__Pyx_RefNanny) { * __pyx_result.__call = __pyx_state[0]; __pyx_result.__is_delegated = __pyx_state[1]; __pyx_result.__is_provider = __pyx_state[2]; __pyx_result.__value = __pyx_state[3] * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - - /* "(tree fragment)":1 - * def __pyx_unpickle_NamedInjection(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< - * cdef object __pyx_PickleError - * cdef object __pyx_result - */ - __Pyx_TraceLine(1,0,__PYX_ERR(2, 1, __pyx_L1_error)) __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_19dependency_injector_9providers_118__pyx_unpickle_NamedInjection, NULL, __pyx_n_s_dependency_injector_providers); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_NamedInjection, __pyx_t_1) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "(tree fragment)":11 - * __pyx_unpickle_NamedInjection__set_state( __pyx_result, __pyx_state) - * return __pyx_result - * cdef __pyx_unpickle_NamedInjection__set_state(NamedInjection __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< - * __pyx_result.__call = __pyx_state[0]; __pyx_result.__is_delegated = __pyx_state[1]; __pyx_result.__is_provider = __pyx_state[2]; __pyx_result.__name = __pyx_state[3]; __pyx_result.__value = __pyx_state[4] - * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): - */ - __Pyx_TraceLine(11,0,__PYX_ERR(2, 11, __pyx_L1_error)) - - /* "dependency_injector/providers.pyx":1 * """Providers module.""" # <<<<<<<<<<<<<< * * from __future__ import absolute_import */ - __Pyx_TraceLine(1,0,__PYX_ERR(1, 1, __pyx_L1_error)) __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (PyDict_SetItem(__pyx_d, __pyx_n_s_test, __pyx_t_1) < 0) __PYX_ERR(1, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "dependency_injector/providers.pxd":307 - * - * # Inline helper functions - * cdef inline object __get_name(NamedInjection self): # <<<<<<<<<<<<<< - * return self.__name - * - */ - __Pyx_TraceLine(307,0,__PYX_ERR(0, 307, __pyx_L1_error)) - - - /* "dependency_injector/providers.pxd":311 - * - * - * cdef inline object __get_value(Injection self): # <<<<<<<<<<<<<< - * if self.__call == 0: - * return self.__value - */ - __Pyx_TraceLine(311,0,__PYX_ERR(0, 311, __pyx_L1_error)) - - - /* "dependency_injector/providers.pxd":317 - * - * - * cdef inline object __get_value_kwargs(Injection self, dict kwargs): # <<<<<<<<<<<<<< - * if self.__call == 0: - * return self.__value - */ - __Pyx_TraceLine(317,0,__PYX_ERR(0, 317, __pyx_L1_error)) - - - /* "dependency_injector/providers.pxd":323 - * - * - * cdef inline tuple __separate_prefixed_kwargs(dict kwargs): # <<<<<<<<<<<<<< - * cdef dict plain_kwargs = {} - * cdef dict prefixed_kwargs = {} - */ - __Pyx_TraceLine(323,0,__PYX_ERR(0, 323, __pyx_L1_error)) - - - /* "dependency_injector/providers.pxd":344 - * @cython.boundscheck(False) - * @cython.wraparound(False) - * cdef inline object __provide_positional_args( # <<<<<<<<<<<<<< - * tuple args, - * tuple inj_args, - */ - __Pyx_TraceLine(344,0,__PYX_ERR(0, 344, __pyx_L1_error)) - - - /* "dependency_injector/providers.pxd":375 - * @cython.boundscheck(False) - * @cython.wraparound(False) - * cdef inline object __provide_keyword_args( # <<<<<<<<<<<<<< - * dict kwargs, - * tuple inj_kwargs, - */ - __Pyx_TraceLine(375,0,__PYX_ERR(0, 375, __pyx_L1_error)) - - - /* "dependency_injector/providers.pxd":421 - * - * - * cdef inline object __awaitable_args_kwargs_future(object args, list awaitables): # <<<<<<<<<<<<<< - * future_result = asyncio.Future() - * - */ - __Pyx_TraceLine(421,0,__PYX_ERR(0, 421, __pyx_L1_error)) - - - /* "dependency_injector/providers.pxd":438 - * - * - * cdef inline void __async_prepare_args_kwargs_callback( # <<<<<<<<<<<<<< - * object future_result, - * object args, - */ - __Pyx_TraceLine(438,0,__PYX_ERR(0, 438, __pyx_L1_error)) - - - /* "dependency_injector/providers.pxd":452 - * @cython.boundscheck(False) - * @cython.wraparound(False) - * cdef inline object __provide_attributes(tuple attributes, int attributes_len): # <<<<<<<<<<<<<< - * cdef NamedInjection attr_injection - * cdef dict attribute_injections = {} - */ - __Pyx_TraceLine(452,0,__PYX_ERR(0, 452, __pyx_L1_error)) - - - /* "dependency_injector/providers.pxd":471 - * - * - * cdef inline object __async_inject_attributes(future_instance, future_attributes): # <<<<<<<<<<<<<< - * future_result = asyncio.Future() - * - */ - __Pyx_TraceLine(471,0,__PYX_ERR(0, 471, __pyx_L1_error)) - - - /* "dependency_injector/providers.pxd":486 - * - * - * cdef inline void __async_inject_attributes_callback(object future_result, object future): # <<<<<<<<<<<<<< - * instance, attributes = future.result() - * __inject_attributes(instance, attributes) - */ - __Pyx_TraceLine(486,0,__PYX_ERR(0, 486, __pyx_L1_error)) - - - /* "dependency_injector/providers.pxd":492 - * - * - * cdef inline void __inject_attributes(object instance, dict attributes): # <<<<<<<<<<<<<< - * for name, value in attributes.items(): - * setattr(instance, name, value) - */ - __Pyx_TraceLine(492,0,__PYX_ERR(0, 492, __pyx_L1_error)) - - - /* "dependency_injector/providers.pxd":497 - * - * - * cdef inline object __call( # <<<<<<<<<<<<<< - * object call, - * tuple context_args, - */ - __Pyx_TraceLine(497,0,__PYX_ERR(0, 497, __pyx_L1_error)) - - - /* "dependency_injector/providers.pxd":548 - * - * - * cdef inline void __async_call_callback(object future_result, object call, object future): # <<<<<<<<<<<<<< - * args, kwargs = future.result() - * result = call(*args, **kwargs) - */ - __Pyx_TraceLine(548,0,__PYX_ERR(0, 548, __pyx_L1_error)) - - - /* "dependency_injector/providers.pxd":560 - * - * - * cdef inline object __async_result_callback(object future_result, object future): # <<<<<<<<<<<<<< - * future_result.set_result(future.result()) - * - */ - __Pyx_TraceLine(560,0,__PYX_ERR(0, 560, __pyx_L1_error)) - - - /* "dependency_injector/providers.pxd":564 - * - * - * cdef inline object __callable_call(Callable self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * return __call( - * self.__provides, - */ - __Pyx_TraceLine(564,0,__PYX_ERR(0, 564, __pyx_L1_error)) - - - /* "dependency_injector/providers.pxd":576 - * - * - * cdef inline object __factory_call(Factory self, tuple args, dict kwargs): # <<<<<<<<<<<<<< - * cdef object instance - * - */ - __Pyx_TraceLine(576,0,__PYX_ERR(0, 576, __pyx_L1_error)) - - - /* "dependency_injector/providers.pxd":608 - * - * - * cdef inline bint __isawaitable(object instance): # <<<<<<<<<<<<<< - * global __has_isawaitable - * - */ - __Pyx_TraceLine(608,0,__PYX_ERR(0, 608, __pyx_L1_error)) - - /* "cfunc.to_py":64 * - * @cname("__Pyx_CFunc_void____object____object____object____object___to_py") - * cdef object __Pyx_CFunc_void____object____object____object____object___to_py(void (*f)(object, object, object, object) except *): # <<<<<<<<<<<<<< - * def wrap(object future_result, object args, object awaitables, object future): - * """wrap(future_result, args, awaitables, future) -> 'void'""" + * @cname("__Pyx_CFunc_object____object____object___to_py") + * cdef object __Pyx_CFunc_object____object____object___to_py(object (*f)(object, object) ): # <<<<<<<<<<<<<< + * def wrap(object future_result, object future): + * """wrap(future_result, future)""" */ - __Pyx_TraceLine(64,0,__PYX_ERR(2, 64, __pyx_L1_error)) - - - - - __Pyx_TraceReturn(Py_None, 0); /*--- Wrapped vars code ---*/ @@ -116341,123 +110905,6 @@ bad: return -1; } -/* PyErrFetchRestore */ -#if CYTHON_FAST_THREAD_STATE -static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) { - PyObject *tmp_type, *tmp_value, *tmp_tb; - tmp_type = tstate->curexc_type; - tmp_value = tstate->curexc_value; - tmp_tb = tstate->curexc_traceback; - tstate->curexc_type = type; - tstate->curexc_value = value; - tstate->curexc_traceback = tb; - Py_XDECREF(tmp_type); - Py_XDECREF(tmp_value); - Py_XDECREF(tmp_tb); -} -static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) { - *type = tstate->curexc_type; - *value = tstate->curexc_value; - *tb = tstate->curexc_traceback; - tstate->curexc_type = 0; - tstate->curexc_value = 0; - tstate->curexc_traceback = 0; -} -#endif - -/* Profile */ -#if CYTHON_PROFILE -static int __Pyx_TraceSetupAndCall(PyCodeObject** code, - PyFrameObject** frame, - PyThreadState* tstate, - const char *funcname, - const char *srcfile, - int firstlineno) { - PyObject *type, *value, *traceback; - int retval; - if (*frame == NULL || !CYTHON_PROFILE_REUSE_FRAME) { - if (*code == NULL) { - *code = __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno); - if (*code == NULL) return 0; - } - *frame = PyFrame_New( - tstate, /*PyThreadState *tstate*/ - *code, /*PyCodeObject *code*/ - __pyx_d, /*PyObject *globals*/ - 0 /*PyObject *locals*/ - ); - if (*frame == NULL) return 0; - if (CYTHON_TRACE && (*frame)->f_trace == NULL) { - Py_INCREF(Py_None); - (*frame)->f_trace = Py_None; - } -#if PY_VERSION_HEX < 0x030400B1 - } else { - (*frame)->f_tstate = tstate; -#endif - } - __Pyx_PyFrame_SetLineNumber(*frame, firstlineno); - retval = 1; - tstate->tracing++; - tstate->use_tracing = 0; - __Pyx_ErrFetchInState(tstate, &type, &value, &traceback); - #if CYTHON_TRACE - if (tstate->c_tracefunc) - retval = tstate->c_tracefunc(tstate->c_traceobj, *frame, PyTrace_CALL, NULL) == 0; - if (retval && tstate->c_profilefunc) - #endif - retval = tstate->c_profilefunc(tstate->c_profileobj, *frame, PyTrace_CALL, NULL) == 0; - tstate->use_tracing = (tstate->c_profilefunc || - (CYTHON_TRACE && tstate->c_tracefunc)); - tstate->tracing--; - if (retval) { - __Pyx_ErrRestoreInState(tstate, type, value, traceback); - return tstate->use_tracing && retval; - } else { - Py_XDECREF(type); - Py_XDECREF(value); - Py_XDECREF(traceback); - return -1; - } -} -static PyCodeObject *__Pyx_createFrameCodeObject(const char *funcname, const char *srcfile, int firstlineno) { - PyCodeObject *py_code = 0; -#if PY_MAJOR_VERSION >= 3 - py_code = PyCode_NewEmpty(srcfile, funcname, firstlineno); - if (likely(py_code)) { - py_code->co_flags |= CO_OPTIMIZED | CO_NEWLOCALS; - } -#else - PyObject *py_srcfile = 0; - PyObject *py_funcname = 0; - py_funcname = PyString_FromString(funcname); - if (unlikely(!py_funcname)) goto bad; - py_srcfile = PyString_FromString(srcfile); - if (unlikely(!py_srcfile)) goto bad; - py_code = PyCode_New( - 0, - 0, - 0, - CO_OPTIMIZED | CO_NEWLOCALS, - __pyx_empty_bytes, /*PyObject *code,*/ - __pyx_empty_tuple, /*PyObject *consts,*/ - __pyx_empty_tuple, /*PyObject *names,*/ - __pyx_empty_tuple, /*PyObject *varnames,*/ - __pyx_empty_tuple, /*PyObject *freevars,*/ - __pyx_empty_tuple, /*PyObject *cellvars,*/ - py_srcfile, /*PyObject *filename,*/ - py_funcname, /*PyObject *name,*/ - firstlineno, - __pyx_empty_bytes /*PyObject *lnotab*/ - ); -bad: - Py_XDECREF(py_srcfile); - Py_XDECREF(py_funcname); -#endif - return py_code; -} -#endif - /* PyDictVersioning */ #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_TYPE_SLOTS static CYTHON_INLINE PY_UINT64_T __Pyx_get_tp_dict_version(PyObject *obj) { @@ -116922,6 +111369,30 @@ bad: return -1; } +/* PyErrFetchRestore */ +#if CYTHON_FAST_THREAD_STATE +static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) { + PyObject *tmp_type, *tmp_value, *tmp_tb; + tmp_type = tstate->curexc_type; + tmp_value = tstate->curexc_value; + tmp_tb = tstate->curexc_traceback; + tstate->curexc_type = type; + tstate->curexc_value = value; + tstate->curexc_traceback = tb; + Py_XDECREF(tmp_type); + Py_XDECREF(tmp_value); + Py_XDECREF(tmp_tb); +} +static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) { + *type = tstate->curexc_type; + *value = tstate->curexc_value; + *tb = tstate->curexc_traceback; + tstate->curexc_type = 0; + tstate->curexc_value = 0; + tstate->curexc_traceback = 0; +} +#endif + /* None */ static CYTHON_INLINE void __Pyx_RaiseUnboundLocalError(const char *varname) { PyErr_Format(PyExc_UnboundLocalError, "local variable '%s' referenced before assignment", varname); diff --git a/tests/unit/containers/test_declarative_py2_py3.py b/tests/unit/containers/test_declarative_py2_py3.py index 9980b012..4c56fabe 100644 --- a/tests/unit/containers/test_declarative_py2_py3.py +++ b/tests/unit/containers/test_declarative_py2_py3.py @@ -41,6 +41,29 @@ class DeclarativeContainerTests(unittest.TestCase): p31=ContainerC.p31, p32=ContainerC.p32)) + def test_providers_attribute_with_redefinition(self): + p1 = providers.Provider() + p2 = providers.Provider() + + class ContainerA2(ContainerA): + p11 = p1 + p12 = p2 + + self.assertEqual( + ContainerA.providers, + { + 'p11': ContainerA.p11, + 'p12': ContainerA.p12, + }, + ) + self.assertEqual( + ContainerA2.providers, + { + 'p11': p1, + 'p12': p2, + }, + ) + def test_cls_providers_attribute(self): self.assertEqual(ContainerA.cls_providers, dict(p11=ContainerA.p11, p12=ContainerA.p12)) From fba00894ea4499288a8af0414cddc6ebba547820 Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Fri, 29 Jan 2021 16:42:30 -0500 Subject: [PATCH 2/2] Bump version to 4.13.1 --- docs/main/changelog.rst | 4 ++-- src/dependency_injector/__init__.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/main/changelog.rst b/docs/main/changelog.rst index 50c6c0dc..1e0e6c67 100644 --- a/docs/main/changelog.rst +++ b/docs/main/changelog.rst @@ -7,8 +7,8 @@ that were made in every particular version. From version 0.7.6 *Dependency Injector* framework strictly follows `Semantic versioning`_ -Development version -------------------- +4.13.1 +------ - Fix declarative container metaclass bug: parent container providers replaced child container providers. See issue: `#367 `_. Many thanks to `Shaun Cutts `_ for finding and report the issue. diff --git a/src/dependency_injector/__init__.py b/src/dependency_injector/__init__.py index de59417c..ae3660f8 100644 --- a/src/dependency_injector/__init__.py +++ b/src/dependency_injector/__init__.py @@ -1,6 +1,6 @@ """Top-level package.""" -__version__ = '4.13.0' +__version__ = '4.13.1' """Version number. :type: str