ez-a-sync 0.32.27__cp311-cp311-musllinux_1_2_i686.whl → 0.32.28__cp311-cp311-musllinux_1_2_i686.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 +41 -36
- a_sync/_smart.cpython-311-i386-linux-musl.so +0 -0
- a_sync/a_sync/_descriptor.c +63 -58
- a_sync/a_sync/_descriptor.cpython-311-i386-linux-musl.so +0 -0
- a_sync/a_sync/_flags.c +10 -10
- a_sync/a_sync/_flags.cpython-311-i386-linux-musl.so +0 -0
- a_sync/a_sync/_helpers.c +57 -52
- a_sync/a_sync/_helpers.cpython-311-i386-linux-musl.so +0 -0
- a_sync/a_sync/_kwargs.c +27 -22
- a_sync/a_sync/_kwargs.cpython-311-i386-linux-musl.so +0 -0
- a_sync/a_sync/abstract.c +46 -23
- a_sync/a_sync/abstract.cpython-311-i386-linux-musl.so +0 -0
- a_sync/a_sync/abstract.pyi +2 -2
- a_sync/a_sync/base.c +60 -51
- a_sync/a_sync/base.cpython-311-i386-linux-musl.so +0 -0
- a_sync/a_sync/flags.c +10 -10
- a_sync/a_sync/function.c +79 -65
- a_sync/a_sync/function.cpython-311-i386-linux-musl.so +0 -0
- a_sync/a_sync/method.c +85 -68
- a_sync/a_sync/method.cpython-311-i386-linux-musl.so +0 -0
- a_sync/a_sync/method.pyi +2 -1
- a_sync/a_sync/modifiers/manager.c +42 -37
- a_sync/a_sync/modifiers/manager.cpython-311-i386-linux-musl.so +0 -0
- a_sync/a_sync/property.c +86 -75
- a_sync/a_sync/property.cpython-311-i386-linux-musl.so +0 -0
- a_sync/async_property/cached.c +53 -48
- a_sync/async_property/cached.cpython-311-i386-linux-musl.so +0 -0
- a_sync/async_property/proxy.c +15 -10
- a_sync/async_property/proxy.cpython-311-i386-linux-musl.so +0 -0
- a_sync/asyncio/as_completed.c +15 -10
- a_sync/asyncio/as_completed.cpython-311-i386-linux-musl.so +0 -0
- a_sync/asyncio/create_task.c +39 -16
- a_sync/asyncio/create_task.cpython-311-i386-linux-musl.so +0 -0
- a_sync/asyncio/gather.c +24 -19
- a_sync/asyncio/gather.cpython-311-i386-linux-musl.so +0 -0
- a_sync/asyncio/igather.c +26 -17
- a_sync/asyncio/igather.cpython-311-i386-linux-musl.so +0 -0
- a_sync/asyncio/sleep.c +8 -3
- a_sync/asyncio/sleep.cpython-311-i386-linux-musl.so +0 -0
- a_sync/debugging.c +34 -29
- a_sync/debugging.cpython-311-i386-linux-musl.so +0 -0
- a_sync/exceptions.c +28 -19
- a_sync/exceptions.cpython-311-i386-linux-musl.so +0 -0
- a_sync/functools.c +15 -10
- a_sync/functools.cpython-311-i386-linux-musl.so +0 -0
- a_sync/iter.c +145 -90
- a_sync/iter.cpython-311-i386-linux-musl.so +0 -0
- a_sync/primitives/_debug.c +43 -38
- a_sync/primitives/_debug.cpython-311-i386-linux-musl.so +0 -0
- a_sync/primitives/_loggable.c +29 -18
- a_sync/primitives/_loggable.cpython-311-i386-linux-musl.so +0 -0
- a_sync/primitives/locks/counter.c +75 -60
- a_sync/primitives/locks/counter.cpython-311-i386-linux-musl.so +0 -0
- a_sync/primitives/locks/event.c +47 -42
- a_sync/primitives/locks/event.cpython-311-i386-linux-musl.so +0 -0
- a_sync/primitives/locks/prio_semaphore.c +99 -74
- a_sync/primitives/locks/prio_semaphore.cpython-311-i386-linux-musl.so +0 -0
- a_sync/primitives/locks/prio_semaphore.pyi +2 -2
- a_sync/primitives/locks/semaphore.c +71 -59
- a_sync/primitives/locks/semaphore.cpython-311-i386-linux-musl.so +0 -0
- a_sync/primitives/locks/semaphore.pyi +10 -9
- a_sync/primitives/queue.py +5 -1
- a_sync/utils/repr.c +36 -31
- a_sync/utils/repr.cpython-311-i386-linux-musl.so +0 -0
- {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/METADATA +1 -1
- {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/RECORD +69 -69
- {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/WHEEL +0 -0
- {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/licenses/LICENSE.txt +0 -0
- {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/top_level.txt +0 -0
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>
|
|
@@ -1877,18 +1877,18 @@ static PyObject *__Pyx_GetBuiltinName(PyObject *name);
|
|
|
1877
1877
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
1878
1878
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
1879
1879
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
1880
|
-
if (unlikely(!__pyx_frame_code))
|
|
1881
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1882
|
-
}
|
|
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;\
|
|
1883
1883
|
PyGILState_Release(state);\
|
|
1884
|
-
}
|
|
1884
|
+
} else __pyx_frame_code = NULL;\
|
|
1885
1885
|
} else {\
|
|
1886
1886
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
1887
1887
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
1888
1888
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
1889
|
-
if (unlikely(!__pyx_frame_code))
|
|
1890
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1891
|
-
}
|
|
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;\
|
|
1892
1892
|
}\
|
|
1893
1893
|
if (unlikely(ret == -1)) goto_error;\
|
|
1894
1894
|
}
|
|
@@ -2541,22 +2541,22 @@ static int __Pyx_call_type_traverse(PyObject *o, int always_call, visitproc visi
|
|
|
2541
2541
|
static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_clear);
|
|
2542
2542
|
|
|
2543
2543
|
/* TypeImport.proto */
|
|
2544
|
-
#ifndef
|
|
2545
|
-
#define
|
|
2544
|
+
#ifndef __PYX_HAVE_RT_ImportType_proto_3_1_4
|
|
2545
|
+
#define __PYX_HAVE_RT_ImportType_proto_3_1_4
|
|
2546
2546
|
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
|
2547
2547
|
#include <stdalign.h>
|
|
2548
2548
|
#endif
|
|
2549
2549
|
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
|
|
2550
|
-
#define
|
|
2550
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) alignof(s)
|
|
2551
2551
|
#else
|
|
2552
|
-
#define
|
|
2552
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) sizeof(void*)
|
|
2553
2553
|
#endif
|
|
2554
|
-
enum
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
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
|
|
2558
2558
|
};
|
|
2559
|
-
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);
|
|
2560
2560
|
#endif
|
|
2561
2561
|
|
|
2562
2562
|
/* GetVTable.proto */
|
|
@@ -2995,7 +2995,7 @@ static unsigned long __Pyx_get_runtime_version(void);
|
|
|
2995
2995
|
static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
|
|
2996
2996
|
|
|
2997
2997
|
/* FunctionImport.proto */
|
|
2998
|
-
static int
|
|
2998
|
+
static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
|
|
2999
2999
|
|
|
3000
3000
|
/* MultiPhaseInitModuleState.proto */
|
|
3001
3001
|
#if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
|
|
@@ -6917,15 +6917,15 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
6917
6917
|
/*--- Type init code ---*/
|
|
6918
6918
|
__pyx_t_1 = PyImport_ImportModule("a_sync.primitives._loggable"); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
6919
6919
|
__Pyx_GOTREF(__pyx_t_1);
|
|
6920
|
-
__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",
|
|
6921
6921
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
6922
|
-
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),
|
|
6923
6923
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
6924
|
-
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),
|
|
6925
6925
|
#else
|
|
6926
|
-
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),
|
|
6927
6927
|
#endif
|
|
6928
|
-
|
|
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)
|
|
6929
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)
|
|
6930
6930
|
__pyx_vtabptr_6a_sync_10primitives_6_debug__LoopBoundMixin = &__pyx_vtable_6a_sync_10primitives_6_debug__LoopBoundMixin;
|
|
6931
6931
|
__pyx_vtable_6a_sync_10primitives_6_debug__LoopBoundMixin.__pyx_base = *__pyx_vtabptr_6a_sync_10primitives_9_loggable__LoggerMixin;
|
|
@@ -7040,11 +7040,11 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
7040
7040
|
/*--- Function import code ---*/
|
|
7041
7041
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._helpers"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
7042
7042
|
__Pyx_GOTREF(__pyx_t_1);
|
|
7043
|
-
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)
|
|
7044
7044
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
7045
7045
|
__pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.create_task"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
7046
7046
|
__Pyx_GOTREF(__pyx_t_1);
|
|
7047
|
-
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)
|
|
7048
7048
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
7049
7049
|
__Pyx_RefNannyFinishContext();
|
|
7050
7050
|
return 0;
|
|
@@ -10166,15 +10166,15 @@ static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_clear) {
|
|
|
10166
10166
|
}
|
|
10167
10167
|
|
|
10168
10168
|
/* TypeImport */
|
|
10169
|
-
#ifndef
|
|
10170
|
-
#define
|
|
10171
|
-
static PyTypeObject *
|
|
10172
|
-
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)
|
|
10173
10173
|
{
|
|
10174
10174
|
PyObject *result = 0;
|
|
10175
10175
|
Py_ssize_t basicsize;
|
|
10176
10176
|
Py_ssize_t itemsize;
|
|
10177
|
-
#
|
|
10177
|
+
#ifdef Py_LIMITED_API
|
|
10178
10178
|
PyObject *py_basicsize;
|
|
10179
10179
|
PyObject *py_itemsize;
|
|
10180
10180
|
#endif
|
|
@@ -10187,7 +10187,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
|
|
|
10187
10187
|
module_name, class_name);
|
|
10188
10188
|
goto bad;
|
|
10189
10189
|
}
|
|
10190
|
-
#
|
|
10190
|
+
#ifndef Py_LIMITED_API
|
|
10191
10191
|
basicsize = ((PyTypeObject *)result)->tp_basicsize;
|
|
10192
10192
|
itemsize = ((PyTypeObject *)result)->tp_itemsize;
|
|
10193
10193
|
#else
|
|
@@ -10225,7 +10225,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
|
|
|
10225
10225
|
module_name, class_name, size, basicsize+itemsize);
|
|
10226
10226
|
goto bad;
|
|
10227
10227
|
}
|
|
10228
|
-
if (check_size ==
|
|
10228
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_4 &&
|
|
10229
10229
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
10230
10230
|
PyErr_Format(PyExc_ValueError,
|
|
10231
10231
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -10233,7 +10233,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
|
|
|
10233
10233
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
10234
10234
|
goto bad;
|
|
10235
10235
|
}
|
|
10236
|
-
else if (check_size ==
|
|
10236
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_4 && (size_t)basicsize > size) {
|
|
10237
10237
|
if (PyErr_WarnFormat(NULL, 0,
|
|
10238
10238
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
10239
10239
|
"Expected %zd from C header, got %zd from PyObject",
|
|
@@ -11307,6 +11307,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
|
|
|
11307
11307
|
return -1;
|
|
11308
11308
|
}
|
|
11309
11309
|
mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
|
|
11310
|
+
Py_DECREF(bases);
|
|
11310
11311
|
if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
|
|
11311
11312
|
return -1;
|
|
11312
11313
|
}
|
|
@@ -14884,9 +14885,9 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
|
|
|
14884
14885
|
}
|
|
14885
14886
|
|
|
14886
14887
|
/* FunctionImport */
|
|
14887
|
-
#ifndef
|
|
14888
|
-
#define
|
|
14889
|
-
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) {
|
|
14890
14891
|
PyObject *d = 0;
|
|
14891
14892
|
PyObject *cobj = 0;
|
|
14892
14893
|
union {
|
|
@@ -14988,6 +14989,10 @@ bad:
|
|
|
14988
14989
|
PyCode_NewWithPosOnlyArgs
|
|
14989
14990
|
#endif
|
|
14990
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
|
|
14991
14996
|
return result;
|
|
14992
14997
|
}
|
|
14993
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>
|
|
@@ -1833,18 +1833,18 @@ static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject
|
|
|
1833
1833
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
1834
1834
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
1835
1835
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
1836
|
-
if (unlikely(!__pyx_frame_code))
|
|
1837
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1838
|
-
}
|
|
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;\
|
|
1839
1839
|
PyGILState_Release(state);\
|
|
1840
|
-
}
|
|
1840
|
+
} else __pyx_frame_code = NULL;\
|
|
1841
1841
|
} else {\
|
|
1842
1842
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
1843
1843
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
1844
1844
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
1845
|
-
if (unlikely(!__pyx_frame_code))
|
|
1846
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1847
|
-
}
|
|
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;\
|
|
1848
1848
|
}\
|
|
1849
1849
|
if (unlikely(ret == -1)) goto_error;\
|
|
1850
1850
|
}
|
|
@@ -3280,8 +3280,14 @@ static PyObject *__pyx_f_6a_sync_10primitives_9_loggable_12_LoggerMixin_get_logg
|
|
|
3280
3280
|
* else:
|
|
3281
3281
|
*/
|
|
3282
3282
|
__Pyx_TraceLine(65,19,0,__PYX_ERR(0, 65, __pyx_L1_error))
|
|
3283
|
-
|
|
3284
|
-
|
|
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
|
+
|
|
3285
3291
|
if (__pyx_t_2) {
|
|
3286
3292
|
|
|
3287
3293
|
/* "a_sync/primitives/_loggable.pyx":66
|
|
@@ -5234,7 +5240,7 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
|
|
|
5234
5240
|
(void)__Pyx_modinit_variable_import_code(__pyx_mstate);
|
|
5235
5241
|
(void)__Pyx_modinit_function_import_code(__pyx_mstate);
|
|
5236
5242
|
/*--- Execution code ---*/
|
|
5237
|
-
__Pyx_TraceStartFunc("PyInit__loggable", __pyx_f[0], 1,
|
|
5243
|
+
__Pyx_TraceStartFunc("PyInit__loggable", __pyx_f[0], 1, 1, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
|
|
5238
5244
|
|
|
5239
5245
|
/* "a_sync/primitives/_loggable.pyx":6
|
|
5240
5246
|
* """
|
|
@@ -5348,7 +5354,7 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
|
|
|
5348
5354
|
* cdef tuple state
|
|
5349
5355
|
* cdef object _dict
|
|
5350
5356
|
*/
|
|
5351
|
-
__Pyx_TraceLine(1,
|
|
5357
|
+
__Pyx_TraceLine(1,0,0,__PYX_ERR(1, 1, __pyx_L1_error))
|
|
5352
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)
|
|
5353
5359
|
__Pyx_GOTREF(__pyx_t_2);
|
|
5354
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)
|
|
@@ -5396,7 +5402,7 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
|
|
|
5396
5402
|
* cdef object __pyx_PickleError
|
|
5397
5403
|
* cdef object __pyx_result
|
|
5398
5404
|
*/
|
|
5399
|
-
__Pyx_TraceLine(1,
|
|
5405
|
+
__Pyx_TraceLine(1,2,0,__PYX_ERR(1, 1, __pyx_L1_error))
|
|
5400
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)
|
|
5401
5407
|
__Pyx_GOTREF(__pyx_t_2);
|
|
5402
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)
|
|
@@ -5417,14 +5423,14 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
|
|
|
5417
5423
|
* """
|
|
5418
5424
|
* This module provides a mixin class to add debug logging capabilities to other classes.
|
|
5419
5425
|
*/
|
|
5420
|
-
__Pyx_TraceLine(1,
|
|
5426
|
+
__Pyx_TraceLine(1,1,0,__PYX_ERR(0, 1, __pyx_L1_error))
|
|
5421
5427
|
__pyx_t_2 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
5422
5428
|
__Pyx_GOTREF(__pyx_t_2);
|
|
5423
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)
|
|
5424
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)
|
|
5425
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)
|
|
5426
5432
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
5427
|
-
__Pyx_TraceReturnValue(Py_None,
|
|
5433
|
+
__Pyx_TraceReturnValue(Py_None, 1, 0, __PYX_ERR(0, 1, __pyx_L1_error));
|
|
5428
5434
|
__Pyx_PyMonitoring_ExitScope(0);
|
|
5429
5435
|
|
|
5430
5436
|
/*--- Wrapped vars code ---*/
|
|
@@ -5434,7 +5440,7 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
|
|
|
5434
5440
|
__Pyx_XDECREF(__pyx_t_2);
|
|
5435
5441
|
__Pyx_XDECREF(__pyx_t_3);
|
|
5436
5442
|
__Pyx_TraceException(__pyx_lineno, 0, 0);
|
|
5437
|
-
__Pyx_TraceExceptionUnwind(
|
|
5443
|
+
__Pyx_TraceExceptionUnwind(1, 0);
|
|
5438
5444
|
if (__pyx_m) {
|
|
5439
5445
|
if (__pyx_mstate->__pyx_d && stringtab_initialized) {
|
|
5440
5446
|
__Pyx_AddTraceback("init a_sync.primitives._loggable", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
@@ -8564,6 +8570,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
|
|
|
8564
8570
|
return -1;
|
|
8565
8571
|
}
|
|
8566
8572
|
mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
|
|
8573
|
+
Py_DECREF(bases);
|
|
8567
8574
|
if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
|
|
8568
8575
|
return -1;
|
|
8569
8576
|
}
|
|
@@ -10884,6 +10891,10 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
|
|
|
10884
10891
|
PyCode_NewWithPosOnlyArgs
|
|
10885
10892
|
#endif
|
|
10886
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
|
|
10887
10898
|
return result;
|
|
10888
10899
|
}
|
|
10889
10900
|
#elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
|
|
Binary file
|
|
@@ -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
|
{
|
|
@@ -30,8 +30,8 @@ END: Cython Metadata */
|
|
|
30
30
|
#elif PY_VERSION_HEX < 0x03080000
|
|
31
31
|
#error Cython requires Python 3.8+.
|
|
32
32
|
#else
|
|
33
|
-
#define __PYX_ABI_VERSION "
|
|
34
|
-
#define CYTHON_HEX_VERSION
|
|
33
|
+
#define __PYX_ABI_VERSION "3_1_4"
|
|
34
|
+
#define CYTHON_HEX_VERSION 0x030104F0
|
|
35
35
|
#define CYTHON_FUTURE_DIVISION 1
|
|
36
36
|
/* CModulePreamble */
|
|
37
37
|
#include <stddef.h>
|
|
@@ -2075,18 +2075,18 @@ static void __Pyx_RejectKeywords(const char* function_name, PyObject *kwds);
|
|
|
2075
2075
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
2076
2076
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
2077
2077
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
2078
|
-
if (unlikely(!__pyx_frame_code))
|
|
2079
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
2080
|
-
}
|
|
2078
|
+
if (unlikely(!__pyx_frame_code)) ret = -1;\
|
|
2079
|
+
else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
2080
|
+
} else __pyx_frame_code = NULL;\
|
|
2081
2081
|
PyGILState_Release(state);\
|
|
2082
|
-
}
|
|
2082
|
+
} else __pyx_frame_code = NULL;\
|
|
2083
2083
|
} else {\
|
|
2084
2084
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
2085
2085
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
2086
2086
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
2087
|
-
if (unlikely(!__pyx_frame_code))
|
|
2088
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
2089
|
-
}
|
|
2087
|
+
if (unlikely(!__pyx_frame_code)) ret = -1;\
|
|
2088
|
+
else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
2089
|
+
} else __pyx_frame_code = NULL;\
|
|
2090
2090
|
}\
|
|
2091
2091
|
if (unlikely(ret == -1)) goto_error;\
|
|
2092
2092
|
}
|
|
@@ -2876,22 +2876,22 @@ static int __Pyx_call_next_tp_traverse(PyObject* obj, visitproc v, void *a, trav
|
|
|
2876
2876
|
static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_clear);
|
|
2877
2877
|
|
|
2878
2878
|
/* TypeImport.proto */
|
|
2879
|
-
#ifndef
|
|
2880
|
-
#define
|
|
2879
|
+
#ifndef __PYX_HAVE_RT_ImportType_proto_3_1_4
|
|
2880
|
+
#define __PYX_HAVE_RT_ImportType_proto_3_1_4
|
|
2881
2881
|
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
|
2882
2882
|
#include <stdalign.h>
|
|
2883
2883
|
#endif
|
|
2884
2884
|
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
|
|
2885
|
-
#define
|
|
2885
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) alignof(s)
|
|
2886
2886
|
#else
|
|
2887
|
-
#define
|
|
2887
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) sizeof(void*)
|
|
2888
2888
|
#endif
|
|
2889
|
-
enum
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2889
|
+
enum __Pyx_ImportType_CheckSize_3_1_4 {
|
|
2890
|
+
__Pyx_ImportType_CheckSize_Error_3_1_4 = 0,
|
|
2891
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4 = 1,
|
|
2892
|
+
__Pyx_ImportType_CheckSize_Ignore_3_1_4 = 2
|
|
2893
2893
|
};
|
|
2894
|
-
static PyTypeObject *
|
|
2894
|
+
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);
|
|
2895
2895
|
#endif
|
|
2896
2896
|
|
|
2897
2897
|
/* GetVTable.proto */
|
|
@@ -3192,7 +3192,7 @@ static unsigned long __Pyx_get_runtime_version(void);
|
|
|
3192
3192
|
static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
|
|
3193
3193
|
|
|
3194
3194
|
/* FunctionImport.proto */
|
|
3195
|
-
static int
|
|
3195
|
+
static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
|
|
3196
3196
|
|
|
3197
3197
|
/* MultiPhaseInitModuleState.proto */
|
|
3198
3198
|
#if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
|
|
@@ -4384,8 +4384,12 @@ static PyObject *__pyx_pf_6a_sync_10primitives_5locks_7counter_11CounterLock_6__
|
|
|
4384
4384
|
* else:
|
|
4385
4385
|
*/
|
|
4386
4386
|
__Pyx_TraceLine(89,26,0,__PYX_ERR(0, 89, __pyx_L1_error))
|
|
4387
|
-
|
|
4388
|
-
|
|
4387
|
+
{
|
|
4388
|
+
Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_name);
|
|
4389
|
+
if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 89, __pyx_L1_error)
|
|
4390
|
+
__pyx_t_8 = (__pyx_temp != 0);
|
|
4391
|
+
}
|
|
4392
|
+
|
|
4389
4393
|
if (__pyx_t_8) {
|
|
4390
4394
|
|
|
4391
4395
|
/* "a_sync/primitives/locks/counter.pyx":90
|
|
@@ -5330,8 +5334,14 @@ static void __pyx_f_6a_sync_10primitives_5locks_7counter_11CounterLock_set(struc
|
|
|
5330
5334
|
*/
|
|
5331
5335
|
__Pyx_TraceLine(152,9,0,__PYX_ERR(0, 152, __pyx_L1_error))
|
|
5332
5336
|
while (1) {
|
|
5333
|
-
|
|
5334
|
-
|
|
5337
|
+
if (__pyx_v_self->_heap == Py_None) __pyx_t_7 = 0;
|
|
5338
|
+
else
|
|
5339
|
+
{
|
|
5340
|
+
Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_v_self->_heap);
|
|
5341
|
+
if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 152, __pyx_L1_error)
|
|
5342
|
+
__pyx_t_7 = (__pyx_temp != 0);
|
|
5343
|
+
}
|
|
5344
|
+
|
|
5335
5345
|
if (!__pyx_t_7) break;
|
|
5336
5346
|
|
|
5337
5347
|
/* "a_sync/primitives/locks/counter.pyx":153
|
|
@@ -8011,15 +8021,15 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
8011
8021
|
/*--- Type init code ---*/
|
|
8012
8022
|
__pyx_t_1 = PyImport_ImportModule("a_sync.primitives._debug"); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
8013
8023
|
__Pyx_GOTREF(__pyx_t_1);
|
|
8014
|
-
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin =
|
|
8024
|
+
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.primitives._debug", "_DebugDaemonMixin",
|
|
8015
8025
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
8016
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
|
|
8026
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
|
|
8017
8027
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
8018
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
|
|
8028
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
|
|
8019
8029
|
#else
|
|
8020
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
|
|
8030
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
|
|
8021
8031
|
#endif
|
|
8022
|
-
|
|
8032
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
8023
8033
|
__pyx_vtabptr_6a_sync_10primitives_6_debug__DebugDaemonMixin = (struct __pyx_vtabstruct_6a_sync_10primitives_6_debug__DebugDaemonMixin*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin); if (unlikely(!__pyx_vtabptr_6a_sync_10primitives_6_debug__DebugDaemonMixin)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
8024
8034
|
__pyx_vtabptr_6a_sync_10primitives_5locks_7counter_CounterLock = &__pyx_vtable_6a_sync_10primitives_5locks_7counter_CounterLock;
|
|
8025
8035
|
__pyx_vtable_6a_sync_10primitives_5locks_7counter_CounterLock.__pyx_base = *__pyx_vtabptr_6a_sync_10primitives_6_debug__DebugDaemonMixin;
|
|
@@ -8156,41 +8166,41 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
8156
8166
|
/*--- Type import code ---*/
|
|
8157
8167
|
__pyx_t_1 = PyImport_ImportModule("a_sync.primitives._loggable"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error)
|
|
8158
8168
|
__Pyx_GOTREF(__pyx_t_1);
|
|
8159
|
-
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin =
|
|
8169
|
+
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.primitives._loggable", "_LoggerMixin",
|
|
8160
8170
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
8161
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
|
|
8171
|
+
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),
|
|
8162
8172
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
8163
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
|
|
8173
|
+
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),
|
|
8164
8174
|
#else
|
|
8165
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
|
|
8175
|
+
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),
|
|
8166
8176
|
#endif
|
|
8167
|
-
|
|
8177
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin) __PYX_ERR(2, 1, __pyx_L1_error)
|
|
8168
8178
|
__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(2, 1, __pyx_L1_error)
|
|
8169
8179
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
8170
8180
|
__pyx_t_1 = PyImport_ImportModule("a_sync.primitives._debug"); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 3, __pyx_L1_error)
|
|
8171
8181
|
__Pyx_GOTREF(__pyx_t_1);
|
|
8172
|
-
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin =
|
|
8182
|
+
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.primitives._debug", "_LoopBoundMixin",
|
|
8173
8183
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
8174
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
|
|
8184
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
|
|
8175
8185
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
8176
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
|
|
8186
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
|
|
8177
8187
|
#else
|
|
8178
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
|
|
8188
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
|
|
8179
8189
|
#endif
|
|
8180
|
-
|
|
8190
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin) __PYX_ERR(3, 3, __pyx_L1_error)
|
|
8181
8191
|
__pyx_vtabptr_6a_sync_10primitives_6_debug__LoopBoundMixin = (struct __pyx_vtabstruct_6a_sync_10primitives_6_debug__LoopBoundMixin*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin); if (unlikely(!__pyx_vtabptr_6a_sync_10primitives_6_debug__LoopBoundMixin)) __PYX_ERR(3, 3, __pyx_L1_error)
|
|
8182
8192
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
8183
8193
|
__pyx_t_1 = PyImport_ImportModule("a_sync.primitives.locks.event"); if (unlikely(!__pyx_t_1)) __PYX_ERR(4, 5, __pyx_L1_error)
|
|
8184
8194
|
__Pyx_GOTREF(__pyx_t_1);
|
|
8185
|
-
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_5event_CythonEvent =
|
|
8195
|
+
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_5event_CythonEvent = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.primitives.locks.event", "CythonEvent",
|
|
8186
8196
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
8187
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent),
|
|
8197
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent),
|
|
8188
8198
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
8189
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent),
|
|
8199
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent),
|
|
8190
8200
|
#else
|
|
8191
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent),
|
|
8201
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent),
|
|
8192
8202
|
#endif
|
|
8193
|
-
|
|
8203
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_5event_CythonEvent) __PYX_ERR(4, 5, __pyx_L1_error)
|
|
8194
8204
|
__pyx_vtabptr_6a_sync_10primitives_5locks_5event_CythonEvent = (struct __pyx_vtabstruct_6a_sync_10primitives_5locks_5event_CythonEvent*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_5event_CythonEvent); if (unlikely(!__pyx_vtabptr_6a_sync_10primitives_5locks_5event_CythonEvent)) __PYX_ERR(4, 5, __pyx_L1_error)
|
|
8195
8205
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
8196
8206
|
__Pyx_RefNannyFinishContext();
|
|
@@ -8221,20 +8231,20 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
8221
8231
|
/*--- Function import code ---*/
|
|
8222
8232
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._helpers"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
8223
8233
|
__Pyx_GOTREF(__pyx_t_1);
|
|
8224
|
-
if (
|
|
8234
|
+
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)
|
|
8225
8235
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
8226
8236
|
__pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.as_completed"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
8227
8237
|
__Pyx_GOTREF(__pyx_t_1);
|
|
8228
|
-
if (
|
|
8238
|
+
if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "as_completed_mapping", (void (**)(void))&__pyx_f_6a_sync_7asyncio_12as_completed_as_completed_mapping, "PyObject *(PyObject *, unsigned int, int, int, int, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
8229
8239
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
8230
8240
|
__pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.create_task"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
8231
8241
|
__Pyx_GOTREF(__pyx_t_1);
|
|
8232
|
-
if (
|
|
8233
|
-
if (
|
|
8242
|
+
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)
|
|
8243
|
+
if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "ccreate_task", (void (**)(void))&__pyx_f_6a_sync_7asyncio_11create_task_ccreate_task, "PyObject *(PyObject *, PyObject *, int, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
8234
8244
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
8235
8245
|
__pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.igather"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
8236
8246
|
__Pyx_GOTREF(__pyx_t_1);
|
|
8237
|
-
if (
|
|
8247
|
+
if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "cigather", (void (**)(void))&__pyx_f_6a_sync_7asyncio_7igather_cigather, "PyObject *(PyObject *, struct __pyx_opt_args_6a_sync_7asyncio_7igather_cigather *__pyx_optional_args)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
8238
8248
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
8239
8249
|
__Pyx_RefNannyFinishContext();
|
|
8240
8250
|
return 0;
|
|
@@ -11275,6 +11285,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
|
|
|
11275
11285
|
return -1;
|
|
11276
11286
|
}
|
|
11277
11287
|
mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
|
|
11288
|
+
Py_DECREF(bases);
|
|
11278
11289
|
if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
|
|
11279
11290
|
return -1;
|
|
11280
11291
|
}
|
|
@@ -13195,15 +13206,15 @@ static CYTHON_INLINE int __Pyx_PyObject_SetAttrStr(PyObject* obj, PyObject* attr
|
|
|
13195
13206
|
}
|
|
13196
13207
|
|
|
13197
13208
|
/* TypeImport */
|
|
13198
|
-
#ifndef
|
|
13199
|
-
#define
|
|
13200
|
-
static PyTypeObject *
|
|
13201
|
-
size_t size, size_t alignment, enum
|
|
13209
|
+
#ifndef __PYX_HAVE_RT_ImportType_3_1_4
|
|
13210
|
+
#define __PYX_HAVE_RT_ImportType_3_1_4
|
|
13211
|
+
static PyTypeObject *__Pyx_ImportType_3_1_4(PyObject *module, const char *module_name, const char *class_name,
|
|
13212
|
+
size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_4 check_size)
|
|
13202
13213
|
{
|
|
13203
13214
|
PyObject *result = 0;
|
|
13204
13215
|
Py_ssize_t basicsize;
|
|
13205
13216
|
Py_ssize_t itemsize;
|
|
13206
|
-
#
|
|
13217
|
+
#ifdef Py_LIMITED_API
|
|
13207
13218
|
PyObject *py_basicsize;
|
|
13208
13219
|
PyObject *py_itemsize;
|
|
13209
13220
|
#endif
|
|
@@ -13216,7 +13227,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
|
|
|
13216
13227
|
module_name, class_name);
|
|
13217
13228
|
goto bad;
|
|
13218
13229
|
}
|
|
13219
|
-
#
|
|
13230
|
+
#ifndef Py_LIMITED_API
|
|
13220
13231
|
basicsize = ((PyTypeObject *)result)->tp_basicsize;
|
|
13221
13232
|
itemsize = ((PyTypeObject *)result)->tp_itemsize;
|
|
13222
13233
|
#else
|
|
@@ -13254,7 +13265,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
|
|
|
13254
13265
|
module_name, class_name, size, basicsize+itemsize);
|
|
13255
13266
|
goto bad;
|
|
13256
13267
|
}
|
|
13257
|
-
if (check_size ==
|
|
13268
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_4 &&
|
|
13258
13269
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
13259
13270
|
PyErr_Format(PyExc_ValueError,
|
|
13260
13271
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -13262,7 +13273,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
|
|
|
13262
13273
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
13263
13274
|
goto bad;
|
|
13264
13275
|
}
|
|
13265
|
-
else if (check_size ==
|
|
13276
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_4 && (size_t)basicsize > size) {
|
|
13266
13277
|
if (PyErr_WarnFormat(NULL, 0,
|
|
13267
13278
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
13268
13279
|
"Expected %zd from C header, got %zd from PyObject",
|
|
@@ -16600,9 +16611,9 @@ static PyObject *__Pyx_Generator_GetInlinedResult(PyObject *self) {
|
|
|
16600
16611
|
}
|
|
16601
16612
|
|
|
16602
16613
|
/* FunctionImport */
|
|
16603
|
-
#ifndef
|
|
16604
|
-
#define
|
|
16605
|
-
static int
|
|
16614
|
+
#ifndef __PYX_HAVE_RT_ImportFunction_3_1_4
|
|
16615
|
+
#define __PYX_HAVE_RT_ImportFunction_3_1_4
|
|
16616
|
+
static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
|
|
16606
16617
|
PyObject *d = 0;
|
|
16607
16618
|
PyObject *cobj = 0;
|
|
16608
16619
|
union {
|
|
@@ -16704,6 +16715,10 @@ bad:
|
|
|
16704
16715
|
PyCode_NewWithPosOnlyArgs
|
|
16705
16716
|
#endif
|
|
16706
16717
|
(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
|
|
16718
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
|
|
16719
|
+
if (likely(result))
|
|
16720
|
+
result->_co_firsttraceable = 0;
|
|
16721
|
+
#endif
|
|
16707
16722
|
return result;
|
|
16708
16723
|
}
|
|
16709
16724
|
#elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
|
|
Binary file
|