ez-a-sync 0.32.26__cp313-cp313-win32.whl → 0.32.27__cp313-cp313-win32.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 +49 -34
- a_sync/_smart.cp313-win32.pyd +0 -0
- a_sync/a_sync/_descriptor.c +69 -54
- a_sync/a_sync/_descriptor.cp313-win32.pyd +0 -0
- a_sync/a_sync/_flags.c +13 -10
- a_sync/a_sync/_flags.cp313-win32.pyd +0 -0
- a_sync/a_sync/_helpers.c +62 -47
- a_sync/a_sync/_helpers.cp313-win32.pyd +0 -0
- a_sync/a_sync/_kwargs.c +33 -18
- a_sync/a_sync/_kwargs.cp313-win32.pyd +0 -0
- a_sync/a_sync/abstract.c +18 -11
- a_sync/a_sync/abstract.cp313-win32.pyd +0 -0
- a_sync/a_sync/base.c +168 -153
- a_sync/a_sync/base.cp313-win32.pyd +0 -0
- a_sync/a_sync/flags.c +6 -3
- a_sync/a_sync/flags.cp313-win32.pyd +0 -0
- a_sync/a_sync/function.c +80 -65
- a_sync/a_sync/function.cp313-win32.pyd +0 -0
- a_sync/a_sync/method.c +120 -105
- a_sync/a_sync/method.cp313-win32.pyd +0 -0
- a_sync/a_sync/modifiers/manager.c +46 -31
- a_sync/a_sync/modifiers/manager.cp313-win32.pyd +0 -0
- a_sync/a_sync/property.c +82 -67
- a_sync/a_sync/property.cp313-win32.pyd +0 -0
- a_sync/async_property/cached.c +52 -37
- a_sync/async_property/cached.cp313-win32.pyd +0 -0
- a_sync/async_property/proxy.c +25 -10
- a_sync/async_property/proxy.cp313-win32.pyd +0 -0
- a_sync/asyncio/as_completed.c +21 -6
- a_sync/asyncio/as_completed.cp313-win32.pyd +0 -0
- a_sync/asyncio/create_task.c +23 -8
- a_sync/asyncio/create_task.cp313-win32.pyd +0 -0
- a_sync/asyncio/gather.c +30 -15
- a_sync/asyncio/gather.cp313-win32.pyd +0 -0
- a_sync/asyncio/igather.c +24 -9
- a_sync/asyncio/igather.cp313-win32.pyd +0 -0
- a_sync/asyncio/sleep.c +19 -4
- a_sync/asyncio/sleep.cp313-win32.pyd +0 -0
- a_sync/debugging.c +45 -30
- a_sync/debugging.cp313-win32.pyd +0 -0
- a_sync/exceptions.c +18 -11
- a_sync/exceptions.cp313-win32.pyd +0 -0
- a_sync/executor.py +44 -0
- a_sync/functools.c +24 -9
- a_sync/functools.cp313-win32.pyd +0 -0
- a_sync/iter.c +84 -69
- a_sync/iter.cp313-win32.pyd +0 -0
- a_sync/primitives/_debug.c +49 -34
- a_sync/primitives/_debug.cp313-win32.pyd +0 -0
- a_sync/primitives/_loggable.c +25 -10
- a_sync/primitives/_loggable.cp313-win32.pyd +0 -0
- a_sync/primitives/locks/counter.c +70 -55
- a_sync/primitives/locks/counter.cp313-win32.pyd +0 -0
- a_sync/primitives/locks/event.c +56 -40
- a_sync/primitives/locks/event.cp313-win32.pyd +0 -0
- a_sync/primitives/locks/prio_semaphore.c +82 -67
- a_sync/primitives/locks/prio_semaphore.cp313-win32.pyd +0 -0
- a_sync/primitives/locks/semaphore.c +71 -56
- a_sync/primitives/locks/semaphore.cp313-win32.pyd +0 -0
- a_sync/utils/repr.c +41 -26
- a_sync/utils/repr.cp313-win32.pyd +0 -0
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/METADATA +1 -1
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/RECORD +66 -66
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/WHEEL +0 -0
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.dist-info}/licenses/LICENSE.txt +0 -0
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.27.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.3 */
|
|
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_3"
|
|
33
|
+
#define CYTHON_HEX_VERSION 0x030103F0
|
|
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
|
|
@@ -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_3
|
|
2545
|
+
#define __PYX_HAVE_RT_ImportType_proto_3_1_3
|
|
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_3(s) alignof(s)
|
|
2548
2551
|
#else
|
|
2549
|
-
#define
|
|
2552
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) sizeof(void*)
|
|
2550
2553
|
#endif
|
|
2551
|
-
enum
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2554
|
+
enum __Pyx_ImportType_CheckSize_3_1_3 {
|
|
2555
|
+
__Pyx_ImportType_CheckSize_Error_3_1_3 = 0,
|
|
2556
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_3 = 1,
|
|
2557
|
+
__Pyx_ImportType_CheckSize_Ignore_3_1_3 = 2
|
|
2555
2558
|
};
|
|
2556
|
-
static PyTypeObject *
|
|
2559
|
+
static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_3 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_3(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_3(__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_3(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_3(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_3(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
|
|
6924
6927
|
#endif
|
|
6925
|
-
|
|
6928
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_3); 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_3(__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_3(__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;
|
|
@@ -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)
|
|
@@ -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,10 +10166,10 @@ 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_3
|
|
10170
|
+
#define __PYX_HAVE_RT_ImportType_3_1_3
|
|
10171
|
+
static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module_name, const char *class_name,
|
|
10172
|
+
size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_3 check_size)
|
|
10170
10173
|
{
|
|
10171
10174
|
PyObject *result = 0;
|
|
10172
10175
|
Py_ssize_t basicsize;
|
|
@@ -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_3 &&
|
|
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_3 && (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[] = {
|
|
@@ -13583,7 +13598,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call2Args(PyObject* function, PyOb
|
|
|
13583
13598
|
}
|
|
13584
13599
|
|
|
13585
13600
|
/* PyObjectCallMethod1 */
|
|
13586
|
-
#if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
|
|
13601
|
+
#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
|
|
13587
13602
|
static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
13588
13603
|
PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
|
|
13589
13604
|
Py_DECREF(method);
|
|
@@ -13591,7 +13606,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
|
13591
13606
|
}
|
|
13592
13607
|
#endif
|
|
13593
13608
|
static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
|
|
13594
|
-
#if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
|
|
13609
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
13595
13610
|
PyObject *args[2] = {obj, arg};
|
|
13596
13611
|
(void) __Pyx_PyObject_GetMethod;
|
|
13597
13612
|
(void) __Pyx_PyObject_CallOneArg;
|
|
@@ -14869,9 +14884,9 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
|
|
|
14869
14884
|
}
|
|
14870
14885
|
|
|
14871
14886
|
/* FunctionImport */
|
|
14872
|
-
#ifndef
|
|
14873
|
-
#define
|
|
14874
|
-
static int
|
|
14887
|
+
#ifndef __PYX_HAVE_RT_ImportFunction_3_1_3
|
|
14888
|
+
#define __PYX_HAVE_RT_ImportFunction_3_1_3
|
|
14889
|
+
static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
|
|
14875
14890
|
PyObject *d = 0;
|
|
14876
14891
|
PyObject *cobj = 0;
|
|
14877
14892
|
union {
|
|
Binary file
|
a_sync/primitives/_loggable.c
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.1.
|
|
1
|
+
/* Generated by Cython 3.1.3 */
|
|
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_3"
|
|
33
|
+
#define CYTHON_HEX_VERSION 0x030103F0
|
|
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
|
|
@@ -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";
|
|
@@ -5231,7 +5234,7 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
|
|
|
5231
5234
|
(void)__Pyx_modinit_variable_import_code(__pyx_mstate);
|
|
5232
5235
|
(void)__Pyx_modinit_function_import_code(__pyx_mstate);
|
|
5233
5236
|
/*--- Execution code ---*/
|
|
5234
|
-
__Pyx_TraceStartFunc("PyInit__loggable", __pyx_f[0], 1,
|
|
5237
|
+
__Pyx_TraceStartFunc("PyInit__loggable", __pyx_f[0], 1, 2, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
|
|
5235
5238
|
|
|
5236
5239
|
/* "a_sync/primitives/_loggable.pyx":6
|
|
5237
5240
|
* """
|
|
@@ -5393,7 +5396,7 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
|
|
|
5393
5396
|
* cdef object __pyx_PickleError
|
|
5394
5397
|
* cdef object __pyx_result
|
|
5395
5398
|
*/
|
|
5396
|
-
__Pyx_TraceLine(1,
|
|
5399
|
+
__Pyx_TraceLine(1,0,0,__PYX_ERR(1, 1, __pyx_L1_error))
|
|
5397
5400
|
__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
5401
|
__Pyx_GOTREF(__pyx_t_2);
|
|
5399
5402
|
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 +5417,14 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
|
|
|
5414
5417
|
* """
|
|
5415
5418
|
* This module provides a mixin class to add debug logging capabilities to other classes.
|
|
5416
5419
|
*/
|
|
5417
|
-
__Pyx_TraceLine(1,
|
|
5420
|
+
__Pyx_TraceLine(1,2,0,__PYX_ERR(0, 1, __pyx_L1_error))
|
|
5418
5421
|
__pyx_t_2 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
5419
5422
|
__Pyx_GOTREF(__pyx_t_2);
|
|
5420
5423
|
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
5424
|
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
5425
|
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
5426
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
5424
|
-
__Pyx_TraceReturnValue(Py_None,
|
|
5427
|
+
__Pyx_TraceReturnValue(Py_None, 2, 0, __PYX_ERR(0, 1, __pyx_L1_error));
|
|
5425
5428
|
__Pyx_PyMonitoring_ExitScope(0);
|
|
5426
5429
|
|
|
5427
5430
|
/*--- Wrapped vars code ---*/
|
|
@@ -5431,7 +5434,7 @@ __Pyx_RefNannySetupContext("PyInit__loggable", 0);
|
|
|
5431
5434
|
__Pyx_XDECREF(__pyx_t_2);
|
|
5432
5435
|
__Pyx_XDECREF(__pyx_t_3);
|
|
5433
5436
|
__Pyx_TraceException(__pyx_lineno, 0, 0);
|
|
5434
|
-
__Pyx_TraceExceptionUnwind(
|
|
5437
|
+
__Pyx_TraceExceptionUnwind(2, 0);
|
|
5435
5438
|
if (__pyx_m) {
|
|
5436
5439
|
if (__pyx_mstate->__pyx_d && stringtab_initialized) {
|
|
5437
5440
|
__Pyx_AddTraceback("init a_sync.primitives._loggable", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
@@ -7670,6 +7673,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
7670
7673
|
changed = 1;
|
|
7671
7674
|
}
|
|
7672
7675
|
#endif // CYTHON_METH_FASTCALL
|
|
7676
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
7673
7677
|
else if (strcmp(memb->name, "__module__") == 0) {
|
|
7674
7678
|
PyObject *descr;
|
|
7675
7679
|
assert(memb->type == T_OBJECT);
|
|
@@ -7684,11 +7688,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
7684
7688
|
}
|
|
7685
7689
|
changed = 1;
|
|
7686
7690
|
}
|
|
7691
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
7687
7692
|
}
|
|
7688
7693
|
memb++;
|
|
7689
7694
|
}
|
|
7690
7695
|
}
|
|
7691
7696
|
#endif // !CYTHON_COMPILING_IN_LIMITED_API
|
|
7697
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
7692
7698
|
slot = spec->slots;
|
|
7693
7699
|
while (slot && slot->slot && slot->slot != Py_tp_getset)
|
|
7694
7700
|
slot++;
|
|
@@ -7720,6 +7726,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
7720
7726
|
++getset;
|
|
7721
7727
|
}
|
|
7722
7728
|
}
|
|
7729
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
7723
7730
|
if (changed)
|
|
7724
7731
|
PyType_Modified(type);
|
|
7725
7732
|
#endif // PY_VERSION_HEX > 0x030900B1
|
|
@@ -7830,6 +7837,13 @@ try_unpack:
|
|
|
7830
7837
|
|
|
7831
7838
|
/* PyObjectCallMethod0 */
|
|
7832
7839
|
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
|
|
7840
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
7841
|
+
PyObject *args[1] = {obj};
|
|
7842
|
+
(void) __Pyx_PyObject_GetMethod;
|
|
7843
|
+
(void) __Pyx_PyObject_CallOneArg;
|
|
7844
|
+
(void) __Pyx_PyObject_CallNoArg;
|
|
7845
|
+
return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
|
|
7846
|
+
#else
|
|
7833
7847
|
PyObject *method = NULL, *result = NULL;
|
|
7834
7848
|
int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
|
|
7835
7849
|
if (likely(is_method)) {
|
|
@@ -7842,6 +7856,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
|
|
|
7842
7856
|
Py_DECREF(method);
|
|
7843
7857
|
bad:
|
|
7844
7858
|
return result;
|
|
7859
|
+
#endif
|
|
7845
7860
|
}
|
|
7846
7861
|
|
|
7847
7862
|
/* ValidateBasesTuple */
|
|
@@ -8520,7 +8535,7 @@ bad:
|
|
|
8520
8535
|
}
|
|
8521
8536
|
|
|
8522
8537
|
/* CommonTypesMetaclass */
|
|
8523
|
-
PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
8538
|
+
static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
8524
8539
|
return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
|
|
8525
8540
|
}
|
|
8526
8541
|
static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
|
|
Binary file
|