ez-a-sync 0.32.26__cp39-cp39-win32.whl → 0.32.27__cp39-cp39-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 +58 -44
- a_sync/_smart.cp39-win32.pyd +0 -0
- a_sync/a_sync/_descriptor.c +69 -54
- a_sync/a_sync/_descriptor.cp39-win32.pyd +0 -0
- a_sync/a_sync/_flags.c +13 -10
- a_sync/a_sync/_flags.cp39-win32.pyd +0 -0
- a_sync/a_sync/_helpers.c +62 -47
- a_sync/a_sync/_helpers.cp39-win32.pyd +0 -0
- a_sync/a_sync/_kwargs.c +33 -18
- a_sync/a_sync/_kwargs.cp39-win32.pyd +0 -0
- a_sync/a_sync/abstract.c +18 -11
- a_sync/a_sync/abstract.cp39-win32.pyd +0 -0
- a_sync/a_sync/base.c +177 -163
- a_sync/a_sync/base.cp39-win32.pyd +0 -0
- a_sync/a_sync/flags.c +6 -3
- a_sync/a_sync/flags.cp39-win32.pyd +0 -0
- a_sync/a_sync/function.c +89 -75
- a_sync/a_sync/function.cp39-win32.pyd +0 -0
- a_sync/a_sync/method.c +131 -117
- a_sync/a_sync/method.cp39-win32.pyd +0 -0
- a_sync/a_sync/modifiers/manager.c +55 -41
- a_sync/a_sync/modifiers/manager.cp39-win32.pyd +0 -0
- a_sync/a_sync/property.c +82 -67
- a_sync/a_sync/property.cp39-win32.pyd +0 -0
- a_sync/async_property/cached.c +52 -37
- a_sync/async_property/cached.cp39-win32.pyd +0 -0
- a_sync/async_property/proxy.c +25 -10
- a_sync/async_property/proxy.cp39-win32.pyd +0 -0
- a_sync/asyncio/as_completed.c +21 -6
- a_sync/asyncio/as_completed.cp39-win32.pyd +0 -0
- a_sync/asyncio/create_task.c +32 -18
- a_sync/asyncio/create_task.cp39-win32.pyd +0 -0
- a_sync/asyncio/gather.c +30 -15
- a_sync/asyncio/gather.cp39-win32.pyd +0 -0
- a_sync/asyncio/igather.c +33 -19
- a_sync/asyncio/igather.cp39-win32.pyd +0 -0
- a_sync/asyncio/sleep.c +19 -4
- a_sync/asyncio/sleep.cp39-win32.pyd +0 -0
- a_sync/debugging.c +54 -40
- a_sync/debugging.cp39-win32.pyd +0 -0
- a_sync/exceptions.c +18 -11
- a_sync/exceptions.cp39-win32.pyd +0 -0
- a_sync/executor.py +44 -0
- a_sync/functools.c +24 -9
- a_sync/functools.cp39-win32.pyd +0 -0
- a_sync/iter.c +96 -82
- a_sync/iter.cp39-win32.pyd +0 -0
- a_sync/primitives/_debug.c +49 -34
- a_sync/primitives/_debug.cp39-win32.pyd +0 -0
- a_sync/primitives/_loggable.c +25 -10
- a_sync/primitives/_loggable.cp39-win32.pyd +0 -0
- a_sync/primitives/locks/counter.c +79 -65
- a_sync/primitives/locks/counter.cp39-win32.pyd +0 -0
- a_sync/primitives/locks/event.c +70 -55
- a_sync/primitives/locks/event.cp39-win32.pyd +0 -0
- a_sync/primitives/locks/prio_semaphore.c +90 -76
- a_sync/primitives/locks/prio_semaphore.cp39-win32.pyd +0 -0
- a_sync/primitives/locks/semaphore.c +74 -60
- a_sync/primitives/locks/semaphore.cp39-win32.pyd +0 -0
- a_sync/utils/repr.c +50 -36
- a_sync/utils/repr.cp39-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/locks/event.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
|
{
|
|
@@ -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_3"
|
|
34
|
+
#define CYTHON_HEX_VERSION 0x030103F0
|
|
35
35
|
#define CYTHON_FUTURE_DIVISION 1
|
|
36
36
|
/* CModulePreamble */
|
|
37
37
|
#include <stddef.h>
|
|
@@ -394,6 +394,9 @@ END: Cython Metadata */
|
|
|
394
394
|
enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
|
|
395
395
|
#endif
|
|
396
396
|
#endif
|
|
397
|
+
#ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME
|
|
398
|
+
#define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100
|
|
399
|
+
#endif
|
|
397
400
|
#ifndef __has_attribute
|
|
398
401
|
#define __has_attribute(x) 0
|
|
399
402
|
#endif
|
|
@@ -2848,22 +2851,22 @@ static int __Pyx_call_next_tp_traverse(PyObject* obj, visitproc v, void *a, trav
|
|
|
2848
2851
|
static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_clear);
|
|
2849
2852
|
|
|
2850
2853
|
/* TypeImport.proto */
|
|
2851
|
-
#ifndef
|
|
2852
|
-
#define
|
|
2854
|
+
#ifndef __PYX_HAVE_RT_ImportType_proto_3_1_3
|
|
2855
|
+
#define __PYX_HAVE_RT_ImportType_proto_3_1_3
|
|
2853
2856
|
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
|
2854
2857
|
#include <stdalign.h>
|
|
2855
2858
|
#endif
|
|
2856
2859
|
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
|
|
2857
|
-
#define
|
|
2860
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) alignof(s)
|
|
2858
2861
|
#else
|
|
2859
|
-
#define
|
|
2862
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) sizeof(void*)
|
|
2860
2863
|
#endif
|
|
2861
|
-
enum
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2864
|
+
enum __Pyx_ImportType_CheckSize_3_1_3 {
|
|
2865
|
+
__Pyx_ImportType_CheckSize_Error_3_1_3 = 0,
|
|
2866
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_3 = 1,
|
|
2867
|
+
__Pyx_ImportType_CheckSize_Ignore_3_1_3 = 2
|
|
2865
2868
|
};
|
|
2866
|
-
static PyTypeObject *
|
|
2869
|
+
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);
|
|
2867
2870
|
#endif
|
|
2868
2871
|
|
|
2869
2872
|
/* GetVTable.proto */
|
|
@@ -4566,9 +4569,10 @@ static PyObject *__pyx_pf_6a_sync_10primitives_5locks_5event_11CythonEvent_6__re
|
|
|
4566
4569
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
4567
4570
|
__pyx_t_1 = PyLong_FromSsize_t(__pyx_t_6); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 93, __pyx_L1_error)
|
|
4568
4571
|
__Pyx_GOTREF(__pyx_t_1);
|
|
4572
|
+
__Pyx_INCREF(__pyx_t_1);
|
|
4569
4573
|
__pyx_v_len_waiters = __pyx_t_1;
|
|
4570
|
-
|
|
4571
|
-
|
|
4574
|
+
__pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 93, __pyx_L1_error)
|
|
4575
|
+
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
4572
4576
|
if (__pyx_t_2) {
|
|
4573
4577
|
|
|
4574
4578
|
/* "a_sync/primitives/locks/event.pyx":94
|
|
@@ -6539,11 +6543,11 @@ static PyObject *__pyx_gb_6a_sync_10primitives_5locks_5event_11CythonEvent_21gen
|
|
|
6539
6543
|
__Pyx_GOTREF(__pyx_t_1);
|
|
6540
6544
|
}
|
|
6541
6545
|
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_6a_sync_10primitives_5locks_5event_CythonEvent))))) __PYX_ERR(0, 173, __pyx_L1_error)
|
|
6546
|
+
__Pyx_INCREF(__pyx_t_1);
|
|
6542
6547
|
__Pyx_XGOTREF((PyObject *)__pyx_cur_scope->__pyx_v_self);
|
|
6543
6548
|
__Pyx_XDECREF_SET(__pyx_cur_scope->__pyx_v_self, ((struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent *)__pyx_t_1));
|
|
6544
6549
|
__Pyx_GIVEREF(__pyx_t_1);
|
|
6545
|
-
|
|
6546
|
-
__pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 173, __pyx_L1_error)
|
|
6550
|
+
__pyx_t_7 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_t_1)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 173, __pyx_L1_error)
|
|
6547
6551
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
6548
6552
|
if (__pyx_t_7) {
|
|
6549
6553
|
} else {
|
|
@@ -7889,15 +7893,15 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
7889
7893
|
/*--- Type init code ---*/
|
|
7890
7894
|
__pyx_t_1 = PyImport_ImportModule("a_sync.primitives._debug"); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
7891
7895
|
__Pyx_GOTREF(__pyx_t_1);
|
|
7892
|
-
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin =
|
|
7896
|
+
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives._debug", "_DebugDaemonMixin",
|
|
7893
7897
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
7894
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
|
|
7898
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
|
|
7895
7899
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
7896
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
|
|
7900
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
|
|
7897
7901
|
#else
|
|
7898
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
|
|
7902
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
|
|
7899
7903
|
#endif
|
|
7900
|
-
|
|
7904
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
7901
7905
|
__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)
|
|
7902
7906
|
__pyx_vtabptr_6a_sync_10primitives_5locks_5event_CythonEvent = &__pyx_vtable_6a_sync_10primitives_5locks_5event_CythonEvent;
|
|
7903
7907
|
__pyx_vtable_6a_sync_10primitives_5locks_5event_CythonEvent.__pyx_base = *__pyx_vtabptr_6a_sync_10primitives_6_debug__DebugDaemonMixin;
|
|
@@ -8010,28 +8014,28 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
8010
8014
|
/*--- Type import code ---*/
|
|
8011
8015
|
__pyx_t_1 = PyImport_ImportModule("a_sync.primitives._loggable"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error)
|
|
8012
8016
|
__Pyx_GOTREF(__pyx_t_1);
|
|
8013
|
-
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin =
|
|
8017
|
+
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives._loggable", "_LoggerMixin",
|
|
8014
8018
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
8015
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
|
|
8019
|
+
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),
|
|
8016
8020
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
8017
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
|
|
8021
|
+
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),
|
|
8018
8022
|
#else
|
|
8019
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
|
|
8023
|
+
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),
|
|
8020
8024
|
#endif
|
|
8021
|
-
|
|
8025
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin) __PYX_ERR(2, 1, __pyx_L1_error)
|
|
8022
8026
|
__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)
|
|
8023
8027
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
8024
8028
|
__pyx_t_1 = PyImport_ImportModule("a_sync.primitives._debug"); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 3, __pyx_L1_error)
|
|
8025
8029
|
__Pyx_GOTREF(__pyx_t_1);
|
|
8026
|
-
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin =
|
|
8030
|
+
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives._debug", "_LoopBoundMixin",
|
|
8027
8031
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
8028
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
|
|
8032
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
|
|
8029
8033
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
8030
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
|
|
8034
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
|
|
8031
8035
|
#else
|
|
8032
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
|
|
8036
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
|
|
8033
8037
|
#endif
|
|
8034
|
-
|
|
8038
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin) __PYX_ERR(3, 3, __pyx_L1_error)
|
|
8035
8039
|
__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)
|
|
8036
8040
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
8037
8041
|
__Pyx_RefNannyFinishContext();
|
|
@@ -8344,7 +8348,7 @@ __Pyx_RefNannySetupContext("PyInit_event", 0);
|
|
|
8344
8348
|
(void)__Pyx_modinit_variable_import_code(__pyx_mstate);
|
|
8345
8349
|
(void)__Pyx_modinit_function_import_code(__pyx_mstate);
|
|
8346
8350
|
/*--- Execution code ---*/
|
|
8347
|
-
__Pyx_TraceStartFunc("PyInit_event", __pyx_f[0], 1,
|
|
8351
|
+
__Pyx_TraceStartFunc("PyInit_event", __pyx_f[0], 1, 1, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
|
|
8348
8352
|
|
|
8349
8353
|
/* "a_sync/primitives/locks/event.pyx":6
|
|
8350
8354
|
* """
|
|
@@ -8565,7 +8569,7 @@ __Pyx_RefNannySetupContext("PyInit_event", 0);
|
|
|
8565
8569
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
8566
8570
|
* def __setstate_cython__(self, __pyx_state):
|
|
8567
8571
|
*/
|
|
8568
|
-
__Pyx_TraceLine(1,
|
|
8572
|
+
__Pyx_TraceLine(1,0,0,__PYX_ERR(1, 1, __pyx_L1_error))
|
|
8569
8573
|
__pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_10primitives_5locks_5event_11CythonEvent_23__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_CythonEvent___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_primitives_locks_event, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[13])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
8570
8574
|
__Pyx_GOTREF(__pyx_t_3);
|
|
8571
8575
|
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)
|
|
@@ -8597,12 +8601,12 @@ __Pyx_RefNannySetupContext("PyInit_event", 0);
|
|
|
8597
8601
|
* """
|
|
8598
8602
|
* This module provides an enhanced version of asyncio.Event with additional debug logging to help detect deadlocks.
|
|
8599
8603
|
*/
|
|
8600
|
-
__Pyx_TraceLine(1,
|
|
8604
|
+
__Pyx_TraceLine(1,1,0,__PYX_ERR(0, 1, __pyx_L1_error))
|
|
8601
8605
|
__pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
8602
8606
|
__Pyx_GOTREF(__pyx_t_3);
|
|
8603
8607
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_test, __pyx_t_3) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
8604
8608
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
8605
|
-
__Pyx_TraceReturnValue(Py_None,
|
|
8609
|
+
__Pyx_TraceReturnValue(Py_None, 1, 0, __PYX_ERR(0, 1, __pyx_L1_error));
|
|
8606
8610
|
__Pyx_PyMonitoring_ExitScope(0);
|
|
8607
8611
|
|
|
8608
8612
|
/*--- Wrapped vars code ---*/
|
|
@@ -8612,7 +8616,7 @@ __Pyx_RefNannySetupContext("PyInit_event", 0);
|
|
|
8612
8616
|
__Pyx_XDECREF(__pyx_t_2);
|
|
8613
8617
|
__Pyx_XDECREF(__pyx_t_3);
|
|
8614
8618
|
__Pyx_TraceException(__pyx_lineno, 0, 0);
|
|
8615
|
-
__Pyx_TraceExceptionUnwind(
|
|
8619
|
+
__Pyx_TraceExceptionUnwind(1, 0);
|
|
8616
8620
|
if (__pyx_m) {
|
|
8617
8621
|
if (__pyx_mstate->__pyx_d && stringtab_initialized) {
|
|
8618
8622
|
__Pyx_AddTraceback("init a_sync.primitives.locks.event", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
@@ -8844,16 +8848,15 @@ static int __Pyx_InitConstants(__pyx_mstatetype *__pyx_mstate) {
|
|
|
8844
8848
|
return -1;
|
|
8845
8849
|
}
|
|
8846
8850
|
/* #### Code section: init_codeobjects ### */
|
|
8847
|
-
|
|
8848
|
-
|
|
8849
|
-
|
|
8850
|
-
|
|
8851
|
-
|
|
8852
|
-
|
|
8853
|
-
|
|
8854
|
-
|
|
8855
|
-
|
|
8856
|
-
} __Pyx_PyCode_New_function_description;
|
|
8851
|
+
typedef struct {
|
|
8852
|
+
unsigned int argcount : 2;
|
|
8853
|
+
unsigned int num_posonly_args : 1;
|
|
8854
|
+
unsigned int num_kwonly_args : 1;
|
|
8855
|
+
unsigned int nlocals : 3;
|
|
8856
|
+
unsigned int flags : 10;
|
|
8857
|
+
unsigned int first_line : 8;
|
|
8858
|
+
unsigned int line_table_length : 12;
|
|
8859
|
+
} __Pyx_PyCode_New_function_description;
|
|
8857
8860
|
/* NewCodeObj.proto */
|
|
8858
8861
|
static PyObject* __Pyx_PyCode_New(
|
|
8859
8862
|
const __Pyx_PyCode_New_function_description descr,
|
|
@@ -11020,6 +11023,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
11020
11023
|
changed = 1;
|
|
11021
11024
|
}
|
|
11022
11025
|
#endif // CYTHON_METH_FASTCALL
|
|
11026
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
11023
11027
|
else if (strcmp(memb->name, "__module__") == 0) {
|
|
11024
11028
|
PyObject *descr;
|
|
11025
11029
|
assert(memb->type == T_OBJECT);
|
|
@@ -11034,11 +11038,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
11034
11038
|
}
|
|
11035
11039
|
changed = 1;
|
|
11036
11040
|
}
|
|
11041
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
11037
11042
|
}
|
|
11038
11043
|
memb++;
|
|
11039
11044
|
}
|
|
11040
11045
|
}
|
|
11041
11046
|
#endif // !CYTHON_COMPILING_IN_LIMITED_API
|
|
11047
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
11042
11048
|
slot = spec->slots;
|
|
11043
11049
|
while (slot && slot->slot && slot->slot != Py_tp_getset)
|
|
11044
11050
|
slot++;
|
|
@@ -11070,6 +11076,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
11070
11076
|
++getset;
|
|
11071
11077
|
}
|
|
11072
11078
|
}
|
|
11079
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
11073
11080
|
if (changed)
|
|
11074
11081
|
PyType_Modified(type);
|
|
11075
11082
|
#endif // PY_VERSION_HEX > 0x030900B1
|
|
@@ -11202,7 +11209,7 @@ bad:
|
|
|
11202
11209
|
}
|
|
11203
11210
|
|
|
11204
11211
|
/* CommonTypesMetaclass */
|
|
11205
|
-
PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
11212
|
+
static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
11206
11213
|
return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
|
|
11207
11214
|
}
|
|
11208
11215
|
static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
|
|
@@ -11518,7 +11525,7 @@ try_unpack:
|
|
|
11518
11525
|
}
|
|
11519
11526
|
|
|
11520
11527
|
/* PyObjectCallMethod1 */
|
|
11521
|
-
#if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
|
|
11528
|
+
#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
|
|
11522
11529
|
static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
11523
11530
|
PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
|
|
11524
11531
|
Py_DECREF(method);
|
|
@@ -11526,7 +11533,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
|
11526
11533
|
}
|
|
11527
11534
|
#endif
|
|
11528
11535
|
static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
|
|
11529
|
-
#if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
|
|
11536
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
11530
11537
|
PyObject *args[2] = {obj, arg};
|
|
11531
11538
|
(void) __Pyx_PyObject_GetMethod;
|
|
11532
11539
|
(void) __Pyx_PyObject_CallOneArg;
|
|
@@ -13000,10 +13007,10 @@ static CYTHON_INLINE __Pyx_PySendResult __Pyx_Coroutine_Yield_From(__pyx_Corouti
|
|
|
13000
13007
|
}
|
|
13001
13008
|
|
|
13002
13009
|
/* TypeImport */
|
|
13003
|
-
#ifndef
|
|
13004
|
-
#define
|
|
13005
|
-
static PyTypeObject *
|
|
13006
|
-
size_t size, size_t alignment, enum
|
|
13010
|
+
#ifndef __PYX_HAVE_RT_ImportType_3_1_3
|
|
13011
|
+
#define __PYX_HAVE_RT_ImportType_3_1_3
|
|
13012
|
+
static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module_name, const char *class_name,
|
|
13013
|
+
size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_3 check_size)
|
|
13007
13014
|
{
|
|
13008
13015
|
PyObject *result = 0;
|
|
13009
13016
|
Py_ssize_t basicsize;
|
|
@@ -13059,7 +13066,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
13059
13066
|
module_name, class_name, size, basicsize+itemsize);
|
|
13060
13067
|
goto bad;
|
|
13061
13068
|
}
|
|
13062
|
-
if (check_size ==
|
|
13069
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_3 &&
|
|
13063
13070
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
13064
13071
|
PyErr_Format(PyExc_ValueError,
|
|
13065
13072
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -13067,7 +13074,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
13067
13074
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
13068
13075
|
goto bad;
|
|
13069
13076
|
}
|
|
13070
|
-
else if (check_size ==
|
|
13077
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_3 && (size_t)basicsize > size) {
|
|
13071
13078
|
if (PyErr_WarnFormat(NULL, 0,
|
|
13072
13079
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
13073
13080
|
"Expected %zd from C header, got %zd from PyObject",
|
|
@@ -13104,6 +13111,13 @@ bad:
|
|
|
13104
13111
|
|
|
13105
13112
|
/* PyObjectCallMethod0 */
|
|
13106
13113
|
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
|
|
13114
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
13115
|
+
PyObject *args[1] = {obj};
|
|
13116
|
+
(void) __Pyx_PyObject_GetMethod;
|
|
13117
|
+
(void) __Pyx_PyObject_CallOneArg;
|
|
13118
|
+
(void) __Pyx_PyObject_CallNoArg;
|
|
13119
|
+
return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
|
|
13120
|
+
#else
|
|
13107
13121
|
PyObject *method = NULL, *result = NULL;
|
|
13108
13122
|
int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
|
|
13109
13123
|
if (likely(is_method)) {
|
|
@@ -13116,6 +13130,7 @@ bad:
|
|
|
13116
13130
|
Py_DECREF(method);
|
|
13117
13131
|
bad:
|
|
13118
13132
|
return result;
|
|
13133
|
+
#endif
|
|
13119
13134
|
}
|
|
13120
13135
|
|
|
13121
13136
|
/* ValidateBasesTuple */
|
|
Binary file
|