ez-a-sync 0.32.26__cp39-cp39-macosx_11_0_arm64.whl → 0.32.28__cp39-cp39-macosx_11_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ez-a-sync might be problematic. Click here for more details.
- a_sync/_smart.c +58 -38
- a_sync/_smart.cpython-39-darwin.so +0 -0
- a_sync/a_sync/_descriptor.c +80 -60
- a_sync/a_sync/_descriptor.cpython-39-darwin.so +0 -0
- a_sync/a_sync/_flags.c +13 -10
- a_sync/a_sync/_flags.cpython-39-darwin.so +0 -0
- a_sync/a_sync/_helpers.c +76 -56
- a_sync/a_sync/_helpers.cpython-39-darwin.so +0 -0
- a_sync/a_sync/_kwargs.c +45 -25
- a_sync/a_sync/_kwargs.cpython-39-darwin.so +0 -0
- a_sync/a_sync/abstract.c +54 -24
- a_sync/a_sync/abstract.cpython-39-darwin.so +0 -0
- a_sync/a_sync/abstract.pyi +2 -2
- a_sync/a_sync/base.c +186 -162
- a_sync/a_sync/base.cpython-39-darwin.so +0 -0
- a_sync/a_sync/flags.c +13 -10
- a_sync/a_sync/flags.cpython-39-darwin.so +0 -0
- a_sync/a_sync/function.c +104 -75
- a_sync/a_sync/function.cpython-39-darwin.so +0 -0
- a_sync/a_sync/method.c +152 -120
- a_sync/a_sync/method.cpython-39-darwin.so +0 -0
- a_sync/a_sync/method.pyi +2 -1
- a_sync/a_sync/modifiers/manager.c +60 -40
- a_sync/a_sync/modifiers/manager.cpython-39-darwin.so +0 -0
- a_sync/a_sync/property.c +104 -78
- a_sync/a_sync/property.cpython-39-darwin.so +0 -0
- a_sync/async_property/cached.c +66 -46
- a_sync/async_property/cached.cpython-39-darwin.so +0 -0
- a_sync/async_property/proxy.c +36 -16
- a_sync/async_property/proxy.cpython-39-darwin.so +0 -0
- a_sync/asyncio/as_completed.c +33 -13
- a_sync/asyncio/as_completed.cpython-39-darwin.so +0 -0
- a_sync/asyncio/create_task.c +59 -21
- a_sync/asyncio/create_task.cpython-39-darwin.so +0 -0
- a_sync/asyncio/gather.c +42 -22
- a_sync/asyncio/gather.cpython-39-darwin.so +0 -0
- a_sync/asyncio/igather.c +42 -18
- a_sync/asyncio/igather.cpython-39-darwin.so +0 -0
- a_sync/asyncio/sleep.c +24 -4
- a_sync/asyncio/sleep.cpython-39-darwin.so +0 -0
- a_sync/debugging.c +52 -32
- a_sync/debugging.cpython-39-darwin.so +0 -0
- a_sync/exceptions.c +36 -20
- a_sync/exceptions.cpython-39-darwin.so +0 -0
- a_sync/executor.py +44 -0
- a_sync/functools.c +36 -16
- a_sync/functools.cpython-39-darwin.so +0 -0
- a_sync/iter.c +165 -95
- a_sync/iter.cpython-39-darwin.so +0 -0
- a_sync/primitives/_debug.c +65 -45
- a_sync/primitives/_debug.cpython-39-darwin.so +0 -0
- a_sync/primitives/_loggable.c +46 -20
- a_sync/primitives/_loggable.cpython-39-darwin.so +0 -0
- a_sync/primitives/locks/counter.c +93 -63
- a_sync/primitives/locks/counter.cpython-39-darwin.so +0 -0
- a_sync/primitives/locks/event.c +70 -49
- a_sync/primitives/locks/event.cpython-39-darwin.so +0 -0
- a_sync/primitives/locks/prio_semaphore.c +115 -75
- a_sync/primitives/locks/prio_semaphore.cpython-39-darwin.so +0 -0
- a_sync/primitives/locks/prio_semaphore.pyi +2 -2
- a_sync/primitives/locks/semaphore.c +95 -68
- a_sync/primitives/locks/semaphore.cpython-39-darwin.so +0 -0
- a_sync/primitives/locks/semaphore.pyi +10 -9
- a_sync/primitives/queue.py +5 -1
- a_sync/utils/repr.c +55 -35
- a_sync/utils/repr.cpython-39-darwin.so +0 -0
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/METADATA +1 -1
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/RECORD +71 -71
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/WHEEL +0 -0
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/licenses/LICENSE.txt +0 -0
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/top_level.txt +0 -0
a_sync/iter.cpython-39-darwin.so
CHANGED
|
Binary file
|
a_sync/primitives/_debug.c
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.1.
|
|
1
|
+
/* Generated by Cython 3.1.4 */
|
|
2
2
|
|
|
3
3
|
/* BEGIN: Cython Metadata
|
|
4
4
|
{
|
|
@@ -29,8 +29,8 @@ END: Cython Metadata */
|
|
|
29
29
|
#elif PY_VERSION_HEX < 0x03080000
|
|
30
30
|
#error Cython requires Python 3.8+.
|
|
31
31
|
#else
|
|
32
|
-
#define __PYX_ABI_VERSION "
|
|
33
|
-
#define CYTHON_HEX_VERSION
|
|
32
|
+
#define __PYX_ABI_VERSION "3_1_4"
|
|
33
|
+
#define CYTHON_HEX_VERSION 0x030104F0
|
|
34
34
|
#define CYTHON_FUTURE_DIVISION 1
|
|
35
35
|
/* CModulePreamble */
|
|
36
36
|
#include <stddef.h>
|
|
@@ -393,6 +393,9 @@ END: Cython Metadata */
|
|
|
393
393
|
enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
|
|
394
394
|
#endif
|
|
395
395
|
#endif
|
|
396
|
+
#ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME
|
|
397
|
+
#define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100
|
|
398
|
+
#endif
|
|
396
399
|
#ifndef __has_attribute
|
|
397
400
|
#define __has_attribute(x) 0
|
|
398
401
|
#endif
|
|
@@ -1874,18 +1877,18 @@ static PyObject *__Pyx_GetBuiltinName(PyObject *name);
|
|
|
1874
1877
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
1875
1878
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
1876
1879
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
1877
|
-
if (unlikely(!__pyx_frame_code))
|
|
1878
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1879
|
-
}
|
|
1880
|
+
if (unlikely(!__pyx_frame_code)) ret = -1;\
|
|
1881
|
+
else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1882
|
+
} else __pyx_frame_code = NULL;\
|
|
1880
1883
|
PyGILState_Release(state);\
|
|
1881
|
-
}
|
|
1884
|
+
} else __pyx_frame_code = NULL;\
|
|
1882
1885
|
} else {\
|
|
1883
1886
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
1884
1887
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
1885
1888
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
1886
|
-
if (unlikely(!__pyx_frame_code))
|
|
1887
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1888
|
-
}
|
|
1889
|
+
if (unlikely(!__pyx_frame_code)) ret = -1;\
|
|
1890
|
+
else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1891
|
+
} else __pyx_frame_code = NULL;\
|
|
1889
1892
|
}\
|
|
1890
1893
|
if (unlikely(ret == -1)) goto_error;\
|
|
1891
1894
|
}
|
|
@@ -2538,22 +2541,22 @@ static int __Pyx_call_type_traverse(PyObject *o, int always_call, visitproc visi
|
|
|
2538
2541
|
static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_clear);
|
|
2539
2542
|
|
|
2540
2543
|
/* TypeImport.proto */
|
|
2541
|
-
#ifndef
|
|
2542
|
-
#define
|
|
2544
|
+
#ifndef __PYX_HAVE_RT_ImportType_proto_3_1_4
|
|
2545
|
+
#define __PYX_HAVE_RT_ImportType_proto_3_1_4
|
|
2543
2546
|
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
|
2544
2547
|
#include <stdalign.h>
|
|
2545
2548
|
#endif
|
|
2546
2549
|
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
|
|
2547
|
-
#define
|
|
2550
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) alignof(s)
|
|
2548
2551
|
#else
|
|
2549
|
-
#define
|
|
2552
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) sizeof(void*)
|
|
2550
2553
|
#endif
|
|
2551
|
-
enum
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2554
|
+
enum __Pyx_ImportType_CheckSize_3_1_4 {
|
|
2555
|
+
__Pyx_ImportType_CheckSize_Error_3_1_4 = 0,
|
|
2556
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4 = 1,
|
|
2557
|
+
__Pyx_ImportType_CheckSize_Ignore_3_1_4 = 2
|
|
2555
2558
|
};
|
|
2556
|
-
static PyTypeObject *
|
|
2559
|
+
static PyTypeObject *__Pyx_ImportType_3_1_4(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_4 check_size);
|
|
2557
2560
|
#endif
|
|
2558
2561
|
|
|
2559
2562
|
/* GetVTable.proto */
|
|
@@ -2992,7 +2995,7 @@ static unsigned long __Pyx_get_runtime_version(void);
|
|
|
2992
2995
|
static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
|
|
2993
2996
|
|
|
2994
2997
|
/* FunctionImport.proto */
|
|
2995
|
-
static int
|
|
2998
|
+
static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
|
|
2996
2999
|
|
|
2997
3000
|
/* MultiPhaseInitModuleState.proto */
|
|
2998
3001
|
#if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
|
|
@@ -6914,15 +6917,15 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
6914
6917
|
/*--- Type init code ---*/
|
|
6915
6918
|
__pyx_t_1 = PyImport_ImportModule("a_sync.primitives._loggable"); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
6916
6919
|
__Pyx_GOTREF(__pyx_t_1);
|
|
6917
|
-
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin =
|
|
6920
|
+
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.primitives._loggable", "_LoggerMixin",
|
|
6918
6921
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
6919
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
|
|
6922
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
|
|
6920
6923
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
6921
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
|
|
6924
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
|
|
6922
6925
|
#else
|
|
6923
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
|
|
6926
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
|
|
6924
6927
|
#endif
|
|
6925
|
-
|
|
6928
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
6926
6929
|
__pyx_vtabptr_6a_sync_10primitives_9_loggable__LoggerMixin = (struct __pyx_vtabstruct_6a_sync_10primitives_9_loggable__LoggerMixin*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin); if (unlikely(!__pyx_vtabptr_6a_sync_10primitives_9_loggable__LoggerMixin)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
6927
6930
|
__pyx_vtabptr_6a_sync_10primitives_6_debug__LoopBoundMixin = &__pyx_vtable_6a_sync_10primitives_6_debug__LoopBoundMixin;
|
|
6928
6931
|
__pyx_vtable_6a_sync_10primitives_6_debug__LoopBoundMixin.__pyx_base = *__pyx_vtabptr_6a_sync_10primitives_9_loggable__LoggerMixin;
|
|
@@ -7037,11 +7040,11 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
7037
7040
|
/*--- Function import code ---*/
|
|
7038
7041
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._helpers"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
7039
7042
|
__Pyx_GOTREF(__pyx_t_1);
|
|
7040
|
-
if (
|
|
7043
|
+
if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "get_event_loop", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers_get_event_loop, "PyObject *(int __pyx_skip_dispatch)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
7041
7044
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
7042
7045
|
__pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.create_task"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
7043
7046
|
__Pyx_GOTREF(__pyx_t_1);
|
|
7044
|
-
if (
|
|
7047
|
+
if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "ccreate_task_simple", (void (**)(void))&__pyx_f_6a_sync_7asyncio_11create_task_ccreate_task_simple, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
7045
7048
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
7046
7049
|
__Pyx_RefNannyFinishContext();
|
|
7047
7050
|
return 0;
|
|
@@ -7609,7 +7612,7 @@ __Pyx_RefNannySetupContext("PyInit__debug", 0);
|
|
|
7609
7612
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
7610
7613
|
* def __setstate_cython__(self, __pyx_state):
|
|
7611
7614
|
*/
|
|
7612
|
-
__Pyx_TraceLine(1,
|
|
7615
|
+
__Pyx_TraceLine(1,2,0,__PYX_ERR(1, 1, __pyx_L1_error))
|
|
7613
7616
|
__pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_6_debug_15_LoopBoundMixin_7__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_LoopBoundMixin___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives__debug, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[7])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
7614
7617
|
__Pyx_GOTREF(__pyx_t_3);
|
|
7615
7618
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_3) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
@@ -7621,7 +7624,7 @@ __Pyx_RefNannySetupContext("PyInit__debug", 0);
|
|
|
7621
7624
|
* def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
|
|
7622
7625
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
7623
7626
|
*/
|
|
7624
|
-
__Pyx_TraceLine(3,
|
|
7627
|
+
__Pyx_TraceLine(3,4,0,__PYX_ERR(1, 3, __pyx_L1_error))
|
|
7625
7628
|
__pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_6_debug_15_LoopBoundMixin_9__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_LoopBoundMixin___setstate_cytho, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives__debug, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[8])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3, __pyx_L1_error)
|
|
7626
7629
|
__Pyx_GOTREF(__pyx_t_3);
|
|
7627
7630
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_3) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
|
|
@@ -7727,7 +7730,7 @@ __Pyx_RefNannySetupContext("PyInit__debug", 0);
|
|
|
7727
7730
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
7728
7731
|
* def __setstate_cython__(self, __pyx_state):
|
|
7729
7732
|
*/
|
|
7730
|
-
__Pyx_TraceLine(1,
|
|
7733
|
+
__Pyx_TraceLine(1,1,0,__PYX_ERR(1, 1, __pyx_L1_error))
|
|
7731
7734
|
__pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_6_debug_17_DebugDaemonMixin_12__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_DebugDaemonMixin___reduce_cytho, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives__debug, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[16])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
7732
7735
|
__Pyx_GOTREF(__pyx_t_3);
|
|
7733
7736
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_3) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
@@ -7739,7 +7742,7 @@ __Pyx_RefNannySetupContext("PyInit__debug", 0);
|
|
|
7739
7742
|
* def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
|
|
7740
7743
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
7741
7744
|
*/
|
|
7742
|
-
__Pyx_TraceLine(3,
|
|
7745
|
+
__Pyx_TraceLine(3,3,0,__PYX_ERR(1, 3, __pyx_L1_error))
|
|
7743
7746
|
__pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_6_debug_17_DebugDaemonMixin_14__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_DebugDaemonMixin___setstate_cyt, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives__debug, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[17])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3, __pyx_L1_error)
|
|
7744
7747
|
__Pyx_GOTREF(__pyx_t_3);
|
|
7745
7748
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_3) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
|
|
@@ -10163,15 +10166,15 @@ static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_clear) {
|
|
|
10163
10166
|
}
|
|
10164
10167
|
|
|
10165
10168
|
/* TypeImport */
|
|
10166
|
-
#ifndef
|
|
10167
|
-
#define
|
|
10168
|
-
static PyTypeObject *
|
|
10169
|
-
size_t size, size_t alignment, enum
|
|
10169
|
+
#ifndef __PYX_HAVE_RT_ImportType_3_1_4
|
|
10170
|
+
#define __PYX_HAVE_RT_ImportType_3_1_4
|
|
10171
|
+
static PyTypeObject *__Pyx_ImportType_3_1_4(PyObject *module, const char *module_name, const char *class_name,
|
|
10172
|
+
size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_4 check_size)
|
|
10170
10173
|
{
|
|
10171
10174
|
PyObject *result = 0;
|
|
10172
10175
|
Py_ssize_t basicsize;
|
|
10173
10176
|
Py_ssize_t itemsize;
|
|
10174
|
-
#
|
|
10177
|
+
#ifdef Py_LIMITED_API
|
|
10175
10178
|
PyObject *py_basicsize;
|
|
10176
10179
|
PyObject *py_itemsize;
|
|
10177
10180
|
#endif
|
|
@@ -10184,7 +10187,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
10184
10187
|
module_name, class_name);
|
|
10185
10188
|
goto bad;
|
|
10186
10189
|
}
|
|
10187
|
-
#
|
|
10190
|
+
#ifndef Py_LIMITED_API
|
|
10188
10191
|
basicsize = ((PyTypeObject *)result)->tp_basicsize;
|
|
10189
10192
|
itemsize = ((PyTypeObject *)result)->tp_itemsize;
|
|
10190
10193
|
#else
|
|
@@ -10222,7 +10225,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
10222
10225
|
module_name, class_name, size, basicsize+itemsize);
|
|
10223
10226
|
goto bad;
|
|
10224
10227
|
}
|
|
10225
|
-
if (check_size ==
|
|
10228
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_4 &&
|
|
10226
10229
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
10227
10230
|
PyErr_Format(PyExc_ValueError,
|
|
10228
10231
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -10230,7 +10233,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
10230
10233
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
10231
10234
|
goto bad;
|
|
10232
10235
|
}
|
|
10233
|
-
else if (check_size ==
|
|
10236
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_4 && (size_t)basicsize > size) {
|
|
10234
10237
|
if (PyErr_WarnFormat(NULL, 0,
|
|
10235
10238
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
10236
10239
|
"Expected %zd from C header, got %zd from PyObject",
|
|
@@ -10366,6 +10369,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
10366
10369
|
changed = 1;
|
|
10367
10370
|
}
|
|
10368
10371
|
#endif // CYTHON_METH_FASTCALL
|
|
10372
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
10369
10373
|
else if (strcmp(memb->name, "__module__") == 0) {
|
|
10370
10374
|
PyObject *descr;
|
|
10371
10375
|
assert(memb->type == T_OBJECT);
|
|
@@ -10380,11 +10384,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
10380
10384
|
}
|
|
10381
10385
|
changed = 1;
|
|
10382
10386
|
}
|
|
10387
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
10383
10388
|
}
|
|
10384
10389
|
memb++;
|
|
10385
10390
|
}
|
|
10386
10391
|
}
|
|
10387
10392
|
#endif // !CYTHON_COMPILING_IN_LIMITED_API
|
|
10393
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
10388
10394
|
slot = spec->slots;
|
|
10389
10395
|
while (slot && slot->slot && slot->slot != Py_tp_getset)
|
|
10390
10396
|
slot++;
|
|
@@ -10416,6 +10422,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
10416
10422
|
++getset;
|
|
10417
10423
|
}
|
|
10418
10424
|
}
|
|
10425
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
10419
10426
|
if (changed)
|
|
10420
10427
|
PyType_Modified(type);
|
|
10421
10428
|
#endif // PY_VERSION_HEX > 0x030900B1
|
|
@@ -10526,6 +10533,13 @@ try_unpack:
|
|
|
10526
10533
|
|
|
10527
10534
|
/* PyObjectCallMethod0 */
|
|
10528
10535
|
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
|
|
10536
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
10537
|
+
PyObject *args[1] = {obj};
|
|
10538
|
+
(void) __Pyx_PyObject_GetMethod;
|
|
10539
|
+
(void) __Pyx_PyObject_CallOneArg;
|
|
10540
|
+
(void) __Pyx_PyObject_CallNoArg;
|
|
10541
|
+
return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
|
|
10542
|
+
#else
|
|
10529
10543
|
PyObject *method = NULL, *result = NULL;
|
|
10530
10544
|
int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
|
|
10531
10545
|
if (likely(is_method)) {
|
|
@@ -10538,6 +10552,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
|
|
|
10538
10552
|
Py_DECREF(method);
|
|
10539
10553
|
bad:
|
|
10540
10554
|
return result;
|
|
10555
|
+
#endif
|
|
10541
10556
|
}
|
|
10542
10557
|
|
|
10543
10558
|
/* ValidateBasesTuple */
|
|
@@ -11263,7 +11278,7 @@ bad:
|
|
|
11263
11278
|
}
|
|
11264
11279
|
|
|
11265
11280
|
/* CommonTypesMetaclass */
|
|
11266
|
-
PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
11281
|
+
static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
11267
11282
|
return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
|
|
11268
11283
|
}
|
|
11269
11284
|
static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
|
|
@@ -11292,6 +11307,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
|
|
|
11292
11307
|
return -1;
|
|
11293
11308
|
}
|
|
11294
11309
|
mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
|
|
11310
|
+
Py_DECREF(bases);
|
|
11295
11311
|
if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
|
|
11296
11312
|
return -1;
|
|
11297
11313
|
}
|
|
@@ -13583,7 +13599,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call2Args(PyObject* function, PyOb
|
|
|
13583
13599
|
}
|
|
13584
13600
|
|
|
13585
13601
|
/* PyObjectCallMethod1 */
|
|
13586
|
-
#if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
|
|
13602
|
+
#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
|
|
13587
13603
|
static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
13588
13604
|
PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
|
|
13589
13605
|
Py_DECREF(method);
|
|
@@ -13591,7 +13607,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
|
13591
13607
|
}
|
|
13592
13608
|
#endif
|
|
13593
13609
|
static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
|
|
13594
|
-
#if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
|
|
13610
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
13595
13611
|
PyObject *args[2] = {obj, arg};
|
|
13596
13612
|
(void) __Pyx_PyObject_GetMethod;
|
|
13597
13613
|
(void) __Pyx_PyObject_CallOneArg;
|
|
@@ -14869,9 +14885,9 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
|
|
|
14869
14885
|
}
|
|
14870
14886
|
|
|
14871
14887
|
/* FunctionImport */
|
|
14872
|
-
#ifndef
|
|
14873
|
-
#define
|
|
14874
|
-
static int
|
|
14888
|
+
#ifndef __PYX_HAVE_RT_ImportFunction_3_1_4
|
|
14889
|
+
#define __PYX_HAVE_RT_ImportFunction_3_1_4
|
|
14890
|
+
static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
|
|
14875
14891
|
PyObject *d = 0;
|
|
14876
14892
|
PyObject *cobj = 0;
|
|
14877
14893
|
union {
|
|
@@ -14973,6 +14989,10 @@ bad:
|
|
|
14973
14989
|
PyCode_NewWithPosOnlyArgs
|
|
14974
14990
|
#endif
|
|
14975
14991
|
(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
|
|
14992
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
|
|
14993
|
+
if (likely(result))
|
|
14994
|
+
result->_co_firsttraceable = 0;
|
|
14995
|
+
#endif
|
|
14976
14996
|
return result;
|
|
14977
14997
|
}
|
|
14978
14998
|
#elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
|
|
Binary file
|
a_sync/primitives/_loggable.c
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.1.
|
|
1
|
+
/* Generated by Cython 3.1.4 */
|
|
2
2
|
|
|
3
3
|
/* BEGIN: Cython Metadata
|
|
4
4
|
{
|
|
@@ -29,8 +29,8 @@ END: Cython Metadata */
|
|
|
29
29
|
#elif PY_VERSION_HEX < 0x03080000
|
|
30
30
|
#error Cython requires Python 3.8+.
|
|
31
31
|
#else
|
|
32
|
-
#define __PYX_ABI_VERSION "
|
|
33
|
-
#define CYTHON_HEX_VERSION
|
|
32
|
+
#define __PYX_ABI_VERSION "3_1_4"
|
|
33
|
+
#define CYTHON_HEX_VERSION 0x030104F0
|
|
34
34
|
#define CYTHON_FUTURE_DIVISION 1
|
|
35
35
|
/* CModulePreamble */
|
|
36
36
|
#include <stddef.h>
|
|
@@ -393,6 +393,9 @@ END: Cython Metadata */
|
|
|
393
393
|
enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
|
|
394
394
|
#endif
|
|
395
395
|
#endif
|
|
396
|
+
#ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME
|
|
397
|
+
#define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100
|
|
398
|
+
#endif
|
|
396
399
|
#ifndef __has_attribute
|
|
397
400
|
#define __has_attribute(x) 0
|
|
398
401
|
#endif
|
|
@@ -1830,18 +1833,18 @@ static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject
|
|
|
1830
1833
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
1831
1834
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
1832
1835
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
1833
|
-
if (unlikely(!__pyx_frame_code))
|
|
1834
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1835
|
-
}
|
|
1836
|
+
if (unlikely(!__pyx_frame_code)) ret = -1;\
|
|
1837
|
+
else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1838
|
+
} else __pyx_frame_code = NULL;\
|
|
1836
1839
|
PyGILState_Release(state);\
|
|
1837
|
-
}
|
|
1840
|
+
} else __pyx_frame_code = NULL;\
|
|
1838
1841
|
} else {\
|
|
1839
1842
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
1840
1843
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
1841
1844
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
1842
|
-
if (unlikely(!__pyx_frame_code))
|
|
1843
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1844
|
-
}
|
|
1845
|
+
if (unlikely(!__pyx_frame_code)) ret = -1;\
|
|
1846
|
+
else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1847
|
+
} else __pyx_frame_code = NULL;\
|
|
1845
1848
|
}\
|
|
1846
1849
|
if (unlikely(ret == -1)) goto_error;\
|
|
1847
1850
|
}
|
|
@@ -2870,7 +2873,7 @@ static const char __pyx_k_asyncio_coroutines[] = "asyncio.coroutines";
|
|
|
2870
2873
|
static const char __pyx_k_cline_in_traceback[] = "cline_in_traceback";
|
|
2871
2874
|
static const char __pyx_k_get_logger_for_cls[] = "_get_logger_for_cls";
|
|
2872
2875
|
static const char __pyx_k_check_debug_logs_enabled[] = "check_debug_logs_enabled";
|
|
2873
|
-
static const char __pyx_k_hk_A_1_rrttu_xq_7_a_nA_1[] = "\200\001\360\006\000\005\010\200
|
|
2876
|
+
static const char __pyx_k_hk_A_1_rrttu_xq_7_a_nA_1[] = "\200\001\360\006\000\005\010\200\177\220h\230k\250\033\260A\330\010\r\210^\2301\330\010\016\320\016!\320!r\320rt\320tu\330\004\023\220<\230x\240q\250\001\330\004\007\200|\2207\230!\330\010.\250a\250\177\270n\310A\330\004\013\2101";
|
|
2874
2877
|
static const char __pyx_k_pyx_unpickle__LoggerMixin[] = "__pyx_unpickle__LoggerMixin";
|
|
2875
2878
|
static const char __pyx_k_LoggerMixin___reduce_cython[] = "_LoggerMixin.__reduce_cython__";
|
|
2876
2879
|
static const char __pyx_k_a_sync_primitives__loggable[] = "a_sync.primitives._loggable";
|
|
@@ -3277,8 +3280,14 @@ static PyObject *__pyx_f_6a_sync_10primitives_9_loggable_12_LoggerMixin_get_logg
|
|
|
3277
3280
|
* else:
|
|
3278
3281
|
*/
|
|
3279
3282
|
__Pyx_TraceLine(65,19,0,__PYX_ERR(0, 65, __pyx_L1_error))
|
|
3280
|
-
|
|
3281
|
-
|
|
3283
|
+
if (__pyx_v_name == Py_None) __pyx_t_2 = 0;
|
|
3284
|
+
else
|
|
3285
|
+
{
|
|
3286
|
+
Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_name);
|
|
3287
|
+
if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 65, __pyx_L1_error)
|
|
3288
|
+
__pyx_t_2 = (__pyx_temp != 0);
|
|
3289
|
+
}
|
|
3290
|
+
|
|
3282
3291
|
if (__pyx_t_2) {
|
|
3283
3292
|
|
|
3284
3293
|
/* "a_sync/primitives/_loggable.pyx":66
|
|
@@ -5231,7 +5240,7 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
|
|
|
5231
5240
|
(void)__Pyx_modinit_variable_import_code(__pyx_mstate);
|
|
5232
5241
|
(void)__Pyx_modinit_function_import_code(__pyx_mstate);
|
|
5233
5242
|
/*--- Execution code ---*/
|
|
5234
|
-
__Pyx_TraceStartFunc("PyInit__loggable", __pyx_f[0], 1,
|
|
5243
|
+
__Pyx_TraceStartFunc("PyInit__loggable", __pyx_f[0], 1, 2, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
|
|
5235
5244
|
|
|
5236
5245
|
/* "a_sync/primitives/_loggable.pyx":6
|
|
5237
5246
|
* """
|
|
@@ -5345,7 +5354,7 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
|
|
|
5345
5354
|
* cdef tuple state
|
|
5346
5355
|
* cdef object _dict
|
|
5347
5356
|
*/
|
|
5348
|
-
__Pyx_TraceLine(1,
|
|
5357
|
+
__Pyx_TraceLine(1,1,0,__PYX_ERR(1, 1, __pyx_L1_error))
|
|
5349
5358
|
__pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_9_loggable_12_LoggerMixin_1__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_LoggerMixin___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives__loggable, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[4])); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
5350
5359
|
__Pyx_GOTREF(__pyx_t_2);
|
|
5351
5360
|
if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_2) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
@@ -5393,7 +5402,7 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
|
|
|
5393
5402
|
* cdef object __pyx_PickleError
|
|
5394
5403
|
* cdef object __pyx_result
|
|
5395
5404
|
*/
|
|
5396
|
-
__Pyx_TraceLine(1,
|
|
5405
|
+
__Pyx_TraceLine(1,0,0,__PYX_ERR(1, 1, __pyx_L1_error))
|
|
5397
5406
|
__pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_9_loggable_1__pyx_unpickle__LoggerMixin, 0, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__LoggerMixin, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives__loggable, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[7])); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
5398
5407
|
__Pyx_GOTREF(__pyx_t_2);
|
|
5399
5408
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__LoggerMixin, __pyx_t_2) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
@@ -5414,14 +5423,14 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
|
|
|
5414
5423
|
* """
|
|
5415
5424
|
* This module provides a mixin class to add debug logging capabilities to other classes.
|
|
5416
5425
|
*/
|
|
5417
|
-
__Pyx_TraceLine(1,
|
|
5426
|
+
__Pyx_TraceLine(1,2,0,__PYX_ERR(0, 1, __pyx_L1_error))
|
|
5418
5427
|
__pyx_t_2 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
5419
5428
|
__Pyx_GOTREF(__pyx_t_2);
|
|
5420
5429
|
if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_kp_u_LoggerMixin_logger___get___line, __pyx_mstate_global->__pyx_kp_u_Provides_a_logger_instance_spec) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
5421
5430
|
if (PyDict_SetItem(__pyx_t_2, __pyx_mstate_global->__pyx_kp_u_LoggerMixin_debug_logs_enabled, __pyx_mstate_global->__pyx_kp_u_Checks_if_debug_logging_is_enab) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
5422
5431
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_test, __pyx_t_2) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
5423
5432
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
5424
|
-
__Pyx_TraceReturnValue(Py_None,
|
|
5433
|
+
__Pyx_TraceReturnValue(Py_None, 2, 0, __PYX_ERR(0, 1, __pyx_L1_error));
|
|
5425
5434
|
__Pyx_PyMonitoring_ExitScope(0);
|
|
5426
5435
|
|
|
5427
5436
|
/*--- Wrapped vars code ---*/
|
|
@@ -5431,7 +5440,7 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
|
|
|
5431
5440
|
__Pyx_XDECREF(__pyx_t_2);
|
|
5432
5441
|
__Pyx_XDECREF(__pyx_t_3);
|
|
5433
5442
|
__Pyx_TraceException(__pyx_lineno, 0, 0);
|
|
5434
|
-
__Pyx_TraceExceptionUnwind(
|
|
5443
|
+
__Pyx_TraceExceptionUnwind(2, 0);
|
|
5435
5444
|
if (__pyx_m) {
|
|
5436
5445
|
if (__pyx_mstate->__pyx_d && stringtab_initialized) {
|
|
5437
5446
|
__Pyx_AddTraceback("init a_sync.primitives._loggable", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
@@ -7670,6 +7679,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
7670
7679
|
changed = 1;
|
|
7671
7680
|
}
|
|
7672
7681
|
#endif // CYTHON_METH_FASTCALL
|
|
7682
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
7673
7683
|
else if (strcmp(memb->name, "__module__") == 0) {
|
|
7674
7684
|
PyObject *descr;
|
|
7675
7685
|
assert(memb->type == T_OBJECT);
|
|
@@ -7684,11 +7694,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
7684
7694
|
}
|
|
7685
7695
|
changed = 1;
|
|
7686
7696
|
}
|
|
7697
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
7687
7698
|
}
|
|
7688
7699
|
memb++;
|
|
7689
7700
|
}
|
|
7690
7701
|
}
|
|
7691
7702
|
#endif // !CYTHON_COMPILING_IN_LIMITED_API
|
|
7703
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
7692
7704
|
slot = spec->slots;
|
|
7693
7705
|
while (slot && slot->slot && slot->slot != Py_tp_getset)
|
|
7694
7706
|
slot++;
|
|
@@ -7720,6 +7732,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
7720
7732
|
++getset;
|
|
7721
7733
|
}
|
|
7722
7734
|
}
|
|
7735
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
7723
7736
|
if (changed)
|
|
7724
7737
|
PyType_Modified(type);
|
|
7725
7738
|
#endif // PY_VERSION_HEX > 0x030900B1
|
|
@@ -7830,6 +7843,13 @@ try_unpack:
|
|
|
7830
7843
|
|
|
7831
7844
|
/* PyObjectCallMethod0 */
|
|
7832
7845
|
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
|
|
7846
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
7847
|
+
PyObject *args[1] = {obj};
|
|
7848
|
+
(void) __Pyx_PyObject_GetMethod;
|
|
7849
|
+
(void) __Pyx_PyObject_CallOneArg;
|
|
7850
|
+
(void) __Pyx_PyObject_CallNoArg;
|
|
7851
|
+
return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
|
|
7852
|
+
#else
|
|
7833
7853
|
PyObject *method = NULL, *result = NULL;
|
|
7834
7854
|
int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
|
|
7835
7855
|
if (likely(is_method)) {
|
|
@@ -7842,6 +7862,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
|
|
|
7842
7862
|
Py_DECREF(method);
|
|
7843
7863
|
bad:
|
|
7844
7864
|
return result;
|
|
7865
|
+
#endif
|
|
7845
7866
|
}
|
|
7846
7867
|
|
|
7847
7868
|
/* ValidateBasesTuple */
|
|
@@ -8520,7 +8541,7 @@ bad:
|
|
|
8520
8541
|
}
|
|
8521
8542
|
|
|
8522
8543
|
/* CommonTypesMetaclass */
|
|
8523
|
-
PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
8544
|
+
static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
8524
8545
|
return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
|
|
8525
8546
|
}
|
|
8526
8547
|
static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
|
|
@@ -8549,6 +8570,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
|
|
|
8549
8570
|
return -1;
|
|
8550
8571
|
}
|
|
8551
8572
|
mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
|
|
8573
|
+
Py_DECREF(bases);
|
|
8552
8574
|
if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
|
|
8553
8575
|
return -1;
|
|
8554
8576
|
}
|
|
@@ -10869,6 +10891,10 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
|
|
|
10869
10891
|
PyCode_NewWithPosOnlyArgs
|
|
10870
10892
|
#endif
|
|
10871
10893
|
(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
|
|
10894
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
|
|
10895
|
+
if (likely(result))
|
|
10896
|
+
result->_co_firsttraceable = 0;
|
|
10897
|
+
#endif
|
|
10872
10898
|
return result;
|
|
10873
10899
|
}
|
|
10874
10900
|
#elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
|
|
Binary file
|