ez-a-sync 0.32.26__cp310-cp310-win32.whl → 0.32.28__cp310-cp310-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 +63 -43
- a_sync/_smart.cp310-win32.pyd +0 -0
- a_sync/a_sync/_descriptor.c +78 -58
- a_sync/a_sync/_descriptor.cp310-win32.pyd +0 -0
- a_sync/a_sync/_flags.c +13 -10
- a_sync/a_sync/_flags.cp310-win32.pyd +0 -0
- a_sync/a_sync/_helpers.c +76 -56
- a_sync/a_sync/_helpers.cp310-win32.pyd +0 -0
- a_sync/a_sync/_kwargs.c +45 -25
- a_sync/a_sync/_kwargs.cp310-win32.pyd +0 -0
- a_sync/a_sync/abstract.c +54 -24
- a_sync/a_sync/abstract.cp310-win32.pyd +0 -0
- a_sync/a_sync/abstract.pyi +2 -2
- a_sync/a_sync/base.c +186 -162
- a_sync/a_sync/base.cp310-win32.pyd +0 -0
- a_sync/a_sync/flags.c +13 -10
- a_sync/a_sync/flags.cp310-win32.pyd +0 -0
- a_sync/a_sync/function.c +106 -77
- a_sync/a_sync/function.cp310-win32.pyd +0 -0
- a_sync/a_sync/method.c +151 -119
- a_sync/a_sync/method.cp310-win32.pyd +0 -0
- a_sync/a_sync/method.pyi +2 -1
- a_sync/a_sync/modifiers/manager.c +60 -40
- a_sync/a_sync/modifiers/manager.cp310-win32.pyd +0 -0
- a_sync/a_sync/property.c +104 -78
- a_sync/a_sync/property.cp310-win32.pyd +0 -0
- a_sync/async_property/cached.c +71 -51
- a_sync/async_property/cached.cp310-win32.pyd +0 -0
- a_sync/async_property/proxy.c +37 -17
- a_sync/async_property/proxy.cp310-win32.pyd +0 -0
- a_sync/asyncio/as_completed.c +33 -13
- a_sync/asyncio/as_completed.cp310-win32.pyd +0 -0
- a_sync/asyncio/create_task.c +59 -21
- a_sync/asyncio/create_task.cp310-win32.pyd +0 -0
- a_sync/asyncio/gather.c +42 -22
- a_sync/asyncio/gather.cp310-win32.pyd +0 -0
- a_sync/asyncio/igather.c +42 -18
- a_sync/asyncio/igather.cp310-win32.pyd +0 -0
- a_sync/asyncio/sleep.c +24 -4
- a_sync/asyncio/sleep.cp310-win32.pyd +0 -0
- a_sync/debugging.c +52 -32
- a_sync/debugging.cp310-win32.pyd +0 -0
- a_sync/exceptions.c +36 -20
- a_sync/exceptions.cp310-win32.pyd +0 -0
- a_sync/executor.py +44 -0
- a_sync/functools.c +36 -16
- a_sync/functools.cp310-win32.pyd +0 -0
- a_sync/iter.c +167 -97
- a_sync/iter.cp310-win32.pyd +0 -0
- a_sync/primitives/_debug.c +69 -49
- a_sync/primitives/_debug.cp310-win32.pyd +0 -0
- a_sync/primitives/_loggable.c +48 -22
- a_sync/primitives/_loggable.cp310-win32.pyd +0 -0
- a_sync/primitives/locks/counter.c +93 -63
- a_sync/primitives/locks/counter.cp310-win32.pyd +0 -0
- a_sync/primitives/locks/event.c +70 -49
- a_sync/primitives/locks/event.cp310-win32.pyd +0 -0
- a_sync/primitives/locks/prio_semaphore.c +120 -80
- a_sync/primitives/locks/prio_semaphore.cp310-win32.pyd +0 -0
- a_sync/primitives/locks/prio_semaphore.pyi +2 -2
- a_sync/primitives/locks/semaphore.c +96 -69
- a_sync/primitives/locks/semaphore.cp310-win32.pyd +0 -0
- a_sync/primitives/locks/semaphore.pyi +10 -9
- a_sync/primitives/queue.py +5 -1
- a_sync/utils/repr.c +55 -35
- a_sync/utils/repr.cp310-win32.pyd +0 -0
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/METADATA +1 -1
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/RECORD +71 -71
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/WHEEL +0 -0
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/licenses/LICENSE.txt +0 -0
- {ez_a_sync-0.32.26.dist-info → ez_a_sync-0.32.28.dist-info}/top_level.txt +0 -0
a_sync/a_sync/_helpers.c
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.1.
|
|
1
|
+
/* Generated by Cython 3.1.4 */
|
|
2
2
|
|
|
3
3
|
/* BEGIN: Cython Metadata
|
|
4
4
|
{
|
|
@@ -29,8 +29,8 @@ END: Cython Metadata */
|
|
|
29
29
|
#elif PY_VERSION_HEX < 0x03080000
|
|
30
30
|
#error Cython requires Python 3.8+.
|
|
31
31
|
#else
|
|
32
|
-
#define __PYX_ABI_VERSION "
|
|
33
|
-
#define CYTHON_HEX_VERSION
|
|
32
|
+
#define __PYX_ABI_VERSION "3_1_4"
|
|
33
|
+
#define CYTHON_HEX_VERSION 0x030104F0
|
|
34
34
|
#define CYTHON_FUTURE_DIVISION 1
|
|
35
35
|
/* CModulePreamble */
|
|
36
36
|
#include <stddef.h>
|
|
@@ -393,6 +393,9 @@ END: Cython Metadata */
|
|
|
393
393
|
enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
|
|
394
394
|
#endif
|
|
395
395
|
#endif
|
|
396
|
+
#ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME
|
|
397
|
+
#define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100
|
|
398
|
+
#endif
|
|
396
399
|
#ifndef __has_attribute
|
|
397
400
|
#define __has_attribute(x) 0
|
|
398
401
|
#endif
|
|
@@ -2118,18 +2121,18 @@ static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject
|
|
|
2118
2121
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
2119
2122
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
2120
2123
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
2121
|
-
if (unlikely(!__pyx_frame_code))
|
|
2122
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
2123
|
-
}
|
|
2124
|
+
if (unlikely(!__pyx_frame_code)) ret = -1;\
|
|
2125
|
+
else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
2126
|
+
} else __pyx_frame_code = NULL;\
|
|
2124
2127
|
PyGILState_Release(state);\
|
|
2125
|
-
}
|
|
2128
|
+
} else __pyx_frame_code = NULL;\
|
|
2126
2129
|
} else {\
|
|
2127
2130
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
2128
2131
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
2129
2132
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
2130
|
-
if (unlikely(!__pyx_frame_code))
|
|
2131
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
2132
|
-
}
|
|
2133
|
+
if (unlikely(!__pyx_frame_code)) ret = -1;\
|
|
2134
|
+
else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
2135
|
+
} else __pyx_frame_code = NULL;\
|
|
2133
2136
|
}\
|
|
2134
2137
|
if (unlikely(ret == -1)) goto_error;\
|
|
2135
2138
|
}
|
|
@@ -2798,22 +2801,22 @@ static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffs
|
|
|
2798
2801
|
CYTHON_UNUSED static int __Pyx_PyType_Ready(PyTypeObject *t);
|
|
2799
2802
|
|
|
2800
2803
|
/* TypeImport.proto */
|
|
2801
|
-
#ifndef
|
|
2802
|
-
#define
|
|
2804
|
+
#ifndef __PYX_HAVE_RT_ImportType_proto_3_1_4
|
|
2805
|
+
#define __PYX_HAVE_RT_ImportType_proto_3_1_4
|
|
2803
2806
|
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
|
2804
2807
|
#include <stdalign.h>
|
|
2805
2808
|
#endif
|
|
2806
2809
|
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
|
|
2807
|
-
#define
|
|
2810
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) alignof(s)
|
|
2808
2811
|
#else
|
|
2809
|
-
#define
|
|
2812
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) sizeof(void*)
|
|
2810
2813
|
#endif
|
|
2811
|
-
enum
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2814
|
+
enum __Pyx_ImportType_CheckSize_3_1_4 {
|
|
2815
|
+
__Pyx_ImportType_CheckSize_Error_3_1_4 = 0,
|
|
2816
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4 = 1,
|
|
2817
|
+
__Pyx_ImportType_CheckSize_Ignore_3_1_4 = 2
|
|
2815
2818
|
};
|
|
2816
|
-
static PyTypeObject *
|
|
2819
|
+
static PyTypeObject *__Pyx_ImportType_3_1_4(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_4 check_size);
|
|
2817
2820
|
#endif
|
|
2818
2821
|
|
|
2819
2822
|
/* GetVTable.proto */
|
|
@@ -2964,7 +2967,7 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
|
|
|
2964
2967
|
static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig);
|
|
2965
2968
|
|
|
2966
2969
|
/* FunctionImport.proto */
|
|
2967
|
-
static int
|
|
2970
|
+
static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
|
|
2968
2971
|
|
|
2969
2972
|
/* MultiPhaseInitModuleState.proto */
|
|
2970
2973
|
#if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
|
|
@@ -3098,7 +3101,7 @@ static const char __pyx_k_get_event_loop[] = "get_event_loop";
|
|
|
3098
3101
|
static const char __pyx_k_new_event_loop[] = "new_event_loop";
|
|
3099
3102
|
static const char __pyx_k_set_event_loop[] = "set_event_loop";
|
|
3100
3103
|
static const char __pyx_k_FunctionNotSync[] = "FunctionNotSync";
|
|
3101
|
-
static const char __pyx_k_a_1_4s_2_Q_aq_1[] = "\200\001\360\010\000\005\006\330\010\017\210
|
|
3104
|
+
static const char __pyx_k_a_1_4s_2_Q_aq_1[] = "\200\001\360\010\000\005\006\330\010\017\210\177\230a\330\004\013\320\013\033\2301\330\010\013\2104\210s\220!\2202\220[\240\001\240\021\330\014\r\330\010\017\210~\230Q\330\010\026\220a\220q\330\004\013\2101";
|
|
3102
3105
|
static const char __pyx_k_a_sync_executor[] = "a_sync.executor";
|
|
3103
3106
|
static const char __pyx_k_asyncio_futures[] = "asyncio.futures";
|
|
3104
3107
|
static const char __pyx_k_get_event_loop_2[] = "_get_event_loop";
|
|
@@ -6520,51 +6523,51 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
6520
6523
|
/*--- Type import code ---*/
|
|
6521
6524
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.modifiers.manager"); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
6522
6525
|
__Pyx_GOTREF(__pyx_t_1);
|
|
6523
|
-
__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager =
|
|
6526
|
+
__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.a_sync.modifiers.manager", "ModifierManager",
|
|
6524
6527
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
6525
|
-
sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
|
|
6528
|
+
sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
|
|
6526
6529
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
6527
|
-
sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
|
|
6530
|
+
sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
|
|
6528
6531
|
#else
|
|
6529
|
-
sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
|
|
6532
|
+
sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
|
|
6530
6533
|
#endif
|
|
6531
|
-
|
|
6534
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
6532
6535
|
__pyx_vtabptr_6a_sync_6a_sync_9modifiers_7manager_ModifierManager = (struct __pyx_vtabstruct_6a_sync_6a_sync_9modifiers_7manager_ModifierManager*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager); if (unlikely(!__pyx_vtabptr_6a_sync_6a_sync_9modifiers_7manager_ModifierManager)) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
6533
6536
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
6534
6537
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.function"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 3, __pyx_L1_error)
|
|
6535
6538
|
__Pyx_GOTREF(__pyx_t_1);
|
|
6536
|
-
__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin =
|
|
6539
|
+
__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.a_sync.function", "_ModifiedMixin",
|
|
6537
6540
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
6538
|
-
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
|
|
6541
|
+
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
|
|
6539
6542
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
6540
|
-
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
|
|
6543
|
+
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
|
|
6541
6544
|
#else
|
|
6542
|
-
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
|
|
6545
|
+
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ModifiedMixin),
|
|
6543
6546
|
#endif
|
|
6544
|
-
|
|
6547
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin) __PYX_ERR(2, 3, __pyx_L1_error)
|
|
6545
6548
|
__pyx_vtabptr_6a_sync_6a_sync_8function__ModifiedMixin = (struct __pyx_vtabstruct_6a_sync_6a_sync_8function__ModifiedMixin*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin); if (unlikely(!__pyx_vtabptr_6a_sync_6a_sync_8function__ModifiedMixin)) __PYX_ERR(2, 3, __pyx_L1_error)
|
|
6546
|
-
__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction =
|
|
6549
|
+
__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.a_sync.function", "_ASyncFunction",
|
|
6547
6550
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
6548
|
-
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
|
|
6551
|
+
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
|
|
6549
6552
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
6550
|
-
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
|
|
6553
|
+
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
|
|
6551
6554
|
#else
|
|
6552
|
-
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
|
|
6555
|
+
sizeof(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_6a_sync_8function__ASyncFunction),
|
|
6553
6556
|
#endif
|
|
6554
|
-
|
|
6557
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction) __PYX_ERR(2, 13, __pyx_L1_error)
|
|
6555
6558
|
__pyx_vtabptr_6a_sync_6a_sync_8function__ASyncFunction = (struct __pyx_vtabstruct_6a_sync_6a_sync_8function__ASyncFunction*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction); if (unlikely(!__pyx_vtabptr_6a_sync_6a_sync_8function__ASyncFunction)) __PYX_ERR(2, 13, __pyx_L1_error)
|
|
6556
6559
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
6557
6560
|
__pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 1, __pyx_L1_error)
|
|
6558
6561
|
__Pyx_GOTREF(__pyx_t_1);
|
|
6559
|
-
__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe =
|
|
6562
|
+
__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.functools", "cached_property_unsafe",
|
|
6560
6563
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
6561
|
-
sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
|
|
6564
|
+
sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
|
|
6562
6565
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
6563
|
-
sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
|
|
6566
|
+
sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
|
|
6564
6567
|
#else
|
|
6565
|
-
sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
|
|
6568
|
+
sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_1_4(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
|
|
6566
6569
|
#endif
|
|
6567
|
-
|
|
6570
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe) __PYX_ERR(3, 1, __pyx_L1_error)
|
|
6568
6571
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
6569
6572
|
__Pyx_RefNannyFinishContext();
|
|
6570
6573
|
return 0;
|
|
@@ -6594,7 +6597,7 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
6594
6597
|
/*--- Function import code ---*/
|
|
6595
6598
|
__pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
6596
6599
|
__Pyx_GOTREF(__pyx_t_1);
|
|
6597
|
-
if (
|
|
6600
|
+
if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "wraps", (void (**)(void))&__pyx_f_6a_sync_9functools_wraps, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
6598
6601
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
6599
6602
|
__Pyx_RefNannyFinishContext();
|
|
6600
6603
|
return 0;
|
|
@@ -8885,6 +8888,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
8885
8888
|
changed = 1;
|
|
8886
8889
|
}
|
|
8887
8890
|
#endif // CYTHON_METH_FASTCALL
|
|
8891
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
8888
8892
|
else if (strcmp(memb->name, "__module__") == 0) {
|
|
8889
8893
|
PyObject *descr;
|
|
8890
8894
|
assert(memb->type == T_OBJECT);
|
|
@@ -8899,11 +8903,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
8899
8903
|
}
|
|
8900
8904
|
changed = 1;
|
|
8901
8905
|
}
|
|
8906
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
8902
8907
|
}
|
|
8903
8908
|
memb++;
|
|
8904
8909
|
}
|
|
8905
8910
|
}
|
|
8906
8911
|
#endif // !CYTHON_COMPILING_IN_LIMITED_API
|
|
8912
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
8907
8913
|
slot = spec->slots;
|
|
8908
8914
|
while (slot && slot->slot && slot->slot != Py_tp_getset)
|
|
8909
8915
|
slot++;
|
|
@@ -8935,6 +8941,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
8935
8941
|
++getset;
|
|
8936
8942
|
}
|
|
8937
8943
|
}
|
|
8944
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
8938
8945
|
if (changed)
|
|
8939
8946
|
PyType_Modified(type);
|
|
8940
8947
|
#endif // PY_VERSION_HEX > 0x030900B1
|
|
@@ -9067,7 +9074,7 @@ bad:
|
|
|
9067
9074
|
}
|
|
9068
9075
|
|
|
9069
9076
|
/* CommonTypesMetaclass */
|
|
9070
|
-
PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
9077
|
+
static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
9071
9078
|
return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
|
|
9072
9079
|
}
|
|
9073
9080
|
static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
|
|
@@ -9096,6 +9103,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
|
|
|
9096
9103
|
return -1;
|
|
9097
9104
|
}
|
|
9098
9105
|
mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
|
|
9106
|
+
Py_DECREF(bases);
|
|
9099
9107
|
if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
|
|
9100
9108
|
return -1;
|
|
9101
9109
|
}
|
|
@@ -9247,7 +9255,7 @@ try_unpack:
|
|
|
9247
9255
|
}
|
|
9248
9256
|
|
|
9249
9257
|
/* PyObjectCallMethod1 */
|
|
9250
|
-
#if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
|
|
9258
|
+
#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
|
|
9251
9259
|
static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
9252
9260
|
PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
|
|
9253
9261
|
Py_DECREF(method);
|
|
@@ -9255,7 +9263,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
|
9255
9263
|
}
|
|
9256
9264
|
#endif
|
|
9257
9265
|
static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
|
|
9258
|
-
#if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
|
|
9266
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
9259
9267
|
PyObject *args[2] = {obj, arg};
|
|
9260
9268
|
(void) __Pyx_PyObject_GetMethod;
|
|
9261
9269
|
(void) __Pyx_PyObject_CallOneArg;
|
|
@@ -11843,6 +11851,13 @@ static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *func, Py
|
|
|
11843
11851
|
|
|
11844
11852
|
/* PyObjectCallMethod0 */
|
|
11845
11853
|
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
|
|
11854
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
11855
|
+
PyObject *args[1] = {obj};
|
|
11856
|
+
(void) __Pyx_PyObject_GetMethod;
|
|
11857
|
+
(void) __Pyx_PyObject_CallOneArg;
|
|
11858
|
+
(void) __Pyx_PyObject_CallNoArg;
|
|
11859
|
+
return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
|
|
11860
|
+
#else
|
|
11846
11861
|
PyObject *method = NULL, *result = NULL;
|
|
11847
11862
|
int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
|
|
11848
11863
|
if (likely(is_method)) {
|
|
@@ -11855,6 +11870,7 @@ static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *func, Py
|
|
|
11855
11870
|
Py_DECREF(method);
|
|
11856
11871
|
bad:
|
|
11857
11872
|
return result;
|
|
11873
|
+
#endif
|
|
11858
11874
|
}
|
|
11859
11875
|
|
|
11860
11876
|
/* ValidateBasesTuple */
|
|
@@ -12028,15 +12044,15 @@ static int __Pyx_PyType_Ready(PyTypeObject *t) {
|
|
|
12028
12044
|
}
|
|
12029
12045
|
|
|
12030
12046
|
/* TypeImport */
|
|
12031
|
-
#ifndef
|
|
12032
|
-
#define
|
|
12033
|
-
static PyTypeObject *
|
|
12034
|
-
size_t size, size_t alignment, enum
|
|
12047
|
+
#ifndef __PYX_HAVE_RT_ImportType_3_1_4
|
|
12048
|
+
#define __PYX_HAVE_RT_ImportType_3_1_4
|
|
12049
|
+
static PyTypeObject *__Pyx_ImportType_3_1_4(PyObject *module, const char *module_name, const char *class_name,
|
|
12050
|
+
size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_4 check_size)
|
|
12035
12051
|
{
|
|
12036
12052
|
PyObject *result = 0;
|
|
12037
12053
|
Py_ssize_t basicsize;
|
|
12038
12054
|
Py_ssize_t itemsize;
|
|
12039
|
-
#
|
|
12055
|
+
#ifdef Py_LIMITED_API
|
|
12040
12056
|
PyObject *py_basicsize;
|
|
12041
12057
|
PyObject *py_itemsize;
|
|
12042
12058
|
#endif
|
|
@@ -12049,7 +12065,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
12049
12065
|
module_name, class_name);
|
|
12050
12066
|
goto bad;
|
|
12051
12067
|
}
|
|
12052
|
-
#
|
|
12068
|
+
#ifndef Py_LIMITED_API
|
|
12053
12069
|
basicsize = ((PyTypeObject *)result)->tp_basicsize;
|
|
12054
12070
|
itemsize = ((PyTypeObject *)result)->tp_itemsize;
|
|
12055
12071
|
#else
|
|
@@ -12087,7 +12103,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
12087
12103
|
module_name, class_name, size, basicsize+itemsize);
|
|
12088
12104
|
goto bad;
|
|
12089
12105
|
}
|
|
12090
|
-
if (check_size ==
|
|
12106
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_4 &&
|
|
12091
12107
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
12092
12108
|
PyErr_Format(PyExc_ValueError,
|
|
12093
12109
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -12095,7 +12111,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
12095
12111
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
12096
12112
|
goto bad;
|
|
12097
12113
|
}
|
|
12098
|
-
else if (check_size ==
|
|
12114
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_4 && (size_t)basicsize > size) {
|
|
12099
12115
|
if (PyErr_WarnFormat(NULL, 0,
|
|
12100
12116
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
12101
12117
|
"Expected %zd from C header, got %zd from PyObject",
|
|
@@ -13491,9 +13507,9 @@ bad:
|
|
|
13491
13507
|
}
|
|
13492
13508
|
|
|
13493
13509
|
/* FunctionImport */
|
|
13494
|
-
#ifndef
|
|
13495
|
-
#define
|
|
13496
|
-
static int
|
|
13510
|
+
#ifndef __PYX_HAVE_RT_ImportFunction_3_1_4
|
|
13511
|
+
#define __PYX_HAVE_RT_ImportFunction_3_1_4
|
|
13512
|
+
static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
|
|
13497
13513
|
PyObject *d = 0;
|
|
13498
13514
|
PyObject *cobj = 0;
|
|
13499
13515
|
union {
|
|
@@ -13595,6 +13611,10 @@ bad:
|
|
|
13595
13611
|
PyCode_NewWithPosOnlyArgs
|
|
13596
13612
|
#endif
|
|
13597
13613
|
(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
|
|
13614
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
|
|
13615
|
+
if (likely(result))
|
|
13616
|
+
result->_co_firsttraceable = 0;
|
|
13617
|
+
#endif
|
|
13598
13618
|
return result;
|
|
13599
13619
|
}
|
|
13600
13620
|
#elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
|
|
Binary file
|
a_sync/a_sync/_kwargs.c
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.1.
|
|
1
|
+
/* Generated by Cython 3.1.4 */
|
|
2
2
|
|
|
3
3
|
/* BEGIN: Cython Metadata
|
|
4
4
|
{
|
|
@@ -29,8 +29,8 @@ END: Cython Metadata */
|
|
|
29
29
|
#elif PY_VERSION_HEX < 0x03080000
|
|
30
30
|
#error Cython requires Python 3.8+.
|
|
31
31
|
#else
|
|
32
|
-
#define __PYX_ABI_VERSION "
|
|
33
|
-
#define CYTHON_HEX_VERSION
|
|
32
|
+
#define __PYX_ABI_VERSION "3_1_4"
|
|
33
|
+
#define CYTHON_HEX_VERSION 0x030104F0
|
|
34
34
|
#define CYTHON_FUTURE_DIVISION 1
|
|
35
35
|
/* CModulePreamble */
|
|
36
36
|
#include <stddef.h>
|
|
@@ -393,6 +393,9 @@ END: Cython Metadata */
|
|
|
393
393
|
enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
|
|
394
394
|
#endif
|
|
395
395
|
#endif
|
|
396
|
+
#ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME
|
|
397
|
+
#define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100
|
|
398
|
+
#endif
|
|
396
399
|
#ifndef __has_attribute
|
|
397
400
|
#define __has_attribute(x) 0
|
|
398
401
|
#endif
|
|
@@ -1960,18 +1963,18 @@ static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject
|
|
|
1960
1963
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
1961
1964
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
1962
1965
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
1963
|
-
if (unlikely(!__pyx_frame_code))
|
|
1964
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1965
|
-
}
|
|
1966
|
+
if (unlikely(!__pyx_frame_code)) ret = -1;\
|
|
1967
|
+
else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1968
|
+
} else __pyx_frame_code = NULL;\
|
|
1966
1969
|
PyGILState_Release(state);\
|
|
1967
|
-
}
|
|
1970
|
+
} else __pyx_frame_code = NULL;\
|
|
1968
1971
|
} else {\
|
|
1969
1972
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
1970
1973
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
1971
1974
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
1972
|
-
if (unlikely(!__pyx_frame_code))
|
|
1973
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1974
|
-
}
|
|
1975
|
+
if (unlikely(!__pyx_frame_code)) ret = -1;\
|
|
1976
|
+
else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
1977
|
+
} else __pyx_frame_code = NULL;\
|
|
1975
1978
|
}\
|
|
1976
1979
|
if (unlikely(ret == -1)) goto_error;\
|
|
1977
1980
|
}
|
|
@@ -2856,10 +2859,10 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
|
|
|
2856
2859
|
static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig);
|
|
2857
2860
|
|
|
2858
2861
|
/* VoidPtrImport.proto */
|
|
2859
|
-
static int
|
|
2862
|
+
static int __Pyx_ImportVoidPtr_3_1_4(PyObject *module, const char *name, void **p, const char *sig);
|
|
2860
2863
|
|
|
2861
2864
|
/* FunctionImport.proto */
|
|
2862
|
-
static int
|
|
2865
|
+
static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
|
|
2863
2866
|
|
|
2864
2867
|
/* MultiPhaseInitModuleState.proto */
|
|
2865
2868
|
#if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
|
|
@@ -4232,9 +4235,9 @@ static int __Pyx_modinit_variable_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
4232
4235
|
/*--- Variable import code ---*/
|
|
4233
4236
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.flags"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
4234
4237
|
__Pyx_GOTREF(__pyx_t_1);
|
|
4235
|
-
if (
|
|
4236
|
-
if (
|
|
4237
|
-
if (
|
|
4238
|
+
if (__Pyx_ImportVoidPtr_3_1_4(__pyx_t_1, "AFFIRMATIVE_FLAGS", (void **)&__pyx_vp_6a_sync_6a_sync_5flags_AFFIRMATIVE_FLAGS, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
4239
|
+
if (__Pyx_ImportVoidPtr_3_1_4(__pyx_t_1, "NEGATIVE_FLAGS", (void **)&__pyx_vp_6a_sync_6a_sync_5flags_NEGATIVE_FLAGS, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
4240
|
+
if (__Pyx_ImportVoidPtr_3_1_4(__pyx_t_1, "VIABLE_FLAGS", (void **)&__pyx_vp_6a_sync_6a_sync_5flags_VIABLE_FLAGS, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
4238
4241
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
4239
4242
|
__Pyx_RefNannyFinishContext();
|
|
4240
4243
|
return 0;
|
|
@@ -4255,7 +4258,7 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
4255
4258
|
/*--- Function import code ---*/
|
|
4256
4259
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._flags"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
4257
4260
|
__Pyx_GOTREF(__pyx_t_1);
|
|
4258
|
-
if (
|
|
4261
|
+
if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "validate_and_negate_if_necessary", (void (**)(void))&__pyx_f_6a_sync_6a_sync_6_flags_validate_and_negate_if_necessary, "int (PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
4259
4262
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
4260
4263
|
__Pyx_RefNannyFinishContext();
|
|
4261
4264
|
return 0;
|
|
@@ -6875,6 +6878,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
6875
6878
|
changed = 1;
|
|
6876
6879
|
}
|
|
6877
6880
|
#endif // CYTHON_METH_FASTCALL
|
|
6881
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
6878
6882
|
else if (strcmp(memb->name, "__module__") == 0) {
|
|
6879
6883
|
PyObject *descr;
|
|
6880
6884
|
assert(memb->type == T_OBJECT);
|
|
@@ -6889,11 +6893,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
6889
6893
|
}
|
|
6890
6894
|
changed = 1;
|
|
6891
6895
|
}
|
|
6896
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
6892
6897
|
}
|
|
6893
6898
|
memb++;
|
|
6894
6899
|
}
|
|
6895
6900
|
}
|
|
6896
6901
|
#endif // !CYTHON_COMPILING_IN_LIMITED_API
|
|
6902
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
6897
6903
|
slot = spec->slots;
|
|
6898
6904
|
while (slot && slot->slot && slot->slot != Py_tp_getset)
|
|
6899
6905
|
slot++;
|
|
@@ -6925,6 +6931,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
6925
6931
|
++getset;
|
|
6926
6932
|
}
|
|
6927
6933
|
}
|
|
6934
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
6928
6935
|
if (changed)
|
|
6929
6936
|
PyType_Modified(type);
|
|
6930
6937
|
#endif // PY_VERSION_HEX > 0x030900B1
|
|
@@ -7035,6 +7042,13 @@ try_unpack:
|
|
|
7035
7042
|
|
|
7036
7043
|
/* PyObjectCallMethod0 */
|
|
7037
7044
|
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
|
|
7045
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
7046
|
+
PyObject *args[1] = {obj};
|
|
7047
|
+
(void) __Pyx_PyObject_GetMethod;
|
|
7048
|
+
(void) __Pyx_PyObject_CallOneArg;
|
|
7049
|
+
(void) __Pyx_PyObject_CallNoArg;
|
|
7050
|
+
return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
|
|
7051
|
+
#else
|
|
7038
7052
|
PyObject *method = NULL, *result = NULL;
|
|
7039
7053
|
int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
|
|
7040
7054
|
if (likely(is_method)) {
|
|
@@ -7047,6 +7061,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
|
|
|
7047
7061
|
Py_DECREF(method);
|
|
7048
7062
|
bad:
|
|
7049
7063
|
return result;
|
|
7064
|
+
#endif
|
|
7050
7065
|
}
|
|
7051
7066
|
|
|
7052
7067
|
/* ValidateBasesTuple */
|
|
@@ -7506,7 +7521,7 @@ bad:
|
|
|
7506
7521
|
}
|
|
7507
7522
|
|
|
7508
7523
|
/* CommonTypesMetaclass */
|
|
7509
|
-
PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
7524
|
+
static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
7510
7525
|
return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
|
|
7511
7526
|
}
|
|
7512
7527
|
static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
|
|
@@ -7535,6 +7550,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
|
|
|
7535
7550
|
return -1;
|
|
7536
7551
|
}
|
|
7537
7552
|
mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
|
|
7553
|
+
Py_DECREF(bases);
|
|
7538
7554
|
if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
|
|
7539
7555
|
return -1;
|
|
7540
7556
|
}
|
|
@@ -9879,7 +9895,7 @@ static CYTHON_INLINE void __Pyx_ExceptionSwap(PyObject **type, PyObject **value,
|
|
|
9879
9895
|
#endif
|
|
9880
9896
|
|
|
9881
9897
|
/* PyObjectCallMethod1 */
|
|
9882
|
-
#if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
|
|
9898
|
+
#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
|
|
9883
9899
|
static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
9884
9900
|
PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
|
|
9885
9901
|
Py_DECREF(method);
|
|
@@ -9887,7 +9903,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
|
9887
9903
|
}
|
|
9888
9904
|
#endif
|
|
9889
9905
|
static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
|
|
9890
|
-
#if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
|
|
9906
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
9891
9907
|
PyObject *args[2] = {obj, arg};
|
|
9892
9908
|
(void) __Pyx_PyObject_GetMethod;
|
|
9893
9909
|
(void) __Pyx_PyObject_CallOneArg;
|
|
@@ -11089,9 +11105,9 @@ bad:
|
|
|
11089
11105
|
}
|
|
11090
11106
|
|
|
11091
11107
|
/* VoidPtrImport */
|
|
11092
|
-
#ifndef
|
|
11093
|
-
#define
|
|
11094
|
-
static int
|
|
11108
|
+
#ifndef __PYX_HAVE_RT_ImportVoidPtr_3_1_4
|
|
11109
|
+
#define __PYX_HAVE_RT_ImportVoidPtr_3_1_4
|
|
11110
|
+
static int __Pyx_ImportVoidPtr_3_1_4(PyObject *module, const char *name, void **p, const char *sig) {
|
|
11095
11111
|
PyObject *d = 0;
|
|
11096
11112
|
PyObject *cobj = 0;
|
|
11097
11113
|
d = PyObject_GetAttrString(module, "__pyx_capi__");
|
|
@@ -11129,9 +11145,9 @@ bad:
|
|
|
11129
11145
|
#endif
|
|
11130
11146
|
|
|
11131
11147
|
/* FunctionImport */
|
|
11132
|
-
#ifndef
|
|
11133
|
-
#define
|
|
11134
|
-
static int
|
|
11148
|
+
#ifndef __PYX_HAVE_RT_ImportFunction_3_1_4
|
|
11149
|
+
#define __PYX_HAVE_RT_ImportFunction_3_1_4
|
|
11150
|
+
static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
|
|
11135
11151
|
PyObject *d = 0;
|
|
11136
11152
|
PyObject *cobj = 0;
|
|
11137
11153
|
union {
|
|
@@ -11233,6 +11249,10 @@ bad:
|
|
|
11233
11249
|
PyCode_NewWithPosOnlyArgs
|
|
11234
11250
|
#endif
|
|
11235
11251
|
(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
|
|
11252
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
|
|
11253
|
+
if (likely(result))
|
|
11254
|
+
result->_co_firsttraceable = 0;
|
|
11255
|
+
#endif
|
|
11236
11256
|
return result;
|
|
11237
11257
|
}
|
|
11238
11258
|
#elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
|
|
Binary file
|