ez-a-sync 0.32.26__cp311-cp311-win32.whl → 0.32.27__cp311-cp311-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 +44 -29
- a_sync/_smart.cp311-win32.pyd +0 -0
- a_sync/a_sync/_descriptor.c +69 -54
- a_sync/a_sync/_descriptor.cp311-win32.pyd +0 -0
- a_sync/a_sync/_flags.c +13 -10
- a_sync/a_sync/_flags.cp311-win32.pyd +0 -0
- a_sync/a_sync/_helpers.c +62 -47
- a_sync/a_sync/_helpers.cp311-win32.pyd +0 -0
- a_sync/a_sync/_kwargs.c +33 -18
- a_sync/a_sync/_kwargs.cp311-win32.pyd +0 -0
- a_sync/a_sync/abstract.c +18 -11
- a_sync/a_sync/abstract.cp311-win32.pyd +0 -0
- a_sync/a_sync/base.c +168 -153
- a_sync/a_sync/base.cp311-win32.pyd +0 -0
- a_sync/a_sync/flags.c +6 -3
- a_sync/a_sync/flags.cp311-win32.pyd +0 -0
- a_sync/a_sync/function.c +80 -65
- a_sync/a_sync/function.cp311-win32.pyd +0 -0
- a_sync/a_sync/method.c +122 -107
- a_sync/a_sync/method.cp311-win32.pyd +0 -0
- a_sync/a_sync/modifiers/manager.c +46 -31
- a_sync/a_sync/modifiers/manager.cp311-win32.pyd +0 -0
- a_sync/a_sync/property.c +82 -67
- a_sync/a_sync/property.cp311-win32.pyd +0 -0
- a_sync/async_property/cached.c +52 -37
- a_sync/async_property/cached.cp311-win32.pyd +0 -0
- a_sync/async_property/proxy.c +25 -10
- a_sync/async_property/proxy.cp311-win32.pyd +0 -0
- a_sync/asyncio/as_completed.c +21 -6
- a_sync/asyncio/as_completed.cp311-win32.pyd +0 -0
- a_sync/asyncio/create_task.c +23 -8
- a_sync/asyncio/create_task.cp311-win32.pyd +0 -0
- a_sync/asyncio/gather.c +30 -15
- a_sync/asyncio/gather.cp311-win32.pyd +0 -0
- a_sync/asyncio/igather.c +24 -9
- a_sync/asyncio/igather.cp311-win32.pyd +0 -0
- a_sync/asyncio/sleep.c +19 -4
- a_sync/asyncio/sleep.cp311-win32.pyd +0 -0
- a_sync/debugging.c +45 -30
- a_sync/debugging.cp311-win32.pyd +0 -0
- a_sync/exceptions.c +18 -11
- a_sync/exceptions.cp311-win32.pyd +0 -0
- a_sync/executor.py +44 -0
- a_sync/functools.c +24 -9
- a_sync/functools.cp311-win32.pyd +0 -0
- a_sync/iter.c +85 -70
- a_sync/iter.cp311-win32.pyd +0 -0
- a_sync/primitives/_debug.c +49 -34
- a_sync/primitives/_debug.cp311-win32.pyd +0 -0
- a_sync/primitives/_loggable.c +25 -10
- a_sync/primitives/_loggable.cp311-win32.pyd +0 -0
- a_sync/primitives/locks/counter.c +65 -50
- a_sync/primitives/locks/counter.cp311-win32.pyd +0 -0
- a_sync/primitives/locks/event.c +61 -45
- a_sync/primitives/locks/event.cp311-win32.pyd +0 -0
- a_sync/primitives/locks/prio_semaphore.c +82 -67
- a_sync/primitives/locks/prio_semaphore.cp311-win32.pyd +0 -0
- a_sync/primitives/locks/semaphore.c +72 -57
- a_sync/primitives/locks/semaphore.cp311-win32.pyd +0 -0
- a_sync/utils/repr.c +41 -26
- a_sync/utils/repr.cp311-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
|
@@ -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
|
|
@@ -2873,22 +2876,22 @@ static int __Pyx_call_next_tp_traverse(PyObject* obj, visitproc v, void *a, trav
|
|
|
2873
2876
|
static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_clear);
|
|
2874
2877
|
|
|
2875
2878
|
/* TypeImport.proto */
|
|
2876
|
-
#ifndef
|
|
2877
|
-
#define
|
|
2879
|
+
#ifndef __PYX_HAVE_RT_ImportType_proto_3_1_3
|
|
2880
|
+
#define __PYX_HAVE_RT_ImportType_proto_3_1_3
|
|
2878
2881
|
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
|
2879
2882
|
#include <stdalign.h>
|
|
2880
2883
|
#endif
|
|
2881
2884
|
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
|
|
2882
|
-
#define
|
|
2885
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) alignof(s)
|
|
2883
2886
|
#else
|
|
2884
|
-
#define
|
|
2887
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) sizeof(void*)
|
|
2885
2888
|
#endif
|
|
2886
|
-
enum
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2889
|
+
enum __Pyx_ImportType_CheckSize_3_1_3 {
|
|
2890
|
+
__Pyx_ImportType_CheckSize_Error_3_1_3 = 0,
|
|
2891
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_3 = 1,
|
|
2892
|
+
__Pyx_ImportType_CheckSize_Ignore_3_1_3 = 2
|
|
2890
2893
|
};
|
|
2891
|
-
static PyTypeObject *
|
|
2894
|
+
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);
|
|
2892
2895
|
#endif
|
|
2893
2896
|
|
|
2894
2897
|
/* GetVTable.proto */
|
|
@@ -3189,7 +3192,7 @@ static unsigned long __Pyx_get_runtime_version(void);
|
|
|
3189
3192
|
static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);
|
|
3190
3193
|
|
|
3191
3194
|
/* FunctionImport.proto */
|
|
3192
|
-
static int
|
|
3195
|
+
static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
|
|
3193
3196
|
|
|
3194
3197
|
/* MultiPhaseInitModuleState.proto */
|
|
3195
3198
|
#if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
|
|
@@ -8008,15 +8011,15 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
8008
8011
|
/*--- Type init code ---*/
|
|
8009
8012
|
__pyx_t_1 = PyImport_ImportModule("a_sync.primitives._debug"); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
8010
8013
|
__Pyx_GOTREF(__pyx_t_1);
|
|
8011
|
-
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin =
|
|
8014
|
+
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__DebugDaemonMixin = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives._debug", "_DebugDaemonMixin",
|
|
8012
8015
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
8013
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
|
|
8016
|
+
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),
|
|
8014
8017
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
8015
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
|
|
8018
|
+
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),
|
|
8016
8019
|
#else
|
|
8017
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__DebugDaemonMixin),
|
|
8020
|
+
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),
|
|
8018
8021
|
#endif
|
|
8019
|
-
|
|
8022
|
+
__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)
|
|
8020
8023
|
__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)
|
|
8021
8024
|
__pyx_vtabptr_6a_sync_10primitives_5locks_7counter_CounterLock = &__pyx_vtable_6a_sync_10primitives_5locks_7counter_CounterLock;
|
|
8022
8025
|
__pyx_vtable_6a_sync_10primitives_5locks_7counter_CounterLock.__pyx_base = *__pyx_vtabptr_6a_sync_10primitives_6_debug__DebugDaemonMixin;
|
|
@@ -8153,41 +8156,41 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
8153
8156
|
/*--- Type import code ---*/
|
|
8154
8157
|
__pyx_t_1 = PyImport_ImportModule("a_sync.primitives._loggable"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error)
|
|
8155
8158
|
__Pyx_GOTREF(__pyx_t_1);
|
|
8156
|
-
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin =
|
|
8159
|
+
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_9_loggable__LoggerMixin = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives._loggable", "_LoggerMixin",
|
|
8157
8160
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
8158
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
|
|
8161
|
+
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),
|
|
8159
8162
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
8160
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
|
|
8163
|
+
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),
|
|
8161
8164
|
#else
|
|
8162
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_9_loggable__LoggerMixin),
|
|
8165
|
+
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),
|
|
8163
8166
|
#endif
|
|
8164
|
-
|
|
8167
|
+
__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)
|
|
8165
8168
|
__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)
|
|
8166
8169
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
8167
8170
|
__pyx_t_1 = PyImport_ImportModule("a_sync.primitives._debug"); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 3, __pyx_L1_error)
|
|
8168
8171
|
__Pyx_GOTREF(__pyx_t_1);
|
|
8169
|
-
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin =
|
|
8172
|
+
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_6_debug__LoopBoundMixin = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives._debug", "_LoopBoundMixin",
|
|
8170
8173
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
8171
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
|
|
8174
|
+
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),
|
|
8172
8175
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
8173
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
|
|
8176
|
+
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),
|
|
8174
8177
|
#else
|
|
8175
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_6_debug__LoopBoundMixin),
|
|
8178
|
+
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),
|
|
8176
8179
|
#endif
|
|
8177
|
-
|
|
8180
|
+
__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)
|
|
8178
8181
|
__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)
|
|
8179
8182
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
8180
8183
|
__pyx_t_1 = PyImport_ImportModule("a_sync.primitives.locks.event"); if (unlikely(!__pyx_t_1)) __PYX_ERR(4, 5, __pyx_L1_error)
|
|
8181
8184
|
__Pyx_GOTREF(__pyx_t_1);
|
|
8182
|
-
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_5event_CythonEvent =
|
|
8185
|
+
__pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_5event_CythonEvent = __Pyx_ImportType_3_1_3(__pyx_t_1, "a_sync.primitives.locks.event", "CythonEvent",
|
|
8183
8186
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
8184
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent),
|
|
8187
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent),
|
|
8185
8188
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
8186
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent),
|
|
8189
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent),
|
|
8187
8190
|
#else
|
|
8188
|
-
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent),
|
|
8191
|
+
sizeof(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(struct __pyx_obj_6a_sync_10primitives_5locks_5event_CythonEvent),
|
|
8189
8192
|
#endif
|
|
8190
|
-
|
|
8193
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_6a_sync_10primitives_5locks_5event_CythonEvent) __PYX_ERR(4, 5, __pyx_L1_error)
|
|
8191
8194
|
__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)
|
|
8192
8195
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
8193
8196
|
__Pyx_RefNannyFinishContext();
|
|
@@ -8218,20 +8221,20 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
8218
8221
|
/*--- Function import code ---*/
|
|
8219
8222
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._helpers"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
8220
8223
|
__Pyx_GOTREF(__pyx_t_1);
|
|
8221
|
-
if (
|
|
8224
|
+
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)
|
|
8222
8225
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
8223
8226
|
__pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.as_completed"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
8224
8227
|
__Pyx_GOTREF(__pyx_t_1);
|
|
8225
|
-
if (
|
|
8228
|
+
if (__Pyx_ImportFunction_3_1_3(__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)
|
|
8226
8229
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
8227
8230
|
__pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.create_task"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
8228
8231
|
__Pyx_GOTREF(__pyx_t_1);
|
|
8229
|
-
if (
|
|
8230
|
-
if (
|
|
8232
|
+
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)
|
|
8233
|
+
if (__Pyx_ImportFunction_3_1_3(__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)
|
|
8231
8234
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
8232
8235
|
__pyx_t_1 = PyImport_ImportModule("a_sync.asyncio.igather"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
8233
8236
|
__Pyx_GOTREF(__pyx_t_1);
|
|
8234
|
-
if (
|
|
8237
|
+
if (__Pyx_ImportFunction_3_1_3(__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)
|
|
8235
8238
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
8236
8239
|
__Pyx_RefNannyFinishContext();
|
|
8237
8240
|
return 0;
|
|
@@ -11057,6 +11060,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
11057
11060
|
changed = 1;
|
|
11058
11061
|
}
|
|
11059
11062
|
#endif // CYTHON_METH_FASTCALL
|
|
11063
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
11060
11064
|
else if (strcmp(memb->name, "__module__") == 0) {
|
|
11061
11065
|
PyObject *descr;
|
|
11062
11066
|
assert(memb->type == T_OBJECT);
|
|
@@ -11071,11 +11075,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
11071
11075
|
}
|
|
11072
11076
|
changed = 1;
|
|
11073
11077
|
}
|
|
11078
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
11074
11079
|
}
|
|
11075
11080
|
memb++;
|
|
11076
11081
|
}
|
|
11077
11082
|
}
|
|
11078
11083
|
#endif // !CYTHON_COMPILING_IN_LIMITED_API
|
|
11084
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
11079
11085
|
slot = spec->slots;
|
|
11080
11086
|
while (slot && slot->slot && slot->slot != Py_tp_getset)
|
|
11081
11087
|
slot++;
|
|
@@ -11107,6 +11113,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
11107
11113
|
++getset;
|
|
11108
11114
|
}
|
|
11109
11115
|
}
|
|
11116
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
11110
11117
|
if (changed)
|
|
11111
11118
|
PyType_Modified(type);
|
|
11112
11119
|
#endif // PY_VERSION_HEX > 0x030900B1
|
|
@@ -11239,7 +11246,7 @@ bad:
|
|
|
11239
11246
|
}
|
|
11240
11247
|
|
|
11241
11248
|
/* CommonTypesMetaclass */
|
|
11242
|
-
PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
11249
|
+
static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
11243
11250
|
return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
|
|
11244
11251
|
}
|
|
11245
11252
|
static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
|
|
@@ -11549,7 +11556,7 @@ try_unpack:
|
|
|
11549
11556
|
}
|
|
11550
11557
|
|
|
11551
11558
|
/* PyObjectCallMethod1 */
|
|
11552
|
-
#if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
|
|
11559
|
+
#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
|
|
11553
11560
|
static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
11554
11561
|
PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
|
|
11555
11562
|
Py_DECREF(method);
|
|
@@ -11557,7 +11564,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
|
11557
11564
|
}
|
|
11558
11565
|
#endif
|
|
11559
11566
|
static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
|
|
11560
|
-
#if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
|
|
11567
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
11561
11568
|
PyObject *args[2] = {obj, arg};
|
|
11562
11569
|
(void) __Pyx_PyObject_GetMethod;
|
|
11563
11570
|
(void) __Pyx_PyObject_CallOneArg;
|
|
@@ -13188,10 +13195,10 @@ static CYTHON_INLINE int __Pyx_PyObject_SetAttrStr(PyObject* obj, PyObject* attr
|
|
|
13188
13195
|
}
|
|
13189
13196
|
|
|
13190
13197
|
/* TypeImport */
|
|
13191
|
-
#ifndef
|
|
13192
|
-
#define
|
|
13193
|
-
static PyTypeObject *
|
|
13194
|
-
size_t size, size_t alignment, enum
|
|
13198
|
+
#ifndef __PYX_HAVE_RT_ImportType_3_1_3
|
|
13199
|
+
#define __PYX_HAVE_RT_ImportType_3_1_3
|
|
13200
|
+
static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module_name, const char *class_name,
|
|
13201
|
+
size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_3 check_size)
|
|
13195
13202
|
{
|
|
13196
13203
|
PyObject *result = 0;
|
|
13197
13204
|
Py_ssize_t basicsize;
|
|
@@ -13247,7 +13254,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
13247
13254
|
module_name, class_name, size, basicsize+itemsize);
|
|
13248
13255
|
goto bad;
|
|
13249
13256
|
}
|
|
13250
|
-
if (check_size ==
|
|
13257
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_3 &&
|
|
13251
13258
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
13252
13259
|
PyErr_Format(PyExc_ValueError,
|
|
13253
13260
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -13255,7 +13262,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
13255
13262
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
13256
13263
|
goto bad;
|
|
13257
13264
|
}
|
|
13258
|
-
else if (check_size ==
|
|
13265
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_3 && (size_t)basicsize > size) {
|
|
13259
13266
|
if (PyErr_WarnFormat(NULL, 0,
|
|
13260
13267
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
13261
13268
|
"Expected %zd from C header, got %zd from PyObject",
|
|
@@ -13292,6 +13299,13 @@ bad:
|
|
|
13292
13299
|
|
|
13293
13300
|
/* PyObjectCallMethod0 */
|
|
13294
13301
|
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
|
|
13302
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
13303
|
+
PyObject *args[1] = {obj};
|
|
13304
|
+
(void) __Pyx_PyObject_GetMethod;
|
|
13305
|
+
(void) __Pyx_PyObject_CallOneArg;
|
|
13306
|
+
(void) __Pyx_PyObject_CallNoArg;
|
|
13307
|
+
return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
|
|
13308
|
+
#else
|
|
13295
13309
|
PyObject *method = NULL, *result = NULL;
|
|
13296
13310
|
int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
|
|
13297
13311
|
if (likely(is_method)) {
|
|
@@ -13304,6 +13318,7 @@ bad:
|
|
|
13304
13318
|
Py_DECREF(method);
|
|
13305
13319
|
bad:
|
|
13306
13320
|
return result;
|
|
13321
|
+
#endif
|
|
13307
13322
|
}
|
|
13308
13323
|
|
|
13309
13324
|
/* ValidateBasesTuple */
|
|
@@ -16585,9 +16600,9 @@ static PyObject *__Pyx_Generator_GetInlinedResult(PyObject *self) {
|
|
|
16585
16600
|
}
|
|
16586
16601
|
|
|
16587
16602
|
/* FunctionImport */
|
|
16588
|
-
#ifndef
|
|
16589
|
-
#define
|
|
16590
|
-
static int
|
|
16603
|
+
#ifndef __PYX_HAVE_RT_ImportFunction_3_1_3
|
|
16604
|
+
#define __PYX_HAVE_RT_ImportFunction_3_1_3
|
|
16605
|
+
static int __Pyx_ImportFunction_3_1_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
|
|
16591
16606
|
PyObject *d = 0;
|
|
16592
16607
|
PyObject *cobj = 0;
|
|
16593
16608
|
union {
|
|
Binary file
|
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);
|
|
@@ -11020,6 +11024,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
11020
11024
|
changed = 1;
|
|
11021
11025
|
}
|
|
11022
11026
|
#endif // CYTHON_METH_FASTCALL
|
|
11027
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
11023
11028
|
else if (strcmp(memb->name, "__module__") == 0) {
|
|
11024
11029
|
PyObject *descr;
|
|
11025
11030
|
assert(memb->type == T_OBJECT);
|
|
@@ -11034,11 +11039,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
11034
11039
|
}
|
|
11035
11040
|
changed = 1;
|
|
11036
11041
|
}
|
|
11042
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
11037
11043
|
}
|
|
11038
11044
|
memb++;
|
|
11039
11045
|
}
|
|
11040
11046
|
}
|
|
11041
11047
|
#endif // !CYTHON_COMPILING_IN_LIMITED_API
|
|
11048
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
11042
11049
|
slot = spec->slots;
|
|
11043
11050
|
while (slot && slot->slot && slot->slot != Py_tp_getset)
|
|
11044
11051
|
slot++;
|
|
@@ -11070,6 +11077,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
11070
11077
|
++getset;
|
|
11071
11078
|
}
|
|
11072
11079
|
}
|
|
11080
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
11073
11081
|
if (changed)
|
|
11074
11082
|
PyType_Modified(type);
|
|
11075
11083
|
#endif // PY_VERSION_HEX > 0x030900B1
|
|
@@ -11202,7 +11210,7 @@ bad:
|
|
|
11202
11210
|
}
|
|
11203
11211
|
|
|
11204
11212
|
/* CommonTypesMetaclass */
|
|
11205
|
-
PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
11213
|
+
static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
11206
11214
|
return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
|
|
11207
11215
|
}
|
|
11208
11216
|
static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
|
|
@@ -11518,7 +11526,7 @@ try_unpack:
|
|
|
11518
11526
|
}
|
|
11519
11527
|
|
|
11520
11528
|
/* PyObjectCallMethod1 */
|
|
11521
|
-
#if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
|
|
11529
|
+
#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
|
|
11522
11530
|
static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
11523
11531
|
PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
|
|
11524
11532
|
Py_DECREF(method);
|
|
@@ -11526,7 +11534,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
|
11526
11534
|
}
|
|
11527
11535
|
#endif
|
|
11528
11536
|
static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
|
|
11529
|
-
#if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
|
|
11537
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
11530
11538
|
PyObject *args[2] = {obj, arg};
|
|
11531
11539
|
(void) __Pyx_PyObject_GetMethod;
|
|
11532
11540
|
(void) __Pyx_PyObject_CallOneArg;
|
|
@@ -13000,10 +13008,10 @@ static CYTHON_INLINE __Pyx_PySendResult __Pyx_Coroutine_Yield_From(__pyx_Corouti
|
|
|
13000
13008
|
}
|
|
13001
13009
|
|
|
13002
13010
|
/* TypeImport */
|
|
13003
|
-
#ifndef
|
|
13004
|
-
#define
|
|
13005
|
-
static PyTypeObject *
|
|
13006
|
-
size_t size, size_t alignment, enum
|
|
13011
|
+
#ifndef __PYX_HAVE_RT_ImportType_3_1_3
|
|
13012
|
+
#define __PYX_HAVE_RT_ImportType_3_1_3
|
|
13013
|
+
static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module_name, const char *class_name,
|
|
13014
|
+
size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_3 check_size)
|
|
13007
13015
|
{
|
|
13008
13016
|
PyObject *result = 0;
|
|
13009
13017
|
Py_ssize_t basicsize;
|
|
@@ -13059,7 +13067,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
13059
13067
|
module_name, class_name, size, basicsize+itemsize);
|
|
13060
13068
|
goto bad;
|
|
13061
13069
|
}
|
|
13062
|
-
if (check_size ==
|
|
13070
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_3 &&
|
|
13063
13071
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
13064
13072
|
PyErr_Format(PyExc_ValueError,
|
|
13065
13073
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -13067,7 +13075,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
13067
13075
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
13068
13076
|
goto bad;
|
|
13069
13077
|
}
|
|
13070
|
-
else if (check_size ==
|
|
13078
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_3 && (size_t)basicsize > size) {
|
|
13071
13079
|
if (PyErr_WarnFormat(NULL, 0,
|
|
13072
13080
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
13073
13081
|
"Expected %zd from C header, got %zd from PyObject",
|
|
@@ -13104,6 +13112,13 @@ bad:
|
|
|
13104
13112
|
|
|
13105
13113
|
/* PyObjectCallMethod0 */
|
|
13106
13114
|
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
|
|
13115
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
13116
|
+
PyObject *args[1] = {obj};
|
|
13117
|
+
(void) __Pyx_PyObject_GetMethod;
|
|
13118
|
+
(void) __Pyx_PyObject_CallOneArg;
|
|
13119
|
+
(void) __Pyx_PyObject_CallNoArg;
|
|
13120
|
+
return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
|
|
13121
|
+
#else
|
|
13107
13122
|
PyObject *method = NULL, *result = NULL;
|
|
13108
13123
|
int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
|
|
13109
13124
|
if (likely(is_method)) {
|
|
@@ -13116,6 +13131,7 @@ bad:
|
|
|
13116
13131
|
Py_DECREF(method);
|
|
13117
13132
|
bad:
|
|
13118
13133
|
return result;
|
|
13134
|
+
#endif
|
|
13119
13135
|
}
|
|
13120
13136
|
|
|
13121
13137
|
/* ValidateBasesTuple */
|
|
Binary file
|