ez-a-sync 0.32.27__cp311-cp311-win_amd64.whl → 0.32.28__cp311-cp311-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ez-a-sync might be problematic. Click here for more details.
- a_sync/_smart.c +41 -36
- a_sync/_smart.cp311-win_amd64.pyd +0 -0
- a_sync/a_sync/_descriptor.c +63 -58
- a_sync/a_sync/_descriptor.cp311-win_amd64.pyd +0 -0
- a_sync/a_sync/_flags.c +10 -10
- a_sync/a_sync/_flags.cp311-win_amd64.pyd +0 -0
- a_sync/a_sync/_helpers.c +57 -52
- a_sync/a_sync/_helpers.cp311-win_amd64.pyd +0 -0
- a_sync/a_sync/_kwargs.c +27 -22
- a_sync/a_sync/_kwargs.cp311-win_amd64.pyd +0 -0
- a_sync/a_sync/abstract.c +46 -23
- a_sync/a_sync/abstract.cp311-win_amd64.pyd +0 -0
- a_sync/a_sync/abstract.pyi +2 -2
- a_sync/a_sync/base.c +60 -51
- a_sync/a_sync/base.cp311-win_amd64.pyd +0 -0
- a_sync/a_sync/flags.c +10 -10
- a_sync/a_sync/flags.cp311-win_amd64.pyd +0 -0
- a_sync/a_sync/function.c +85 -71
- a_sync/a_sync/function.cp311-win_amd64.pyd +0 -0
- a_sync/a_sync/method.c +81 -64
- a_sync/a_sync/method.cp311-win_amd64.pyd +0 -0
- a_sync/a_sync/method.pyi +2 -1
- a_sync/a_sync/modifiers/manager.c +42 -37
- a_sync/a_sync/modifiers/manager.cp311-win_amd64.pyd +0 -0
- a_sync/a_sync/property.c +86 -75
- a_sync/a_sync/property.cp311-win_amd64.pyd +0 -0
- a_sync/async_property/cached.c +48 -43
- a_sync/async_property/cached.cp311-win_amd64.pyd +0 -0
- a_sync/async_property/proxy.c +16 -11
- a_sync/async_property/proxy.cp311-win_amd64.pyd +0 -0
- a_sync/asyncio/as_completed.c +15 -10
- a_sync/asyncio/as_completed.cp311-win_amd64.pyd +0 -0
- a_sync/asyncio/create_task.c +39 -16
- a_sync/asyncio/create_task.cp311-win_amd64.pyd +0 -0
- a_sync/asyncio/gather.c +24 -19
- a_sync/asyncio/gather.cp311-win_amd64.pyd +0 -0
- a_sync/asyncio/igather.c +26 -17
- a_sync/asyncio/igather.cp311-win_amd64.pyd +0 -0
- a_sync/asyncio/sleep.c +8 -3
- a_sync/asyncio/sleep.cp311-win_amd64.pyd +0 -0
- a_sync/debugging.c +34 -29
- a_sync/debugging.cp311-win_amd64.pyd +0 -0
- a_sync/exceptions.c +28 -19
- a_sync/exceptions.cp311-win_amd64.pyd +0 -0
- a_sync/functools.c +20 -15
- a_sync/functools.cp311-win_amd64.pyd +0 -0
- a_sync/iter.c +143 -88
- a_sync/iter.cp311-win_amd64.pyd +0 -0
- a_sync/primitives/_debug.c +51 -46
- a_sync/primitives/_debug.cp311-win_amd64.pyd +0 -0
- a_sync/primitives/_loggable.c +30 -19
- a_sync/primitives/_loggable.cp311-win_amd64.pyd +0 -0
- a_sync/primitives/locks/counter.c +75 -60
- a_sync/primitives/locks/counter.cp311-win_amd64.pyd +0 -0
- a_sync/primitives/locks/event.c +52 -47
- a_sync/primitives/locks/event.cp311-win_amd64.pyd +0 -0
- a_sync/primitives/locks/prio_semaphore.c +101 -76
- a_sync/primitives/locks/prio_semaphore.cp311-win_amd64.pyd +0 -0
- a_sync/primitives/locks/prio_semaphore.pyi +2 -2
- a_sync/primitives/locks/semaphore.c +74 -62
- a_sync/primitives/locks/semaphore.cp311-win_amd64.pyd +0 -0
- a_sync/primitives/locks/semaphore.pyi +10 -9
- a_sync/primitives/queue.py +5 -1
- a_sync/utils/repr.c +36 -31
- a_sync/utils/repr.cp311-win_amd64.pyd +0 -0
- {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/METADATA +1 -1
- {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/RECORD +70 -70
- {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/WHEEL +0 -0
- {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/licenses/LICENSE.txt +0 -0
- {ez_a_sync-0.32.27.dist-info → ez_a_sync-0.32.28.dist-info}/top_level.txt +0 -0
a_sync/a_sync/function.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
|
{
|
|
@@ -30,8 +30,8 @@ END: Cython Metadata */
|
|
|
30
30
|
#elif PY_VERSION_HEX < 0x03080000
|
|
31
31
|
#error Cython requires Python 3.8+.
|
|
32
32
|
#else
|
|
33
|
-
#define __PYX_ABI_VERSION "
|
|
34
|
-
#define CYTHON_HEX_VERSION
|
|
33
|
+
#define __PYX_ABI_VERSION "3_1_4"
|
|
34
|
+
#define CYTHON_HEX_VERSION 0x030104F0
|
|
35
35
|
#define CYTHON_FUTURE_DIVISION 1
|
|
36
36
|
/* CModulePreamble */
|
|
37
37
|
#include <stddef.h>
|
|
@@ -2378,18 +2378,18 @@ static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact,
|
|
|
2378
2378
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
2379
2379
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
2380
2380
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
2381
|
-
if (unlikely(!__pyx_frame_code))
|
|
2382
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
2383
|
-
}
|
|
2381
|
+
if (unlikely(!__pyx_frame_code)) ret = -1;\
|
|
2382
|
+
else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
2383
|
+
} else __pyx_frame_code = NULL;\
|
|
2384
2384
|
PyGILState_Release(state);\
|
|
2385
|
-
}
|
|
2385
|
+
} else __pyx_frame_code = NULL;\
|
|
2386
2386
|
} else {\
|
|
2387
2387
|
if (!__Pyx_PyThreadState_Current->tracing) {\
|
|
2388
2388
|
if (likely(__pyx_frame_code)) Py_INCREF(__pyx_frame_code);\
|
|
2389
2389
|
else __pyx_frame_code = (PyObject*) __Pyx_createFrameCodeObject(funcname, srcfile, firstlineno);\
|
|
2390
|
-
if (unlikely(!__pyx_frame_code))
|
|
2391
|
-
ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
2392
|
-
}
|
|
2390
|
+
if (unlikely(!__pyx_frame_code)) ret = -1;\
|
|
2391
|
+
else ret = __Pyx__TraceStartFunc(__pyx_pymonitoring_state, __pyx_frame_code, offset, skip_event);\
|
|
2392
|
+
} else __pyx_frame_code = NULL;\
|
|
2393
2393
|
}\
|
|
2394
2394
|
if (unlikely(ret == -1)) goto_error;\
|
|
2395
2395
|
}
|
|
@@ -3323,22 +3323,22 @@ static int __Pyx__DelItemOnTypeDict(PyTypeObject *tp, PyObject *k);
|
|
|
3323
3323
|
static int __Pyx_setup_reduce(PyObject* type_obj);
|
|
3324
3324
|
|
|
3325
3325
|
/* TypeImport.proto */
|
|
3326
|
-
#ifndef
|
|
3327
|
-
#define
|
|
3326
|
+
#ifndef __PYX_HAVE_RT_ImportType_proto_3_1_4
|
|
3327
|
+
#define __PYX_HAVE_RT_ImportType_proto_3_1_4
|
|
3328
3328
|
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
|
3329
3329
|
#include <stdalign.h>
|
|
3330
3330
|
#endif
|
|
3331
3331
|
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
|
|
3332
|
-
#define
|
|
3332
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) alignof(s)
|
|
3333
3333
|
#else
|
|
3334
|
-
#define
|
|
3334
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_4(s) sizeof(void*)
|
|
3335
3335
|
#endif
|
|
3336
|
-
enum
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3336
|
+
enum __Pyx_ImportType_CheckSize_3_1_4 {
|
|
3337
|
+
__Pyx_ImportType_CheckSize_Error_3_1_4 = 0,
|
|
3338
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4 = 1,
|
|
3339
|
+
__Pyx_ImportType_CheckSize_Ignore_3_1_4 = 2
|
|
3340
3340
|
};
|
|
3341
|
-
static PyTypeObject *
|
|
3341
|
+
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);
|
|
3342
3342
|
#endif
|
|
3343
3343
|
|
|
3344
3344
|
/* ImportDottedModule.proto */
|
|
@@ -3493,10 +3493,10 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt
|
|
|
3493
3493
|
static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig);
|
|
3494
3494
|
|
|
3495
3495
|
/* VoidPtrImport.proto */
|
|
3496
|
-
static int
|
|
3496
|
+
static int __Pyx_ImportVoidPtr_3_1_4(PyObject *module, const char *name, void **p, const char *sig);
|
|
3497
3497
|
|
|
3498
3498
|
/* FunctionImport.proto */
|
|
3499
|
-
static int
|
|
3499
|
+
static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig);
|
|
3500
3500
|
|
|
3501
3501
|
/* MultiPhaseInitModuleState.proto */
|
|
3502
3502
|
#if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
|
|
@@ -13784,8 +13784,14 @@ static CYTHON_INLINE int __pyx_f_6a_sync_6a_sync_8function_14_ASyncFunction__run
|
|
|
13784
13784
|
* return is_sync(flag, kwargs, pop_flag=True)
|
|
13785
13785
|
*/
|
|
13786
13786
|
__Pyx_TraceLine(880,6,0,__PYX_ERR(0, 880, __pyx_L1_error))
|
|
13787
|
-
|
|
13788
|
-
|
|
13787
|
+
if (__pyx_v_flag == Py_None) __pyx_t_2 = 0;
|
|
13788
|
+
else
|
|
13789
|
+
{
|
|
13790
|
+
Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_flag);
|
|
13791
|
+
if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 880, __pyx_L1_error)
|
|
13792
|
+
__pyx_t_2 = (__pyx_temp != 0);
|
|
13793
|
+
}
|
|
13794
|
+
|
|
13789
13795
|
if (__pyx_t_2) {
|
|
13790
13796
|
|
|
13791
13797
|
/* "a_sync/a_sync/function.pyx":882
|
|
@@ -21931,6 +21937,7 @@ static PyMethodDef __pyx_methods_6a_sync_6a_sync_8function_ASyncDecorator[] = {
|
|
|
21931
21937
|
};
|
|
21932
21938
|
#if CYTHON_USE_TYPE_SPECS
|
|
21933
21939
|
static PyType_Slot __pyx_type_6a_sync_6a_sync_8function_ASyncDecorator_slots[] = {
|
|
21940
|
+
{Py_tp_dealloc, (void *)__pyx_tp_dealloc_6a_sync_6a_sync_8function__ModifiedMixin},
|
|
21934
21941
|
{Py_tp_call, (void *)__pyx_pw_6a_sync_6a_sync_8function_14ASyncDecorator_7__call__},
|
|
21935
21942
|
{Py_tp_traverse, (void *)__pyx_tp_traverse_6a_sync_6a_sync_8function__ModifiedMixin},
|
|
21936
21943
|
{Py_tp_clear, (void *)__pyx_tp_clear_6a_sync_6a_sync_8function__ModifiedMixin},
|
|
@@ -22042,6 +22049,7 @@ static PyMethodDef __pyx_methods_6a_sync_6a_sync_8function_ASyncDecoratorSyncDef
|
|
|
22042
22049
|
};
|
|
22043
22050
|
#if CYTHON_USE_TYPE_SPECS
|
|
22044
22051
|
static PyType_Slot __pyx_type_6a_sync_6a_sync_8function_ASyncDecoratorSyncDefault_slots[] = {
|
|
22052
|
+
{Py_tp_dealloc, (void *)__pyx_tp_dealloc_6a_sync_6a_sync_8function__ModifiedMixin},
|
|
22045
22053
|
{Py_tp_call, (void *)__pyx_pw_6a_sync_6a_sync_8function_25ASyncDecoratorSyncDefault_7__call__},
|
|
22046
22054
|
{Py_tp_traverse, (void *)__pyx_tp_traverse_6a_sync_6a_sync_8function__ModifiedMixin},
|
|
22047
22055
|
{Py_tp_clear, (void *)__pyx_tp_clear_6a_sync_6a_sync_8function__ModifiedMixin},
|
|
@@ -22153,6 +22161,7 @@ static PyMethodDef __pyx_methods_6a_sync_6a_sync_8function_ASyncDecoratorAsyncDe
|
|
|
22153
22161
|
};
|
|
22154
22162
|
#if CYTHON_USE_TYPE_SPECS
|
|
22155
22163
|
static PyType_Slot __pyx_type_6a_sync_6a_sync_8function_ASyncDecoratorAsyncDefault_slots[] = {
|
|
22164
|
+
{Py_tp_dealloc, (void *)__pyx_tp_dealloc_6a_sync_6a_sync_8function__ModifiedMixin},
|
|
22156
22165
|
{Py_tp_call, (void *)__pyx_pw_6a_sync_6a_sync_8function_26ASyncDecoratorAsyncDefault_7__call__},
|
|
22157
22166
|
{Py_tp_traverse, (void *)__pyx_tp_traverse_6a_sync_6a_sync_8function__ModifiedMixin},
|
|
22158
22167
|
{Py_tp_clear, (void *)__pyx_tp_clear_6a_sync_6a_sync_8function__ModifiedMixin},
|
|
@@ -24989,28 +24998,28 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
24989
24998
|
/*--- Type import code ---*/
|
|
24990
24999
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.modifiers.manager"); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 1, __pyx_L1_error)
|
|
24991
25000
|
__Pyx_GOTREF(__pyx_t_1);
|
|
24992
|
-
__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager =
|
|
25001
|
+
__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",
|
|
24993
25002
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
24994
|
-
sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
|
|
25003
|
+
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),
|
|
24995
25004
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
24996
|
-
sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
|
|
25005
|
+
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),
|
|
24997
25006
|
#else
|
|
24998
|
-
sizeof(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager),
|
|
25007
|
+
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),
|
|
24999
25008
|
#endif
|
|
25000
|
-
|
|
25009
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager) __PYX_ERR(3, 1, __pyx_L1_error)
|
|
25001
25010
|
__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(3, 1, __pyx_L1_error)
|
|
25002
25011
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
25003
25012
|
__pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (unlikely(!__pyx_t_1)) __PYX_ERR(4, 1, __pyx_L1_error)
|
|
25004
25013
|
__Pyx_GOTREF(__pyx_t_1);
|
|
25005
|
-
__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe =
|
|
25014
|
+
__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_1_4(__pyx_t_1, "a_sync.functools", "cached_property_unsafe",
|
|
25006
25015
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
25007
|
-
sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
|
|
25016
|
+
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),
|
|
25008
25017
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
25009
|
-
sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
|
|
25018
|
+
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),
|
|
25010
25019
|
#else
|
|
25011
|
-
sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),
|
|
25020
|
+
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),
|
|
25012
25021
|
#endif
|
|
25013
|
-
|
|
25022
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_4); if (!__pyx_mstate->__pyx_ptype_6a_sync_9functools_cached_property_unsafe) __PYX_ERR(4, 1, __pyx_L1_error)
|
|
25014
25023
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
25015
25024
|
__Pyx_RefNannyFinishContext();
|
|
25016
25025
|
return 0;
|
|
@@ -25031,9 +25040,9 @@ static int __Pyx_modinit_variable_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
25031
25040
|
/*--- Variable import code ---*/
|
|
25032
25041
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync.flags"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
25033
25042
|
__Pyx_GOTREF(__pyx_t_1);
|
|
25034
|
-
if (
|
|
25035
|
-
if (
|
|
25036
|
-
if (
|
|
25043
|
+
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)
|
|
25044
|
+
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)
|
|
25045
|
+
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)
|
|
25037
25046
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
25038
25047
|
__Pyx_RefNannyFinishContext();
|
|
25039
25048
|
return 0;
|
|
@@ -25054,18 +25063,18 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
25054
25063
|
/*--- Function import code ---*/
|
|
25055
25064
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._kwargs"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
25056
25065
|
__Pyx_GOTREF(__pyx_t_1);
|
|
25057
|
-
if (
|
|
25058
|
-
if (
|
|
25066
|
+
if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "get_flag_name", (void (**)(void))&__pyx_f_6a_sync_6a_sync_7_kwargs_get_flag_name, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
25067
|
+
if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "is_sync", (void (**)(void))&__pyx_f_6a_sync_6a_sync_7_kwargs_is_sync, "int (PyObject *, PyObject *, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
25059
25068
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
25060
25069
|
__pyx_t_1 = PyImport_ImportModule("a_sync.a_sync._helpers"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
25061
25070
|
__Pyx_GOTREF(__pyx_t_1);
|
|
25062
|
-
if (
|
|
25063
|
-
if (
|
|
25071
|
+
if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "_await", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers__await, "PyObject *(PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
25072
|
+
if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "_asyncify", (void (**)(void))&__pyx_f_6a_sync_6a_sync_8_helpers__asyncify, "PyObject *(PyObject *, PyObject *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
25064
25073
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
25065
25074
|
__pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (!__pyx_t_1) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
25066
25075
|
__Pyx_GOTREF(__pyx_t_1);
|
|
25067
|
-
if (
|
|
25068
|
-
if (
|
|
25076
|
+
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)
|
|
25077
|
+
if (__Pyx_ImportFunction_3_1_4(__pyx_t_1, "update_wrapper", (void (**)(void))&__pyx_f_6a_sync_9functools_update_wrapper, "PyObject *(PyObject *, PyObject *, int __pyx_skip_dispatch)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
25069
25078
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
25070
25079
|
__Pyx_RefNannyFinishContext();
|
|
25071
25080
|
return 0;
|
|
@@ -25367,7 +25376,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
|
|
|
25367
25376
|
if (unlikely((__Pyx_modinit_variable_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
25368
25377
|
if (unlikely((__Pyx_modinit_function_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
25369
25378
|
/*--- Execution code ---*/
|
|
25370
|
-
__Pyx_TraceStartFunc("PyInit_function", __pyx_f[0], 1,
|
|
25379
|
+
__Pyx_TraceStartFunc("PyInit_function", __pyx_f[0], 1, 2, 0, 0, __PYX_ERR(0, 1, __pyx_L1_error));
|
|
25371
25380
|
|
|
25372
25381
|
/* "cfunc.to_py":65
|
|
25373
25382
|
*
|
|
@@ -26062,7 +26071,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
|
|
|
26062
26071
|
* cdef tuple state
|
|
26063
26072
|
* cdef object _dict
|
|
26064
26073
|
*/
|
|
26065
|
-
__Pyx_TraceLine(1,
|
|
26074
|
+
__Pyx_TraceLine(1,1,0,__PYX_ERR(1, 1, __pyx_L1_error))
|
|
26066
26075
|
__pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_14_ModifiedMixin_1__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ModifiedMixin___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[10])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
26067
26076
|
__Pyx_GOTREF(__pyx_t_5);
|
|
26068
26077
|
if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_5) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
@@ -26074,7 +26083,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
|
|
|
26074
26083
|
* def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
|
|
26075
26084
|
* __pyx_unpickle__ModifiedMixin__set_state(self, __pyx_state)
|
|
26076
26085
|
*/
|
|
26077
|
-
__Pyx_TraceLine(16,
|
|
26086
|
+
__Pyx_TraceLine(16,44,0,__PYX_ERR(1, 16, __pyx_L1_error))
|
|
26078
26087
|
__pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_14_ModifiedMixin_3__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ModifiedMixin___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[11])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 16, __pyx_L1_error)
|
|
26079
26088
|
__Pyx_GOTREF(__pyx_t_5);
|
|
26080
26089
|
if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_6a_sync_6a_sync_8function__ModifiedMixin, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_5) < 0) __PYX_ERR(1, 16, __pyx_L1_error)
|
|
@@ -26786,7 +26795,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
|
|
|
26786
26795
|
* cdef tuple state
|
|
26787
26796
|
* cdef object _dict
|
|
26788
26797
|
*/
|
|
26789
|
-
__Pyx_TraceLine(1,
|
|
26798
|
+
__Pyx_TraceLine(1,6,0,__PYX_ERR(1, 1, __pyx_L1_error))
|
|
26790
26799
|
__pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_14_ASyncFunction_45__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncFunction___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[42])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
26791
26800
|
__Pyx_GOTREF(__pyx_t_5);
|
|
26792
26801
|
if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_5) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
@@ -26798,7 +26807,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
|
|
|
26798
26807
|
* def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
|
|
26799
26808
|
* __pyx_unpickle__ASyncFunction__set_state(self, __pyx_state)
|
|
26800
26809
|
*/
|
|
26801
|
-
__Pyx_TraceLine(16,
|
|
26810
|
+
__Pyx_TraceLine(16,43,0,__PYX_ERR(1, 16, __pyx_L1_error))
|
|
26802
26811
|
__pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_14_ASyncFunction_47__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncFunction___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[43])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 16, __pyx_L1_error)
|
|
26803
26812
|
__Pyx_GOTREF(__pyx_t_5);
|
|
26804
26813
|
if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_6a_sync_6a_sync_8function__ASyncFunction, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_5) < 0) __PYX_ERR(1, 16, __pyx_L1_error)
|
|
@@ -27310,7 +27319,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
|
|
|
27310
27319
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
27311
27320
|
* def __setstate_cython__(self, __pyx_state):
|
|
27312
27321
|
*/
|
|
27313
|
-
__Pyx_TraceLine(1,
|
|
27322
|
+
__Pyx_TraceLine(1,0,0,__PYX_ERR(1, 1, __pyx_L1_error))
|
|
27314
27323
|
__pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_14ASyncDecorator_9__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncDecorator___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[56])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
27315
27324
|
__Pyx_GOTREF(__pyx_t_3);
|
|
27316
27325
|
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)
|
|
@@ -27322,7 +27331,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
|
|
|
27322
27331
|
* def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
|
|
27323
27332
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
27324
27333
|
*/
|
|
27325
|
-
__Pyx_TraceLine(3,
|
|
27334
|
+
__Pyx_TraceLine(3,12,0,__PYX_ERR(1, 3, __pyx_L1_error))
|
|
27326
27335
|
__pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_14ASyncDecorator_11__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncDecorator___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[57])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 3, __pyx_L1_error)
|
|
27327
27336
|
__Pyx_GOTREF(__pyx_t_3);
|
|
27328
27337
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_3) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
|
|
@@ -27948,7 +27957,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
|
|
|
27948
27957
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
27949
27958
|
* def __setstate_cython__(self, __pyx_state):
|
|
27950
27959
|
*/
|
|
27951
|
-
__Pyx_TraceLine(1,
|
|
27960
|
+
__Pyx_TraceLine(1,3,0,__PYX_ERR(1, 1, __pyx_L1_error))
|
|
27952
27961
|
__pyx_t_11 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_25ASyncDecoratorSyncDefault_9__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncDecoratorSyncDefault___redu, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[76])); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
27953
27962
|
__Pyx_GOTREF(__pyx_t_11);
|
|
27954
27963
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_11) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
@@ -28049,7 +28058,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
|
|
|
28049
28058
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
28050
28059
|
* def __setstate_cython__(self, __pyx_state):
|
|
28051
28060
|
*/
|
|
28052
|
-
__Pyx_TraceLine(1,
|
|
28061
|
+
__Pyx_TraceLine(1,4,0,__PYX_ERR(1, 1, __pyx_L1_error))
|
|
28053
28062
|
__pyx_t_11 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_26ASyncDecoratorAsyncDefault_9__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncDecoratorAsyncDefault___red, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[82])); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
28054
28063
|
__Pyx_GOTREF(__pyx_t_11);
|
|
28055
28064
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_11) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
@@ -28061,7 +28070,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
|
|
|
28061
28070
|
* def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
|
|
28062
28071
|
* raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
|
|
28063
28072
|
*/
|
|
28064
|
-
__Pyx_TraceLine(3,
|
|
28073
|
+
__Pyx_TraceLine(3,11,0,__PYX_ERR(1, 3, __pyx_L1_error))
|
|
28065
28074
|
__pyx_t_11 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_26ASyncDecoratorAsyncDefault_11__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ASyncDecoratorAsyncDefault___set, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[83])); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 3, __pyx_L1_error)
|
|
28066
28075
|
__Pyx_GOTREF(__pyx_t_11);
|
|
28067
28076
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_11) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
|
|
@@ -28082,7 +28091,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
|
|
|
28082
28091
|
* cdef object __pyx_PickleError
|
|
28083
28092
|
* cdef object __pyx_result
|
|
28084
28093
|
*/
|
|
28085
|
-
__Pyx_TraceLine(1,
|
|
28094
|
+
__Pyx_TraceLine(1,5,0,__PYX_ERR(1, 1, __pyx_L1_error))
|
|
28086
28095
|
__pyx_t_11 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_1__pyx_unpickle__ModifiedMixin, 0, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__ModifiedMixin, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[85])); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
28087
28096
|
__Pyx_GOTREF(__pyx_t_11);
|
|
28088
28097
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__ModifiedMixin, __pyx_t_11) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
@@ -28103,7 +28112,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
|
|
|
28103
28112
|
* cdef object __pyx_PickleError
|
|
28104
28113
|
* cdef object __pyx_result
|
|
28105
28114
|
*/
|
|
28106
|
-
__Pyx_TraceLine(1,
|
|
28115
|
+
__Pyx_TraceLine(1,7,0,__PYX_ERR(1, 1, __pyx_L1_error))
|
|
28107
28116
|
__pyx_t_11 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_8function_3__pyx_unpickle__ASyncFunction, 0, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__ASyncFunction, NULL, __pyx_mstate_global->__pyx_n_u_a_sync_a_sync_function, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[87])); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
28108
28117
|
__Pyx_GOTREF(__pyx_t_11);
|
|
28109
28118
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__ASyncFunction, __pyx_t_11) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
|
|
@@ -28124,12 +28133,12 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
|
|
|
28124
28133
|
* import inspect
|
|
28125
28134
|
* import sys
|
|
28126
28135
|
*/
|
|
28127
|
-
__Pyx_TraceLine(1,
|
|
28136
|
+
__Pyx_TraceLine(1,2,0,__PYX_ERR(0, 1, __pyx_L1_error))
|
|
28128
28137
|
__pyx_t_11 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
28129
28138
|
__Pyx_GOTREF(__pyx_t_11);
|
|
28130
28139
|
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_test, __pyx_t_11) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
28131
28140
|
__Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
|
|
28132
|
-
__Pyx_TraceReturnValue(Py_None,
|
|
28141
|
+
__Pyx_TraceReturnValue(Py_None, 2, 0, __PYX_ERR(0, 1, __pyx_L1_error));
|
|
28133
28142
|
__Pyx_PyMonitoring_ExitScope(0);
|
|
28134
28143
|
|
|
28135
28144
|
/*--- Wrapped vars code ---*/
|
|
@@ -28145,7 +28154,7 @@ __Pyx_RefNannySetupContext("PyInit_function", 0);
|
|
|
28145
28154
|
__Pyx_XDECREF(__pyx_t_11);
|
|
28146
28155
|
__Pyx_XDECREF(__pyx_t_12);
|
|
28147
28156
|
__Pyx_TraceException(__pyx_lineno, 0, 0);
|
|
28148
|
-
__Pyx_TraceExceptionUnwind(
|
|
28157
|
+
__Pyx_TraceExceptionUnwind(2, 0);
|
|
28149
28158
|
if (__pyx_m) {
|
|
28150
28159
|
if (__pyx_mstate->__pyx_d && stringtab_initialized) {
|
|
28151
28160
|
__Pyx_AddTraceback("init a_sync.a_sync.function", __pyx_clineno, __pyx_lineno, __pyx_filename);
|
|
@@ -30740,6 +30749,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
|
|
|
30740
30749
|
return -1;
|
|
30741
30750
|
}
|
|
30742
30751
|
mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
|
|
30752
|
+
Py_DECREF(bases);
|
|
30743
30753
|
if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
|
|
30744
30754
|
return -1;
|
|
30745
30755
|
}
|
|
@@ -35488,15 +35498,15 @@ __PYX_GOOD:
|
|
|
35488
35498
|
}
|
|
35489
35499
|
|
|
35490
35500
|
/* TypeImport */
|
|
35491
|
-
#ifndef
|
|
35492
|
-
#define
|
|
35493
|
-
static PyTypeObject *
|
|
35494
|
-
size_t size, size_t alignment, enum
|
|
35501
|
+
#ifndef __PYX_HAVE_RT_ImportType_3_1_4
|
|
35502
|
+
#define __PYX_HAVE_RT_ImportType_3_1_4
|
|
35503
|
+
static PyTypeObject *__Pyx_ImportType_3_1_4(PyObject *module, const char *module_name, const char *class_name,
|
|
35504
|
+
size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_4 check_size)
|
|
35495
35505
|
{
|
|
35496
35506
|
PyObject *result = 0;
|
|
35497
35507
|
Py_ssize_t basicsize;
|
|
35498
35508
|
Py_ssize_t itemsize;
|
|
35499
|
-
#
|
|
35509
|
+
#ifdef Py_LIMITED_API
|
|
35500
35510
|
PyObject *py_basicsize;
|
|
35501
35511
|
PyObject *py_itemsize;
|
|
35502
35512
|
#endif
|
|
@@ -35509,7 +35519,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
|
|
|
35509
35519
|
module_name, class_name);
|
|
35510
35520
|
goto bad;
|
|
35511
35521
|
}
|
|
35512
|
-
#
|
|
35522
|
+
#ifndef Py_LIMITED_API
|
|
35513
35523
|
basicsize = ((PyTypeObject *)result)->tp_basicsize;
|
|
35514
35524
|
itemsize = ((PyTypeObject *)result)->tp_itemsize;
|
|
35515
35525
|
#else
|
|
@@ -35547,7 +35557,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
|
|
|
35547
35557
|
module_name, class_name, size, basicsize+itemsize);
|
|
35548
35558
|
goto bad;
|
|
35549
35559
|
}
|
|
35550
|
-
if (check_size ==
|
|
35560
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_4 &&
|
|
35551
35561
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
35552
35562
|
PyErr_Format(PyExc_ValueError,
|
|
35553
35563
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -35555,7 +35565,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module
|
|
|
35555
35565
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
35556
35566
|
goto bad;
|
|
35557
35567
|
}
|
|
35558
|
-
else if (check_size ==
|
|
35568
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_4 && (size_t)basicsize > size) {
|
|
35559
35569
|
if (PyErr_WarnFormat(NULL, 0,
|
|
35560
35570
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
35561
35571
|
"Expected %zd from C header, got %zd from PyObject",
|
|
@@ -37367,9 +37377,9 @@ bad:
|
|
|
37367
37377
|
}
|
|
37368
37378
|
|
|
37369
37379
|
/* VoidPtrImport */
|
|
37370
|
-
#ifndef
|
|
37371
|
-
#define
|
|
37372
|
-
static int
|
|
37380
|
+
#ifndef __PYX_HAVE_RT_ImportVoidPtr_3_1_4
|
|
37381
|
+
#define __PYX_HAVE_RT_ImportVoidPtr_3_1_4
|
|
37382
|
+
static int __Pyx_ImportVoidPtr_3_1_4(PyObject *module, const char *name, void **p, const char *sig) {
|
|
37373
37383
|
PyObject *d = 0;
|
|
37374
37384
|
PyObject *cobj = 0;
|
|
37375
37385
|
d = PyObject_GetAttrString(module, "__pyx_capi__");
|
|
@@ -37407,9 +37417,9 @@ bad:
|
|
|
37407
37417
|
#endif
|
|
37408
37418
|
|
|
37409
37419
|
/* FunctionImport */
|
|
37410
|
-
#ifndef
|
|
37411
|
-
#define
|
|
37412
|
-
static int
|
|
37420
|
+
#ifndef __PYX_HAVE_RT_ImportFunction_3_1_4
|
|
37421
|
+
#define __PYX_HAVE_RT_ImportFunction_3_1_4
|
|
37422
|
+
static int __Pyx_ImportFunction_3_1_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
|
|
37413
37423
|
PyObject *d = 0;
|
|
37414
37424
|
PyObject *cobj = 0;
|
|
37415
37425
|
union {
|
|
@@ -37511,6 +37521,10 @@ bad:
|
|
|
37511
37521
|
PyCode_NewWithPosOnlyArgs
|
|
37512
37522
|
#endif
|
|
37513
37523
|
(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
|
|
37524
|
+
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
|
|
37525
|
+
if (likely(result))
|
|
37526
|
+
result->_co_firsttraceable = 0;
|
|
37527
|
+
#endif
|
|
37514
37528
|
return result;
|
|
37515
37529
|
}
|
|
37516
37530
|
#elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY
|
|
Binary file
|